OS_DisableIrq


C Specification

#include <nitro/os.h>

BOOL OS_DisableIrq( void );

Description

IRQ interrupts are not allowed.

This function handles all IRQ interrupt master enable flags. Even if IRQ interrupt causes are individually enabled, no IRQ interrupts will occur if the master enable flag is not enabled.

The returned value is the IRQ interrupt enable state before calling this function. It will display as enabled if TRUE and disabled if FALSE.

Internal Operation

Operates the IO Register's IME (Interrupt Master Enable).

Arguments

None

Return Value

The IRQ interrupt enable state before calling this function.

See Also

OS_EnableIrq, OS_RestoreIrq

Revision history

12/01/2003 Initial Version