beautypg.com

Digital input register – National Instruments PC-LPM-16/PnP User Manual

Page 97

background image

Appendix D Register-Level Programming

National Instruments Corporation

D-25

PC-LPM-16/PnP User Manual

Digital Input Register

Read the Digital Input Register to return the logic state of the I/O connector’s eight
digital input lines.

Address:

Base address + 05 (hex)

Type:

Read-only

Word Size:

8-bit

Bit Map:

Bit

Name

Description

7–0

D<7..0>

8-Bit Input Data Bit—These eight bits represent the
logic state of the digital input lines DIN 0 through
DIN 7.

7

6

5

4

3

2

1

0

D7

D6

D5

D4

D3

D2

D1

D0

a.Book : l.Appendix D Page 25 Wednesday, November 20, 1996 6:36 PM