OS_DisableIrq

Syntax

#include <nitro/os.h>

BOOL OS_DisableIrq( void );

Arguments

None.

Return Values

The IRQ interrupt enable state before calling this function.

Enabled if TRUE; disabled if FALSE.

Description

This function disables IRQ interrupts.

This function manipulates the master enable flag for all IRQ interrupts. 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 I/O Register's IME (Interrupt Master Enable).

See Also

OS_GetIrq, OS_EnableIrq, OS_RestoreIrq

Revision History

2005/03/08 Standardized the Japanese term for "interrupt."
2003/12/01 Initial version.


CONFIDENTIAL