beautypg.com

Omega Engineering DIGITAL INPUT/OUTPUT PCI-DIO96 User Manual

Page 20

background image

5.4.7

Counter Interrupt Source Configure

BADR3 + 15 hex
READ/WRITE

CTR1

CTRIR

INTEN

X

X

X

X

X

0

1

2

3

4

5

6

7

INTEN

Enables or disabled interrupts. 1 = enabled, 0 = disabled

CTRIR

Enables or disables the counters as an interrupt source. 1 = counters may
generate interrupts. 0 = counters cannot generate interrupts.

CTR1

Controls whether counter 2 is the interrupt source, or counter 1 is the
interrupt source. When CTR1 is set to 1, the interrupt source is counter 2
and counter 1 acts as a prescaler for counter 2. When CTR1 is set to 0,
the interrupt source is counter 1. (Counter 3 is not used.)

17