ADLINK PCI-8164 User Manual

Page 242

Advertising
background image

230

Function Library

_8164_enter_isr: (DOS only)
This function is used to inform the system that the process is now
entering interrupt service routine.

_8164_leave_isr: (DOS only)
This function is used to inform the system that the process is now
leaving interrupt service routine.

_8164_get_event_int: (DOS only)
This function is used to get event_int_status.

_8164_get_error_int: (DOS only)
This function is used to get error_int_status.

_8164_get_irq_status: (DOS only)
This function allows user to confirm if the designated card gener-
ates the INT signal to host PC.

_8164_not_my_irq: (DOS only)
This function must be called after the designated card generates
the INT signal to host PC.

_8164_isr0, _8164_isr1, _8164_isr2, _8164_isr3, …..
_8164_isr9
, _8164_isra, _8164_isrb: (DOS only)
Individual Interrupt service routine for cards 0-11.

_8164_set_axis_stop_int:
Enables an axis stop interrupt. Once it is enabled, the interrupt
happens no matter if it is a normal stop or error stop. This interrupt
condition can be turned on or off accompanied with every motion
command by setting _8164_mask_axis_stop_int(). This

kind of interrupt condition is different from
_8164_set_int_factor(). It can be controlled in each motion

command, which is very useful in continuous motion when you
only need a final command interrupt. The interrupt status is in
“event interrupt status” bit 31.

_8164_mask_axis_stop_int:
This function will affect the axis stop interrupt factor which is set by
_8164_set_axis_stop_int().

Advertising