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

Enables a specific interrupt level which must have an interrupt handler assigned to it.

BOOLEAN EnableRtInterrupt (
    WORD wLevel
);

Parameters

wLevel
Encoded interrupt level

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_CONTEXT 0x0005
One or more of these conditions exist:
  • A non-interrupt thread tried to enable an already-enabled level.
  • The specified level has no interrupt handler assigned.
  • An interrupt overflow on the specified level exists.
E_PARAM 0x8004
wLevel contains an invalid value.

Requirements

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