LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Device Management (LPC11Uxx)

USB Device definitions for the LPC11Uxx microcontrollers. More...

Macros

#define USB_DEVICE_OPT_LOWSPEED   (1 << 0)
 
#define USB_DEVICE_OPT_FULLSPEED   (0 << 0)
 
#define USE_INTERNAL_SERIAL   0xDC
 
#define INTERNAL_SERIAL_LENGTH_BITS   80
 
#define INTERNAL_SERIAL_START_ADDRESS   0x0E
 

Functions

void USB_Device_SendRemoteWakeup (void)
 
static PRAGMA_ALWAYS_INLINE
uint16_t 
USB_Device_GetFrameNumber (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT
 
static PRAGMA_ALWAYS_INLINE void USB_Device_EnableSOFEvents (void) ATTR_ALWAYS_INLINE
 
static PRAGMA_ALWAYS_INLINE void USB_Device_DisableSOFEvents (void) ATTR_ALWAYS_INLINE
 

Detailed Description

USB Device definitions for the LPC11Uxx microcontrollers.

Architecture specific USB Device definitions for the LPC microcontrollers.

Macro Definition Documentation

#define INTERNAL_SERIAL_LENGTH_BITS   80

Definition at line 81 of file Device_LPC11Uxx.h.

#define INTERNAL_SERIAL_START_ADDRESS   0x0E

Definition at line 83 of file Device_LPC11Uxx.h.

#define USB_DEVICE_OPT_FULLSPEED   (0 << 0)

Definition at line 72 of file Device_LPC11Uxx.h.

#define USB_DEVICE_OPT_LOWSPEED   (1 << 0)

Definition at line 69 of file Device_LPC11Uxx.h.

#define USE_INTERNAL_SERIAL   0xDC

Definition at line 79 of file Device_LPC11Uxx.h.

Function Documentation

static void USB_Device_DisableSOFEvents ( void  )
inlinestatic

Definition at line 112 of file Device_LPC11Uxx.h.

static void USB_Device_EnableSOFEvents ( void  )
inlinestatic

Definition at line 106 of file Device_LPC11Uxx.h.

static uint16_t USB_Device_GetFrameNumber ( void  )
inlinestatic

Definition at line 96 of file Device_LPC11Uxx.h.

void USB_Device_SendRemoteWakeup ( void  )

Definition at line 39 of file Device_LPC.c.