Callback Status Flags

Description

Callback Status Flags.

These constant values are returned by USBX_getCallbackSource() . The return value is a mask and may contain the logical OR of any combination of status flags. Each flag maps to a call-back event.

Macros

#define USBX_RESET 0x00000001
USB Reset Interrupt has occurred.
#define USBX_TX_COMPLETE 0x00000002
Transmit Complete Interrupt has occurred.
#define USBX_RX_COMPLETE 0x00000004
Receive Complete Interrupt has occurred.
#define USBX_FIFO_PURGE 0x00000008
Receive and Transmit FIFO's were purged.
#define USBX_DEV_OPEN 0x00000010
Device Instance Opened on host side.
#define USBX_DEV_CLOSE 0x00000020
Device Instance Closed on host side.
#define USBX_DEV_CONFIGURED 0x00000040
Device has entered configured state.
#define USBX_DEV_SUSPEND 0x00000080
USB suspend signaling present on bus.
#define USBX_RX_OVERRUN 0x00000100
Data received with no place to put it.

Macro Definition Documentation

USBX_RESET

#define USBX_RESET   0x00000001

USB Reset Interrupt has occurred.

USBX_TX_COMPLETE

#define USBX_TX_COMPLETE   0x00000002

Transmit Complete Interrupt has occurred.

USBX_RX_COMPLETE

#define USBX_RX_COMPLETE   0x00000004

Receive Complete Interrupt has occurred.

USBX_FIFO_PURGE

#define USBX_FIFO_PURGE   0x00000008

Receive and Transmit FIFO's were purged.

USBX_DEV_OPEN

#define USBX_DEV_OPEN   0x00000010

Device Instance Opened on host side.

USBX_DEV_CLOSE

#define USBX_DEV_CLOSE   0x00000020

Device Instance Closed on host side.

USBX_DEV_CONFIGURED

#define USBX_DEV_CONFIGURED   0x00000040

Device has entered configured state.

USBX_DEV_SUSPEND

#define USBX_DEV_SUSPEND   0x00000080

USB suspend signaling present on bus.

USBX_RX_OVERRUN

#define USBX_RX_OVERRUN   0x00000100

Data received with no place to put it.