HP (Hewlett-Packard) PCI-9111DG/HR Manual De Usuario

Descargar
Página de 83
C/C++ Library 
55 
5.32  _9111_INT_Source_Control  
@ Description 
The PCI-9111 has dual interrupts system, two interrupt sources can be 
generated and be checked by the software. This function is used to select 
and control PCI-9111 interrupt sources by writing data to interrupt control 
register. Please refer to section 5.2 for detailed description of 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: 
the value to control INT1, the value can be set and the 
corresponding definition is the following: 
int1Ctrl: 
0:  INT1 disable  
 
1:  INT1 AD end of conversion (EOC)   interrupt  
 
2:  INT1 FIFO half full  
int2Ctrl: 
the value to control INT2, the value can be set and the 
corresponding definition is the following: 
int2Ctrl:  0:  INT2 disable 
 
1:  INT2 pacer timer interrupt 
 
2:  INT2 external interrupt source 
@ Return Code  
None