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 173 of 368
NXP Semiconductors
UM10375
Chapter 11: LPC13xx USB on-chip drivers
11.5.4 Mass storage device information
The following structure is used to pass the MSC device information:
typedefstruct _MSC_DEVICE_INFO {
uint16_t idVendor;
uint16_t idProduct;
uint16_t bcdDevice;
uint32_t StrDescPtr;
uint32_t MSCInquiryStr;
uint32_t BlockCount;
uint32_t BlockSize;
uint32_t MemorySize;
void (*MSC_Write)( uint32_t offset, uint8_t src[], uint32_t length);
void (*MSC_Read)( uint32_t offset, uint8_t dst[], uint32_t length);
} MSC_DEVICE_INFO;
Table 186. USB device information class structure
Member Description
DevType USB device class type
USB_DEVICE_CLASS_HUMAN_INTERFACE(0x03)
USB_DEVICE_CLASS_STORAGE(0x08)
DevDetailPtr Pointer to the device information structure
Table 187. Mass storage device information class structure
Member Description
idVendor Vendor ID
idProduct Product ID
bcdDevice Device release number
StrDescPtr Pointer to the String Describing the Manufacturer, Product and Serial number.
Refer to Section 11.6.4
for an example.
MSCInquiryStr Pointer to the 28 character string. This string is sent in response to the SCSI
Inquiry command
BlockCount Number of blocks present in the mass storage device
BlockSize Block size in number of bytes