INTERRUPTS_OFF (Windows Embedded CE 6.0)

1/6/2010

This function disables all interrupts.

Syntax

VOID INTERRUPTS_OFF (void);

Parameters

None.

Return Value

None.

Remarks

This function is available to OEM adapataion layer (OAL) routines so that they can perform critical operations without being interrupted. For example, you can disable interrupts while updating two parts of a device register.

When synchronizing real-time clock (RTC) routines, critical sections should be used instead of interrupts. For more information on critical sections, see Critical Section Objects.

Requirements

Header nkintr.h
Library Nk.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Kernel Functions
INTERRUPTS_ON
INTERRUPTS_ENABLE