Macros
USB device API return codes
Collaboration diagram for USB device API return codes:

Macros

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

Detailed Description

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

Macro Definition Documentation

◆ USBD_STATUS_ABORTED

#define USBD_STATUS_ABORTED   USBRC_ABORTED

Operation has been aborted (error or stall).

Definition at line 104 of file USBD.h.

◆ USBD_STATUS_CANCELED

#define USBD_STATUS_CANCELED   USBRC_CANCELED

Operation has been cancelled (by user).

Definition at line 106 of file USBD.h.

◆ USBD_STATUS_HW_NOT_SUPPORTED

#define USBD_STATUS_HW_NOT_SUPPORTED   USBRC_HW_NOT_SUPPORTED

Operation failed because HW not supported

Definition at line 118 of file USBD.h.

◆ USBD_STATUS_INVALID_PARAMETER

#define USBD_STATUS_INVALID_PARAMETER   USBRC_PARAM_ERR

Operation failed because parameter error

Definition at line 112 of file USBD.h.

◆ USBD_STATUS_LOCKED

#define USBD_STATUS_LOCKED   USBRC_BUSY

Endpoint/device is already busy.

Definition at line 102 of file USBD.h.

◆ USBD_STATUS_PARTIAL_DONE

#define USBD_STATUS_PARTIAL_DONE   USBRC_PARTIAL_DONE

Part of operation successfully done.

Definition at line 110 of file USBD.h.

◆ USBD_STATUS_RESET

#define USBD_STATUS_RESET   USBRC_RESET

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

Definition at line 108 of file USBD.h.

◆ USBD_STATUS_SUCCESS

#define USBD_STATUS_SUCCESS   USBRC_SUCCESS

Indicates the operation was successful.

Definition at line 100 of file USBD.h.

◆ USBD_STATUS_SW_NOT_SUPPORTED

#define USBD_STATUS_SW_NOT_SUPPORTED   USBRC_SW_NOT_SUPPORTED

Operation failed because SW not supported

Definition at line 116 of file USBD.h.

◆ USBD_STATUS_WRONG_STATE

#define USBD_STATUS_WRONG_STATE   USBRC_STATE_ERR

Operation failed because in unexpected state

Definition at line 114 of file USBD.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:02