Callback Status Flags#

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

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
Value:
0x00000001

USB Reset Interrupt has occurred.


Definition at line 121 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_TX_COMPLETE#

#define USBX_TX_COMPLETE
Value:
0x00000002

Transmit Complete Interrupt has occurred.


Definition at line 122 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_RX_COMPLETE#

#define USBX_RX_COMPLETE
Value:
0x00000004

Receive Complete Interrupt has occurred.


Definition at line 123 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_FIFO_PURGE#

#define USBX_FIFO_PURGE
Value:
0x00000008

Receive and Transmit FIFO's were purged.


Definition at line 124 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_DEV_OPEN#

#define USBX_DEV_OPEN
Value:
0x00000010

Device Instance Opened on host side.


Definition at line 125 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_DEV_CLOSE#

#define USBX_DEV_CLOSE
Value:
0x00000020

Device Instance Closed on host side.


Definition at line 126 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_DEV_CONFIGURED#

#define USBX_DEV_CONFIGURED
Value:
0x00000040

Device has entered configured state.


Definition at line 127 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_DEV_SUSPEND#

#define USBX_DEV_SUSPEND
Value:
0x00000080

USB suspend signaling present on bus.


Definition at line 128 of file platform/middleware/usbxpress/inc/em_usbxpress.h

USBX_RX_OVERRUN#

#define USBX_RX_OVERRUN
Value:
0x00000100

Data received with no place to put it.


Definition at line 129 of file platform/middleware/usbxpress/inc/em_usbxpress.h