4 interrupt control, Interrupt control – ADLINK PCI-8124-C User Manual

Page 48

Advertising
background image

38

Operation Theory

4.4

Interrupt Control

The PCI-8124-C can generate an INT signal to the host PC. Users
have to enable the interrupt service with this function call,
_8124_set_int_factor. On the contrary, the parameter of intFactor
of function is set to 0 to disable the interrupt service.

There are 7 kinds of factors could triggered the PCI-8124-C inter-
rupt. The factors include:

1. PWM:

When PWM received a comparing trigger include manual trig-
ger, it will make an interrupt to host PC.

2. FIFO level:

When the status of FIFO is becoming FIFO level the you set by
the function call “_8124_set_fifo_level”.

3. FIFO empty:

When the FIFO is becoming empty.

4. FIFO full:

When the FIFO is becoming full.

5. LTC:

When the latch counter event is occurred, an interrupt will be
triggered.

6. TTL-IN

When timer is triggered by TTL-IN, an interrupt will be gener-
ated.

7. Linear function

When linear comparing is finish, it will generate an interrupt.

The following table shows the architecture of interrupt factor of
each channel. Notice that the INT factors of last channel (ch 4)
is not the same with the others. It is used to configure the inter-
rupt of linear function.

Advertising