Datasheet

SAM3X / SAM3A [DATASHEET]
Atmel-11057C-ATARM-SAM3X-SAM3A-Datasheet_23-Mar-15
1098
39.6.1.5 General Finite State Machine Register
Name: UOTGHS_FSM
Address: 0x400AC82C
Access: Read-only
•DRDSTATE
This field indicates the state of the UOTGHS.
Refer to the OTG specification for more details.
31 30 29 28 27 26 25 24
––––––––
23 22 21 20 19 18 17 16
––––––––
15 14 13 12 11 10 9 8
––––––––
76543210
–––– DRDSTATE
Value Name Description
0 A_IDLESTATE This is the start state for A-devices (when the ID pin is 0)
1 A_WAIT_VRISE
In this state, the A-device waits for the voltage on VBus to rise above the A-device VBus
Valid threshold (4.4 V).
2 A_WAIT_BCON In this state, the A-device waits for the B-device to signal a connection.
3 A_HOST In this state, the A-device that operates in Host mode is operational.
4 A_SUSPEND The A-device operating as a host is in the suspend mode.
5 A_PERIPHERAL The A-device operates as a peripheral.
6 A_WAIT_VFALL
In this state, the A-device waits for the voltage on VBus to drop below the A-device
Session Valid threshold (1.4 V).
7 A_VBUS_ERR
In this state, the A-device waits for recovery of the over-current condition that caused it
to enter this state.
8 A_WAIT_DISCHARGE In this state, the A-device waits for the data USB line to discharge (100 us).
9 B_IDLE This is the start state for B-device (when the ID pin is 1).
10 B_PERIPHERAL In this state, the B-device acts as the peripheral.
11 B_WAIT_BEGIN_HNP
In this state, the B-device is in suspend mode and waits until 3 ms before initiating the
HNP protocol if requested.
12 B_WAIT_DISCHARGE
In this state, the B-device waits for the data USB line to discharge (100 us) before
becoming Host.
13 B_WAIT_ACON
In this state, the B-device waits for the A-device to signal a connect before becoming B-
Host.
14 B_HOST In this state, the B-device acts as the Host.
15 B_SRP_INIT In this state, the B-device attempts to start a session using the SRP protocol.