# OS_GetIrq

## Syntax

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

## Arguments

None.

## Return Values

Returns the current IRQ interrupt permission status.

Enabled if `TRUE`; disabled if `FALSE`.

## Description

This function obtains the current IRQ interrupt permission status.

## Internal Operation

Reads the IME (Interrupt Master Enable) of the I/O registers and returns that value.

## See Also

`OS_EnableIrq, OS_DisableIrq, OS_RestoreIrq
`

## Revision History

2008/03/14 Initial version.

CONFIDENTIAL