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
__archive__
zwelch 2009-06-03 01:23:48 +00:00
parent 49a22dbf98
commit c275cfd3da
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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;