Registers Format
•
15
Table 3.1 Register Map
The PCI-7396 has 2/4 PPIs on board. Each PPI contains 5 registers,
including Digital Data Registe r, Control Register, External Trigger
Enable Register, External Trigger Disable Register, and COS Interrupt
Control Register.
In the following sections, the 5 registers of PPI1 will be introduced
respectively. The registers of the other 3 PPIs are of the same
configuration which will not be repeated in this manual.
3.3
Digital Data Registers
The 24-bit I/O data of the PCI-7396 is accessed from/to this register by
software. The digital data can also be read back through this register.
Address: BASE + 00h
Attribute:
read and write
Data Format:
Bit
7
6
5
4
3
2
1
0
BASE+ 00h P1A7 P1A6 P1A5
P1A4 P1A3 P1A2 P1A1 P1A0
BASE+ 01h P1B7 P1B6 P1B5
P1B4 P1B3 P1B2 P1B1 P1B0
BASE+ 02h P1C7 P1C6 P1C5 P1C4 P1C3 P1C2 P1C1 P1C0
BASE+ 03h
X
X
X
X
X
X
X
X
P1X7~P1X0: Digital I/O data X:A~C.
3.4
Control Register
Each PPI’s control register is used to set its three ports to be as input
or output one independently.
Address: BASE + 04h
Attribute:
write only
Data Format:
Bit
7
6
5
4
3
2
1
0
BASE+ 04h
x
x
x
x
x
P1C
P1B
P1A
BASE+ 05h
x
x
x
x
x
x
x
x
BASE+ 06h
x
x
x
x
x
x
x
x
Содержание NuDAQ DIN-96DI
Страница 1: ...NuDAQ P C I 7 3 9 6 DIN 96DI DIN 96DO 96 CH Digital I O Cards U s e r s G u i d e ...
Страница 2: ......
Страница 16: ...8 Installation 2 3 PCI 7396 Layout Figure 2 1 PCI 7396 Layout ...
Страница 24: ...16 Registers Format BASE 07h x x x x x x x x P1n n port number Set to be 0 for input port 1 for output port ...