Technical description Chapter 9
APCI-/CPCI-1500
59
IMPORTANT!
This function is only available for Windows NT and Windows 2000/9x.
4) i_APCI1500_SetBoardIntRoutineWin32 (..)
Syntax:
<Return value> = i_APCI1500_SetBoardIntRoutineWin32
(BYTE b_BoardHandle,
BYTE b_UserCallingMode,
ULONG ul_UserSharedMemorySize,
VOID ** ppv_UserSharedMemory,
VOID v_FunctionName (BYTE
b_BoardHandle,
BYTE
b_InterruptMask,
BYTE
b_InputChannelNbr,
BYTE
b_UserCallingMode,
VOID * pv_UserSharedMemory))
Parameters:
- Input:
BYTE
b_BoardHandle
Handle of board
xPCI-1500
BYTE
b_UserCallingMode
APCI1500_SYNCHRONOUS_MODE:
The user routine is directly called by the
driver
interrupt
routine.
APCI1500_ASYNCHRONOUS_MODE:
The user routine is called by the driver
interrupt
thread.
VOID
v_FunctionName
Name of the user interrupt routine
ULONG ul_UserSharedMemorySize Determines the size in bytes of the user
shared memory.
Only used if you have selected
APCI1500_SYNCHRONOUS_MODE
- Output:
VOID ** ppv_UserSharedMemory
User shared memory address
Only used if you have selected
APCI1500_SYNCHRONOUS_MODE.