RtDisableInterrupts

RtDisableInterrupts disables all interrupts at the processor level including timer interrupts.

Syntax

Copy
BOOL RtDisableInterrupts(VOID);

Return Value

Always returns TRUE.

Remarks

To minimize latencies for higher priority threads, RtEnableInterrupts should be called as soon as possible after RtDisableInterrupts.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Rtapi.h rtkrnl.lib

See Also: