xPCI-1710 API
xPCI-1710 interrupt management functions

Functions

_INT_ i_PCI1710_SetBoardIntRoutine (HANDLE h_DeviceHandle, void(far pascal *v_FunctionName)(HANDLEh_DeviceHandle, DWORDdw_Status, DWORDdw_InterruptSource, DWORDdw_InterruptMask, DWORDdw_ArgsSize, PDWORD pdw_Args))
 
_INT_ i_PCI1710_ResetBoardIntRoutine (HANDLE h_DeviceHandle)
 

Detailed Description

Function Documentation

_INT_ i_PCI1710_SetBoardIntRoutine ( HANDLE  h_DeviceHandle,
void(far pascal *v_FunctionName)(HANDLEh_DeviceHandle, DWORDdw_Status, DWORDdw_InterruptSource, DWORDdw_InterruptMask, DWORDdw_ArgsSize, PDWORD pdw_Args)   
)

Install an interrupt callback function.

Parameters
[in]h_DeviceHandleHandle of the board
[in]v_FunctionNameAddress of the callback function
dw_Status : D0 : Interrupt FIFO Overflow Status, 0: no overflow, 1: overflow
dw_InterruptSource = b_ModuleMask of the 32 bits driver
Module Source
0 0x1
1 0x2
2 0x4
3 0x8
dw_InterruptMask = dw_InterruptMask of the 32 bits driver
pdw_Args[0] = dw_CounterLatchValue of the 32 bits driver
Returns
> 0 : Warning
0 : No Error
-1 : The device handle parameter is wrong
_INT_ i_PCI1710_ResetBoardIntRoutine ( HANDLE  h_DeviceHandle)

Deinstall the interrupt callback function.

Parameters
[in]h_DeviceHandleHandle of the board
Returns
> 0 : Warning
0 : No Error
-1 : The device handle parameter is wrong