
Chapter 6 Programming
PCI-DIO-96 User Manual 6-14
©
National Instruments Corporation
Figure 6-4. Control Word to Configure Port A for Mode 1 Output
The control word written to the Configuration Register to configure
port B for output in mode 1 is shown in Figure 6-5. Notice that port B
does not have extra input or output lines from port C.
Figure 6-5. Control Word to Configure Port B for Mode 1 Output
During a mode 1 data write transfer, you can obtain the status of the
handshaking lines and interrupt signals by reading port C. Notice that
the bit definitions are different for a write and a read transfer.
Port C bits PC4 and PC5
1 = Input
0 = Output
D7 D6 D5 D4 D3 D2 D1 D0
10101/0X XX
D7 D6 D5 D4 D3 D2 D1 D0
1XXXX1 X0