Interface and definitions for USB HID type interfaces in USBUS. More...
Interface and definitions for USB HID type interfaces in USBUS.
The functionality provided here only implements the USB specific handling. A different module is required to provide functional handling of the data e.g. UART or STDIO integration.
Definition in file hid.h.
Go to the source code of this file.
Data Structures | |
struct | usbus_hid_device |
USBUS HID context struct. More... | |
Macros | |
#define | CONFIG_USBUS_HID_INTERRUPT_EP_SIZE 0x40 |
USB HID interrupt endpoint size. | |
Typedefs | |
typedef struct usbus_hid_device | usbus_hid_device_t |
USBUS HID context struct forward declaration. | |
typedef void(* | usbus_hid_cb_t) (usbus_hid_device_t *hid, uint8_t *data, size_t len) |
HID data callback. | |
Functions | |
void | usbus_hid_init (usbus_t *usbus, usbus_hid_device_t *hid, usbus_hid_cb_t cb, const uint8_t *report_desc, size_t report_desc_size) |
Initialize an USBUS HID interface. | |