![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 769](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827769.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
769 of 1441
27.1 How to read this chapter
The USB ROM API is available on parts LPC4350/30/20 and LPC43S50/S30/S20.
27.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.
27.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 589 “USBD_CDC_API class structure”
).
–
CDC class API functions structure. This module exposes functions which interact
directly with USB device controller hardware (
•
USB core layer
–
struct (
Table 586 “_WB_T class structure”
–
union (
Table 563 “__WORD_BYTE class structure”
–
struct (
Table 564 “_BM_T class structure”
)
–
struct (
Table 577 “_REQUEST_TYPE class structure”
)
–
struct (
Table 584 “_USB_SETUP_PACKET class structure”
–
struct (
Table 580 “_USB_DEVICE_QUALIFIER_DESCRIPTOR class structure”
)
–
struct USB device descriptor
–
struct (
Table 580 “_USB_DEVICE_QUALIFIER_DESCRIPTOR class structure”
)
–
struct USB configuration descriptor
–
struct (
Table 582 “_USB_INTERFACE_DESCRIPTOR class structure”
–
struct USB endpoint descriptor
–
struct (
Table 585 “_USB_STRING_DESCRIPTOR class structure”
–
struct (
Table 578 “_USB_COMMON_DESCRIPTOR class structure”
–
struct (
Table 583 “_USB_OTHER_SPEED_CONFIGURATION class structure”
)
UM10503
Chapter 27: LPC43xx/LPC43Sxx USB API
Rev. 2.1 — 10 December 2015
User manual