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

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

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
Device_LPC18xx.h File Reference
`#include "../../../../../Common/Common.h"`
`#include "../../USBController.h"`
`#include "../../StdDescriptors.h"`
`#include "../../USBInterrupt.h"`
`#include "../../HAL/HAL.h"`

Go to the source code of this file.

## Macros
#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)
| Sends a Remote Wakeup request to the host. This signals to the host that the device should be taken out of suspended mode, and communications should resume.
static uint16_t | USB_Device_GetFrameNumber (uint8_t corenum) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT
| Returns the current USB frame number, when in device mode. Every millisecond the USB bus is active (i.e. enumerated to a host) the frame number is incremented by one.
static void | USB_Device_EnableSOFEvents (void) ATTR_ALWAYS_INLINE
| Enables the device mode Start Of Frame events. When enabled, this causes the EVENT_USB_Device_StartOfFrame() event to fire once per millisecond, synchronized to the USB bus, at the start of each USB frame when enumerated in device mode.
static void | USB_Device_DisableSOFEvents (void) ATTR_ALWAYS_INLINE
| Disables the device mode Start Of Frame events. When disabled, this stops the firing of the EVENT_USB_Device_StartOfFrame() event when enumerated in device mode.