US_CR

USART Control Register

For SPI control, see “USART Control Register (SPI_MODE)”.

  0x0000 32 Write-only    

USART Control Register

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                   
Reset                   
Bit  15 14 13 12 11 10 9 8  
  RETTO RSTNACK RSTIT SENDA STTTO STPBRK STTBRK RSTSTA  
Access                   
Reset                   
Bit  7 6 5 4 3 2 1 0  
  TXDIS TXEN RXDIS RXEN RSTTX RSTRX      
Access                   
Reset                   

Bit 2 – RSTRX: Reset Receiver

Reset Receiver

ValueDescription
0 No effect.
1 Resets the receiver.

Bit 3 – RSTTX: Reset Transmitter

Reset Transmitter

ValueDescription
0 No effect.
1 Resets the transmitter.

Bit 4 – RXEN: Receiver Enable

Receiver Enable

ValueDescription
0 No effect.
1 Enables the receiver, if RXDIS is 0.

Bit 5 – RXDIS: Receiver Disable

Receiver Disable

ValueDescription
0 No effect.
1 Disables the receiver.

Bit 6 – TXEN: Transmitter Enable

Transmitter Enable

ValueDescription
0 No effect.
1 Enables the transmitter if TXDIS is 0.

Bit 7 – TXDIS: Transmitter Disable

Transmitter Disable

ValueDescription
0 No effect.
1 Disables the transmitter.

Bit 8 – RSTSTA: Reset Status Bits

Reset Status Bits

ValueDescription
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 9 – STTBRK: Start Break

Start Break

ValueDescription
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 10 – STPBRK: Stop Break

Stop Break

ValueDescription
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 11 – STTTO: Clear TIMEOUT Flag and Start Timeout After Next Character Received

Clear TIMEOUT Flag and Start Timeout After Next Character Received

ValueDescription
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 12 – SENDA: Send Address

Send Address

ValueDescription
0 No effect.
1 In Multidrop mode only, the next character written to the US_THR is sent with the address bit set.

Bit 13 – RSTIT: Reset Iterations

Reset Iterations

ValueDescription
0 No effect.
1 Resets ITER in US_CSR. No effect if the ISO7816 is not enabled.

Bit 14 – RSTNACK: Reset Non Acknowledge

Reset Non Acknowledge

ValueDescription
0 No effect
1 Resets NACK in US_CSR.

Bit 15 – RETTO: Start Timeout Immediately

Start Timeout Immediately

ValueDescription
0 No effect
1 Immediately restarts timeout period.

Bit 16 – DTREN: Data Terminal Ready Enable

Data Terminal Ready Enable

ValueDescription
0 No effect.
1 Drives the pin DTR to 0.

Bit 17 – DTRDIS: Data Terminal Ready Disable

Data Terminal Ready Disable

ValueDescription
0 No effect.
1 Drives the pin DTR to 1.

Bit 18 – RTSEN: Request to Send Pin Control

Request to Send Pin Control

ValueDescription
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 19 – RTSDIS: Request to Send Pin Control

Request to Send Pin Control

ValueDescription
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 20 – LINABT: Abort LIN Transmission

Abort LIN Transmission

ValueDescription
0 No effect.
1 Abort the current LIN transmission.

Bit 21 – LINWKUP: Send LIN Wakeup Signal

Send LIN Wakeup Signal

ValueDescription
0 No effect.
1 Sends a wakeup signal on the LIN bus.