# OS_DisableIrq

## C Specification

  `#include <nitro/os.h>`
  `BOOL OS_DisableIrq( void );`

## Arguments

None.

## Return Values

The IRQ interrupt enable state before calling this function.

## 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).

## See Also

`OS_EnableIrq, OS_RestoreIrq`

## Revision History

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