stm32 /stm32h7rs /STM32H7R /OTG_HS /OTG_GOTGCTL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OTG_GOTGCTL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)VBVALOEN 0 (B_0x0)VBVALOVAL 0 (B_0x0)AVALOEN 0 (B_0x0)AVALOVAL 0 (B_0x0)BVALOEN 0 (B_0x0)BVALOVAL 0 (B_0x0)EHEN 0 (B_0x0)CIDSTS 0 (B_0x0)DBCT 0 (B_0x0)ASVLD 0 (B_0x0)BSVLD 0 (B_0x0)OTGVER 0 (B_0x0)CURMOD

VBVALOEN=B_0x0, CURMOD=B_0x0, AVALOVAL=B_0x0, AVALOEN=B_0x0, VBVALOVAL=B_0x0, ASVLD=B_0x0, BVALOVAL=B_0x0, BVALOEN=B_0x0, EHEN=B_0x0, OTGVER=B_0x0, CIDSTS=B_0x0, DBCT=B_0x0, BSVLD=B_0x0

Description

OTG control and status register

Fields

VBVALOEN

VBUS valid override enable. This bit is used to enable/disable the software to override the vbusvalid signal using the VBVALOVAL bit. Note: Only accessible in host mode.

0 (B_0x0): Override is disabled and vbusvalid signal from the respective PHY selected is used internally by the core

1 (B_0x1): Internally vbusvalid received from the PHY is overridden with VBVALOVAL bit value

VBVALOVAL

VBUS valid override value. This bit is used to set override value for vbusvalid signal when VBVALOEN bit is set. Note: Only accessible in host mode.

0 (B_0x0): vbusvalid value is ‘0’ when VBVALOEN = 1

1 (B_0x1): vbusvalid value is ‘1’ when VBVALOEN = 1

AVALOEN

A-peripheral session valid override enable. This bit is used to enable/disable the software to override the Avalid signal using the AVALOVAL bit. Note: Only accessible in host mode.

0 (B_0x0): Override is disabled and Avalid signal from the respective PHY selected is used internally by the core

1 (B_0x1): Internally Avalid received from the PHY is overridden with AVALOVAL bit value

AVALOVAL

A-peripheral session valid override value. This bit is used to set override value for Avalid signal when AVALOEN bit is set. Note: Only accessible in host mode.

0 (B_0x0): Avalid value is ‘0’ when AVALOEN = 1

1 (B_0x1): Avalid value is ‘1’ when AVALOEN = 1

BVALOEN

B-peripheral session valid override enable. This bit is used to enable/disable the software to override the Bvalid signal using the BVALOVAL bit. 1 Internally Bvalid received from the PHY is overridden with BVALOVAL bit value Note: Only accessible in device mode.

0 (B_0x0): Override is disabled and Bvalid signal from the respective PHY selected is used internally by the core

BVALOVAL

B-peripheral session valid override value. This bit is used to set override value for Bvalid signal when BVALOEN bit is set. Note: Only accessible in device mode.

0 (B_0x0): Bvalid value is ‘0’ when BVALOEN = 1

1 (B_0x1): Bvalid value is ‘1’ when BVALOEN = 1

EHEN

Embedded host enable It is used to select between OTG A device state machine and embedded host state machine.

0 (B_0x0): OTG A device state machine is selected

1 (B_0x1): Embedded host state machine is selected

CIDSTS

Connector ID status Indicates the connector ID status on a connect event. Note: Accessible in both device and host modes.

0 (B_0x0): The OTG_HS controller is in A-device mode

1 (B_0x1): The OTG_HS controller is in B-device mode

DBCT

Long/short debounce time Indicates the debounce time of a detected connection. Note: Only accessible in host mode.

0 (B_0x0): Long debounce time, used for physical connections (100 ms + 2.5 s)

1 (B_0x1): Short debounce time, used for soft connections (2.5 s)

ASVLD

A-session valid Indicates the host mode transceiver status. Note: Only accessible in host mode.

0 (B_0x0): A-session is not valid

1 (B_0x1): A-session is valid

BSVLD

B-session valid Indicates the device mode transceiver status. In OTG mode, the user can use this bit to determine if the device is connected or disconnected. Note: Only accessible in device mode.

0 (B_0x0): B-session is not valid.

1 (B_0x1): B-session is valid.

OTGVER

OTG version Selects the OTG revision.

0 (B_0x0): OTG Version 1.3. OTG1.3 is obsolete for new product development.

1 (B_0x1): OTG Version 2.0. In this version the core supports only data line pulsing for SRP.

CURMOD

Current mode of operation Indicates the current mode (host or device).

0 (B_0x0): Device mode

1 (B_0x1): Host mode

Links

()