Serial Communications (16C452)
Line Control Register
(2FBh, 3FBh; R/W)
Use the Line Control register (LCR) to specify the format of the
asynchronous data communications exchange.
In addition to
controlling the format, you may retrieve the contents of the Line
Control register for inspection.
This feature simplifies system
programming and eliminates the need for storing line characteristics
in system memory. Contents of the LCR are included in Table 8-3 on
page 8-18 and are described below.
Bits 0 and 1
These two bits specify the number of bits in each
transmitted or received serial character. The encoding
of bits 0 and 1 is as follows:
Bit 1
Bit 0
Word Length
0
0
5 bits
0
1
6 bits
1
0
7 bits
1
1
8 bits
8-21