CyberResearch PCIDIO 24H Computer Hardware User Manual


 
44 C/C++ Libraries
5.13 Get IRQ Status
@ Description
This function is used to read back the status of interrupt when interrupt
is inserted.
@ Syntax
C/C++ (DOS)
void _DIO48H_Get_IRQ_Status(U16 cardNo, U16
*int1Status, U16 *int2Status);
void _DIO96H_Get_IRQ_Status(U16 cardNo, U16
*int1Status, U16 *int2Status);
C/C++ (Windows 95)
void W_DIO48H_Get_IRQ_Status(U16 cardNo, U16
*int1Status, U16 *int2Status);
void W_DIO96H_Get_IRQ_Status(U16 cardNo, U16
*int1Status, U16 *int2Status);
Visual Basic (Windows 95)
W_DIO48H_Get_IRQ_Status (ByVal cardNo As Integer,
int1Status As Integer, int2Status As Integer);
W_DIO96H_Get_IRQ_Status (ByVal cardNo As Integer,
int1Status As Integer, int2Status As Integer);
@ Argument
cardNo: card number to select board
int1Status: the status of INT1,
int1Status = 0 à no interrupt
int1Status = 1 à interrupt 1 inserted
int2Status: the status of INT2
int2Status = 0 à no interrupt
int2Status = 1 à interrupt 2 inserted
Please refer to section 4.3 for detailed description.