18#ifndef __HAL_DRIVER_GIGADEVICE_GD32VF103_USB_H__
19#define __HAL_DRIVER_GIGADEVICE_GD32VF103_USB_H__
23#include "../../__device.h"
34#define __USB_OTG_DEF(__N, __VALUE) \
35 extern gd32vf103_usb_t USB_OTG##__N##_IP; \
36 extern const i_usb_hc_ip_t VSF_USB_HC##__N##_IP; \
37 extern const i_usb_dc_ip_t VSF_USB_DC##__N##_IP;
38#define _USB_OTG_DEF(__N, __VALUE) __USB_OTG_DEF(__N, __VALUE)
39#define USB_OTG_DEF(__N, __VALUE) _USB_OTG_DEF(__N, __VALUE)
48 implement(vsf_dwcotg_hw_info_t)
#define USB_OTG_COUNT
Definition device.h:75
#define USB_OTG_DEF(__N, __VALUE)
Definition usb.h:43
#define NULL
Definition stddef.h:52
unsigned char uint8_t
Definition stdint.h:5
void * reg
Definition usb.h:46
uint8_t ep_num
Definition usb.h:44
IRQn_Type irq
Definition usb.h:45
usb_ip_irqhandler_t irqhandler
Definition usb.h:55
struct gd32vf103_usb_t::@596 callback
bool is_host
Definition usb.h:53
const gd32vf103_usb_const_t * param
Definition usb.h:58
void * param
Definition usb.h:56
#define VSF_MREPEAT(__COUNT, __MACRO, __PARAM)
Definition vsf_repeat_macro.h:51
void(* usb_ip_irqhandler_t)(void *param)
Definition vsf_template_usb.h:308