# OS_GetIrqMask

## Syntax

  `#include <nitro/os.h>`
  `OSIrqMask OS_GetIrqMask( void );`

## Arguments

None.

## Return Values

The setting for the current IRQ interrupt cause. See below for information about causes. This function returns the logical sum of the enabled causes.

Types of Interrupts

## Description

Obtains the setting for the currently established IRQ interrupt cause

## Internal Operation

Reads IE (Interrupt Enable) of the I/O register and returns that value.

## See Also

`OS_SetIrqMask, OS_EnableIrqMask, OS_DisableIrqMask`

## Revision History

2008/06/18 Moved the types of interrupts to a separate page.
2005/03/08 Unified the Japanese term for "interrupt."
2004/12/08 Added warning about `OS_IE_KEY`.
2004/11/24 Deleted `OS_IE_SIO`.
2004/09/01 Changed "subprocessor" to "ARM7" and "between subprocessors" to "between the ARM7 and ARM9."
2003/12/01 Initial version.

CONFIDENTIAL