OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | cmsis_dap_backend_data |
Functions | |
static int | cmsis_dap_hid_alloc (struct cmsis_dap *dap, unsigned int pkt_sz) |
static void | cmsis_dap_hid_close (struct cmsis_dap *dap) |
static int | cmsis_dap_hid_open (struct cmsis_dap *dap, uint16_t vids[], uint16_t pids[], const char *serial) |
static int | cmsis_dap_hid_read (struct cmsis_dap *dap, int timeout_ms) |
static int | cmsis_dap_hid_write (struct cmsis_dap *dap, int txlen, int timeout_ms) |
Variables | |
const struct cmsis_dap_backend | cmsis_dap_hid_backend |
|
static |
Definition at line 205 of file cmsis_dap_usb_hid.c.
References cmsis_dap::command, ERROR_FAIL, ERROR_OK, LOG_ERROR, cmsis_dap::packet_buffer, cmsis_dap::packet_buffer_size, cmsis_dap::packet_size, REPORT_ID_SIZE, and cmsis_dap::response.
Referenced by cmsis_dap_hid_open().
|
static |
Definition at line 162 of file cmsis_dap_usb_hid.c.
References cmsis_dap::bdata, cmsis_dap_backend_data::dev_handle, NULL, and cmsis_dap::packet_buffer.
Referenced by cmsis_dap_hid_open().
|
static |
Definition at line 40 of file cmsis_dap_usb_hid.c.
References cmsis_dap::bdata, cmsis_dap_hid_alloc(), cmsis_dap_hid_close(), cmsis_dap::command, cmsis_dap_backend_data::dev_handle, devs, ERROR_FAIL, ERROR_OK, LOG_DEBUG, LOG_ERROR, NULL, cmsis_dap::packet_buffer, REPORT_ID_SIZE, cmsis_dap::response, and serial.
|
static |
Definition at line 172 of file cmsis_dap_usb_hid.c.
References cmsis_dap::bdata, cmsis_dap_backend_data::dev_handle, ERROR_FAIL, ERROR_TIMEOUT_REACHED, LOG_ERROR, cmsis_dap::packet_buffer, and cmsis_dap::packet_buffer_size.
|
static |
Definition at line 186 of file cmsis_dap_usb_hid.c.
References cmsis_dap::bdata, cmsis_dap::command, cmsis_dap_backend_data::dev_handle, ERROR_FAIL, LOG_ERROR, cmsis_dap::packet_buffer, cmsis_dap::packet_buffer_size, and cmsis_dap::packet_size.
const struct cmsis_dap_backend cmsis_dap_hid_backend |
Definition at line 205 of file cmsis_dap_usb_hid.c.