UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
170 of 523
10.1 How to read this chapter
The USB on-chip drivers are available on parts LPC11U2x and LPC11U3x only.
10.2 Introduction
The boot ROM contains a USB driver to simplify the USB application development. The
USB driver implements the Communication Device Class (CDC), the Human Interface
Device (HID), and the Mass Storage Device (MSC) device class. The USB on-chip drivers
support composite device.
10.3 USB driver functions
The USB device driver ROM API consists of the following modules:
•
Communication Device Class (CDC) function driver. This module contains an internal
implementation of the USB CDC Class. User applications can use this class driver
instead of implementing the CDC-ACM class manually via the low-level USBD_HW
and USBD_Core APIs. This module is designed to simplify the user code by exposing
only the required interface needed to interface with Devices using the USB CDC-ACM
Class.
–
Communication Device Class function driver initialization parameter data structure
(
Table 202 “USBD_CDC_INIT_PARAM class structure”
–
CDC class API functions structure. This module exposes functions which interact
directly with USB device controller hardware (
•
USB core layer
–
struct (
Table 198 “_WB_T class structure”
–
union (
Table 175 “__WORD_BYTE class structure”
–
struct (
Table 176 “_BM_T class structure”
)
–
struct (
Table 189 “_REQUEST_TYPE class structure”
)
–
struct (
Table 196 “_USB_SETUP_PACKET class structure”
–
struct (
Table 192 “_USB_DEVICE_QUALIFIER_DESCRIPTOR class structure”
)
–
struct USB device descriptor
–
struct (
Table 192 “_USB_DEVICE_QUALIFIER_DESCRIPTOR class structure”
)
–
struct USB configuration descriptor
–
struct (
Table 194 “_USB_INTERFACE_DESCRIPTOR class structure”
–
struct USB endpoint descriptor
–
struct (
Table 197 “_USB_STRING_DESCRIPTOR class structure”
–
struct (
Table 190 “_USB_COMMON_DESCRIPTOR class structure”
–
struct (
Table 195 “_USB_OTHER_SPEED_CONFIGURATION class structure”
)
UM10462
Chapter 10: LPC11U3x/2x/1x USB on-chip drivers
Rev. 5.5 — 21 December 2016
User manual