S5PC110_UM
5.8.3 OTG LINK CORE REGISTERS (OTG GLOBAL REGISTERS)
These registers are available in both Host and Device modes, and not required to be reprogrammed to switch
between these modes.
5.8.3.1 OTG Control and Status Register (GOTGCTL, R/W, Address = 0xEC00_0000)
The OTG Control and Status register controls the behavior and reflects the status of the core's OTG function.
GOTGCTL
Bit
Reserved
[31:20] -
BSesVld
[19]
ASesVld
[18]
DbncTime
[17]
ConIDSts
[16]
Reserved
[15:12] -
DevHNPEn
[11]
HstSet
[10]
HNPEn
HNPReq
[9]
B-Session Valid
Indicates the Device mode transceiver status.
1'b0: B-session is not valid
•
1'b1: B-session is valid
•
A-Session Valid
Indicates the Host mode transceiver status.
1'b0: A-session is not valid
•
1'b1: A-session is valid
•
Long/ Short Debounce Time
Indicates the Debounce time of a detected connection.
1'b0: Long Debounce time, used for physical connections
•
1'b1: Short Debounce time, used for soft connections
•
Connector ID Status
Indicates the connector ID status.
1'b0: The OTG core is in A-device mode
•
1'b1: The OTG core is in B-device mode
•
Device HNP Enable
The application sets the bit if it successfully receives a SetFeature.
1'b0: HNP is not enabled in the application
•
1'b1: HNP is enabled in the application
•
Host Set HNP Enable
The application sets this bit if it has successfully enabled HNP on
the connected device.
1'b0: Host Set HNP is not enabled
•
1'b1: Host Set HNP is enabled
•
HNP Request
The application sets this bit to initiate an HNP request to the
connected USB host. The core clears this bit if the
HstNegSucStsChng bit is cleared.
1'b0: No HNP request
•
1'b1: HNP request
•
Description
5 USB2.0 HS OTG
R/W
Initial State
-
12'h0
R
1'b0
R
1'b0
R
1'b0
R
1'b1
-
4'h0
R/W
1'b0
R/W
1'b0
R/W
1'b0
5-30