Status Flags

Description

*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   USB_STATUS_OK

Success.

◆ USBX_STATUS_EP_BUSY

#define USBX_STATUS_EP_BUSY   USB_STATUS_EP_BUSY

Failed because the endpoint is busy.

◆ USBX_STATUS_ILLEGAL

#define USBX_STATUS_ILLEGAL   USB_STATUS_ILLEGAL

Failed due to an illegal parameter.

◆ USBX_STATUS_EP_STALLED

#define USBX_STATUS_EP_STALLED   USB_STATUS_EP_STALLED

Failed because the endpoint is stalled.

◆ USBX_STATUS_DEVICE_UNCONFIGURED

#define USBX_STATUS_DEVICE_UNCONFIGURED   USB_STATUS_DEVICE_UNCONFIGURED

Failed because the device is not configured.