Status Flags#

*brief Status Flags

These constant values are returned by USBX_blockRead() and USBX_blockWrite().

Macros#

#define
USBX_STATUS_OK USB_STATUS_OK

Success.

#define
USBX_STATUS_EP_BUSY USB_STATUS_EP_BUSY

Failed because the endpoint is busy.

#define
USBX_STATUS_ILLEGAL USB_STATUS_ILLEGAL

Failed due to an illegal parameter.

#define
USBX_STATUS_EP_STALLED USB_STATUS_EP_STALLED

Failed because the endpoint is stalled.

#define
USBX_STATUS_DEVICE_UNCONFIGURED USB_STATUS_DEVICE_UNCONFIGURED

Failed because the device is not configured.

Macro Definition Documentation#

USBX_STATUS_OK#

#define USBX_STATUS_OK
Value:
USB_STATUS_OK

Success.


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

USBX_STATUS_EP_BUSY#

#define USBX_STATUS_EP_BUSY
Value:
USB_STATUS_EP_BUSY

Failed because the endpoint is busy.


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

USBX_STATUS_ILLEGAL#

#define USBX_STATUS_ILLEGAL
Value:
USB_STATUS_ILLEGAL

Failed due to an illegal parameter.


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

USBX_STATUS_EP_STALLED#

#define USBX_STATUS_EP_STALLED
Value:
USB_STATUS_EP_STALLED

Failed because the endpoint is stalled.


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

USBX_STATUS_DEVICE_UNCONFIGURED#

#define USBX_STATUS_DEVICE_UNCONFIGURED
Value:
USB_STATUS_DEVICE_UNCONFIGURED

Failed because the device is not configured.


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