DRDSTATE=A_IDLESTATE
General Finite State Machine Register
DRDSTATE | Dual Role Device State 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. |