Register-Level Programming Chapter 4
Lab-NB User Manual 4-26 © National Instruments Corporation
Port A Register
Reading the Port A Register returns the logic state of the eight digital I/O lines constituting
port A, that is, PA<0..7>. If port A is configured for output, the Port A Register can be written
to in order to control the eight digital I/O lines constituting port A. See Programming the Digital
I/O Circuitry later in this chapter for information on how to configure port A for input or output.
Address: Slot starting address + 5 0000 (hex)
Type: Read-and-write
Word Size: 8-bit
Bit Map:
76543210
D7 D6 D5 D4 D3 D2 D1 D0
Bit Name Description
7–0 D<7..0> Data Bit—8-bit port A data.