Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : USB Configuration Registe - gusbcfg

Description

This register can be used to configure the core after power-on or a changing to Host mode or Device mode. It contains USB and USB-PHY related configuration parameters. The application must program this register before starting any transactions on either the AHB or the USB. Do not make changes to this register after the initial programming.

Register Layout

Bits Access Reset Description
[2:0] RW 0x0 HS FS Timeout Calibration
[3] R 0x0 PHY Interfac
[4] R 0x1 ULPI Select
[5] R 0x0 Full-Speed Serial Interface Select
[6] R 0x0 USB 2.0 High-Speed PHY
[7] RW 0x0 ULPI DDR Select
[8] RW 0x0 SRP-Capable
[9] RW 0x0 HNP-Capable
[13:10] RW 0x5 USB Turnaround Time
[17:14] ??? 0x0 UNDEFINED
[18] RW 0x0 ULPI Auto Resume
[19] RW 0x0 ULPI Clock SuspendM
[20] RW 0x0 ULPI External VBUS Drive
[21] RW 0x0 ULPI External VBUS Indicato
[22] RW 0x0 TermSel DLine Pulsing Selection
[23] RW 0x0 Indicator Complement
[24] RW 0x0 Indicator Pass Throug
[25] RW 0x0 ULPI Interface Protect Disable
[27:26] ??? 0x0 UNDEFINED
[28] RW 0x0 Tx End Delay
[29] RW 0x0 Force Host Mode.
[30] RW 0x0 Force Device Mode
[31] W 0x0 Corrupt Tx packet

Field : HS FS Timeout Calibration - toutcal

Mode:Host and Device. The number of PHY clocks that the application programs in this field is added to the high-speed/full-speed interpacket timeout duration in the core to account for any additional delays introduced by the PHY. This can be required, because the delay introduced by the PHY in generating the linestate condition can vary from one PHY to another. The USB standard timeout value for high-speed operation is 736 to 816 (inclusive) bit times. The USB standard timeout value for full-speed operation is 16 to 18 (inclusive) bit times. The application must program this field based on the speed of enumeration. The number of bit times added per PHY clock are: High-speed operation:

  • One 30-MHz PHY clock = 16 bit times
  • One 60-MHz PHY clock = 8 bit times

Full-speed operation:

  • One 30-MHz PHY clock = 0.4 bit times
  • One 60-MHz PHY clock = 0.2 bit times
  • One 48-MHz PHY clock = 0.25 bit times

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_LSB   0
 
#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_MSB   2
 
#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_WIDTH   3
 
#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_SET_MSK   0x00000007
 
#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_CLR_MSK   0xfffffff8
 
#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_GET(value)   (((value) & 0x00000007) >> 0)
 
#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_SET(value)   (((value) << 0) & 0x00000007)
 

Field : PHY Interfac - phyif

Mode:Host and Device. This application uses a ULPI interface only. Hence only 8-bit setting is relevant. This setting should not matter since UTMI is not enabled.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_PHYIF_E_BITS8 0x0 PHY 8bit Mode

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_PHYIF_E_BITS8   0x0
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_LSB   3
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_MSB   3
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_SET_MSK   0x00000008
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_CLR_MSK   0xfffffff7
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_GET(value)   (((value) & 0x00000008) >> 3)
 
#define ALT_USB_GLOB_GUSBCFG_PHYIF_SET(value)   (((value) << 3) & 0x00000008)
 

Field : ULPI Select - ulpi_utmi_sel

Mode:Host and Device. The application uses ULPI Only in 8bit mode.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_E_ULPI 0x0 ULPI PHY

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_E_ULPI   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_LSB   4
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_MSB   4
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_SET_MSK   0x00000010
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_CLR_MSK   0xffffffef
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_RESET   0x1
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_GET(value)   (((value) & 0x00000010) >> 4)
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_SET(value)   (((value) << 4) & 0x00000010)
 

Field : Full-Speed Serial Interface Select - fsintf

Mode:Host and Device. The application can Set this bit to select between the 3- and 6-pin interfaces, and access is Read and Write.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_FSINTF_E_FS6PIN 0x0 6-pin unidirectional full-speed serial interface
ALT_USB_GLOB_GUSBCFG_FSINTF_E_FS3PIN 0x1 3-pin bidirectional full-speed serial interface

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_FSINTF_E_FS6PIN   0x0
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_E_FS3PIN   0x1
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_LSB   5
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_MSB   5
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_SET_MSK   0x00000020
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_CLR_MSK   0xffffffdf
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_GET(value)   (((value) & 0x00000020) >> 5)
 
