Register 3: Line Control Register
Register 3 determines the asynchronous data format
expected by the modem. Format parameters include
character length, parity, stop bits, Break transmision
and Data Rate.
Bit Description
0,1,2 Bits 0,1 and 2 select the character length.
Bit 2 selects the number of stop bits.
Refer to the table below.
3,4,5 Bits 3, 4, and 5 select the data parity. The
table below illustrates the various parity
settings.
6 Bit 6 forces the modem to transmit a break
signal or continuous space (logic 0). Bit 6
must be reset to logic 0 to disable break.
7 Bit 7 sets the Divisor Latch which permits
registers 0 and 1 to set the modem data
rate. (see description on page 13)
Register 4: Modem Control Register
Register 4 controls the modem-controller interface. It
also selects the local loopback diagnostic.
Bit Description
0 A logic 1 on bit 0 activates DTR
1 A logic 1 on bit 1 activates RTS
2 Bit 2 controls the OUT1 signal.
3 Bit 3 controls the OUT2 signal.
4 Bit 4 selects the local loopback diagnostic.
Data written into the Transmit Holding
Register will be looped through the modem
back to the Recevier Buffer Register.
5-7 not used
Register 5: Line Status Register
Register 5 provides data status information on the
modem. Status of the Transmitter and Reciever as
well as error indications are provided.
Bit Description
0 Bit 0 goes true whenever the Receiver
Buffer Register contains a complete
received character.
1 Bit 1 indicates data in the Receiver Buffer
Register was over written.
2 Bit 2 indicates the occurance of a parity
error in the received character.
3 Bit 3 indicates the received character did
not have a vaild stop bit.
4 Bit 4 indicate the continuous receipt of a
space for more than two word lengths.
Continuous space indicates presence of
a break signal.
5 Bit 5 indicates the modem can accept the
next character for transmission.
6 A logic 1 in Bit 6 indicates both the
Transmitter Holding Register and
Transmitter Shft Register are empty.
7 Not Used
XECOM (14) XE5224DM & XE5224FD
Bit 0 Bit 1 Bit 2 Character Format
0 0 0 5 bits, 1 stop bit
1 0 0 6 bits, 1 stop bit
0 1 0 7 bits, 1 stop bit
1 1 0 8 bits, 1 stop bit
0 0 1 5 bits, 2 stop bits
1 0 1 6 bits, 2 stop bits
0 1 1 7 bits, 2 stop bits
1 1 1 8 bits, 2 stop bits
Bit 3 Bit 4 Bit 5 Character Format
0 X X No Parity
1 0 0 Odd Parity
1 1 0 Even Parity
1 0 1 Parity Bit Equals 1
1 1 1 Parity Bit Equals 0
Modem Register Descriptions (continued)