IN16C1054
7.6 Line Control Register (LCR, Page 0)
LCR controls the asynchronous data communication format. The word length, the number
of stop bits, and the parity type are selected by writing the appropriate bits to the LCR.
Table 12 shows LCR bit settings.
Table 12: Line Control Register Description
Bit
Symbol
Description
7
LCR[7]
Divisor Latch Enable.
0 : Disable the divisor latch (default).
1 : Enable the divisor latch.
6
5
LCR[6]
LCR[5]
Break Enable.
0 : No TX break condition output (default).
1 : Forces TXD output to ‘0’, for alerting the communication
terminal to a line break condition.
Set Stick Parity.
LCR[5:3] = xx0 : No parity is selected.
LCR[5:3] = 0x1 : Stick parity disabled. (default)
LCR[5:3] = 101 : Stick parity is forced to ‘1’.
LCR[5:3] = 111 : Stick parity is forced to ‘0’.
Parity Type Select.
4
3
LCR[4]
LCR[3]
LCR[5:3] =001 : Odd parity is selected.
LCR[5:3] =011 : Even parity is selected.
Parity Enabled.
0 : No parity (default).
1 : A parity bit is generated during the transmission and
the receiver checks for receive parity.
Number of Stop Bits.
2
LCR[2]
LCR[2:0] = 0xx : 1 stop bit (word length = 5, 6, 7, 8).
LCR[2:0] = 100 : 1.5 stop bits (word length = 5).
LCR[2:0] = 11x or 1x1 : 2 stop bits (word length = 6, 7. 8).
Word Length Bits.
1:0
LCR[1:0]
00 : 5 bits (default).
01 : 6 bits.
10 : 7 bits.
11 : 8 bits.
Rev. 00