#define ALT_USB_GLOB_GUSBCFG_FSINTF_SET(value)   (((value) << 5) & 0x00000020)
 

Field : USB 2.0 High-Speed PHY - physel

Mode:Host and Device. The application uses USB 2.0.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_PHYSEL_E_USB20 0x0 USB 2.0 high-speed ULPI

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_E_USB20   0x0
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_LSB   6
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_MSB   6
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_SET_MSK   0x00000040
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_CLR_MSK   0xffffffbf
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_GET(value)   (((value) & 0x00000040) >> 6)
 
#define ALT_USB_GLOB_GUSBCFG_PHYSEL_SET(value)   (((value) << 6) & 0x00000040)
 

Field : ULPI DDR Select - ddrsel

Mode:Host and Device. The application uses this bit to select a Single Data Rate (SDR) or Double Data Rate (DDR) or ULPI interface.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_DDRSEL_E_SDR 0x0 Single Data Rate ULPI Interfacewith 8-bit-wide
: data bus
ALT_USB_GLOB_GUSBCFG_DDRSEL_E_DDR 0x1 Double Data Rate ULPI Interface, with 4-bit-wide
: data bus

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_E_SDR   0x0
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_E_DDR   0x1
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_LSB   7
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_MSB   7
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_SET_MSK   0x00000080
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_CLR_MSK   0xffffff7f
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_GET(value)   (((value) & 0x00000080) >> 7)
 
#define ALT_USB_GLOB_GUSBCFG_DDRSEL_SET(value)   (((value) << 7) & 0x00000080)
 

Field : SRP-Capable - srpcap

Mode:Host and Device. The application uses this bit to control the otg core SRP capabilities. If the core operates as a non-SRP-capable B-device, it cannot request the connected A-device (host) to activate VBUS and start a session. This bit is writable only If an SRP mode was specified for Mode of Operation in coreConsultant (parameter OTG_MODE). Otherwise, reads Return 0.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_SRPCAP_E_DISD 0x0 SRP capability is not enabled
ALT_USB_GLOB_GUSBCFG_SRPCAP_E_END 0x1 SRP capability is enabled

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_E_DISD   0x0
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_E_END   0x1
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_LSB   8
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_MSB   8
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_SET_MSK   0x00000100
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_CLR_MSK   0xfffffeff
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_GET(value)   (((value) & 0x00000100) >> 8)
 
#define ALT_USB_GLOB_GUSBCFG_SRPCAP_SET(value)   (((value) << 8) & 0x00000100)
 

Field : HNP-Capable - hnpcap

Mode:Host and Device. The application uses this bit to control the otg core's HNP capabilities.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_HNPCAP_E_DISD 0x0 HNP capability is not enabled.
ALT_USB_GLOB_GUSBCFG_HNPCAP_E_END 0x1 HNP capability is enabled

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_E_DISD   0x0
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_E_END   0x1
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_LSB   9
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_MSB   9
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_SET_MSK   0x00000200
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_CLR_MSK   0xfffffdff
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_GET(value)   (((value) & 0x00000200) >> 9)
 
#define ALT_USB_GLOB_GUSBCFG_HNPCAP_SET(value)   (((value) << 9) & 0x00000200)
 

Field : USB Turnaround Time - usbtrdtim

Mode: Device only. Sets the turnaround time in PHY clocks. Specifies the response time for a MAC request to the Packet FIFO Controller (PFC) to fetch data from the DFIFO (SPRAM).

The value is calculated for the minimum AHB frequency of 30 MHz. USB turnaround time is critical for certification where long cables and 5-Hubs are used, so If you need the AHB to run at less than 30 MHz, and If USB turnaround time is not critical, these bits can be programmed to a larger value.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_USBTRDTIM_E_TURNTIME 0x9 MAC interface is 8-bit UTMI+.

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_E_TURNTIME   0x9
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_LSB   10
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_MSB   13
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_WIDTH   4
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_SET_MSK   0x00003c00
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_CLR_MSK   0xffffc3ff
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_RESET   0x5
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_GET(value)   (((value) & 0x00003c00) >> 10)
 
#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_SET(value)   (((value) << 10) & 0x00003c00)
 

Field : ULPI Auto Resume - ulpiautores

Mode:Host and Device. This bit sets the AutoResume bit in the Interface Control register on the ULPI PHY.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_E_DISD 0x0 PHY does not use AutoResume feature
ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_E_END 0x1 PHY uses AutoResume feature

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_E_DISD   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_E_END   0x1
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_LSB   18
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_MSB   18
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_SET_MSK   0x00040000
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_CLR_MSK   0xfffbffff
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_GET(value)   (((value) & 0x00040000) >> 18)
 
