| 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
Macros
USB Configuration
LPCUSBlib

## Detailed Description

## Macros
#define | FIXED_NUM_CONFIGURATIONS 1
#define | FIXED_CONTROL_ENDPOINT_SIZE 64
#define | USBRAM_BUFFER_SIZE (4*1024)
#define | USB_FORCED_FULLSPEED 0
#define | USE_USB_ROM_STACK 0

## Macro Definition Documentation

#define FIXED_CONTROL_ENDPOINT_SIZE 64

Control endpoint max packet size

Definition at line 47 of file LPCUSBlibConfig.h.

#define FIXED_NUM_CONFIGURATIONS 1

Define NXPUSBLIB_DEBUG to allow the library prints out diagnostic messages Available configuration number in a device

Definition at line 44 of file LPCUSBlibConfig.h.

#define USB_FORCED_FULLSPEED 0

This option effects only on high speed parts that need to test full speed activities

Definition at line 57 of file LPCUSBlibConfig.h.

#define USBRAM_BUFFER_SIZE (4*1024)

Size of share memory that a device uses to store data transfer to/ receive from host or a host uses to store data transfer to/ receive from device.

Definition at line 54 of file LPCUSBlibConfig.h.

#define USE_USB_ROM_STACK 0

Define USE_USB_ROM_STACK = 1 to use MCU's internal ROM stack, 0 if otherwise

Definition at line 60 of file LPCUSBlibConfig.h.