User`s guide

76 C/C++ Library
5.32 _9111_INT_Source_Control
@ Description
The PCI-9111 has a dual interrupt system, two interrupt sources can be
generated and be checked by the software. This function is used to select
and control the PCI-9111’s interrupt sources by writing data to the
interrupt control register. Refer to section 5.2 for details of the interrupt
system.
@ Syntax
C/C++ (DOS)
void _9111_INT_Source_Control (U16 cardNo, U16 int1Ctrl, U16
int2Ctrl)
C/C++ (Windows 95)
void W_9111_INT_Source_Control (U16 cardNo, U16 int1Ctrl, U16
int2Ctrl)
Visual Basic (Windows 95)
W_9111_INT_Source_Control (ByVal cardNo As Integer, ByVal
int1Ctrl As Integer, ByVal int2Ctrl As Integer)
@ Argument
cardNo: the card number of PCI-9111 card initialized.
int1Ctrl: Values to control INT1, possible values are defined below:
0:INT1 disable
1:INT1 AD end of conversion (EOC) interrupt
2:INT1 FIFO half full
int2Ctrl: Values to control INT2, possible values are defined below:
0: INT2 disable
1:INT2 pacer timer interrupt
2:INT2 external interrupt source
3:INT2 pre-trigger counter reaches to 0 (Only supported with
hardware version B2, refer to section 3.10 for details)
@ Return Code
None