#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_SET(value)   (((value) << 18) & 0x00040000)
 

Field : ULPI Clock SuspendM - ulpiclksusm

Mode:Host and Device. This bit sets the ClockSuspendM bit in the Interface Control register on the ULPI PHY. This bit applies only in serial or carkit modes.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_E_PWDCLK 0x0 PHY powers down internal clock during suspend
ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_E_NONPWDCLK 0x1 PHY does not power down internal clock

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_E_PWDCLK   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_E_NONPWDCLK   0x1
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_LSB   19
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_MSB   19
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_SET_MSK   0x00080000
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_CLR_MSK   0xfff7ffff
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_GET(value)   (((value) & 0x00080000) >> 19)
 
#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_SET(value)   (((value) << 19) & 0x00080000)
 

Field : ULPI External VBUS Drive - ulpiextvbusdrv

Mode:Host only. This bit selects between internal or external supply to drive 5V on VBUS, in ULPI PHY.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_E_INTERN 0x0 PHY drives VBUS using internal charge pump
ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_E_EXTERN 0x1 PHY drives VBUS using external supply

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_E_INTERN   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_E_EXTERN   0x1
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_LSB   20
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_MSB   20
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_SET_MSK   0x00100000
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_CLR_MSK   0xffefffff
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_GET(value)   (((value) & 0x00100000) >> 20)
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_SET(value)   (((value) << 20) & 0x00100000)
 

Field : ULPI External VBUS Indicato - ulpiextvbusindicator

Mode:Host only. This bit indicates to the ULPI PHY to use an external VBUS overcurrent indicator.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_E_INTERN 0x0 PHY uses internal VBUS valid comparator
ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_E_EXTERN 0x1 PHY uses external VBUS valid comparator

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_E_INTERN   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_E_EXTERN   0x1
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_LSB   21
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_MSB   21
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_SET_MSK   0x00200000
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_CLR_MSK   0xffdfffff
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_GET(value)   (((value) & 0x00200000) >> 21)
 
#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_SET(value)   (((value) << 21) & 0x00200000)
 

Field : TermSel DLine Pulsing Selection - termseldlpulse

Mode:Device only. This bit selects utmi_termselect to drive data line pulse during SRP.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_E_TXVALID 0x0 Data line pulsing using utmi_txvalid
ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_E_TERMSEL 0x1 Data line pulsing using utmi_termsel

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_E_TXVALID   0x0
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_E_TERMSEL   0x1
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_LSB   22
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_MSB   22
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_SET_MSK   0x00400000
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_CLR_MSK   0xffbfffff
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_GET(value)   (((value) & 0x00400000) >> 22)
 
#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_SET(value)   (((value) << 22) & 0x00400000)
 

Field : Indicator Complement - complement

Mode:Host only. Controls the PHY to invert the ExternalVbusIndicator inputsignal, generating the ComplementOutput. Please refer to the ULPI Spec for more detail.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_COMPLEMENT_E_NONINVERT 0x0 PHY does not invert ExternalVbusIndicator signal
ALT_USB_GLOB_GUSBCFG_COMPLEMENT_E_INVERT 0x1 PHY does invert ExternalVbusIndicator signal

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_E_NONINVERT   0x0
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_E_INVERT   0x1
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_LSB   23
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_MSB   23
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_SET_MSK   0x00800000
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_CLR_MSK   0xff7fffff
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_GET(value)   (((value) & 0x00800000) >> 23)
 
#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_SET(value)   (((value) << 23) & 0x00800000)
 

Field : Indicator Pass Throug - indicator

Mode:Host only. Controls wether the Complement Output is qualified with the Internal Vbus Valid comparator before being used in the Vbus State in the RX CMD.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_INDICATOR_E_QUALIFIED 0x0 Complement Output signal is qualified with the
: Internal VbusValid comparator
ALT_USB_GLOB_GUSBCFG_INDICATOR_E_NONQUALIFIED 0x1 Complement Output signal is not qualified with
: the Internal VbusValid comparator

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_E_QUALIFIED   0x0
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_E_NONQUALIFIED   0x1
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_LSB   24
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_MSB   24
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_SET_MSK   0x01000000
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_CLR_MSK   0xfeffffff
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_GET(value)   (((value) & 0x01000000) >> 24)
 
#define ALT_USB_GLOB_GUSBCFG_INDICATOR_SET(value)   (((value) << 24) & 0x01000000)
 

