21#ifndef USBDEV_SYNOPSYS_DWC2_H
22#define USBDEV_SYNOPSYS_DWC2_H
36#define USBDEV_CPU_SET_ADDR_AFTER_STATUS 0
84#if defined(MODULE_PERIPH_USBDEV_HS_ULPI) || DOXYGEN
99#if defined(CPU_STM32) || DOXYGEN
106#if defined(MODULE_PERIPH_USBDEV_HS_UTMI) || DOXYGEN
112#if defined(CPU_GD32V)
gpio_af_t
Override alternative GPIO mode options.
gpio_af_t af
Alternative function.
gpio_t ulpi_d4
ULPI D4 gpio.
gpio_t ulpi_d5
ULPI D5 gpio.
gpio_t ulpi_d0
ULPI D0 gpio.
gpio_t ulpi_dir
ULPI DIR gpio.
uintptr_t periph
USB peripheral base address.
gpio_t ulpi_d6
ULPI D6 gpio.
dwc2_usb_otg_fshs_type_t type
FS or HS type.
uint32_t rcc_mask
bit in clock enable register
gpio_t ulpi_nxt
ULPI NXT gpio.
dwc2_usb_otg_fshs_phy_t phy
on-chip FS, ULPI HS or UTMI HS PHY
gpio_t ulpi_d3
ULPI D3 gpio.
uint32_t phy_tune
USB HS PHY controller tuning register value (STM32-specific), see USBPHYC_TUNE register in STM32 Refe...
gpio_af_t ulpi_af
Alternative function for ULPI.
gpio_t ulpi_d2
ULPI D2 gpio.
gpio_t ulpi_d1
ULPI D1 gpio.
gpio_t ulpi_d7
ULPI D7 gpio.
gpio_t ulpi_stp
ULPI STP gpio.
gpio_t ulpi_clk
ULPI CLK gpio.
dwc2_usb_otg_fshs_phy_t
Type of USB OTG peripheral PHY.
@ DWC2_USB_OTG_PHY_ULPI
ULPI for external HS PHY.
@ DWC2_USB_OTG_PHY_UTMI
UTMI for internal HS PHY.
@ DWC2_USB_OTG_PHY_BUILTIN
on-chip FS PHY
@ DWC2_USB_OTG_DSPD_HS
High speed.
@ DWC2_USB_OTG_DSPD_LS
Low speed.
@ DWC2_USB_OTG_DSPD_FS
Full speed.
@ DWC2_USB_OTG_DSPD_FS_PHY_HS
Full speed on HS PHY.
dwc2_usb_otg_fshs_type_t
USB OTG peripheral type.
@ DWC2_USB_OTG_FS
Full speed peripheral.
@ DWC2_USB_OTG_HS
High speed peripheral.