Standard software
10.2.2 Interrupt
I
IMPORTANT!
This function is only available for C/C++ and Pascal for DOS
1)
i_PA1500_SetBoardIntRoutineDos (..)
Syntax:
<Return value> = i_PA1500_SetBoardIntRoutineDos
Parameters:
- Input:
BYTE
b_BoardHandle
BYTE
b_InterruptNbr
VOID
v_FunctionName
- Output:
No output signal has occurred
Task:
This function must be called up for each PA 1500 on which an interrupt
action is to be enabled.
First calling (first board):
the user interrupt routine is installed
-
interrupts are enabled.
-
If you operate several boards PA 1500 which have to react to interrupts, call
up the function as often as you operate boards PA 1500.
The variable v_FunctionName is only relevant for the first calling.
From the second call of the function (next board):
- interrupts are enabled. The first board can receive IRQs.
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
-
44
(BYTE
b_BoardHandle,
BYTE
b_InterruptNbr,
VOID
v_FunctionName
(BYTE
BYTE
BYTE
Handle of board PA 1500
PA 1500 interrupt number
(3, 5, 10, 11, 12, 14 or 15)
Name of the user interrupt routine
b_BoardHandle,
b_InterruptMask
b_InputChannelNbr))
PA 1500
Need help?
Do you have a question about the ADDINUM PA 1500 and is the answer not in the manual?
Questions and answers