Field : ULPI Interface Protect Disable - ulpi

Mode:Host only. Controls circuitry built into the PHY for protecting the ULPI interface when the link tri-states STP and data. Any pull-ups or pull-downs employed by this feature can be disabled.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_ULPI_E_END 0x0 Enables the interface protect circuit
ALT_USB_GLOB_GUSBCFG_ULPI_E_DISD 0x1 Disables the interface protect circuit

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_ULPI_E_END   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_E_DISD   0x1
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_LSB   25
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_MSB   25
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_SET_MSK   0x02000000
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_CLR_MSK   0xfdffffff
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_GET(value)   (((value) & 0x02000000) >> 25)
 
#define ALT_USB_GLOB_GUSBCFG_ULPI_SET(value)   (((value) << 25) & 0x02000000)
 

Field : Tx End Delay - txenddelay

Mode: Device only. Set to non UTMI+.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_TXENDDELAY_E_DISD 0x0 Normal Mode

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_E_DISD   0x0
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_LSB   28
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_MSB   28
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_SET_MSK   0x10000000
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_CLR_MSK   0xefffffff
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_GET(value)   (((value) & 0x10000000) >> 28)
 
#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_SET(value)   (((value) << 28) & 0x10000000)
 

Field : Force Host Mode. - forcehstmode

Mode:Host and device. Writing a 1 to this bit forces the core to host mode After setting the force bit, the application must wait at least 25 ms before the change to take effect. When the simulation is in scale down mode, waiting for 500 micro-sec is sufficient.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_E_DISD 0x0 Normal Mode
ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_E_END 0x1 Force Host Mode

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_E_DISD   0x0
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_E_END   0x1
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_LSB   29
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_MSB   29
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_SET_MSK   0x20000000
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_CLR_MSK   0xdfffffff
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_GET(value)   (((value) & 0x20000000) >> 29)
 
#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_SET(value)   (((value) << 29) & 0x20000000)
 

Field : Force Device Mode - forcedevmode

Mode:Host and device. Writing a 1 to this bit forces the core to device mode. After setting the force bit, the application must wait at least 25 ms before the change to take effect. When the simulation is in scale down mode, waiting for 500 micro-sec is sufficient.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_E_DISD 0x0 Normal Mode
ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_E_END 0x1 Force Device Mode

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_E_DISD   0x0
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_E_END   0x1
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_LSB   30
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_MSB   30
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_SET_MSK   0x40000000
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_CLR_MSK   0xbfffffff
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_GET(value)   (((value) & 0x40000000) >> 30)
 
#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_SET(value)   (((value) << 30) & 0x40000000)
 

Field : Corrupt Tx packet - corrupttxpkt

Mode: Host and device. This bit is for debug purposes only. Never Set this bit to 1. The application should always write 0 to this bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_E_NODBG 0x0 Normal Mode
ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_E_DBG 0x1 Debug Mode

Field Access Macros:

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_E_NODBG   0x0
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_E_DBG   0x1
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_LSB   31
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_MSB   31
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_WIDTH   1
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_SET_MSK   0x80000000
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_CLR_MSK   0x7fffffff
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_RESET   0x0
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_GET(value)   (((value) & 0x80000000) >> 31)
 
#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_SET(value)   (((value) << 31) & 0x80000000)
 

Data Structures

struct  ALT_USB_GLOB_GUSBCFG_s
 

Macros

#define ALT_USB_GLOB_GUSBCFG_OFST   0xc
 
#define ALT_USB_GLOB_GUSBCFG_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GUSBCFG_OFST))
 

Typedefs

typedef struct
ALT_USB_GLOB_GUSBCFG_s 
ALT_USB_GLOB_GUSBCFG_t
 

Data Structure Documentation

struct ALT_USB_GLOB_GUSBCFG_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register ALT_USB_GLOB_GUSBCFG.

