VSF Documented
Data Structures | Macros | Typedefs
usb.h File Reference
#include "hal/vsf_hal.h"
#include "hal/driver/common/template/vsf_template_usb.h"
#include "component/usb/driver/otg/dwcotg/vsf_dwcotg_hw.h"
#include "./hc/usbh.h"
#include "./dc/usbd.h"

Go to the source code of this file.

Data Structures

struct  gd32e10x_usb_const_t
 
struct  gd32e10x_usb_t
 

Macros

#define __USB_OTG_DEF(__N, __VALUE)
 
#define _USB_OTG_DEF(__N, __VALUE)   __USB_OTG_DEF(__N, __VALUE)
 
#define USB_OTG_DEF(__N, __VALUE)   _USB_OTG_DEF(__N, __VALUE)
 

Typedefs

typedef struct gd32e10x_usb_const_t gd32e10x_usb_const_t
 
typedef struct gd32e10x_usb_t gd32e10x_usb_t
 

Macro Definition Documentation

◆ __USB_OTG_DEF

#define __USB_OTG_DEF (   __N,
  __VALUE 
)
Value:
extern gd32e10x_usb_t USB_OTG##__N##_IP; \
extern const i_usb_dc_ip_t VSF_USB_DC##__N##_IP; \
extern const i_usb_hc_ip_t VSF_USB_HC##__N##_IP;
Definition usb.h:51

◆ _USB_OTG_DEF

#define _USB_OTG_DEF (   __N,
  __VALUE 
)    __USB_OTG_DEF(__N, __VALUE)

◆ USB_OTG_DEF

#define USB_OTG_DEF (   __N,
  __VALUE 
)    _USB_OTG_DEF(__N, __VALUE)

Typedef Documentation

◆ gd32e10x_usb_const_t

◆ gd32e10x_usb_t