Jump to main content

##

# 3.4.4.29 USB_HOST_CDC_RESULT Enumeration

## 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;

## Summary

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.

## 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.