13 interrupt, Name @ description – ADLINK PCI-8124-C User Manual

Page 96

Advertising
background image

86

Function Library

6.13 Interrupt

@ Name

@ Description

_8124_set_int_factor:

This function is used to enable/disable the interrupt source.
Users can use the function, “_8124_wait_single_int” to wait the
specified interrupt. The following table shows the architecture
of interrupt factor of each channel.

(*): reserved bit (set to 0)

_8124_get_int_factor:

This function is used to get current configuration of interrupt
factors in your card.

_8124_wait_single_int:

When the user enabled the interrupt function for specified fac-
tors by “_8124_set_int_factor”, it could use this function to wait
a specific interrupt. When this function was running, the pro-
cess would never stop until the event was be triggered or the

_8124_set_int_factor

Set (Enable) the interrupt factors

_8124_get_int_factor

Get the setting of interrupt factors

_8124_wait_single_int

Wait the single interrupt event

_8124_reset_int

Set the interrupt event to a non-signaled
state

Bit

0

1

2

3

4

5

6

7

8

9

CH

0

PWM0 FIFO0 Level

FIFO0 Empty FIFO_0 Full LTC0

TTL-IN0

-(*)

-

-

-

1

PWM1 FIFO1 Level

FIFO1 Empty

FIFO1 Full

LTC1

TTL-IN1

-

-

-

-

2

PWM2 FIFO2 Level

FIFO2 Empty

FIFO2 Full

LTC2

TTL-IN2

-

-

-

-

3

PWM3 FIFO3 Level

FIFO3 Empty

FIFO3 Full

LTC3

TTL-IN3

-

-

-

-

4

LIN0

LIN1

LIN2

LIN3

LIN4

LIN5

LIN6 LIN7 LIN8 LIN9

Advertising