SAMV71 Xplained Ultra Software Package 1.5

USB device API return codes
[Usbd_interface]

Collaboration diagram for USB device API return codes:

Defines

#define USBD_STATUS_SUCCESS   USBRC_SUCCESS
#define USBD_STATUS_LOCKED   USBRC_BUSY
#define USBD_STATUS_ABORTED   USBRC_ABORTED
#define USBD_STATUS_CANCELED   USBRC_CANCELED
#define USBD_STATUS_RESET   USBRC_RESET
#define USBD_STATUS_PARTIAL_DONE   USBRC_PARTIAL_DONE
#define USBD_STATUS_INVALID_PARAMETER   USBRC_PARAM_ERR
#define USBD_STATUS_WRONG_STATE   USBRC_STATE_ERR
#define USBD_STATUS_SW_NOT_SUPPORTED   USBRC_SW_NOT_SUPPORTED
#define USBD_STATUS_HW_NOT_SUPPORTED   USBRC_HW_NOT_SUPPORTED

Detailed Description

This section lists the return codes for the USB device driver API


Define Documentation

#define USBD_STATUS_ABORTED   USBRC_ABORTED

Operation has been aborted (error or stall).

Definition at line 102 of file USBD.h.

#define USBD_STATUS_CANCELED   USBRC_CANCELED

Operation has been cancelled (by user).

Definition at line 104 of file USBD.h.

#define USBD_STATUS_HW_NOT_SUPPORTED   USBRC_HW_NOT_SUPPORTED

Operation failed because HW not supported

Definition at line 116 of file USBD.h.

#define USBD_STATUS_INVALID_PARAMETER   USBRC_PARAM_ERR

Operation failed because parameter error

Definition at line 110 of file USBD.h.

#define USBD_STATUS_LOCKED   USBRC_BUSY

Endpoint/device is already busy.

Definition at line 100 of file USBD.h.

#define USBD_STATUS_PARTIAL_DONE   USBRC_PARTIAL_DONE

Part of operation successfully done.

Definition at line 108 of file USBD.h.

#define USBD_STATUS_RESET   USBRC_RESET

Operation has been aborted because the device init/reset/un-configure.

Definition at line 106 of file USBD.h.

#define USBD_STATUS_SUCCESS   USBRC_SUCCESS

Indicates the operation was successful.

Definition at line 98 of file USBD.h.

#define USBD_STATUS_SW_NOT_SUPPORTED   USBRC_SW_NOT_SUPPORTED

Operation failed because SW not supported

Definition at line 114 of file USBD.h.

#define USBD_STATUS_WRONG_STATE   USBRC_STATE_ERR

Operation failed because in unexpected state

Definition at line 112 of file USBD.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines