diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-03 01:23:48 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-03 01:23:48 +0000 |
commit | c275cfd3dac90bb44ae6be6de5f53c93c645bde9 (patch) | |
tree | eca34810c84e11392e6de7b451feda47b9ea35e6 | |
parent | 49a22dbf98d07ba257f1a2605f431349f0fd1874 (diff) | |
download | openocd+libswd-c275cfd3dac90bb44ae6be6de5f53c93c645bde9.tar.gz openocd+libswd-c275cfd3dac90bb44ae6be6de5f53c93c645bde9.tar.bz2 openocd+libswd-c275cfd3dac90bb44ae6be6de5f53c93c645bde9.tar.xz openocd+libswd-c275cfd3dac90bb44ae6be6de5f53c93c645bde9.zip |
Expose tap_state_by_name TAP helper available in public API.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2015 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/interface.h | 6 | ||||
-rw-r--r-- | src/jtag/jtag.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/jtag/interface.h b/src/jtag/interface.h index 1435fe8c..79e3a3e9 100644 --- a/src/jtag/interface.h +++ b/src/jtag/interface.h @@ -160,12 +160,6 @@ bool tap_is_state_stable(tap_state_t astate); */ tap_state_t tap_state_transition(tap_state_t current_state, bool tms); -/** - * Function tap_state_name - * Returns a string suitable for display representing the JTAG tap_state - */ -const char* tap_state_name(tap_state_t state); - /// Provides user-friendly name lookup of TAP states. tap_state_t tap_state_by_name(const char *name); diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index a2755022..d4b9cb71 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -96,6 +96,12 @@ typedef enum tap_state #endif } tap_state_t; +/** + * Function tap_state_name + * Returns a string suitable for display representing the JTAG tap_state + */ +const char* tap_state_name(tap_state_t state); + typedef struct tap_transition_s { tap_state_t high; |