10-14 Intel® PXA255 Processor Developer’s Manual
UARTs
Table 10-12. LCR Bit Definitions
Base+0x0C Line Control Register UART
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
reserved
DLAB
SB
STKYP
EPS
PEN
STB
WLS1
WLS0
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bits Name Description
31:8 — reserved
7DLAB
Divisor Latch Access Bit: Must be set high (logic 1) to access the Divisor Latches of the
Baud Rate Generator during a READ or WRITE operation. Must be set low (logic 0) to
access the Receiver Buffer, the Transmit Holding Register, or the IER.
0 – access Transmit Holding register (THR), Receive Buffer register (RBR) and IER.
1 – access Divisor Latch registers (DLL and DLH)
6SB
Set Break: Causes a break condition to be transmitted to the receiving UART. Acts only on
the TXD pin and has no effect on the transmitter logic. In FIFO mode, wait until the
transmitter is idle, LSR[TEMT]=1, to set and clear SB.
0 – no effect on TXD output
1 – forces TXD output to 0 (space)
5STKYP
Sticky Parity: Forces the bit value at the parity bit location to be the opposite of the EPS bit,
rather than the parity value. This stops parity generation. If PEN = 0, STKYP is ignored.
0 – no effect on parity bit
1 – forces parity bit to be opposite of EPS bit value
4 EPS
Even Parity Select: Even parity select bit. If PEN = 0, EPS is ignored.
0 – sends or checks for odd parity
1 – sends or checks for even parity
3 PEN
Parity Enable: Enables a parity bit to be generated on transmission or checked on
reception.
0 – no parity
1 – parity
2STB
Stop Bits: Specifies the number of stop bits transmitted and received in each character.
When receiving, the receiver only checks the first stop bit.
0 – 1 stop bit
1 – 2 stop bits, except for 5-bit character then 1-1/2 bits
1:0 WLS[1:0]
Word Length Select: Specifies the number of data bits in each transmitted or received
character.
00 – 5-bit character
01 – 6-bit character
10 – 7-bit character
11 – 8-bit character