USB HID callback and read/write functions. More...
USB HID callback and read/write functions.
Definition in file hid_io.h.
Include dependency graph for hid_io.h:Go to the source code of this file.
Typedefs | |
| typedef void(* | usb_hid_io_cb_t) (void *) |
| USBUS HID IO RX callback function. | |
Functions | |
| void | usb_hid_io_set_rx_cb (usb_hid_io_cb_t cb, void *arg) |
| Set USBUS HID IO RX callback. More... | |
| void | usb_hid_io_write (const void *buffer, size_t len) |
| Write data to USB HID IN endpoint buffer. More... | |
| int | usb_hid_io_read (void *buffer, size_t len) |
| Read data from USB HID OUT endpoint (blocking) More... | |
| int | usb_hid_io_read_timeout (void *buffer, size_t len, uint32_t timeout) |
| Read data from USB HID OUT endpoint (with timeout, blocking) More... | |
| void | usb_hid_io_init (usbus_t *usbus, const uint8_t *report_desc, size_t report_desc_size) |
| Initialize an USB HID IO interface. More... | |