USBUS HID interface module.
More...
USBUS HID interface module.
|
file | hid.h |
| Interface and definitions for USB HID type interfaces in USBUS.
|
|
◆ CONFIG_USBUS_HID_INTERRUPT_EP_SIZE
#define CONFIG_USBUS_HID_INTERRUPT_EP_SIZE 0x40 |
USB HID interrupt endpoint size.
Definition at line 44 of file hid.h.
◆ usbus_hid_cb_t
HID data callback.
Callback for received data from the USB host
- Parameters
-
[in] | hid | HID handler context |
[in] | data | ptr to the data |
[in] | len | Length of the received data |
Definition at line 61 of file hid.h.
◆ usbus_hid_device_t
USBUS HID context struct forward declaration.
Definition at line 50 of file hid.h.
◆ usbus_hid_init()
Initialize an USBUS HID interface.
- Parameters
-
[in] | usbus | USBUS context to register with |
[in] | hid | USBUS HID handler |
[in] | cb | Callback for data from the USB interface |
[in] | report_desc | USB_HID report descriptor |
[in] | report_desc_size | Size of USB_HID report descriptor |