VSF Documented
|
Data Structures | |
struct | hc32f10x_usbhd_reg_t |
struct | hc32f10x_usbhd_urb_t |
Typedefs | |
typedef struct hc32f10x_usbhd_reg_t | hc32f10x_usbhd_reg_t |
typedef struct hc32f10x_usbhd_urb_t | hc32f10x_usbhd_urb_t |
Enumerations | |
enum | { VSF_HC32F10X_HCD_EVT_CONN_CHANGE = VSF_EVT_USER + 0 , VSF_HC32F10X_HCD_EVT_TRANSFER = VSF_EVT_USER + 1 } |
enum | { USB_ERR_HCD_NAK = VSF_ERR_NOT_READY + 1 } |
Variables | |
const vk_usbh_hcd_drv_t | hc32f10x_usbhd_hcd_drv |
#define __VSF_EDA_CLASS_INHERIT__ |
#define __VSF_USBH_CLASS_IMPLEMENT_HCD__ |
#define __VSF_USBH_CLASS_IMPLEMENT_HUB__ |
#define __VSF_USBH_CLASS_IMPLEMENT_CLASS__ |
#define CH32F10X_USBHD_HCD_CLASS_IMPLEMENT |
#define __IO volatile |
#define RB_UC_HOST_MODE 0x80 |
#define RB_UC_LOW_SPEED 0x40 |
#define RB_UC_INT_BUSY 0x08 |
#define RB_UC_RESET_SIE 0x04 |
#define RB_UC_CLR_ALL 0x02 |
#define RB_UC_DMA_EN 0x01 |
#define RB_UH_LOW_SPEED 0x04 |
#define RB_UH_BUS_RESET 0x02 |
#define RB_UH_PORT_EN 0x01 |
#define RB_UH_EP_TX_EN 0x40 |
#define RB_UH_EP_TBUF_MOD 0x10 |
#define RB_UH_EP_RX_EN 0x08 |
#define RB_UH_EP_RBUF_MOD 0x01 |
#define RB_UH_PRE_PID_EN 0x80 |
#define RB_UH_SOF_EN 0x40 |
#define RB_UIE_FIFO_OV 0x10 |
#define RB_UIE_HST_SOF 0x08 |
#define RB_UIE_SUSPEND 0x04 |
#define RB_UIE_TRANSFER 0x02 |
#define RB_UIE_DETECT 0x01 |
#define RB_U_IS_NAK 0x80 |
#define RB_U_TOG_OK 0x40 |
#define RB_U_SIE_FREE 0x20 |
#define RB_UIF_FIFO_OV 0x10 |
#define RB_UIF_HST_SOF 0x08 |
#define RB_UIF_SUSPEND 0x04 |
#define RB_UIF_TRANSFER 0x02 |
#define RB_UIF_DETECT 0x01 |
#define RB_UIS_TOG_OK 0x40 |
#define MASK_UIS_H_RES 0x0F |
#define RB_UH_R_TOG 0x80 |
#define RB_UH_R_AUTO_TOG 0x10 |
#define RB_UH_T_TOG 0x40 |
#define RB_UH_T_AUTO_TOG 0x10 |
#define RB_UMS_DM_LEVEL 0x02 |
#define RB_UMS_DEV_ATTACH 0x01 |
typedef struct hc32f10x_usbhd_reg_t hc32f10x_usbhd_reg_t |
typedef struct hc32f10x_usbhd_urb_t hc32f10x_usbhd_urb_t |
const vk_usbh_hcd_drv_t hc32f10x_usbhd_hcd_drv |