EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
USB Status Flags

Detailed Description

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

Macros

#define USBX_STATUS_DEVICE_UNCONFIGURED   USB_STATUS_DEVICE_UNCONFIGURED
 Failed because the device is not configured.
 
#define USBX_STATUS_EP_BUSY   USB_STATUS_EP_BUSY
 Failed because the endpoint is busy.
 
#define USBX_STATUS_EP_STALLED   USB_STATUS_EP_STALLED
 Failed because the endpoint is stalled.
 
#define USBX_STATUS_ILLEGAL   USB_STATUS_ILLEGAL
 Failed due to an illegal parameter.
 
#define USBX_STATUS_OK   USB_STATUS_OK
 Success.