|
From: <zw...@ma...> - 2009-06-03 03:23:54
|
Author: zwelch
Date: 2009-06-03 03:23:48 +0200 (Wed, 03 Jun 2009)
New Revision: 2015
Modified:
trunk/src/jtag/interface.h
trunk/src/jtag/jtag.h
Log:
Expose tap_state_by_name TAP helper available in public API.
Modified: trunk/src/jtag/interface.h
===================================================================
--- trunk/src/jtag/interface.h 2009-06-03 00:59:13 UTC (rev 2014)
+++ trunk/src/jtag/interface.h 2009-06-03 01:23:48 UTC (rev 2015)
@@ -160,12 +160,6 @@
*/
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);
Modified: trunk/src/jtag/jtag.h
===================================================================
--- trunk/src/jtag/jtag.h 2009-06-03 00:59:13 UTC (rev 2014)
+++ trunk/src/jtag/jtag.h 2009-06-03 01:23:48 UTC (rev 2015)
@@ -96,6 +96,12 @@
#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;
|