8 interrupt control, Interrupt control – ADLINK PCI-8158 User Manual

Page 90

Advertising
background image

80

Operation Theory

Our motion library has a series of functions to know the actual
speed profile of the command from users.

4.8 Interrupt Control

The motion controller can generate an interrupt signal to the host
PC. It is much useful for event-driven software application. Users
can use this function _8158_int_control() to enable or disable the
interrupt service.

There are three kinds of interrupt sources on PCI-8158. One is
motion interrupt source and the other is error interrupt source and
another is GPIO interrupt sources. Motion and GPIO interrupt
sources can be maskable but error interrupt sources can’t. Motion
interrupt sources can be maskable by
_8158_set_motion_int_factor(). Its mask bits are shown as follow-
ing table:

Advertising