8 set interrupt control – ADLINK PCI-7224 User Manual
Page 50
![background image](/manuals/733403/50/background.png)
42
• C/C++ Libraries
5.8 Set Interrupt Control
@ Description
This function is used to set the interrupt configuration. The interrupt
should be configured before the function starts.
@ Syntax
C/C++ (DOS)
void _7248_Set_INT_Control(U16 cardNo, U16 ctrlValue);
void _7249_Set_INT_Control(U16 cardNo, U16 ctrlValue);
void _7296_Set_INT_Control(U16 cardNo, U16 ctrlValue);
C/C++ (Windows 95)
void W_7248_Set_INT_Control(U16 cardNo, U16 ctrlValue);
void W_7249_Set_INT_Control(U16 cardNo, U16 ctrlValue);
void W_7296_Set_INT_Control(U16 cardNo, U16 ctrlValue);
Visual Basic (Windows 95)
W_7248_Set_INT_Control (ByVal cardNo As Integer, ByVal
ctrlValue As Integer)
W_7249_Set_INT_Control (ByVal cardNo As Integer, ByVal
ctrlValue As Integer)
W_7296_Set_INT_Control (ByVal cardNo As Integer, ByVal
ctrlValue As Integer)
@ Argument
cardNo:
Card number to select board
ctrlValue:
The valid values of configuring the interrupt
are
INT1:
0x00
Æ disable
0x01
Æ mode1
0x02
Æ mode2
0x03
Æ mode3
INT2:
0x00
Æ disable
0x04
Æ mode1
0x08
Æ mode2
0x0c
Æ mode3
Please refer to the section 4.3.4 for detailed description.