14 clear irq, 15 software reset – ADLINK cPCI-7249R User Manual

Page 53

Advertising
background image

C/C++ Libraries 45

5.14 Clear IRQ

@ Description

This function is used to clear the interrupt generated from the 7248/96
series.

@ Syntax

C/C++ (DOS)

void _7248_CLR_IRQ(U16 cardNo);

void _7249_CLR_IRQ(U16 cardNo);

void _7296_CLR_IRQ(U16 cardNo);

C/C++ (Windows 95)

void W_7248_CLR_IRQ(U16 cardNo);

void W_7249_CLR_IRQ(U16 cardNo);

void W_7296_CLR_IRQ(U16 cardNo);

Visual Basic (Windows 95)

W_7248_CLR_IRQ (ByVal cardNo As Integer);

W_7249_CLR_IRQ (ByVal cardNo As Integer);

W_7296_CLR_IRQ (ByVal cardNo As Integer);

@ Argument

cardNo:

card number to select board

5.15 Software Reset

@ Description

This function is used to reset the I/O port configuration. After reset PCI-
7224/7248/7296, all the ports will be set as input ports. Note that this
function can not re-start the PCI bus and all the hardware setting won‘t be
change either.

@ Syntax
PCI-7224/7248, CPCI-7248:

C/C++ (DOS)

U16 _7248_Software_Reset (U16 cardNo)

U16 _7249_Software_Reset (U16 cardNo)

U16 _7296_Software_Reset (U16 cardNo)

C/C++ (Windows 95)

U16 W_7248_Software_Reset (U16 cardNo)

U16 W_7249_Software_Reset (U16 cardNo)

U16 W_7296_Software_Reset (U16 cardNo)

Advertising
This manual is related to the following products: