
CD2481
—
Programmable Four-Channel Communications Controller
132
Datasheet
Note:
Do not use the STCR (Special Transmit Command register) to send XON and XOFF characters
while using automatic in-band flow control.
Bits 3:0
Receive flow control FIFO threshold
These four bits define the threshold for automatic flow control activation based on
the contents of the receive FIFO. A threshold value of zero disables this function and
the setting of bit 4 is ignored. Bit 4 determines whether the out-of-band (DTR pin)
or the in-band (XOFF/XON characters) is used to stop the flow of incoming data
from the remote transmitter.
When the number of characters in the FIFO exceeds this threshold, the DTR pin
deasserts or an XOFF character is transmitted. When the number of characters in the
FIFO is less than or equal to the threshold, the DTR asserts or and XON is transmit-
ted.
9.2.7
Channel Option Register 6 (COR6)
COR6
—
Async Mode
CR is defined as 0D hex, NL as 0A hex, and NULL as 00 hex.
Bits 7:5
These three bits are used to enable translation of received CR/NL characters as fol-
lows:
Bit 4
Number of characters in FIFO
CD2481 Action
0
Less than or equal to threshold
DTR asserted
0
Greater than threshold
DTR deasserted
1
Less than or equal to threshold
XON transmitted
1
Greater than threshold
XOFF transmitted
Register Name: COR6
Register Description: Channel Option Register 6
Default Value: x
’
00
Access: Byte Read/Write
Intel Hex Address: x
’
1B
Motorola Hex Address: x
’
18
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
IgnCR
ICRNL
INLCF
IgnBrk
NBrkInt
ParMrk
INPCK
ParInt
IgnCr
ICrRNL
INLCR
0
0
0
No special action on CR and NL
0
0
1
NL translated to CR
0
1
0
CR translated to NL
0
1
1
CR translated to NL and NL translated
to CR
1
0
0
CR discarded