Chapter 2 Register Map and Descriptions
Static DIO Register-Level Programmer Manual
2-4
ni.com
IO Port Data
IOPort(
N
)Data
This register is used to read digital data from or write data to port
N
, where
N
is the port
number in hexidecimal.
Note
Ports can range from 0 to 11 (0x0 to 0xB), depending on your device. For each port,
you must add an additional offset equal to 0x10 time the port number in hex.
Address Offsets:
0x40 + 0x(
N
)0
Type:
Read-write
Size:
8-bit
Bit Map:
Bit
Name
Description
7–0
D(<7..0>)
Read or write digital data at this address.
7
6
5
4
3
2
1
0
D(7)
D(6)
D(5)
D(4)
D(3)
D(2)
D(1)
D(0)