OpenOCD
|
Go to the source code of this file.
Functions | |
int | svf_add_statemove (tap_state_t goal_state) |
svf_add_statemove() moves from the current state to goal_state. More... | |
int | svf_register_commands (struct command_context *cmd_ctx) |
bool | svf_tap_state_is_stable (tap_state_t state) |
svf_tap_state_is_stable() returns true for stable non-SHIFT states More... | |
int svf_add_statemove | ( | tap_state_t | goal_state | ) |
svf_add_statemove() moves from the current state to goal_state.
goal_state | The final TAP state. |
The current and goal states must satisfy svf_tap_state_is_stable(). State transition paths used by this routine are those given in the SVF specification for single-argument STATE commands (and also used for various other state transitions).
Definition at line 316 of file svf.c.
References ARRAY_SIZE, cmd_queue_cur_state, ERROR_FAIL, ERROR_OK, jtag_add_pathmove(), jtag_add_tlr(), LOG_ERROR, svf_nil, svf_statemoves, TAP_RESET, tap_state_name(), and svf_statemove::to.
Referenced by COMMAND_HANDLER().
int svf_register_commands | ( | struct command_context * | cmd_ctx | ) |
Definition at line 1643 of file svf.c.
References NULL, register_commands(), and svf_command_handlers.
Referenced by jtag_select().
bool svf_tap_state_is_stable | ( | tap_state_t | state | ) |
svf_tap_state_is_stable() returns true for stable non-SHIFT states
state | The TAP state in question |
Definition at line 819 of file svf.c.
References state, TAP_DRPAUSE, TAP_IDLE, TAP_IRPAUSE, and TAP_RESET.
Referenced by COMMAND_HANDLER().