14 #ifndef OPENOCD_JTAG_MINIDRIVER_H
15 #define OPENOCD_JTAG_MINIDRIVER_H
43 int num_bits,
const uint8_t *out_bits, uint8_t *in_bits,
47 int num_fields,
const struct scan_field *fields,
50 int num_bits,
const uint8_t *out_bits, uint8_t *in_bits,
tap_state
Defines JTAG Test Access Port states.
enum tap_state tap_state_t
Defines JTAG Test Access Port states.
int interface_jtag_execute_queue(void)
int interface_jtag_add_runtest(unsigned int num_cycles, tap_state_t endstate)
int interface_jtag_add_pathmove(unsigned int num_states, const tap_state_t *path)
int interface_jtag_add_plain_ir_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_bits, tap_state_t endstate)
int interface_jtag_add_plain_dr_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_bits, tap_state_t endstate)
int interface_add_tms_seq(unsigned int num_bits, const uint8_t *bits, enum tap_state state)
int interface_jtag_add_ir_scan(struct jtag_tap *active, const struct scan_field *fields, tap_state_t endstate)
see jtag_add_ir_scan()
int interface_jtag_add_sleep(uint32_t us)
int interface_jtag_add_reset(int trst, int srst)
This drives the actual srst and trst pins.
int interface_jtag_add_clocks(unsigned int num_cycles)
int default_interface_jtag_execute_queue(void)
Calls the interface callback to execute the queue.
int interface_jtag_add_dr_scan(struct jtag_tap *active, int num_fields, const struct scan_field *fields, tap_state_t endstate)
see jtag_add_dr_scan()
int interface_jtag_add_tlr(void)
uint8_t bits[QN908X_FLASH_MAX_BLOCKS *QN908X_FLASH_PAGES_PER_BLOCK/8]
This structure defines a single scan field in the scan.