![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
HID report descriptor data structure. More...
#include "usbd_hiduser.h"
Data Fields | |
uint16_t | len |
uint8_t | idle_time |
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_T. 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 struture per report it supports and the array of reoprt types to USBD_HID_API::init() through USBD_HID_INIT_PARAM_T structure.
Definition at line 66 of file usbd_hiduser.h.
uint8_t* desc |
Report descriptor.
Definition at line 77 of file usbd_hiduser.h.
uint8_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.
Definition at line 68 of file usbd_hiduser.h.
uint16_t len |
Size of the report descriptor in bytes.
Definition at line 67 of file usbd_hiduser.h.