Data Fields
uint32_t toutcal: 3 HS FS Timeout Calibration
const uint32_t phyif: 1 PHY Interfac
const uint32_t ulpi_utmi_sel: 1 ULPI Select
const uint32_t fsintf: 1 Full-Speed Serial Interface Select
const uint32_t physel: 1 USB 2.0 High-Speed PHY
uint32_t ddrsel: 1 ULPI DDR Select
uint32_t srpcap: 1 SRP-Capable
uint32_t hnpcap: 1 HNP-Capable
uint32_t usbtrdtim: 4 USB Turnaround Time
uint32_t __pad0__: 4 UNDEFINED
uint32_t ulpiautores: 1 ULPI Auto Resume
uint32_t ulpiclksusm: 1 ULPI Clock SuspendM
uint32_t ulpiextvbusdrv: 1 ULPI External VBUS Drive
uint32_t ulpiextvbusindicator: 1 ULPI External VBUS Indicato
uint32_t termseldlpulse: 1 TermSel DLine Pulsing Selection
uint32_t complement: 1 Indicator Complement
uint32_t indicator: 1 Indicator Pass Throug
uint32_t ulpi: 1 ULPI Interface Protect Disable
uint32_t __pad1__: 2 UNDEFINED
uint32_t txenddelay: 1 Tx End Delay
uint32_t forcehstmode: 1 Force Host Mode.
uint32_t forcedevmode: 1 Force Device Mode
uint32_t corrupttxpkt: 1 Corrupt Tx packet

Macro Definitions

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_LSB   0

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_TOUTCAL register field.

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_MSB   2

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_TOUTCAL register field.

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_WIDTH   3

The width in bits of the ALT_USB_GLOB_GUSBCFG_TOUTCAL register field.

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_SET_MSK   0x00000007

The mask used to set the ALT_USB_GLOB_GUSBCFG_TOUTCAL register field value.

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_CLR_MSK   0xfffffff8

The mask used to clear the ALT_USB_GLOB_GUSBCFG_TOUTCAL register field value.

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_TOUTCAL register field.

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_GET (   value)    (((value) & 0x00000007) >> 0)

Extracts the ALT_USB_GLOB_GUSBCFG_TOUTCAL field value from a register.

#define ALT_USB_GLOB_GUSBCFG_TOUTCAL_SET (   value)    (((value) << 0) & 0x00000007)

Produces a ALT_USB_GLOB_GUSBCFG_TOUTCAL register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_E_BITS8   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_PHYIF

PHY 8bit Mode

#define ALT_USB_GLOB_GUSBCFG_PHYIF_LSB   3

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_PHYIF register field.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_MSB   3

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_PHYIF register field.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_PHYIF register field.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_SET_MSK   0x00000008

The mask used to set the ALT_USB_GLOB_GUSBCFG_PHYIF register field value.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_CLR_MSK   0xfffffff7

The mask used to clear the ALT_USB_GLOB_GUSBCFG_PHYIF register field value.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_PHYIF register field.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_GET (   value)    (((value) & 0x00000008) >> 3)

Extracts the ALT_USB_GLOB_GUSBCFG_PHYIF field value from a register.

#define ALT_USB_GLOB_GUSBCFG_PHYIF_SET (   value)    (((value) << 3) & 0x00000008)

Produces a ALT_USB_GLOB_GUSBCFG_PHYIF register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_E_ULPI   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL

ULPI PHY

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_LSB   4

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_MSB   4

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_SET_MSK   0x00000010

The mask used to set the ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_CLR_MSK   0xffffffef

The mask used to clear the ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_RESET   0x1

The reset value of the ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_GET (   value)    (((value) & 0x00000010) >> 4)

Extracts the ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL field value from a register.

#define ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL_SET (   value)    (((value) << 4) & 0x00000010)

Produces a ALT_USB_GLOB_GUSBCFG_ULPI_UTMI_SEL register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_E_FS6PIN   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_FSINTF

6-pin unidirectional full-speed serial interface

#define ALT_USB_GLOB_GUSBCFG_FSINTF_E_FS3PIN   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_FSINTF

3-pin bidirectional full-speed serial interface

#define ALT_USB_GLOB_GUSBCFG_FSINTF_LSB   5

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_FSINTF register field.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_MSB   5

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_FSINTF register field.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_FSINTF register field.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_SET_MSK   0x00000020

The mask used to set the ALT_USB_GLOB_GUSBCFG_FSINTF register field value.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_CLR_MSK   0xffffffdf

The mask used to clear the ALT_USB_GLOB_GUSBCFG_FSINTF register field value.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_FSINTF register field.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_GET (   value)    (((value) & 0x00000020) >> 5)

Extracts the ALT_USB_GLOB_GUSBCFG_FSINTF field value from a register.

#define ALT_USB_GLOB_GUSBCFG_FSINTF_SET (   value)    (((value) << 5) & 0x00000020)

Produces a ALT_USB_GLOB_GUSBCFG_FSINTF register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_E_USB20   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_PHYSEL

USB 2.0 high-speed ULPI

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_LSB   6

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_PHYSEL register field.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_MSB   6

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_PHYSEL register field.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_PHYSEL register field.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_SET_MSK   0x00000040

