Appendix c. register structure and format, C.1 o, Verview – Advantech PC-LabCard PCI-1784 User Manual

Page 33: C.2 i/o p, Ddress

Advertising
background image

29

Appendix C. Register Structure and Format

C.1 Overview

The PCI-1784 is delivered with an easy-to-use 32-bit DLL driver for

user programming under the Windows 2000/95/98/NT/ME/XP

operating system. We advise users to program the PCI-1784 using the

32-bit DLL driver provided by Advantech to avoid the complexity of

low-level programming by register.

The most important consideration in programming the PCI-1784 the

register level is to understand the function of the card's registers. The

information in the following sections is provided only for users who

would like to do their own low-level programming.

C.2 I/O Port Address Map

The PCI-1784 requires 32 consecutive addresses in the PC's I/O space.

The address of each register is specified as an offset from the card's

base address. For example, BASE+0 is the card's base address and

BASE+6 is the base address plus six bytes.

The table C-1 shows the function of each register of the PCI-1784 or

driver and its address relative to the card's base address.

Advertising