91 *jtag_speed = 64000/khz;
126 .help =
"dummy interface driver commands",
const char *const jtag_only[]
int bitbang_execute_queue(struct jtag_command *cmd_queue)
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
static struct jtag_interface dummy_interface
static int dummy_write(int tck, int tms, int tdi)
struct adapter_driver dummy_adapter_driver
static bb_value_t dummy_read(void)
static int dummy_init(void)
static int dummy_led(bool on)
static tap_state_t dummy_state
static uint32_t dummy_data
static int dummy_speed_div(int speed, int *khz)
static struct bitbang_interface dummy_bitbang
static int dummy_speed(int speed)
static const struct command_registration dummy_command_handlers[]
static int dummy_reset(int trst, int srst)
static int dummy_quit(void)
static int dummy_khz(int khz, int *jtag_speed)
const struct command_registration hello_command_handlers[]
Export the registration for the hello command group, so it can be embedded in example drivers.
tap_state_t tap_state_transition(tap_state_t cur_state, bool tms)
Function tap_state_transition takes a current TAP state and returns the next state according to the t...
const char * tap_state_name(tap_state_t state)
Function tap_state_name Returns a string suitable for display representing the JTAG tap_state.
#define DEBUG_CAP_TMS_SEQ
enum reset_types jtag_get_reset_config(void)
enum tap_state tap_state_t
Defines JTAG Test Access Port states.
#define LOG_DEBUG(expr ...)
Represents a driver for a debugging interface.
const char *const name
The name of the interface driver.
Low level callbacks (for bitbang).
bb_value_t(* read)(void)
Sample TDO and return the value.
const char * usage
a string listing the options and arguments, required or optional
Represents a driver for a debugging interface.
unsigned int supported
Bit vector listing capabilities exposed by this driver.