NUC472_NUC442_BSP V3.03.004
The Board Support Package for NUC472/NUC442
Modules | Macros
LW_USBH Exported Constants
Collaboration diagram for LW_USBH Exported Constants:

Modules

 LW_USBH Exported Functions
 

Macros

#define USBH_INTR_BUFF_SIZE
 
#define USBH_RET_NO_ERR
 
#define USBH_RET_ERR_PARM
 
#define USBH_RET_INIT
 
#define USBH_RET_NO_DEVICE
 
#define USBH_RET_DEV_CONN_KEEP
 
#define USBH_RET_DEV_REMOVED
 
#define USBH_RET_XFER_TIMEOUT
 
#define USBH_RET_STALL
 
#define USBH_RET_XFER_ERR
 
#define USBH_RET_UNSUPPORT
 
#define USBH_RET_DEV_NOT_READY
 
#define USBH_RET_ERR_CLASS_CMD
 
#define USBH_RET_ERR_DEV_INIT
 
#define USBH_RET_ERR_PORT_RST
 
#define USBH_RET_ERR_PORT_ENABLE
 

Detailed Description

Macro Definition Documentation

◆ USBH_INTR_BUFF_SIZE

#define USBH_INTR_BUFF_SIZE

USB driver internal buffer size.

Definition at line 23 of file lw_usbh.h.

◆ USBH_RET_DEV_CONN_KEEP

#define USBH_RET_DEV_CONN_KEEP

A connected device is still connected.

Definition at line 40 of file lw_usbh.h.

◆ USBH_RET_DEV_NOT_READY

#define USBH_RET_DEV_NOT_READY

Device is not ready

Definition at line 46 of file lw_usbh.h.

◆ USBH_RET_DEV_REMOVED

#define USBH_RET_DEV_REMOVED

A connected device was disconnected.

Definition at line 41 of file lw_usbh.h.

◆ USBH_RET_ERR_CLASS_CMD

#define USBH_RET_ERR_CLASS_CMD

Class specific command failed

Definition at line 47 of file lw_usbh.h.

◆ USBH_RET_ERR_DEV_INIT

#define USBH_RET_ERR_DEV_INIT

Device initialization failed

Definition at line 48 of file lw_usbh.h.

◆ USBH_RET_ERR_PARM

#define USBH_RET_ERR_PARM

Wrong parameter

Definition at line 37 of file lw_usbh.h.

◆ USBH_RET_ERR_PORT_ENABLE

#define USBH_RET_ERR_PORT_ENABLE

Port enable failed.

Definition at line 50 of file lw_usbh.h.

◆ USBH_RET_ERR_PORT_RST

#define USBH_RET_ERR_PORT_RST

Port reset failed.

Definition at line 49 of file lw_usbh.h.

◆ USBH_RET_INIT

#define USBH_RET_INIT

USB Host init failed

Definition at line 38 of file lw_usbh.h.

◆ USBH_RET_NO_DEVICE

#define USBH_RET_NO_DEVICE

No device connected

Definition at line 39 of file lw_usbh.h.

◆ USBH_RET_NO_ERR

#define USBH_RET_NO_ERR

No errors.

Definition at line 36 of file lw_usbh.h.

◆ USBH_RET_STALL

#define USBH_RET_STALL

Devie STALL

Definition at line 43 of file lw_usbh.h.

◆ USBH_RET_UNSUPPORT

#define USBH_RET_UNSUPPORT

Not supported USB device

Definition at line 45 of file lw_usbh.h.

◆ USBH_RET_XFER_ERR

#define USBH_RET_XFER_ERR

USB transfer error occurred

Definition at line 44 of file lw_usbh.h.

◆ USBH_RET_XFER_TIMEOUT

#define USBH_RET_XFER_TIMEOUT

USB transfer time-out

Definition at line 42 of file lw_usbh.h.