9 #ifndef OPENOCD_JTAG_DRIVERS_MINIDRIVER_IMP_H
10 #define OPENOCD_JTAG_DRIVERS_MINIDRIVER_IMP_H
void * cmd_queue_alloc(size_t size)
int(* jtag_callback_t)(jtag_callback_data_t data0, jtag_callback_data_t data1, jtag_callback_data_t data2, jtag_callback_data_t data3)
Defines the interface of the JTAG callback mechanism.
intptr_t jtag_callback_data_t
Defines the type of data passed to the jtag_callback_t interface.
void(* jtag_callback1_t)(jtag_callback_data_t data0)
Defines a simple JTAG callback that can allow conversions on data scanned in from an interface.
void interface_jtag_add_callback4(jtag_callback_t f, jtag_callback_data_t data0, jtag_callback_data_t data1, jtag_callback_data_t data2, jtag_callback_data_t data3)
void jtag_add_callback4(jtag_callback_t f, jtag_callback_data_t data0, jtag_callback_data_t data1, jtag_callback_data_t data2, jtag_callback_data_t data3)
void interface_jtag_add_callback(jtag_callback1_t f, jtag_callback_data_t data0)
static void interface_jtag_add_scan_check_alloc(struct scan_field *field)
This structure defines a single scan field in the scan.
int num_bits
The number of bits this field specifies.
uint8_t * in_value
A pointer to a 32-bit memory location for data scanned out.
#define DIV_ROUND_UP(m, n)
Rounds m up to the nearest multiple of n using division.