34.20.3 UxCON2

UART Control Register 2
Note:
  1. All modes transmit selected number of Stop bits.
  2. Full-featured UARTs only.
Name: UxCON2

Bit 76543210 
 RUNOVFRXPOLSTP[1:0]C0ENTXPOLFLO[1:0] 
Access R/WR/W/HCR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 7 – RUNOVF Run During Overflow Control

ValueDescription
1 RX input shifter continues to synchronize with Start bits after Overflow condition
0 RX input shifter stops all activity on receiver Overflow condition

Bit 6 – RXPOL Receive Polarity Control

ValueDescription
1 Invert RX polarity, Idle state is low
0 RX polarity is not inverted, Idle state is high

Bits 5:4 – STP[1:0]  Stop Bit Mode Control(1)

ValueDescription
11 Transmit 2 Stop bits, receiver verifies first Stop bit
10 Transmit 2 Stop bits, receiver verifies first and second Stop bits
01 Transmit 1.5 Stop bits, receiver verifies first Stop bit
00 Transmit 1 Stop bit, receiver verifies first Stop bit

Bit 3 – C0EN  Checksum Mode Select(2)

ValueNameDescription
1 MODE = LIN Enhanced LIN checksum includes PID in sum
0 MODE = LIN Legacy LIN checksum does not include PID in sum
1 MODE = not LIN Checksum is the sum of all TX and RX characters
0 MODE = not LIN Checksum is disabled

Bit 2 – TXPOL  Transmit Control Polarity(1)

ValueDescription
1 Output data are inverted, TX output is low in Idle state
0 Output data are not inverted, TX output is high in Idle state

Bits 1:0 – FLO[1:0] Handshake Flow Control

ValueDescription
11 Reserved
10 RTS/CTS and TXDE Hardware flow control
01 XON/XOFF Software flow control
00 Flow control is off
All modes transmit selected number of Stop bits. Full-featured UARTs only.