The mask used to set the ALT_USB_GLOB_GUSBCFG_PHYSEL register field value.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_CLR_MSK   0xffffffbf

The mask used to clear the ALT_USB_GLOB_GUSBCFG_PHYSEL register field value.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_PHYSEL register field.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_GET (   value)    (((value) & 0x00000040) >> 6)

Extracts the ALT_USB_GLOB_GUSBCFG_PHYSEL field value from a register.

#define ALT_USB_GLOB_GUSBCFG_PHYSEL_SET (   value)    (((value) << 6) & 0x00000040)

Produces a ALT_USB_GLOB_GUSBCFG_PHYSEL register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_E_SDR   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_DDRSEL

Single Data Rate ULPI Interfacewith 8-bit-wide data bus

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_E_DDR   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_DDRSEL

Double Data Rate ULPI Interface, with 4-bit-wide data bus

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_LSB   7

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_DDRSEL register field.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_MSB   7

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_DDRSEL register field.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_DDRSEL register field.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_SET_MSK   0x00000080

The mask used to set the ALT_USB_GLOB_GUSBCFG_DDRSEL register field value.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_CLR_MSK   0xffffff7f

The mask used to clear the ALT_USB_GLOB_GUSBCFG_DDRSEL register field value.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_DDRSEL register field.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_GET (   value)    (((value) & 0x00000080) >> 7)

Extracts the ALT_USB_GLOB_GUSBCFG_DDRSEL field value from a register.

#define ALT_USB_GLOB_GUSBCFG_DDRSEL_SET (   value)    (((value) << 7) & 0x00000080)

Produces a ALT_USB_GLOB_GUSBCFG_DDRSEL register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_E_DISD   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_SRPCAP

SRP capability is not enabled

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_E_END   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_SRPCAP

SRP capability is enabled

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_LSB   8

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_SRPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_MSB   8

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_SRPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_SRPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_SET_MSK   0x00000100

The mask used to set the ALT_USB_GLOB_GUSBCFG_SRPCAP register field value.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_CLR_MSK   0xfffffeff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_SRPCAP register field value.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_SRPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_GET (   value)    (((value) & 0x00000100) >> 8)

Extracts the ALT_USB_GLOB_GUSBCFG_SRPCAP field value from a register.

#define ALT_USB_GLOB_GUSBCFG_SRPCAP_SET (   value)    (((value) << 8) & 0x00000100)

Produces a ALT_USB_GLOB_GUSBCFG_SRPCAP register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_E_DISD   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_HNPCAP

HNP capability is not enabled.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_E_END   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_HNPCAP

HNP capability is enabled

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_LSB   9

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_HNPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_MSB   9

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_HNPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_HNPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_SET_MSK   0x00000200

The mask used to set the ALT_USB_GLOB_GUSBCFG_HNPCAP register field value.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_CLR_MSK   0xfffffdff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_HNPCAP register field value.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_HNPCAP register field.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_GET (   value)    (((value) & 0x00000200) >> 9)

Extracts the ALT_USB_GLOB_GUSBCFG_HNPCAP field value from a register.

#define ALT_USB_GLOB_GUSBCFG_HNPCAP_SET (   value)    (((value) << 9) & 0x00000200)

Produces a ALT_USB_GLOB_GUSBCFG_HNPCAP register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_E_TURNTIME   0x9

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_USBTRDTIM

MAC interface is 8-bit UTMI+.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_LSB   10

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_USBTRDTIM register field.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_MSB   13

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_USBTRDTIM register field.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_WIDTH   4

The width in bits of the ALT_USB_GLOB_GUSBCFG_USBTRDTIM register field.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_SET_MSK   0x00003c00

The mask used to set the ALT_USB_GLOB_GUSBCFG_USBTRDTIM register field value.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_CLR_MSK   0xffffc3ff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_USBTRDTIM register field value.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_RESET   0x5

The reset value of the ALT_USB_GLOB_GUSBCFG_USBTRDTIM register field.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_GET (   value)    (((value) & 0x00003c00) >> 10)

Extracts the ALT_USB_GLOB_GUSBCFG_USBTRDTIM field value from a register.

#define ALT_USB_GLOB_GUSBCFG_USBTRDTIM_SET (   value)    (((value) << 10) & 0x00003c00)

Produces a ALT_USB_GLOB_GUSBCFG_USBTRDTIM register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_E_DISD   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPIAUTORES

PHY does not use AutoResume feature

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_E_END   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPIAUTORES

