USBD ROM Stack
2.0
ROM based USB device stack
|
HID report descriptor data structure. More...
Data Fields | |
uint16_t | len |
uint8_t | idle_time |
uint8_t | __pad |
uint8_t * | desc |
HID report descriptor data structure.
This structure is used as part of HID function driver initialization parameter structure USBD_HID_INIT_PARAM. This structure contains details of a report type supported by the application. An application can support multiple report types as a single HID device. The application should define this report type data structure per report it supports and the array of report types to USBD_HID_API::init() through USBD_HID_INIT_PARAM structure.
uint16_t USB_HID_REPORT_T::len |
Size of the report descriptor in bytes.
uint8_t USB_HID_REPORT_T::idle_time |
This value is used by stack to respond to Set_Idle & GET_Idle requests for the specified report ID. The value of this field specified the rate at which duplicate reports are generated for the specified Report ID. For example, a device with two input reports could specify an idle rate of 20 milliseconds for report ID 1 and 500 milliseconds for report ID 2.
uint8_t USB_HID_REPORT_T::__pad |
Padding space.
uint8_t* USB_HID_REPORT_T::desc |
Report descriptor.