beautypg.com

ADLINK PCI-8554 User Manual

Page 62

background image

52 • C/C++ Libraries

5.14 _8554_Get_IRQ_Status

@ Description

The cPCI/PCI-8554/R has dual interrupts system. Two interrupt
sources can be generated and be checked by the software. This
function is used to distinguish which interrupt has been inserted if
both INT1 and INT2 interrupts are used.

@ Syntax

C/C++ (DOS)

U16 _8554_Get_IRQ_Status (U16 cardNo, U16 *ch1, U16 *ch2)

C/C++ (Windows 95)

U16 W_8554_Get_IRQ_Status (U16 cardNo, U16 *ch1, U16

*ch2)

Visual Basic (Windows 95)

W_8554_Get_IRQ_Status (ByVal cardNo As Integer, ch1 As

Integer, ch2 As Integer)

@ Arguments

cardNo:

card number to be selected

ch1:

INT1 status; 0: interrupt is not from INT1, 1:
interrupt is from INT1

ch2:

INT2 status; 0: interrupt is not from INT2, 1:
interrupt is from INT2