
Control Programming
•
21
Config.
Value
D4
D3
D1
D0
PORTA
PORT C
UPPER
PORT B
PORT C
LOWER
80H
0
0
0
0
O/P
O/P
O/P
O/P
81H
0
0
0
1
O/P
O/P
O/P
I/P
82H
0
0
1
0
O/P
O/P
I/P
O/P
83H
0
0
1
1
O/P
O/P
I/P
I/P
88H
0
1
0
0
O/P
I/P
O/P
O/P
89H
0
1
0
1
O/P
I/P
O/P
I/P
8AH
0
1
1
0
O/P
I/P
I/P
O/P
8BH
0
1
1
1
O/P
I/P
I/P
I/P
90H
1
0
0
0
I/P
O/P
O/P
O/P
91H
1
0
0
1
I/P
O/P
O/P
I/P
92H
1
0
1
0
I/P
O/P
I/P
O/P
93H
1
0
1
1
I/P
O/P
I/P
I/P
98H
1
1
0
0
I/P
I/P
O/P
O/P
99H
1
1
0
1
I/P
I/P
O/P
I/P
9AH
1
1
1
0
I/P
I/P
I/P
O/P
9BH
1
1
1
1
I/P
I/P
I/P
I/P
Table 3.1 Summarize of control word (D0 - D4) and mode state
(Mode 0 - Mode 15)
3.3 Register Structure
The PET-48DIO needs two bytes of I / O address to operate, the first
byte is ports'
index select
and the second byte is ports'
data
read/write
.
Index
Select:
The register is used to define the index of I/O ports.
You have to define this value before you read or write
data to the I/O port of PET-48DIO. Please refer the I/O
port's index values in table 3.2.
Data Read/
Write :
This register is used to read or write data to the
correspond I/O port which you have defined in the
Index Select
register.
Содержание PET-48DIO
Страница 1: ...NuDAQ PET 48DIO Programmable 48 bit DIO Event and Timer Cards User s Guide...
Страница 2: ......