47.6.1 UART Control Register
Name: | UART_CR |
Offset: | 0x00 |
Reset: | – |
Property: | Write-only |
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 | |
REQCLR | STTTO | RETTO | RSTSTA | ||||||
Access | W | W | W | W | |||||
Reset | – | – | – | – |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
TXDIS | TXEN | RXDIS | RXEN | RSTTX | RSTRX | ||||
Access | W | W | W | W | W | W | |||
Reset | – | – | – | – | – | – |
Bit 12 – REQCLR Request Clear
- Asynchronous and partial wake-up
enabled:
0: No effect.
1: Clears the potential clock request currently issued by UART, thus the potential system wake-up is cancelled.
- Asynchronous and partial wake-up
disabled:
0: No effect.
1: Restarts the comparison trigger to enable loading of the Receiver Holding register.
Bit 12 – REQCLR Request Clear
Value | Description |
---|---|
0 |
No effect. |
1 |
Restarts the comparison trigger to enable loading of the Receiver Holding register. |
Bit 11 – STTTO Start Time-out
Value | Description |
---|---|
0 | No effect. |
1 | Starts waiting for a character before clocking the time-out counter. Resets status bit TIMEOUT in UART_SR. |
Bit 10 – RETTO Rearm Time-out
Value | Description |
---|---|
0 | No effect. |
1 | Restarts time-out. |
Bit 8 – RSTSTA Reset Status
Value | Description |
---|---|
0 | No effect. |
1 | Resets the status bits PARE, FRAME, CMP and OVRE in the UART_SR. |
Bit 7 – TXDIS Transmitter Disable
Value | Description |
---|---|
0 | No effect. |
1 | The transmitter is disabled. If a character is being processed and a character has been written in the UART_THR and RSTTX is not set, both characters are completed before the transmitter is stopped. |
Bit 6 – TXEN Transmitter Enable
Value | Description |
---|---|
0 | No effect. |
1 | The transmitter is enabled if TXDIS is 0. |
Bit 5 – RXDIS Receiver Disable
Value | Description |
---|---|
0 | No effect. |
1 | The receiver is disabled. If a character is being processed and RSTRX is not set, the character is completed before the receiver is stopped. |
Bit 4 – RXEN Receiver Enable
Value | Description |
---|---|
0 | No effect. |
1 | The receiver is enabled if RXDIS is 0. |
Bit 3 – RSTTX Reset Transmitter
Value | Description |
---|---|
0 | No effect. |
1 | The transmitter logic is reset and disabled. If a character is being transmitted, the transmission is aborted. |
Bit 2 – RSTRX Reset Receiver
Value | Description |
---|---|
0 | No effect. |
1 | The receiver logic is reset and disabled. If a character is being received, the reception is aborted. |