32
•
C/C++ Libraries
5.6 Interrupt Relative Functions
5.6.1 _723X_Set_INT_Control
@ Description
The PCI-7230/PCI-7233 is equipped with dual interrupts system, two
interrupt sources can be generated and be checked by the software. This
function is used to select and control PCI-7230/PCI-7233 interrupt
sources by writing data to interrupt control register. For PCI-7230, the
interrupt sources can be set as from channel 0 (INT1) or channel 1 (INT2)
of digital input channel. For PCI-7233, the interrupt source can be set as
from Channel 0 ~15 changing (INT1) or channel 16 ~ 31 changing (INT2)
of digital input channels. Only one of interrupt sources can be set as
enable.
@ Syntax
C/C++ (DOS)
void _7230_Set_INT_Control (U16 cardNo, U16 int1Flag, U16
int2Flag)
void _7233_Set_INT_Control (U16 cardNo, U16 int1Flag, U16
int2Flag)
C/C++ (Windows 95)
void W_7230_Set_INT_Control (U16 cardNo, U16 int1Flag, U16
int2Flag)
void W_7233_Set_INT_Control (U16 cardNo, U16 int1Flag, U16
int2Flag)
Visual Basic (Windows 95)
W_7230_Set_INT_Control (ByVal cardNo As Integer, ByVal
int1Flag As Integer, ByVal int2Flag As Integer)
W_7233_Set_INT_Control (ByVal cardNo As Integer, ByVal
int1Flag As Integer, ByVal int2Flag As Integer)
@ Argument
cardNo
:
card number to select board.
int1Flag :
INT1 setting; 0: disable, 1: enable.
int2Flag :
INT2 setting; 0: disable, 1: enable.
@ Return Code:
None