| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Modules
USB Core - software/LPCUSBLib/Drivers/USB/USB.h
LPCUSBlib

## Detailed Description

# Module Source Dependencies

The following files must be built with any user project that uses this module:

- LPCUSBlib/Drivers/USB/Core/ConfigDescriptor.c
- LPCUSBlib/Drivers/USB/Core/DeviceStandardReq.c
- LPCUSBlib/Drivers/USB/Core/Events.c
- LPCUSBlib/Drivers/USB/Core/HostStandardReq.c
- LPCUSBlib/Drivers/USB/Core/USBTask.c
- LPCUSBlib/Drivers/USB/Core/Device.c
- LPCUSBlib/Drivers/USB/Core/Endpoint.c
- LPCUSBlib/Drivers/USB/Core/EndpointStream.c
- LPCUSBlib/Drivers/USB/Core/Host.c
- LPCUSBlib/Drivers/USB/Core/Pipe.c
- LPCUSBlib/Drivers/USB/Core/PipeStream.c
- LPCUSBlib/Drivers/USB/Core/USBController.c
- LPCUSBlib/Drivers/USB/Class/Common/HIDParser.c

# Module Description

Driver and framework for the USB controller of the selected architecture and microcontroller model. This module consists of many submodules, and is designed to provide an easy way to configure and control USB host, device or OTG mode USB applications.

The USB stack requires the sole control over the USB controller in the microcontroller only; i.e. it does not require any additional timers or other peripherals to operate. This ensures that the USB stack requires as few resources as possible.

The USB stack can be used in Device Mode for connections to USB Hosts (see Device Management), in Host mode for hosting of other USB devices (see Host Management), or as a dual role device which can either act as a USB host or device depending on what peripheral is connected (see USB On The Go (OTG) Management). Both modes also require a common set of USB management functions found USB Interface Management.

## Modules
| Configuration Descriptor Parser
| USB Configuration Descriptor definitions.
| Device Management
| USB Device management definitions for USB device mode.
| Endpoint Management
| Endpoint management definitions.
| HID Report Parser
| USB Human Interface Device (HID) Class report descriptor parser.
| Hardware Abstraction Layer
| Hardware Abstraction Layer for LPC architecture.
| Host Management
| USB Host management definitions for USB host mode.
| Pipe Management
| Pipe management definitions.
| Standard USB Requests
| USB control endpoint request definitions.
| USB Descriptors
| Standard USB Descriptor definitions.
| USB Events
| USB Event management definitions.
| USB Interface Management
| USB Controller definitions for general USB controller management.
| USB Mode Tokens
| USB mode and feature support definitions.
| USB On The Go (OTG) Management
| USB OTG management definitions.