19#ifndef CFG_USBDEV_DEFAULT_H
20#define CFG_USBDEV_DEFAULT_H
22#include "vendor/usbdev_gd32v.h"
36#define DWC2_USB_OTG_FS_ENABLED
43 .
periph = USB_OTG_FS_PERIPH_BASE,
46 .rcu_mask = RCU_AHBEN_USBFSEN_Msk,
55#define USBDEV_NUMOF ARRAY_SIZE(dwc2_usb_otg_fshs_config)
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[]
Common USB OTG FS configuration.
@ AHB
Advanced High-performance Bus.
uintptr_t periph
USB peripheral base address.
Low level USB FS/HS driver definitions for MCUs with Synopsys DWC2 IP core.
@ DWC2_USB_OTG_PHY_BUILTIN
on-chip FS PHY
@ DWC2_USB_OTG_FS
Full speed peripheral.