UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
175 of 523
NXP Semiconductors
UM10462
Chapter 10: LPC11U3x/2x/1x USB on-chip drivers
10.5.11 _HID_DESCRIPTOR::_HID_DESCRIPTOR_LIST
10.5.12 _HID_REPORT_T
HID report descriptor data structure.
Table 184. _HID_DESCRIPTOR class structure
Member
Description
bLength
uint8_t _HID_DESCRIPTOR::bLength
Size of the descriptor, in bytes.
bDescriptorType
uint8_t _HID_DESCRIPTOR::bDescriptorType
Type of HID descriptor.
bcdHID
uint16_t _HID_DESCRIPTOR::bcdHID
BCD encoded version that the HID descriptor and device complies to.
bCountryCode
uint8_t _HID_DESCRIPTOR::bCountryCode
Country code of the localized device, or zero if universal.
bNumDescriptors
uint8_t _HID_DESCRIPTOR::bNumDescriptors
Total number of HID report descriptors for the interface.
DescriptorList
PRE_PACK struct POST_PACK _HID_DESCRIPTOR::_HID_DESCRIPTOR_LISTPRE_PACK struct
POST_PACK _HID_DESCRIPTOR::_HID_DESCRIPTOR_LIST
_HID_DESCRIPTOR::DescriptorList[1][1]
Array of one or more descriptors
Table 185. _HID_DESCRIPTOR::_HID_DESCRIPTOR_LIST class structure
Member
Description
bDescriptorType
uint8_t _HID_DESCRIPTOR::_HID_DESCRIPTOR_LIST::bDescriptorType
Type of HID report.
wDescriptorLength
uint16_t _HID_DESCRIPTOR::_HID_DESCRIPTOR_LIST::wDescriptorLength
Length of the associated HID report descriptor, in bytes.
Table 186. _HID_REPORT_T class structure
Member
Description
len
uint16_t _HID_REPORT_T::len
Size of the report descriptor in bytes.
idle_time
uint8_t _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.
__pad
uint8_t _HID_REPORT_T::__pad
Padding space.
desc
uint8_t * _HID_REPORT_T::desc
Report descriptor.