beautypg.com

ADLINK PCI-7258 User Manual

Page 36

background image

28

• C/C++ Libraries

5.9 _7258_CLR_IRQ

@ Description

This function is used to clear the interrupt request.

@ Syntax

U16 _7258_CLR_IRQ (U16 boardID)

@ Argument

boardID:

Board ID for the specific board.

@ Return Code

ERR_NoError, ERR_BoardNoInit

5.10 _7258_GET_IRQ_Status

@ Description

This function is used to obtain the interrupt status.

@ Syntax

U16 _7258_GET_IRQ_Status (U16 boardID, U16 *int1Status, U16
*int2Status)

@ Argument

boardID:

Board ID for the specific board.

Int1Status: interrupt source 0 status, “1” represents interrupt request assert

and “0” represents interrupt request de-assert.

Int2Status: interrupt source 1 status, “1” represents interrupt request assert

and “0” represents interrupt request de-assert.

@ Return Code

ERR_NoError, ERR_BoardNoInit