45.7.1 USART Control Register
For SPI control, see “USART Control Register (SPI_MODE)”.
Name: | US_CR |
Offset: | 0x0000 |
Property: | Write-only |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
LINWKUP | LINABT | RTSDIS | RTSEN | DTRDIS | DTREN | ||||
Access | W | W | W | W | W | W | |||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
RETTO | RSTNACK | RSTIT | SENDA | STTTO | STPBRK | STTBRK | RSTSTA | ||
Access | W | W | W | W | 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 21 – LINWKUP Send LIN Wakeup Signal
Value | Description |
---|---|
0 | No effect. |
1 | Sends a wakeup signal on the LIN bus. |
Bit 20 – LINABT Abort LIN Transmission
Value | Description |
---|---|
0 | No effect. |
1 | Abort the current LIN transmission. |
Bit 19 – RTSDIS Request to Send Pin Control
Value | Description |
---|---|
0 | No effect. |
1 | Drives RTS pin to 0 if US_MR.USART_MODE field = 2, else drives RTS pin to 1 if US_MR.USART_MODE field = 0. |
Bit 18 – RTSEN Request to Send Pin Control
Value | Description |
---|---|
0 | No effect. |
1 | Drives RTS pin to 1 if US_MR.USART_MODE field = 2, else drives RTS pin to 0 if US_MR.USART_MODE field = 0. |
Bit 17 – DTRDIS Data Terminal Ready Disable
Value | Description |
---|---|
0 | No effect. |
1 | Drives the pin DTR to 1. |
Bit 16 – DTREN Data Terminal Ready Enable
Value | Description |
---|---|
0 | No effect. |
1 | Drives the pin DTR to 0. |
Bit 15 – RETTO Start Timeout Immediately
Value | Description |
---|---|
0 | No effect |
1 | Immediately restarts timeout period. |
Bit 14 – RSTNACK Reset Non Acknowledge
Value | Description |
---|---|
0 | No effect |
1 | Resets NACK in US_CSR. |
Bit 13 – RSTIT Reset Iterations
Value | Description |
---|---|
0 | No effect. |
1 | Resets ITER in US_CSR. No effect if the ISO7816 is not enabled. |
Bit 12 – SENDA Send Address
Value | Description |
---|---|
0 | No effect. |
1 | In Multidrop mode only, the next character written to the US_THR is sent with the address bit set. |
Bit 11 – STTTO Clear TIMEOUT Flag and Start Timeout After Next Character Received
Value | Description |
---|---|
0 | No effect. |
1 | Starts waiting for a character before enabling the timeout counter. Immediately disables a timeout period in progress. Resets the status bit TIMEOUT in US_CSR. |
Bit 10 – STPBRK Stop Break
Value | Description |
---|---|
0 | No effect. |
1 | Stops transmission of the break after a minimum of one character length and transmits a high level during 12-bit periods. No effect if no break is being transmitted. |
Bit 9 – STTBRK Start Break
Value | Description |
---|---|
0 | No effect. |
1 | Starts transmission of a break after the characters present in US_THR and the Transmit Shift Register have been transmitted. No effect if a break is already being transmitted. |
Bit 8 – RSTSTA Reset Status Bits
Value | Description |
---|---|
0 | No effect. |
1 | Resets the status bits PARE, FRAME, OVRE, MANERR, LINBE, LINISFE, LINIPE, LINCE, LINSNRE, LINSTE, LINHTE, LINID, LINTC, LINBK and RXBRK in US_CSR. |
Bit 7 – TXDIS Transmitter Disable
Value | Description |
---|---|
0 | No effect. |
1 | Disables the transmitter. |
Bit 6 – TXEN Transmitter Enable
Value | Description |
---|---|
0 | No effect. |
1 | Enables the transmitter if TXDIS is 0. |
Bit 5 – RXDIS Receiver Disable
Value | Description |
---|---|
0 | No effect. |
1 | Disables the receiver. |
Bit 4 – RXEN Receiver Enable
Value | Description |
---|---|
0 | No effect. |
1 | Enables the receiver, if RXDIS is 0. |
Bit 3 – RSTTX Reset Transmitter
Value | Description |
---|---|
0 | No effect. |
1 | Resets the transmitter. |
Bit 2 – RSTRX Reset Receiver
Value | Description |
---|---|
0 | No effect. |
1 | Resets the receiver. |