8 get interrupt status – ADLINK cPCI-7434 User Manual

Page 42

Advertising
background image

34

C/C++ Libraries

5.8 Get Interrupt Status

@ Description

The 7432 and 7433 both have a dual interrupt system. Two interrupt
sources can be generated and be checked by the software. This
function is used to distinguish which interrupt is inserted if both INT1
and INT2 are in use.

@ Syntax

PCI-7432 / cPCI-7432 / cPCI-7432R

C/C++ (DOS)

void _7432_Get_IRQ_Status (U16 cardNo, U16 *int1Status,
U16 *int2Status)

C/C++ (Windows 95)

void W_7432_Get_IRQ_Status (U16 cardNo, U16 *int1Status,
U16 *int2Status)

Visual Basic (Windows 95)

W_7432_Get_IRQ_Status (ByVal cardNo As Integer,
int1Status As Integer, int2Status As Integer)

PCI-7433 / cPCI-7433 / cPCI-7433R

C/C++ (DOS)

void _7433_Get_IRQ_Status (U16 cardNo, U16 *int1Status,
U16 *int2Status)

C/C++ (Windows 95)

void W_7433_Get_IRQ_Status (U16 cardNo, U16 *int1Status,

U16 *int2Status)

Visual Basic (Windows 95)

W_7433_Get_IRQ_Status (ByVal cardNo As Integer,
int1Status As Integer, int2Status As Integer)

@ Argument

cardNo:

card number of selected board

int1Status:

0: interrupt not INT1, 1: interrupt is INT1

int2Status:

0: interrupt not INT2, 1: interrupt is INT2

Advertising
This manual is related to the following products: