EasyManuals Logo

NXP Semiconductors LPC1311 User Manual

NXP Semiconductors LPC1311
368 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #173 background imageLoading...
Page #173 background image
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors LPC1311 and is the answer not in the manual?

NXP Semiconductors LPC1311 Specifications

General IconGeneral
BrandNXP Semiconductors
ModelLPC1311
CategoryController
LanguageEnglish

Related product manuals