Mode 0-Basic I/O; Table B-4. Mode 0 I/O Configurations - National Instruments PCI-DIO-96 User Manual

96-bit and 24-bit parallel digital i/o interface for pci, pxi, and compactpci
Hide thumbs Also See for PCI-DIO-96:
Table of Contents

Advertisement

Appendix B
Register-Level Programming — Programming
Mode 0—Basic I/O
Use mode 0 for simple I/O functions (no handshaking) for each of the three ports and assign
each port as an input or an output port. Table B-4 shows the 16 possible I/O configurations.
Notice that programming the mode of operation for each port sets bit 7 of the control word.
Control Word
Number
Bit 76543210
0
10000000
1
10000001
2
10000010
3
10000011
4
10001000
5
10001001
6
10001010
7
10001011
8
10010000
9
10010001
10
10010010
11
10010011
12
10011000
13
10011001
14
10011010
15
10011011
Upper nibble of port C
Lower nibble of port C
PCI-DIO-96/PXI-6508/PCI-6503 User Manual

Table B-4. Mode 0 I/O Configurations

Group A
Port A
Port C
Output
Output
Output
Output
Output
Output
Output
Output
Input
Input
Input
Input
Input
Input
Input
Input
B-18
Port B
Output
Output
Output
Output
Output
Input
Output
Input
Input
Output
Input
Output
Input
Input
Input
Input
Output
Output
Output
Output
Output
Input
Output
Input
Input
Output
Input
Output
Input
Input
Input
Input
Group B
Port C
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
ni.com

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-6503Pxi-6508

Table of Contents