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 #174 background imageLoading...
Page #174 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 174 of 368
NXP Semiconductors
UM10375
Chapter 11: LPC13xx USB on-chip drivers
11.5.5 Human interface device information
The following structure is used to pass the HID device information:
typedefstruct _HID_DEVICE_INFO {
uint16_t idVendor;
uint16_t idProduct;
uint16_t bcdDevice;
uint32_t StrDescPtr;
uint8_t InReportCount;
uint8_t OutReportCount;
uint8_t SampleInterval;
void (*InReport)( uint8_t src[], uint32_t length);
void (*OutReport)(uint8_t dst[], uint32_t length);
} HID_DEVICE_INFO;
MemorySize Memory size in number of bytes
MSC_Write Write call back function. This function is provided by the application software.
This function gets called when host sends a write command.
Input Parameters:
Offset – Destination start address
Source Pointer – Pointer to the source of data
Length – Number of bytes to be written
MSC_Read Read call back function. This function is provided by the application software.
This function gets called when host sends a read command.
Input Parameters:
Offset – Destination start address
Destination Pointer – Pointer to the destination of data
Length – Number of bytes to be read
Table 187. Mass storage device information class structure
Member Description
Table 188. Human interface 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.
InReportCount Number of bytes in InReport
OutReportCount Number of bytes in OutReport

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