dwc2_usb_otg_fshs_config_t Struct Reference

USB OTG configuration. More...

Detailed Description

USB OTG configuration.

Definition at line 80 of file usbdev_synopsys_dwc2.h.

#include <usbdev_synopsys_dwc2.h>

Data Fields

uintptr_t periph
 USB peripheral base address.
 
dwc2_usb_otg_fshs_type_t type
 FS or HS type.
 
dwc2_usb_otg_fshs_phy_t phy
 on-chip FS, ULPI HS or UTMI HS PHY
 
gpio_t ulpi_clk
 ULPI CLK gpio.
 
gpio_t ulpi_d0
 ULPI D0 gpio.
 
gpio_t ulpi_d1
 ULPI D1 gpio.
 
gpio_t ulpi_d2
 ULPI D2 gpio.
 
gpio_t ulpi_d3
 ULPI D3 gpio.
 
gpio_t ulpi_d4
 ULPI D4 gpio.
 
gpio_t ulpi_d5
 ULPI D5 gpio.
 
gpio_t ulpi_d6
 ULPI D6 gpio.
 
gpio_t ulpi_d7
 ULPI D7 gpio.
 
gpio_t ulpi_dir
 ULPI DIR gpio.
 
gpio_t ulpi_stp
 ULPI STP gpio.
 
gpio_t ulpi_nxt
 ULPI NXT gpio.
 
gpio_af_t ulpi_af
 Alternative function for ULPI.
 
uint32_t rcc_mask
 bit in clock enable register
 
uint8_t irqn
 IRQ channel.
 
uint8_t ahb
 AHB bus.
 
gpio_t dm
 Data- gpio.
 
gpio_t dp
 Data+ gpio.
 
gpio_af_t af
 Alternative function.
 
uint32_t phy_tune
 USB HS PHY controller tuning register value (STM32-specific), see USBPHYC_TUNE register in STM32 Reference Manual.
 

The documentation for this struct was generated from the following file: