|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
USBD HID device API header. More...
Go to the source code of this file.
Data Structures | |
| struct | hid_device_ops |
| HID device user callbacks. More... | |
Enumerations | |
| enum | { HID_REPORT_TYPE_INPUT = 1 , HID_REPORT_TYPE_OUTPUT , HID_REPORT_TYPE_FEATURE } |
| HID report types Report types used in Get/Set Report requests. More... | |
Functions | |
| int | hid_device_register (const struct device *dev, const uint8_t *const rdesc, const uint16_t rsize, const struct hid_device_ops *const ops) |
| Register HID device report descriptor and user callbacks. | |
| int | hid_device_submit_report (const struct device *dev, const uint16_t size, const uint8_t *const report) |
| Submit new input report. | |
| int | hid_device_set_in_polling (const struct device *dev, const unsigned int period_us) |
| Set input report polling period. | |
| int | hid_device_set_out_polling (const struct device *dev, const unsigned int period_us) |
| Set output report polling period. | |
USBD HID device API header.