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
This commit is contained in:
parent
49a22dbf98
commit
c275cfd3da
|
@ -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);
|
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.
|
/// Provides user-friendly name lookup of TAP states.
|
||||||
tap_state_t tap_state_by_name(const char *name);
|
tap_state_t tap_state_by_name(const char *name);
|
||||||
|
|
||||||
|
|
|
@ -96,6 +96,12 @@ typedef enum tap_state
|
||||||
#endif
|
#endif
|
||||||
} tap_state_t;
|
} 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
|
typedef struct tap_transition_s
|
||||||
{
|
{
|
||||||
tap_state_t high;
|
tap_state_t high;
|
||||||
|
|
Loading…
Reference in New Issue