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

Page 93

Advertising
background image

Operation Theory

83

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 _8154_int_control() to enable if disable the
interrupt service.

There are three kinds of interrupt sources on PCI-8154. 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
_8154_set_motion_int_factor(). Its mask bits are shown as fol-
lowing table:

Advertising