9 interrupt enable – ADLINK PCI-7432 User Manual

Page 43

Advertising
background image

C/C++ Libraries

35

5.9 Interrupt Enable

@ Description

This function is only available to Windows 95 drivers. It is used to
activate the interrupt controller. After calling this function, every time an
interrupt request signal is generated, a software event is signaled.
Please refer to the sample program 7432int.c or 7433int.c.

@ Syntax

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

C/C++ (Windows 95)

U16 W_7432_INT_Enable (U16 cardNo, HANDLE *hEvent)

Visual Basic (Windows 95)

W_7432_INT_Enable (ByVal cardNo As Integer, hEvent As
Long) As Integer

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

C/C++ (Windows 95)

U16 W_7433_INT_Enable (U16 cardNo, HANDLE *hEvent)

Visual Basic (Windows 95)

W_7433_INT_Enable (ByVal cardNo As Integer, hEvent As
Long) As Integer

@ Argument

cardNo :

card number of selected board

hEvent : the address of an array of two handles. HEvent[0]

and hEvent[1] are the events for interrupt signals
INT1 and INT2 respectively.

@ Return Code

ERR_NoError
ERR_BoardNoInit

Advertising
This manual is related to the following products: