M4521_BSP V3.02.000
The Board Support Package for M4521
Macros
usbh_err_code.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USB_OK   0
 
#define USB_ERR_NOENT   0xf0001002 /* No such file or directory */
 
#define USB_ERR_IO   0xf0001005 /* I/O error */
 
#define USB_ERR_AGAIN   0xf0001011 /* Try again */
 
#define USB_ERR_NOMEM   0xf0001012 /* Out of memory */
 
#define USB_ERR_BUSY   0xf0001016 /* Device or resource busy */
 
#define USB_ERR_XDEV   0xf0001018 /* Cross-device link */
 
#define USB_ERR_NODEV   0xf0001019 /* No such device */
 
#define USB_ERR_INVAL   0xf0001022 /* Invalid argument */
 
#define USB_ERR_PIPE   0xf0001032 /* Broken pipe */
 
#define EWOULDBLOCK   USB_ERR_AGAIN /* Operation would block */
 
#define USB_ERR_NOLINK   0xf0001067 /* Link has been severed */
 
#define USB_ERR_CONNRESET   0xf0001104 /* Connection reset by peer */
 
#define USB_ERR_SHUTDOWN   0xf0001108 /* Cannot send after transport endpoint shutdown */
 
#define USB_ERR_TIMEOUT   0xf0001110 /* Connection timed out */
 
#define USB_ERR_INPROGRESS   0xf0001115 /* Operation now in progress */
 
#define USB_ERR_URB_PENDING   USB_ERR_INPROGRESS
 
#define CC_ERR_CRC   0xf0003001 /* OHCI CC - CRC Error */
 
#define CC_ERR_BITSTUFF   0xf0003002 /* OHCI CC - Bit Stuff */
 
#define CC_ERR_DATA_TOGGLE   0xf0003003 /* OHCI CC - Data Togg */
 
#define CC_ERR_STALL   0xf0003004 /* OHCI CC - Stall */
 
#define CC_ERR_NORESPONSE   0xf0003005 /* OHCI CC - Device Not Responding */
 
#define CC_ERR_PID_CHECK   0xf0003006 /* OHCI CC - PID Check Failure */
 
#define CC_ERR_INVALID_PID   0xf0003007 /* OHCI CC - Invalid PID */
 
#define CC_ERR_DATAOVERRUN   0xf0003008 /* OHCI CC - Data Overrun */
 
#define CC_ERR_DATAUNDERRUN   0xf0003009 /* OHCI CC - Data Underrun */
 
#define CC_ERR_NOT_DEFINED   0xf0003010
 
#define CC_ERR_BUFFEROVERRUN   0xf0003012 /* OHCI CC - Buffer Overrun */
 
#define CC_ERR_BUFFERUNDERRUN   0xf0003013 /* OHCI CC - Buffer Underrun */
 
#define CC_ERR_NOT_ACCESS   0xf0003014 /* OHCI CC - Not Access */
 

Macro Definition Documentation

◆ CC_ERR_BITSTUFF

#define CC_ERR_BITSTUFF   0xf0003002 /* OHCI CC - Bit Stuff */

Definition at line 24 of file usbh_err_code.h.

◆ CC_ERR_BUFFEROVERRUN

#define CC_ERR_BUFFEROVERRUN   0xf0003012 /* OHCI CC - Buffer Overrun */

Definition at line 33 of file usbh_err_code.h.

◆ CC_ERR_BUFFERUNDERRUN

#define CC_ERR_BUFFERUNDERRUN   0xf0003013 /* OHCI CC - Buffer Underrun */

Definition at line 34 of file usbh_err_code.h.

◆ CC_ERR_CRC

#define CC_ERR_CRC   0xf0003001 /* OHCI CC - CRC Error */

Definition at line 23 of file usbh_err_code.h.

◆ CC_ERR_DATA_TOGGLE

#define CC_ERR_DATA_TOGGLE   0xf0003003 /* OHCI CC - Data Togg */

Definition at line 25 of file usbh_err_code.h.

◆ CC_ERR_DATAOVERRUN

#define CC_ERR_DATAOVERRUN   0xf0003008 /* OHCI CC - Data Overrun */

Definition at line 30 of file usbh_err_code.h.

◆ CC_ERR_DATAUNDERRUN

#define CC_ERR_DATAUNDERRUN   0xf0003009 /* OHCI CC - Data Underrun */

Definition at line 31 of file usbh_err_code.h.

◆ CC_ERR_INVALID_PID

#define CC_ERR_INVALID_PID   0xf0003007 /* OHCI CC - Invalid PID */

Definition at line 29 of file usbh_err_code.h.

◆ CC_ERR_NORESPONSE

#define CC_ERR_NORESPONSE   0xf0003005 /* OHCI CC - Device Not Responding */

Definition at line 27 of file usbh_err_code.h.

◆ CC_ERR_NOT_ACCESS

#define CC_ERR_NOT_ACCESS   0xf0003014 /* OHCI CC - Not Access */

Definition at line 35 of file usbh_err_code.h.

◆ CC_ERR_NOT_DEFINED

#define CC_ERR_NOT_DEFINED   0xf0003010

Definition at line 32 of file usbh_err_code.h.

◆ CC_ERR_PID_CHECK

#define CC_ERR_PID_CHECK   0xf0003006 /* OHCI CC - PID Check Failure */

Definition at line 28 of file usbh_err_code.h.

◆ CC_ERR_STALL

#define CC_ERR_STALL   0xf0003004 /* OHCI CC - Stall */

Definition at line 26 of file usbh_err_code.h.

◆ EWOULDBLOCK

#define EWOULDBLOCK   USB_ERR_AGAIN /* Operation would block */

Definition at line 14 of file usbh_err_code.h.

◆ USB_ERR_AGAIN

#define USB_ERR_AGAIN   0xf0001011 /* Try again */

Definition at line 7 of file usbh_err_code.h.

◆ USB_ERR_BUSY

#define USB_ERR_BUSY   0xf0001016 /* Device or resource busy */

Definition at line 9 of file usbh_err_code.h.

◆ USB_ERR_CONNRESET

#define USB_ERR_CONNRESET   0xf0001104 /* Connection reset by peer */

Definition at line 16 of file usbh_err_code.h.

◆ USB_ERR_INPROGRESS

#define USB_ERR_INPROGRESS   0xf0001115 /* Operation now in progress */

Definition at line 19 of file usbh_err_code.h.

◆ USB_ERR_INVAL

#define USB_ERR_INVAL   0xf0001022 /* Invalid argument */

Definition at line 12 of file usbh_err_code.h.

◆ USB_ERR_IO

#define USB_ERR_IO   0xf0001005 /* I/O error */

Definition at line 6 of file usbh_err_code.h.

◆ USB_ERR_NODEV

#define USB_ERR_NODEV   0xf0001019 /* No such device */

Definition at line 11 of file usbh_err_code.h.

◆ USB_ERR_NOENT

#define USB_ERR_NOENT   0xf0001002 /* No such file or directory */

Definition at line 5 of file usbh_err_code.h.

◆ USB_ERR_NOLINK

#define USB_ERR_NOLINK   0xf0001067 /* Link has been severed */

Definition at line 15 of file usbh_err_code.h.

◆ USB_ERR_NOMEM

#define USB_ERR_NOMEM   0xf0001012 /* Out of memory */

Definition at line 8 of file usbh_err_code.h.

◆ USB_ERR_PIPE

#define USB_ERR_PIPE   0xf0001032 /* Broken pipe */

Definition at line 13 of file usbh_err_code.h.

◆ USB_ERR_SHUTDOWN

#define USB_ERR_SHUTDOWN   0xf0001108 /* Cannot send after transport endpoint shutdown */

Definition at line 17 of file usbh_err_code.h.

◆ USB_ERR_TIMEOUT

#define USB_ERR_TIMEOUT   0xf0001110 /* Connection timed out */

Definition at line 18 of file usbh_err_code.h.

◆ USB_ERR_URB_PENDING

#define USB_ERR_URB_PENDING   USB_ERR_INPROGRESS

Definition at line 21 of file usbh_err_code.h.

◆ USB_ERR_XDEV

#define USB_ERR_XDEV   0xf0001018 /* Cross-device link */

Definition at line 10 of file usbh_err_code.h.

◆ USB_OK

#define USB_OK   0

Definition at line 4 of file usbh_err_code.h.