18#ifndef __HAL_DRIVER_NUVOTON_M480_USB_H__
19#define __HAL_DRIVER_NUVOTON_M480_USB_H__
23#include "../../__device.h"
24#include "./ohci/ohci.h"
29#define ____USB_HC_DEF(__N, __TYPE) \
30 extern m480_##__TYPE##_t USB_HC##__N##_IP; \
31 extern const i_usb_hc_ip_t VSF_USB_HC##__N##_IP;
32#define __USB_HC_DEF(__N, __TYPE) ____USB_HC_DEF(__N, __TYPE)
33#define USB_HC_DEF(__N, __VALUE) __USB_HC_DEF(__N, VSF_HW_USB_HC##__N##_TYPE)
35#define ____USB_DC_DEF(__N, __TYPE) \
36 extern m480_##__TYPE##_t USB_DC##__N; \
37 extern const i_usb_dc_t VSF_USB_DC##__N;
38#define __USB_DC_DEF(__N, __TYPE) ____USB_DC_DEF(__N, __TYPE)
39#define USB_DC_DEF(__N, __VALUE) __USB_DC_DEF(__N, VSF_HW_USB_DC##__N##_TYPE)
#define VSF_HW_USB_DC_COUNT
Definition device.h:124
#define VSF_HW_USB_HC_COUNT
Definition device.h:107
#define USB_DC_DEF(__N, __VALUE)
Definition usb.h:39
#define USB_HC_DEF(__N, __VALUE)
Definition usb.h:33
#define NULL
Definition lvgl.h:26
#define VSF_MREPEAT(__COUNT, __MACRO, __PARAM)
Definition vsf_repeat_macro.h:51