ADLINK cPCI-8554/R User Manual
Page 61

C/C++ Libraries • 51
5.13 _8554_Set_INT_Control
@ Description
The cPCI/PCI-8554/R has a dual interrupts system. Two interrupt
sources can be generated and be checked by the software. This
function is used to select and control the cPCI/PCI-8554/R interrupt
sources. The interrupt source can either come from counter 12’s
output, COUT12 (INT1) or from an external interrupt signal EXTINT
(INT2).
@ Syntax
C/C++ (DOS)
U16 _8554_Set_INT_Control (U16 cardNo, U16 int1Flag, U16
int2Flag)
C/C++ (Windows 95)
U16 W_8554_Set_INT_Control (U16 cardNo, U16 int1Flag, U16
int2Flag)
Visual Basic (Windows 95)
W_8554_Set_INT_Control (ByVal cardNo As Integer, ByVal
int1Falg As Integer, ByVal int2Falg As Integer)
@ Arguments
cardNo:
card number to be selected
int1Flag:
INT1 setting; 0: disable, 1: enable
int2Flag:
INT2 setting; 0: disable, 1: enable