#include <stdint.h>
#include "compiler.h"
Go to the source code of this file.
Enumerations |
enum | USBRC {
USBRC_OK = 0,
USBRC_SUCCESS = 0,
USBRC_FALSE = 0,
USBRC_TRUE = 1,
USBRC_BUSY,
USBRC_ABORTED,
USBRC_CANCELED,
USBRC_RESET,
USBRC_PARTIAL_DONE,
USBRC_FINISHED,
USBRC_PARAM_ERR,
USBRC_STATE_ERR,
USBRC_ERROR,
USBRC_SW_NOT_SUPPORTED = 0xFD,
USBRC_HW_NOT_SUPPORTED = 0xFE
} |
Detailed Description
Definitions for USB Lib compiling.
Definition in file USBLib_Types.h.
Enumeration Type Documentation
USB status ReturnCode
- Enumerator:
USBRC_OK |
Operation was successful
|
USBRC_SUCCESS |
Operation was successful
|
USBRC_FALSE |
As boolean TRUE
|
USBRC_TRUE |
As boolean FALSE
|
USBRC_BUSY |
EP/Device is already busy
|
USBRC_ABORTED |
Operation aborted due to error or stall
|
USBRC_CANCELED |
Operation cancelled by user
|
USBRC_RESET |
Operation aborted due to init/reset/un-configure
|
USBRC_PARTIAL_DONE |
Part of operation successfully done
|
USBRC_FINISHED |
All operation successfully done and terminate
|
USBRC_PARAM_ERR |
Failed due to parameter error
|
USBRC_STATE_ERR |
Failed due to state error
|
USBRC_ERROR |
General error
|
USBRC_SW_NOT_SUPPORTED |
Failed due to SW not supported
|
USBRC_HW_NOT_SUPPORTED |
Failed due to HW not supported
|
Definition at line 48 of file USBLib_Types.h.