HNGSCS=B_0x0, BSVLD=B_0x0, BVALOEN=B_0x0, ASVLD=B_0x0, BVALOVAL=B_0x0, HSHNPEN=B_0x0, VBVALOEN=B_0x0, SRQSCS=B_0x0, EHEN=B_0x0, DBCT=B_0x0, CURMOD=B_0x0, SRQ=B_0x0, CIDSTS=B_0x0, VBVALOVAL=B_0x0, AVALOEN=B_0x0, HNPRQ=B_0x0, DHNPEN=B_0x0, AVALOVAL=B_0x0, OTGVER=B_0x0
OTG_HS control and status register
SRQSCS | Session request success The core sets this bit when a session request initiation is successful. Note: Only accessible in device mode. 0 (B_0x0): Session request failure 1 (B_0x1): Session request success |
SRQ | Session request The application sets this bit to initiate a session request on the USB. The application can clear this bit by writing a 0 when the host negotiation success status change bit in the OTG_GOTGINT register (HNSSCHG bit in OTG_GOTGINT) is set. The core clears this bit when the HNSSCHG bit is cleared. If the user uses the USB 1.1 full-speed serial transceiver interface to initiate the session request, the application must wait until VBUS discharges to 0.2 V, after the B-session valid bit in this register (BSVLD bit in OTG_GOTGCTL) is cleared. Note: Only accessible in device mode. 0 (B_0x0): No session request 1 (B_0x1): Session request |
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. 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 1 (B_0x1): Internally Bvalid received from the PHY is overridden with BVALOVAL bit value |
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 |
HNGSCS | Host negotiation success The core sets this bit when host negotiation is successful. The core clears this bit when the HNP request (HNPRQ) bit in this register is set. Note: Only accessible in device mode. 0 (B_0x0): Host negotiation failure 1 (B_0x1): Host negotiation success |
HNPRQ | HNP request The application sets this bit to initiate an HNP request to the connected USB host. The application can clear this bit by writing a 0 when the host negotiation success status change bit in the OTG_GOTGINT register (HNSSCHG bit in OTG_GOTGINT) is set. The core clears this bit when the HNSSCHG bit is cleared. Note: Only accessible in device mode. 0 (B_0x0): No HNP request 1 (B_0x1): HNP request |
HSHNPEN | host set HNP enable The application sets this bit when it has successfully enabled HNP (using the SetFeature.SetHNPEnable command) on the connected device. Note: Only accessible in host mode. 0 (B_0x0): Host Set HNP is not enabled 1 (B_0x1): Host Set HNP is enabled |
DHNPEN | Device HNP enabled The application sets this bit when it successfully receives a SetFeature.SetHNPEnable command from the connected USB host. Note: Only accessible in device mode. 0 (B_0x0): HNP is not enabled in the application 1 (B_0x1): HNP is enabled in the application |
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 |