INtime SDK Help
EnterRtInterrupt
INtime SDK v7.1 > About INtime > INtime Kernel > Interrupts > EnterRtInterrupt

Loads the correct data segment register for the RT process that called SetRtInterruptHandler. This allows the interrupt handler to have access to static data that belongs to that process.

BOOLEAN EnterRtInterrupt(
    WORD wLevel
);

Parameters

wLevel
Encoded interrupt level

Remarks

You must call GetRtInterruptLevel to determine that value of wLevel. You cannot look up a global variable that contains wLevel until EnterRtInterrupt has been called.

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_OK 0x0000
No exceptional conditions occurred.
E_CONTEXT 0x0005
The specified level is not initialized.

Requirements

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