PHY uses AutoResume feature

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_LSB   18

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_ULPIAUTORES register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_MSB   18

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_ULPIAUTORES register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_ULPIAUTORES register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_SET_MSK   0x00040000

The mask used to set the ALT_USB_GLOB_GUSBCFG_ULPIAUTORES register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_CLR_MSK   0xfffbffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_ULPIAUTORES register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_ULPIAUTORES register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_GET (   value)    (((value) & 0x00040000) >> 18)

Extracts the ALT_USB_GLOB_GUSBCFG_ULPIAUTORES field value from a register.

#define ALT_USB_GLOB_GUSBCFG_ULPIAUTORES_SET (   value)    (((value) << 18) & 0x00040000)

Produces a ALT_USB_GLOB_GUSBCFG_ULPIAUTORES register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_E_PWDCLK   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM

PHY powers down internal clock during suspend

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_E_NONPWDCLK   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM

PHY does not power down internal clock

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_LSB   19

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM register field.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_MSB   19

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM register field.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM register field.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_SET_MSK   0x00080000

The mask used to set the ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_CLR_MSK   0xfff7ffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM register field.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_GET (   value)    (((value) & 0x00080000) >> 19)

Extracts the ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM field value from a register.

#define ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM_SET (   value)    (((value) << 19) & 0x00080000)

Produces a ALT_USB_GLOB_GUSBCFG_ULPICLKSUSM register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_E_INTERN   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV

PHY drives VBUS using internal charge pump

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_E_EXTERN   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV

PHY drives VBUS using external supply

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_LSB   20

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_MSB   20

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_SET_MSK   0x00100000

The mask used to set the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_CLR_MSK   0xffefffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_GET (   value)    (((value) & 0x00100000) >> 20)

Extracts the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV field value from a register.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV_SET (   value)    (((value) << 20) & 0x00100000)

Produces a ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSDRV register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_E_INTERN   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR

PHY uses internal VBUS valid comparator

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_E_EXTERN   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR

PHY uses external VBUS valid comparator

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_LSB   21

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_MSB   21

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_SET_MSK   0x00200000

The mask used to set the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_CLR_MSK   0xffdfffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_GET (   value)    (((value) & 0x00200000) >> 21)

Extracts the ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR field value from a register.

#define ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR_SET (   value)    (((value) << 21) & 0x00200000)

Produces a ALT_USB_GLOB_GUSBCFG_ULPIEXTVBUSINDICATOR register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_E_TXVALID   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE

Data line pulsing using utmi_txvalid

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_E_TERMSEL   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE

Data line pulsing using utmi_termsel

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_LSB   22

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE register field.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_MSB   22

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE register field.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE register field.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_SET_MSK   0x00400000

The mask used to set the ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE register field value.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_CLR_MSK   0xffbfffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE register field value.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE register field.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_GET (   value)    (((value) & 0x00400000) >> 22)

Extracts the ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE field value from a register.

#define ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE_SET (   value)    (((value) << 22) & 0x00400000)

Produces a ALT_USB_GLOB_GUSBCFG_TERMSELDLPULSE register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_E_NONINVERT   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_COMPLEMENT

PHY does not invert ExternalVbusIndicator signal

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_E_INVERT   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_COMPLEMENT

PHY does invert ExternalVbusIndicator signal

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_LSB   23

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_COMPLEMENT register field.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_MSB   23

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_COMPLEMENT register field.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_COMPLEMENT register field.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_SET_MSK   0x00800000

The mask used to set the ALT_USB_GLOB_GUSBCFG_COMPLEMENT register field value.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_CLR_MSK   0xff7fffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_COMPLEMENT register field value.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_COMPLEMENT register field.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_GET (   value)    (((value) & 0x00800000) >> 23)

Extracts the ALT_USB_GLOB_GUSBCFG_COMPLEMENT field value from a register.

#define ALT_USB_GLOB_GUSBCFG_COMPLEMENT_SET (   value)    (((value) << 23) & 0x00800000)

Produces a ALT_USB_GLOB_GUSBCFG_COMPLEMENT register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_E_QUALIFIED   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_INDICATOR

Complement Output signal is qualified with the Internal VbusValid comparator

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_E_NONQUALIFIED   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_INDICATOR

Complement Output signal is not qualified with the Internal VbusValid comparator

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_LSB   24

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_INDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_MSB   24

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_INDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_INDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_SET_MSK   0x01000000

The mask used to set the ALT_USB_GLOB_GUSBCFG_INDICATOR register field value.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_CLR_MSK   0xfeffffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_INDICATOR register field value.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_INDICATOR register field.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_GET (   value)    (((value) & 0x01000000) >> 24)

