Modem Status Register - National Instruments GPIB-COM User Manual

National instruments switch user manual
Table of Contents

Advertisement

Programming the GPIB-COM

Modem Status Register

Offset from Base I/O Address = 6
Register Address = XFE
7
6
DCD
RI
The Modem Status Register gives the state of the modem control lines and tells whether any of
these lines have changed state since the register was last read. This register is read only on the
GPIB-COM. Writing to this register will not change its contents. The function of each bit in this
register is explained below.
Bit
Mnemonic
7r
DCD
6r
RI
5r
DSR
4r
CTS
3r
DDCD
GPIB-COM User Manual
5
4
DSR
CTS
Description
Data Carrier Detect Bit
This bit reflects the inverse of the serial port DCD input signal.
On the GPIB-COM, this bit is always clear.
Ring Indicator Bit
This bit reflects the inverse of the serial port RI input signal.
On the GPIB-COM, this bit is always clear.
Data Set Ready Bit
This bit reflects the inverse of the serial port DSR input signal.
On the GPIB-COM, this bit is always set to indicate that the
interface is ready to transfer data.
Clear to Send Bit
This bit reflects the inverse of the serial port CTS input signal.
On the GPIB-COM, this bit is the logical AND of the DTR and
RTS bits of the Modem Control Register.
Delta Data Carrier Detect Bit
This bit is set when the serial port DCD input signal changes
state and cleared when the processor reads the Modem Status
Register.
On the GPIB-COM, this bit is always clear.
5-14
3
2
DDCD
TERI
© National Instruments Corporation
Section Five
1
0
R
DDSR
DCTS

Advertisement

Table of Contents
loading

Table of Contents