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

USB Device definitions for the LPC17xx 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 uint16_t USB_Device_GetFrameNumber (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT
 
static void USB_Device_EnableSOFEvents (void) ATTR_ALWAYS_INLINE
 
static void USB_Device_DisableSOFEvents (void) ATTR_ALWAYS_INLINE
 

Detailed Description

USB Device definitions for the LPC17xx microcontrollers.

Architecture specific USB Device definitions for the LPC microcontrollers.

Macro Definition Documentation

#define INTERNAL_SERIAL_LENGTH_BITS   80

Definition at line 72 of file Device_LPC17xx.h.

#define INTERNAL_SERIAL_START_ADDRESS   0x0E

Definition at line 74 of file Device_LPC17xx.h.

#define USB_DEVICE_OPT_FULLSPEED   (0 << 0)

Definition at line 66 of file Device_LPC17xx.h.

#define USB_DEVICE_OPT_LOWSPEED   (1 << 0)

Definition at line 63 of file Device_LPC17xx.h.

#define USE_INTERNAL_SERIAL   0xDC

Definition at line 70 of file Device_LPC17xx.h.

Function Documentation

static void USB_Device_DisableSOFEvents ( void  )
inlinestatic

Definition at line 105 of file Device_LPC17xx.h.

static void USB_Device_EnableSOFEvents ( void  )
inlinestatic

Definition at line 100 of file Device_LPC17xx.h.

static uint16_t USB_Device_GetFrameNumber ( void  )
inlinestatic

Definition at line 86 of file Device_LPC17xx.h.

void USB_Device_SendRemoteWakeup ( void  )

Definition at line 39 of file Device_LPC.c.