MPLAB Harmony USB Stack
|
USB Device Result Enumeration
This enumeration lists the possible USB Device Endpoint operation results. These values are returned by USB Device Endpoint functions.
typedef enum { USB_DEVICE_RESULT_ERROR_TRANSFER_QUEUE_FULL, USB_DEVICE_RESULT_OK, USB_DEVICE_RESULT_ERROR_ENDPOINT_NOT_CONFIGURED, USB_DEVICE_RESULT_ERROR_ENDPOINT_INVALID, USB_DEVICE_RESULT_ERROR_PARAMETER_INVALID, USB_DEVICE_RESULT_ERROR_DEVICE_HANDLE_INVALID, USB_DEVICE_RESULT_ERROR_ENDPOINT_HALTED, USB_DEVICE_RESULT_ERROR_TERMINATED_BY_HOST, USB_DEVICE_RESULT_ERROR } USB_DEVICE_RESULT;
Members |
Description |
USB_DEVICE_RESULT_ERROR_TRANSFER_QUEUE_FULL |
Queue is full |
USB_DEVICE_RESULT_OK |
No Error |
USB_DEVICE_RESULT_ERROR_ENDPOINT_NOT_CONFIGURED |
Endpoint not configured |
USB_DEVICE_RESULT_ERROR_ENDPOINT_INVALID |
Endpoint not provisioned in the system |
USB_DEVICE_RESULT_ERROR_PARAMETER_INVALID |
One or more parameter/s of the function is invalid |
USB_DEVICE_RESULT_ERROR_DEVICE_HANDLE_INVALID |
Device Handle passed to the function is invalid |
USB_DEVICE_RESULT_ERROR_ENDPOINT_HALTED |
Transfer terminated because host halted the endpoint |
USB_DEVICE_RESULT_ERROR_TERMINATED_BY_HOST |
Transfer terminated by host because of a stall clear |
USB_DEVICE_RESULT_ERROR |
An unspecified error has occurred |
None.
MPLAB Harmony USB Stack
|