SysIntLevel (FUN)

FUNCTION SysIntLevel : RTS_IEC_RESULT

<description> This function checks if the processor is actually executing an ISR. This information is necessary, as some functions of an operating system must not be called within the interrupt level. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library):

<ul>

<li>ERR_OK: We are still in an interrupt handler</li> <li>ERR_FAILED: not in interrupt context</li>

</ul>

</p></result>

InOut:

Scope

Name

Type

Return

SysIntLevel

RTS_IEC_RESULT