Appendix C Register Structure & Format

C.1 Overview

PCM-3780 is delivered with an easy-to-use 32-bit DLL driver for user programming under the Windows 2000/XP operating system. We advise users to program the PCM-3780 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 PCM-3780 at reg- ister level is to understand the function of the card's registers. The infor- mation 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 PCM-3780 requires 64 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.

Table C-1 shows the function of each register of the PCM-3780 or driver and its address relative to the card's base address.

PCM-3780 User Manual

32

Page 40
Image 40
Advantech PCM-3780 manual Appendix C Register Structure & Format, I/O Port Address Map