USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > d) Data Types and Constants > USB_HOST_CDC_RESULT Enumeration
MPLAB Harmony USB Stack
USB_HOST_CDC_RESULT Enumeration

USB Host CDC Client Driver Result. 

This enumeration lists the possible results the CDC client driver uses. Only some results are applicable to some functions and events. Refer to the event and function documentation for more details.

C
typedef enum {
  USB_HOST_CDC_RESULT_FAILURE,
  USB_HOST_CDC_RESULT_BUSY,
  USB_HOST_CDC_RESULT_REQUEST_STALLED,
  USB_HOST_CDC_RESULT_INVALID_PARAMETER,
  USB_HOST_CDC_RESULT_DEVICE_UNKNOWN,
  USB_HOST_CDC_RESULT_ABORTED,
  USB_HOST_CDC_RESULT_HANDLE_INVALID,
  USB_HOST_CDC_RESULT_SUCCESS
} USB_HOST_CDC_RESULT;
Members
Members 
Description 
USB_HOST_CDC_RESULT_FAILURE 
An unknown failure has occurred 
USB_HOST_CDC_RESULT_BUSY 
The transfer or request could not be scheduled because internal

  • queues are full. The request or transfer should be retried

 

USB_HOST_CDC_RESULT_REQUEST_STALLED 
The request was stalled 
USB_HOST_CDC_RESULT_INVALID_PARAMETER 
A required parameter was invalid 
USB_HOST_CDC_RESULT_DEVICE_UNKNOWN 
The associated device does not exist in the system. 
USB_HOST_CDC_RESULT_ABORTED 
The transfer or requested was aborted 
USB_HOST_CDC_RESULT_HANDLE_INVALID 
The specified handle is not valid 
USB_HOST_CDC_RESULT_SUCCESS 
The operation was successful 
Remarks

None.