3 #ifndef OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H
4 #define OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H
40 #define REPORT_ID_SIZE 1
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 timeout_ms)
int(* packet_buffer_alloc)(struct cmsis_dap *dap, unsigned int pkt_sz)
void(* close)(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)
struct cmsis_dap_backend_data * bdata
const struct cmsis_dap_backend * backend
uint16_t packet_buffer_size