beautypg.com

Low-level programming – ADLINK ACL-6128A User Manual

Page 27

background image

Low-Level Programming

19

3

Low-Level Programming

This chapter describes low-level programming of the ACL-6128A and details
the register format and control procedures. To write applications based on
primitive I/O functions (inportb and outportb) instead of using the ACL-6128A
library, be careful to fully understand the register structure.

3.1 I/O Port Address Map

The ACL-6128A requires only 4 consecutive addresses in the PC I/O address
space. The following table (Table 3.1) shows the location of each register and
driver relative to the base address.

Location Write

Read

Base + 0

CH1 High Byte Data

Not Used

Base + 1

CH1 Low Byte Data

Not Used

Base + 2

CH2 High Byte Data

Not Used

Base + 3

CH2 Low Byte Data

Not Used

Table 3.1 I/O Register Map