13 get irq status – CyberResearch PCIDIO 48H User Manual

Page 53

Advertising
background image

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.

Advertising
This manual is related to the following products: