44.4.1.11 USB Control Register
Note:
- Software is required to check this bit before issuing another token command to the UTOK register, see UTOK register.
- All host control logic is reset any time the value of this bit is toggled.
- Software must set RESUME for 10 ms if the part is a function, or for 25 ms if the part is a host, and then clear it to enable remote wake-up. In Host mode, the USB OTG module will append a low-speed EOP to the RESUME signaling when this bit is cleared.
| Name: | UCON |
| Offset: | 0x4250 |
| Reset: | 0x0 |
| Property: | - |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| JSTATE | SE0 | PKTDIS/TOKBUSY | USBRST | HOSTEN | RESUME | PPBRST | USBEN/SOFEN | ||
| Access | R | R | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – JSTATE Live Differential Receiver JSTATE flag bit
| Value | Description |
|---|---|
| 1 | JSTATE is detected on the USB |
| 0 | JSTATE is not detected |
Bit 6 – SE0 Live Single-Ended Zero flag bit
| Value | Description |
|---|---|
| 1 | Single-Ended Zero detected on the USB |
| 0 | No Single-Ended Zero detected |
Bit 5 – PKTDIS/TOKBUSY PKTDIS: Packet Transfer Disable bit (Device mode) TOKBUSY: Token Busy Indicator bit (Host mode)(1)
| Value | Description |
|---|---|
| 1 |
PKTDIS: Token and packet processing disabled (set upon SETUP token received) TOKBUSY: Token and packet processing enabled |
| 0 |
PKTDIS: Token being executed by the USB OTG module TOKBUSY: No token being executed |
Bit 4 – USBRST Module Reset bit (Host mode)
| Value | Description |
|---|---|
| 1 | USB Reset is generated |
| 0 | USB Reset is terminated |
Bit 3 – HOSTEN Host Mode Enable bit(2)
| Value | Description |
|---|---|
| 1 | USB host capability is enabled |
| 0 | USB host capability is disabled |
Bit 2 – RESUME RESUME Signaling Enable bit(3)
| Value | Description |
|---|---|
| 1 | RESUME signaling is activated |
| 0 | RESUME signaling is disabled |
Bit 1 – PPBRST Ping-Pong Buffers Reset bit
| Value | Description |
|---|---|
| 1 | Reset all Even/Odd buffer pointers to the EVEN BD banks |
| 0 | Even/Odd buffer pointers not being Reset |
Bit 0 – USBEN/SOFEN USBEN: USB OTG Module Enable bit (Device mode) SOFEN: SOF Enable bit (Host mode)
| Value | Description |
|---|---|
| 1 | USBEN:
USB OTG module and supporting circuitry are enabled SOFEN: SOF token sent every 1 ms |
| 0 | USBEN:
USB OTG module and supporting circuitry are disabled SOFEN: SOF token is disabled |
