![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 770](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827770.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
770 of 1441
NXP Semiconductors
UM10503
Chapter 27: LPC43xx/LPC43Sxx USB API
–
USB descriptors data structure (
Table 579 “_USB_CORE_DESCS_T class
–
USB device stack initialization parameter data structure (
“USBD_API_INIT_PARAM class structure”
).
–
USB device stack core API functions structure (
•
Device Firmware Upgrade (DFU) class function driver
–
DFU descriptors data structure (
Table 593 “USBD_DFU_INIT_PARAM class
–
DFU class API functions structure. This module exposes functions which interact
directly with the USB device controller hardware (
•
HID class function driver
–
struct (
Table 572 “_HID_DESCRIPTOR class structure”
–
struct (
Table 574 “_HID_REPORT_T class structure”
).
–
USB descriptors data structure (
Table 595 “USBD_HID_INIT_PARAM class
–
HID class API functions structure. This structure contains pointers to all the
functions exposed by the HID function driver module (
•
USB device controller driver
–
Hardware API functions structure. This module exposes functions which interact
directly with the USB device controller hardware (
•
Mass Storage Class (MSC) function driver
–
Mass Storage Class function driver initialization parameter data structure
(
).
–
MSC class API functions structure. This module exposes functions which interact
directly with the USB device controller hardware (
27.4 Calling the USB device driver
A fixed location in ROM contains a pointer to the ROM driver table i.e. 0x1FFF 1FF8. The
ROM driver table contains a pointer to the USB driver table. Pointers to the various USB
driver functions are stored in this table. USB driver functions can be called by using a C
structure.
illustrates the pointer mechanism used to access the on-chip USB
driver.
typedef struct USBD_API
{
const USBD_HW_API_T* hw;
const USBD_CORE_API_T* core;
const USBD_MSC_API_T* msc;