18#ifndef __VSF_HAL_DRIVER_WCH_HC32F10X_USBHD_HCD_H__
19#define __VSF_HAL_DRIVER_WCH_HC32F10X_USBHD_HCD_H__
25#if VSF_USE_USB_HOST == ENABLED
37#if defined(CH32F10X_USBHD_HCD_CLASS_IMPLEMENT)
38# define __VSF_CLASS_IMPLEMENT__
39# undef CH32F10X_USBHD_HCD_CLASS_IMPLEMENT
40#elif defined(CH32F10X_USBHD_HCD_CLASS_INHERIT)
41# define __VSF_CLASS_INHERIT__
42# undef CH32F10X_USBHD_HCD_CLASS_INHERIT
52#undef USB_HDC_HAS_CONST
53#if !defined(USB_HDC_IRQN) || !defined(USB_DC_REG_BASE)
54# define USB_HDC_HAS_CONST
60#ifdef USB_HDC_HAS_CONST
66#ifndef USB_HDC_REG_BASE
#define VSF_CAL_ALIGN(__N)
Definition __compiler.h:179
Definition usbhd_hcd.h:81
Definition vsf_usbh.h:478
Definition vsf_usbh.h:322
Definition vsf_usbh.h:347
vsf_arch_prio_t
Definition cortex_a_generic.h:88
unsigned char uint8_t
Definition lvgl.h:40
#define vsf_class(__name)
Definition ooc_class.h:48
Definition usbhd_hcd.h:61
IRQn_Type irq
Definition usbhd_hcd.h:64
void * reg
Definition usbhd_hcd.h:67
Definition vsf_list.h:883
#define USB_HDC_HAS_CONST
include the infrastructure
Definition usbhd_hcd.h:54
const vk_usbh_hcd_drv_t hc32f10x_usbhd_hcd_drv
Definition usbhd_hcd.c:181
hc32f10x_usbhd_hcd_state_t
Definition usbhd_hcd.h:73
@ HC32F10X_HCD_STATE_WAIT_RESET_CLEAR
Definition usbhd_hcd.h:76
@ HC32F10X_HCD_STATE_CONNECTED
Definition usbhd_hcd.h:77
@ HC32F10X_HCD_STATE_WAIT_RESET
Definition usbhd_hcd.h:75
@ HC32F10X_HCD_STATE_WAIT_CONNECT
Definition usbhd_hcd.h:74
uint8_t state
Definition vsf_msg_tree.h:247