Technical description Chapter 9
APCI-/CPCI-1500
55
IMPORTANT!
This function is only available for Windows 3.1 and Windows 3.11
3) i_APCI1500_SetBoardIntRoutineWin16 (..)
Syntax:
<Return value> = i_APCI1500_SetBoardIntRoutineWin16
(BYTE b_BoardHandle,
VOID v_FunctionName (BYTE b_BoardHandle,
BYTE b_InterruptMask,
BYTE InputChannelNbr))
Parameters:
- Input:
BYTE
b_BoardHandle
Handle of board
xPCI-1500
VOID
v_FunctionName
Name of the user interrupt routine
- Output:
No output signal has occurred.
Task:
This function must be called up for each
xPCI-1500
on which an interrupt
action is to be enabled. It installs one user interrupt function in all boards on
which an interrupt is to be enabled.
First calling (first board):
- the user interrupt routine is installed
- interrupts are enabled.
If you operate several boards
xPCI-1500
which have to react to interrupts, call
up the function as often as you operate boards
xPCI-1500
. The variable
v_FunctionName
is only relevant
for the first calling
.
From the second call of the function (next board):
- interrupts are allowed.
Interrupt
The user interrupt routine is called up by the system when an interrupt is
generated.
An interrupt is generated when:
- the counter/timer has run down
- an event is generated
- the watchdog has run down