28.5.3 Bus State
Name: | BUSSTATE |
Offset: | 0x2 |
Reset: | 0x00 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
WTRSM | URESUME | DRESUME | SUSPENDED | BUSRST | |||||
Access | R | R | R | R | R | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bit 4 – WTRSM Wait Time Resume
Value | Description |
---|---|
0 | The bus has not been IDLE for more than 5 ms (i.e., the T_WTRSM parameter in the USB 2.0 specification) |
1 | The bus has been IDLE for more than 5 ms, and transmission of upstream resume is allowed |
Bit 3 – URESUME Upstream Resume
Value | Description |
---|---|
0 | No upstream resume in progress |
1 | An upstream resume is in progress |
Bit 2 – DRESUME Downstream Resume
Value | Description |
---|---|
0 | No downstream resume in progress |
1 | A downstream resume is in progress |
Bit 1 – SUSPENDED Bus Suspended
Value | Description |
---|---|
0 | The USB bus is not in the suspended state |
1 | The USB bus is in the suspended state, i.e., the bus has been idle for at least 3 ms |
Bit 0 – BUSRST Bus Reset
Value | Description |
---|---|
0 | No reset condition has been detected |
1 | A reset condition has been detected (the bus has been driven to SE0 for at least 2.5 μs) |