# OS_GetRequestIrqMask

## C Specification

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

## Arguments

None.

## Return Values

The value of the current IRQ interrupt request register.

## Description

This function obtains the value of the current IRQ interrupt request register. If an IRQ interrupt occurs, the bit is set for the IRQ interrupt cause that corresponds to the source of the interrupt. To reset the bit you need, use the `OS_ResetRequestIrqMask` function.

## Internal Operation

Reads the IF register (interrupt request register) that is in the IO register.

## See Also

`OS_ResetRequestIrqMask
`

## Revision History

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