7 interrupt source control – ADLINK cPCI-7434 User Manual

Page 41

Advertising
background image

C/C++ Libraries

33

5.7 Interrupt Source Control

@ 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 select and control the 7432/33 interrupt sources by
writing data to the interrupt control register. The interrupt source can be
set as Channel 0 (INT1) and/or channel 1 (INT2) of the digital input
channels.

@ Syntax

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

C/C++ (DOS)

void _7432_Set_INT_Control (U16 cardNo, U16 int1Flag,
U16 int2Flag)

C/C++ (Windows 95)

void W_7432_Set_INT_Control (U16 cardNo, U16 int1Flag,
U16 int2Flag)

Visual Basic (Windows 95)

W_7432_Set_INT_Control (ByVal cardNo As Integer, ByVal
int1Flag As Integer, ByVal int2Flag As Integer)

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

C/C++ (DOS)

void _7433_Set_INT_Control (U16 cardNo, U16 int1Flag,
U16 int2Flag)

C/C++ (Windows 95)

void W_7433_Set_INT_Control (U16 cardNo, U16 int1Flag, U16

int2Flag)

Visual Basic (Windows 95)

W_7433_Set_INT_Control (ByVal cardNo As Integer, ByVal

int1Flag As Integer, ByVal int2Flag As Integer)

@ Argument

cardNo:

card number of selected board

int1Flag:

INT1 setting; 0: disable, 1: enable

int2Flag:

INT2 setting; 0: disable, 1: enable

Advertising
This manual is related to the following products: