beautypg.com

Figure 6-4. control word to configure port a for m, Figure 6-5. control word to configure port b for m, Figure 6-4 – National Instruments 6508 PCI-DIO-96 User Manual

Page 60: Figure 6-5

background image

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

1

0

1

0

1/0

X

X

X

D7

D6

D5

D4

D3

D2

D1

D0

1

X

X

X

X

1

X

0