Extracts the ALT_USB_GLOB_GUSBCFG_INDICATOR field value from a register.

#define ALT_USB_GLOB_GUSBCFG_INDICATOR_SET (   value)    (((value) << 24) & 0x01000000)

Produces a ALT_USB_GLOB_GUSBCFG_INDICATOR register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_ULPI_E_END   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPI

Enables the interface protect circuit

#define ALT_USB_GLOB_GUSBCFG_ULPI_E_DISD   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_ULPI

Disables the interface protect circuit

#define ALT_USB_GLOB_GUSBCFG_ULPI_LSB   25

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_ULPI register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_MSB   25

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_ULPI register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_ULPI register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_SET_MSK   0x02000000

The mask used to set the ALT_USB_GLOB_GUSBCFG_ULPI register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPI_CLR_MSK   0xfdffffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_ULPI register field value.

#define ALT_USB_GLOB_GUSBCFG_ULPI_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_ULPI register field.

#define ALT_USB_GLOB_GUSBCFG_ULPI_GET (   value)    (((value) & 0x02000000) >> 25)

Extracts the ALT_USB_GLOB_GUSBCFG_ULPI field value from a register.

#define ALT_USB_GLOB_GUSBCFG_ULPI_SET (   value)    (((value) << 25) & 0x02000000)

Produces a ALT_USB_GLOB_GUSBCFG_ULPI register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_E_DISD   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_TXENDDELAY

Normal Mode

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_LSB   28

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_TXENDDELAY register field.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_MSB   28

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_TXENDDELAY register field.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_TXENDDELAY register field.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_SET_MSK   0x10000000

The mask used to set the ALT_USB_GLOB_GUSBCFG_TXENDDELAY register field value.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_CLR_MSK   0xefffffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_TXENDDELAY register field value.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_TXENDDELAY register field.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_GET (   value)    (((value) & 0x10000000) >> 28)

Extracts the ALT_USB_GLOB_GUSBCFG_TXENDDELAY field value from a register.

#define ALT_USB_GLOB_GUSBCFG_TXENDDELAY_SET (   value)    (((value) << 28) & 0x10000000)

Produces a ALT_USB_GLOB_GUSBCFG_TXENDDELAY register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_E_DISD   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD

Normal Mode

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_E_END   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD

Force Host Mode

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_LSB   29

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_MSB   29

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_SET_MSK   0x20000000

The mask used to set the ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD register field value.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_CLR_MSK   0xdfffffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD register field value.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_GET (   value)    (((value) & 0x20000000) >> 29)

Extracts the ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD field value from a register.

#define ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD_SET (   value)    (((value) << 29) & 0x20000000)

Produces a ALT_USB_GLOB_GUSBCFG_FORCEHSTMOD register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_E_DISD   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD

Normal Mode

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_E_END   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD

Force Device Mode

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_LSB   30

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_MSB   30

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_SET_MSK   0x40000000

The mask used to set the ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD register field value.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_CLR_MSK   0xbfffffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD register field value.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD register field.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_GET (   value)    (((value) & 0x40000000) >> 30)

Extracts the ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD field value from a register.

#define ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD_SET (   value)    (((value) << 30) & 0x40000000)

Produces a ALT_USB_GLOB_GUSBCFG_FORCEDEVMOD register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_E_NODBG   0x0

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT

Normal Mode

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_E_DBG   0x1

Enumerated value for register field ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT

Debug Mode

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_LSB   31

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT register field.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_MSB   31

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT register field.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT register field.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_SET_MSK   0x80000000

The mask used to set the ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT register field value.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_CLR_MSK   0x7fffffff

The mask used to clear the ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT register field value.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_RESET   0x0

The reset value of the ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT register field.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_GET (   value)    (((value) & 0x80000000) >> 31)

Extracts the ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT field value from a register.

#define ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT_SET (   value)    (((value) << 31) & 0x80000000)

Produces a ALT_USB_GLOB_GUSBCFG_CORRUPTTXPKT register field value suitable for setting the register.

#define ALT_USB_GLOB_GUSBCFG_OFST   0xc

The byte offset of the ALT_USB_GLOB_GUSBCFG register from the beginning of the component.

#define ALT_USB_GLOB_GUSBCFG_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GUSBCFG_OFST))

The address of the ALT_USB_GLOB_GUSBCFG register.

Typedef Documentation

The typedef declaration for register ALT_USB_GLOB_GUSBCFG.