LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB Configuration

Macros

#define ARCH   ARCH_LPC
 
#define FIXED_NUM_CONFIGURATIONS   1
 
#define FIXED_CONTROL_ENDPOINT_SIZE   64
 
#define USBRAM_BUFFER_SIZE   (2*1024)
 
#define USB_FORCED_FULLSPEED   0
 
#define USE_USB_ROM_STACK   0
 
#define USB_PORT   0
 

Detailed Description

Macro Definition Documentation

#define ARCH   ARCH_LPC

Definition at line 40 of file LPCUSBlibConfig.h.

#define FIXED_CONTROL_ENDPOINT_SIZE   64

Control endpoint max packet size

Definition at line 48 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 45 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 58 of file LPCUSBlibConfig.h.

#define USB_PORT   0

Define the running USB port To select USB port 0(USB0), use 0 To select USB port 1(USB1), use 1

Definition at line 67 of file LPCUSBlibConfig.h.

#define USBRAM_BUFFER_SIZE   (2*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 55 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 61 of file LPCUSBlibConfig.h.