beautypg.com

9 clear interrupt register, 10 timer/counter register, 11 high level programming – ADLINK PCI-7396 User Manual

Page 30

background image

22

• Registers Format

3.9 Clear Interrupt Register

Users can write anything to this register to clear the interrupt request of the
PCI-7396.

Address: BASE + 54h
Attribute: write only
Data Format:

Bit

7

6

5

4

3

2

1

0

BASE+54h

x

x

x

x

x

x

x

x

BASE+55h

x

x

x

x

x

x

x

x

BASE+56h

x

x

x

x

x

x

x

x

BASE+57h

x

x

x

x

x

x

x

x

3.10 Timer/Counter Register

The 8254 chip occupies 4 I/O addresses in the PCI-7396. Please refer to
NEC's or Intel's data sheet for the full description of the 8254 operation.


Address : BASE + 40h ~ BASE + 4Ch
Attribute : read / write
Data Format :

Base + 40h

Bit 7~Bit 0: Counter 0 Register

Base + 44h

Bit 7~Bit 0: Counter 1 Register

Base + 48h

Bit 7~Bit 0: Counter 2 Register

Base + 4Ch

Bit 7~Bit 0: Control Register

3.11 High Level Programming

To operate the PCI-7396 quickly, you can bypass the detailed register
structures and use the high-level application programming interface (API)
directly. The DOS library for Borland C/C++ is included in the ADLINK CD.
Please refer to chapter 5 for more detailed information.