OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | cmsis_dap_backend_data |
struct | cmsis_dap_report_size |
Functions | |
static int | cmsis_dap_hid_alloc (struct cmsis_dap *dap, unsigned int pkt_sz) |
static void | cmsis_dap_hid_cancel_all (struct cmsis_dap *dap) |
static void | cmsis_dap_hid_close (struct cmsis_dap *dap) |
static void | cmsis_dap_hid_free (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 transfer_timeout_ms, struct timeval *wait_timeout) |
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 const struct cmsis_dap_report_size | report_size_quirks [] |
|
static |
Definition at line 249 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, cmsis_dap::packet_usable_size, REPORT_ID_SIZE, and cmsis_dap::response.
Referenced by cmsis_dap_hid_open().
|
static |
Definition at line 275 of file cmsis_dap_usb_hid.c.
|
static |
Definition at line 199 of file cmsis_dap_usb_hid.c.
References cmsis_dap::bdata, cmsis_dap_hid_free(), cmsis_dap_backend_data::dev_handle, and NULL.
Referenced by cmsis_dap_hid_open().
|
static |
Definition at line 269 of file cmsis_dap_usb_hid.c.
References NULL, and cmsis_dap::packet_buffer.
Referenced by cmsis_dap_hid_close().
|
static |
Definition at line 71 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_report_size::report_size, report_size_quirks, cmsis_dap::response, serial, and cmsis_dap_report_size::vid.
|
static |
Definition at line 208 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, cmsis_dap::packet_buffer_size, timeval::tv_sec, and timeval::tv_usec.
|
static |
Definition at line 230 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 275 of file cmsis_dap_usb_hid.c.
|
static |
Definition at line 1 of file cmsis_dap_usb_hid.c.
Referenced by cmsis_dap_hid_open().