Appendix B
Register-Level Programming — Port C Status-Word Bit Definitions for Bidirectional Data Path (Port A Only)
©
National Instruments Corporation
B-27
PCI-DIO-96/PXI-6508/PCI-6503 User Manual
Port C Status-Word Bit Definitions for Bidirectional Data Path
(Port A Only)
Address:
Base a 02 (hex) for PPI A
Base a 06 (hex) for PPI B
Base a 0A (hex) for PPI C
Base a 0E (hex) for PPI D
Type:
Read and write
Word Size:
8-bit
Bit Map:
Bit
Name
Description
7
OBFA*
Output Buffer Full for Port A—A low setting indicates
that the CPU has written data to port A.
6
INTE1
Interrupt Enable Bit for Port A Output Interrupts—Setting
this bit enables the INTRA flag from port A of the 82C55A
for output. Control this bit by setting/resetting PC6.
5
IBFA
Input Buffer Full for Port A—A high setting indicates that
data has been loaded into the input latch of port A.
4
INTE2
Interrupt Enable Bit for Port A Input Interrupts—Setting
this bit enables the INTRA flag from port A of the 82C55A
for input. Control this bit by setting/resetting PC4.
3
INTRA
Interrupt Request Status for Port A—This status flag,
which operates only when INTE1 or INTE2 is high,
indicates that port A is ready to be read or written; check
the IBF and OBFA* flags to determine which. If you have
enabled interrupts (by setting INTEN and the appropriate
bit in Interrupt Control Register 2), the INTRA status flag
also indicates that an interrupt request is pending for
port A.
2–0
I/O
Input/Output—Use these bits 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.
7
6
5
4
3
2
1
0
OBFA*
INTE1
IBFA
INTE2
INTRA
I/O
I/O
I/O