3 #ifndef OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H
4 #define OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H
19 #define MAX_PENDING_REQUESTS 4
77 #define REPORT_ID_SIZE 1
#define MAX_PENDING_REQUESTS
const struct cmsis_dap_backend cmsis_dap_usb_backend
const struct command_registration cmsis_dap_usb_subcommand_handlers[]
const struct cmsis_dap_backend cmsis_dap_hid_backend
int(* read)(struct cmsis_dap *dap, int transfer_timeout_ms, struct timeval *wait_timeout)
void(* cancel_all)(struct cmsis_dap *dap)
int(* packet_buffer_alloc)(struct cmsis_dap *dap, unsigned int pkt_sz)
void(* close)(struct cmsis_dap *dap)
void(* packet_buffer_free)(struct cmsis_dap *dap)
int(* open)(struct cmsis_dap *dap, uint16_t vids[], uint16_t pids[], const char *serial)
int(* write)(struct cmsis_dap *dap, int len, int timeout_ms)
unsigned int packet_buffer_size
unsigned int packet_usable_size
struct pending_request_block pending_fifo[MAX_PENDING_REQUESTS]
unsigned int pending_fifo_put_idx
struct cmsis_dap_backend_data * bdata
unsigned int pending_fifo_block_count
unsigned int packet_count
const struct cmsis_dap_backend * backend
unsigned int pending_fifo_get_idx
struct pending_transfer_result * transfers
unsigned int transfer_count