MIL-STD-1553 Reference Manual
Chapter 3 – System Functions
3.1.26 ApiCmdTimerIntrCheck
Prototype:
AiInt16 ApiCmdTimerIntrCheck ( AiUInt32 ul_ModuleHandle, AiUInt8 tmr,
AiUInt32 *stat );
Driver Command:
API_TIMER_INTR_STATUS (0x3B)
Purpose:
This function is used to read the interrupt status of the selected Software Timer. (refer
to function ApiCmdPSCTimerCon).
Note: this function is not supported for all boards. Please see Table B-III – Function
Support By Boards With ASP for details
Input
Timer number
Output
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
*
*
s
s
t
t
a
a
t
t
Interrupt counter, number of occurred Timer interrupt events between
two consecutive calls of this function
No interrupt event occured
Count of interrupt events (set to 0 after
calling this function !)
Return Value
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.
Note: The number of valid Timer Interrupt events is equal to the returned stat value.
The number of interrupt events is cleared with every call of this function.