|
Data Structures |
struct | usb_hid_dev |
| Structure for holding general HID device data. More...
|
struct | usb_hid_subdriver |
Typedefs |
typedef usb_hid_dev | usb_hid_dev_t |
| Structure for holding general HID device data.
|
typedef void(*) | usb_hid_driver_deinit_t (struct usb_hid_dev *, void *data) |
typedef int(*) | usb_hid_driver_init_t (struct usb_hid_dev *, void **data) |
typedef int(*) | usb_hid_driver_poll_ended_t (struct usb_hid_dev *, void *data, bool reason) |
typedef bool(*) | usb_hid_driver_poll_t (struct usb_hid_dev *, void *data) |
Enumerations |
enum | |
Functions |
void | usb_hid_free (usb_hid_dev_t **hid_dev) |
int | usb_hid_init (usb_hid_dev_t *hid_dev, usb_device_t *dev) |
usb_hid_dev_t * | usb_hid_new (void) |
void | usb_hid_new_report (usb_hid_dev_t *hid_dev) |
bool | usb_hid_polling_callback (usb_device_t *dev, uint8_t *buffer, size_t buffer_size, void *arg) |
void | usb_hid_polling_ended_callback (usb_device_t *dev, bool reason, void *arg) |
int | usb_hid_report_number (usb_hid_dev_t *hid_dev) |
Variables |
usb_endpoint_description_t * | usb_hid_endpoints [USB_HID_POLL_EP_COUNT+1] |