beautypg.com

Port a register – National Instruments Low-Cost Multifunction I/O Board for ISA Lab-PC+ User Manual

Page 150

background image

Register Map and Descriptions

Appendix D

Lab-PC+ User Manual

D-34

© 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
in Appendix E, Register-Level Programming, for information on how to configure
Port A for input or output.

Address:

Base address + 10 (hex)

Type:

Read-and-write

Word Size:

8-bit

Bit Map:

7

6

5

4

3

2

1

0

D7

D6

D5

D4

D3

D2

D1

D0

Bit

Name

Description

7-0

D<7..0>

8-bit Port A data.