Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ af

gpio_af_t dwc2_usb_otg_fshs_config_t::af

Alternative function.

Definition at line 105 of file usbdev_synopsys_dwc2.h.

◆ ahb

uint8_t dwc2_usb_otg_fshs_config_t::ahb

AHB bus.

Definition at line 102 of file usbdev_synopsys_dwc2.h.

◆ dm

gpio_t dwc2_usb_otg_fshs_config_t::dm

Data- gpio.

Definition at line 103 of file usbdev_synopsys_dwc2.h.

◆ dp

gpio_t dwc2_usb_otg_fshs_config_t::dp

Data+ gpio.

Definition at line 104 of file usbdev_synopsys_dwc2.h.

◆ irqn

uint8_t dwc2_usb_otg_fshs_config_t::irqn

IRQ channel.

Definition at line 101 of file usbdev_synopsys_dwc2.h.

◆ periph

uintptr_t dwc2_usb_otg_fshs_config_t::periph

USB peripheral base address.

Definition at line 81 of file usbdev_synopsys_dwc2.h.

◆ phy

dwc2_usb_otg_fshs_phy_t dwc2_usb_otg_fshs_config_t::phy

on-chip FS, ULPI HS or UTMI HS PHY

Definition at line 83 of file usbdev_synopsys_dwc2.h.

◆ phy_tune

uint32_t dwc2_usb_otg_fshs_config_t::phy_tune

USB HS PHY controller tuning register value (STM32-specific), see USBPHYC_TUNE register in STM32 Reference Manual.

Definition at line 107 of file usbdev_synopsys_dwc2.h.

◆ rcc_mask

uint32_t dwc2_usb_otg_fshs_config_t::rcc_mask

bit in clock enable register

Definition at line 100 of file usbdev_synopsys_dwc2.h.

◆ type

dwc2_usb_otg_fshs_type_t dwc2_usb_otg_fshs_config_t::type

FS or HS type.

Definition at line 82 of file usbdev_synopsys_dwc2.h.

◆ ulpi_af

gpio_af_t dwc2_usb_otg_fshs_config_t::ulpi_af

Alternative function for ULPI.

Definition at line 97 of file usbdev_synopsys_dwc2.h.

◆ ulpi_clk

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_clk

ULPI CLK gpio.

Definition at line 85 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d0

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d0

ULPI D0 gpio.

Definition at line 86 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d1

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d1

ULPI D1 gpio.

Definition at line 87 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d2

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d2

ULPI D2 gpio.

Definition at line 88 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d3

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d3

ULPI D3 gpio.

Definition at line 89 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d4

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d4

ULPI D4 gpio.

Definition at line 90 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d5

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d5

ULPI D5 gpio.

Definition at line 91 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d6

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d6

ULPI D6 gpio.

Definition at line 92 of file usbdev_synopsys_dwc2.h.

◆ ulpi_d7

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_d7

ULPI D7 gpio.

Definition at line 93 of file usbdev_synopsys_dwc2.h.

◆ ulpi_dir

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_dir

ULPI DIR gpio.

Definition at line 94 of file usbdev_synopsys_dwc2.h.

◆ ulpi_nxt

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_nxt

ULPI NXT gpio.

Definition at line 96 of file usbdev_synopsys_dwc2.h.

◆ ulpi_stp

gpio_t dwc2_usb_otg_fshs_config_t::ulpi_stp

ULPI STP gpio.

Definition at line 95 of file usbdev_synopsys_dwc2.h.


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