summaryrefslogtreecommitdiff
path: root/src/interface/bitbang.h
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-06-16 05:11:26 +0000
committerTomek CEDRO <cederom@tlen.pl>2011-06-16 05:11:26 +0000
commit3bb38c315653476ac92d4eed300e1bd0b58745db (patch)
treea8b0f1205962ddc2b0dbd56704fb714744738d17 /src/interface/bitbang.h
parentc8b57198025c414f8d19577e6846021843c2a751 (diff)
downloadopenocd+libswd-3bb38c315653476ac92d4eed300e1bd0b58745db.tar.gz
openocd+libswd-3bb38c315653476ac92d4eed300e1bd0b58745db.tar.bz2
openocd+libswd-3bb38c315653476ac92d4eed300e1bd0b58745db.tar.xz
openocd+libswd-3bb38c315653476ac92d4eed300e1bd0b58745db.zip
INTERFACE: Adding new place for generic interface driver and routines in src/interface. Adding interface signal definitions and routines. Adding bitbang functionality that works on signals.
Diffstat (limited to 'src/interface/bitbang.h')
-rw-r--r--src/interface/bitbang.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/interface/bitbang.h b/src/interface/bitbang.h
new file mode 100644
index 00000000..8d15d49c
--- /dev/null
+++ b/src/interface/bitbang.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2011 Tomasz Boleslaw CEDRO <cederom@tlen.pl>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef OOCD_SIGNAL_H
+#define OOCD_SIGNAL_H
+
+/** @file Simple framework to work with interface signals.
+ */
+
+int bitbang_register_commands(struct command_context *ctx);
+
+#endif