INtime SDK Help
GetRtInterruptLevel
INtime SDK v7 > About INtime > INtime Kernel > Interrupts > GetRtInterruptLevel

GetRtInterruptLevel

Returns to the calling thread the highest (numerically lowest) level that an interrupt handler has started servicing but has not yet finished. GetRtInterruptLevel can be called only by an interrupt handler.

WORD GetRtInterruptLevel(VOID);

Return Values

Success
A valid encoded interrupt level value representing the highest level that the calling interrupt handler has started servicing.
Failure
An undetermined result if this call is not made from within an interrupt handler context.

Status

E_OK 0x0000
No exceptional conditions occurred.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also