
UM10375
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 3 — 14 June 2011
177 of 368
NXP Semiconductors
UM10375
Chapter 11: LPC13xx USB on-chip drivers
Table 191. HID descriptors
Field
Value
Description
HID configuration descriptor
bLength
0x09
Descriptor size in bytes
bDescriptorType
0x02
The constant Configuration (0x02)
wTotalLength
0x0029
Size of all data returned for this configuration in bytes
bNumInterfaces
0x01
Number of interfaces the configuration supports
bConfigurationValue 0x01
Identifier for Set_Configuration and Get_Configuration
requests
iConfiguration
0x00
Index of string descriptor for the configuration
bmAttributes
0xc0
Self/Bus power, Remote wakeup
bMaxPower
0x32
Bus Power required, expressed as (max mA/2)
HID interface descriptor
bLength
0x09
Descriptor size in bytes
bDescriptorType
0x04
The constant Interface (0x04)
bInterfaceNumber
0x00
Number identifying this interface
bAlternateSetting
0x00
Value used to select an alternate setting
bNumEndpoints
0x02
Number of endpoints supported
bInterfaceClass
0x03
Class code, Human Interface
bInterfaceSubClass
0x00
Sublass code, None
bInterfaceProtocol
0x00
Protocol code, None
iInterface
0x62
Index of string descriptor for the interface
HID class descriptor
bLength
0x09
Descriptor size in bytes
bDescriptorType
0x21
The constant HID class (0x21)
bcdHID
0x0100
HID specification release number (BCD)
bCountryCode
0x00
Country identifier
bNumDescriptors
0x01
Number of subordinate class descriptors supported
bDescriptorType
0x22
The type of class descriptor, HID Report
wDescriptorLength
0x001b
Total length of report descriptor
HID interrupt IN descriptor
bLength
0x07
Descriptor size in bytes
bDescriptorType
0x05
The constant Endpoint (0x05)
bEndpointAddress
0x81
Endpoint number and direction
bmAttributes
0x03
Transfer type supported, Interrupt
wMaxPacketSize
0x0040
Maximum packet size supported
bInterval
User Defined
Polling interval (Provided by the Application Software)
HID interrupt OUT descriptor
bLength
0x07
Descriptor size in bytes
bDescriptorType
0x05
The constant Endpoint (0x05)
bEndpointAddress
0x01
Endpoint number and direction
bmAttributes
0x03
Transfer type supported, Interrupt
wMaxPacketSize
0x0040
Maximum packet size supported