beautypg.com

ADLINK PCI-7396 User Manual

Page 48

background image

40

• C/C++ Libraries

5.8 _7396_INT_Source_Control

@ Description

The PCI-7396 has dual interrupts system, two interrupt sources can be
generated and be checked by software. This function is used to select and
control PCI-7396’s interrupt sources by writing associated data to interrupt
control register.

@ Syntax

C/C++ (DOS)

void _7396_INT_Source_Control (U16 cardNo, U16 c1, U16 c2)

C/C++ (Windows 95)

void W_7396_INT_Source_Control (U16 cardNo, U16 c1, U16 c2)

Visual Basic (Windows 95)

W_7396_INT_Source_Control (ByVal cardNo As Integer, ByVal c1 As

Integer, ByVal c2 As Integer)

@ Argument

cardNo :

The card number of PCI7396 card initialized.

c1 :

INT1# interrupt source

c2 :

INT2# interrupt source

For the C1,C2 settings, please refer to Table3.3.1

@ Return Code

ERR_NoError