AP500/AP520/AP521 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 32 - http://www.acromag.com
- 32 -
www.acromag.com
power-up or system reset sets all LCR bits to 0.
3.2.9 MCR - Modem Control Register (R/W)
The Modem Control register controls the interface with the modem or data
set as described below.
For model AP500 and AP520 RTS is directly controlled by a control bit in this
register (a high input asserts this signal).
For model AP521, RTS is used to enable the transceiver to enable output of
TxD. The four modem control inputs (CTS, DSR, DCD, and RI) are
disconnected from their receiver input paths. In addition, the four modem
control outputs (DTR, RTS, OUT1, and OUT2) do not have transmitter output
paths.
Bit-3 of this register must be set to a logic “1” to enable the corresponding
port to issue an interrupt.
Table 3.10 Modem Control
Register
MCR
Bit
FUNCTION
PROGRAMMING
0
Data Terminal
Ready Output
Signal (DTR)
0= DTR* Not Asserted (Inactive) 1= DTR*
Asserted (Active)
1
Ready to Send
Output Signal
(RTS)
0 = RTS* Not Asserted (Inactive)
1 = RTS* Asserted (Active)
2
Not Used
No Effect on External Operation
3
Port Interrupt
Disable/Enable
0 = Interrupt Disabled for this
port.
1 = Interrupt Enabled for this
port.
4
Loop-back
1
0 = Loop-back Disabled
1 = Loop-back Enabled
5
2
Xon Control
0 = Disable Xon
1 = Enable any Xon function. In this mode
any RX character received will enable Xon.
6
2
Not Used
Must be logic 0
7
2
Divide by Four
0 = Divide by one. The crystal frequency is
unchanged.
1 = Divide by four. After the crystal