AP512 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 28 - http://www.acromag.com
- 28 -
https://www.acromag.com
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 AP512, 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
frequency is divided by 16 it is further
divided by 4 (see Table 3.2).