National Instruments PC-DIO-96 User Manual page 56

Digital i/o board for the ibm pc/xt/at
Table of Contents

Advertisement

Register-Level Programming
Port C status-word bit definitions for bidirectional data path (port A only):
D7
D6
OBFA*
INTE1
Bit
Name
7
OBFA*
6
INTE1
5
IBFA
4
INTE2
3
INTRA
2–0
I/O
At the digital I/O connector, port C has the following pin assignments when in mode 2. Notice
that the status of STBA* and the status of ACKA* are not included in the port C status word.
#
The three port C lines associated with group B function based on the mode selected for group B;
that is, if group B is configured for mode 0, PC2-PC0 function as general-purpose I/O, but if group B is
configured for mode 1 input or output, PC2-PC0 function as handshaking lines as shown in the
preceding mode 1 sections.
PC-DIO-96 User Manual
D5
D4
IBFA
INTE2
INTRA
Description
Output Buffer for Port A—A low setting indicates that the CPU
has written data to port A.
Interrupt Enable Bit for Port A Output Interrupts—Setting this bit
enables output interrupts from port A of the 82C55A. This bit is
controlled by setting/resetting PC6.
Input Buffer for Port A—A high setting indicates that data has
been loaded into the input latch of port A.
Interrupt Enable Bit for Port A Input Interrupts—Setting this bit
enables input interrupts from port A of the 82C55A. This bit is
controlled by setting/resetting PC4.
Interrupt Request Status for Port A—If INTE1 and IBFA are high,
then this bit is high, indicating that an interrupt request is pending
for port A input transfers. If INTE2 and OBFA* are high, then this
bit is high, indicating that an interrupt request is pending for port A
output transfers.
Input/Output—These bits can be used for general-purpose I/O lines
if group B is configured for mode 0. If group B is configured for
mode 1, refer to the bit explanations shown in the preceding mode
1 sections.
PC7
PC6
PC5
Group A
PC4
PC3
PC2
PC1
Group B
PC0
4-18
D3
D2
I/O
OBFA*
ACKA*
IBFA
STBA*
INTRA
#
#
#
© National Instruments Corporation
Chapter 4
D1
D0
I/O
I/O

Advertisement

Table of Contents
loading

Table of Contents