
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
176 of 368
NXP Semiconductors
UM10375
Chapter 11: LPC13xx USB on-chip drivers
11.6.2 Mass storage configuration, interface, and endpoint descriptors
The USB driver reports the following descriptors during the enumeration process for a
MSC device:
11.6.3 HID configuration, interface, class, endpoint, and report descriptor
The USB driver reports the following descriptors during the enumeration process for an
HID device:
Table 190. Mass storage descriptors
Field
Value
Description
Mass storage configuration descriptor
bLength
0x09
Descriptor size in bytes
bDescriptorType
0x02
The constant Configuration (0x02)
wTotalLength
0x0020
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)
Mass storage 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
0x08
Class code, Storage
bInterfaceSubClass
0x06
SubClass code, SCSI
bInterfaceProtocol
0x50
Protocol code, Bulk only
iInterface
0x62
Index of string descriptor for the interface
Mass storage bulk IN endpoint descriptor
bLength
0x07
Descriptor size in bytes
bDescriptorType
0x05
The constant Endpoint (0x05)
bEndpointAddress
0x82
Endpoint number and direction
bmAttributes
0x02
Transfer type supported, Bulk
wMaxPacketSize
0x0040
Maximum packet size supported
bInterval
0x00
Maximum latency/polling interval/NAK rate
Mass storage bulk OUT endpoint descriptor
bLength
0x07
Descriptor size in bytes
bDescriptorType
0x05
The constant Endpoint (0x05)
bEndpointAddress
0x02
Endpoint number and direction
bmAttributes
0x02
Transfer type supported, Bulk
wMaxPacketSize
0x0040
Maximum packet size supported
bInterval
0x00
Maximum latency/polling interval/NAK rate