# OS_GetRequestIrqMask

## Syntax

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

## Arguments

None.

## Return Values

The value of the current IRQ interrupt request register. Refer to the following for more about the IRQ types.

Types of Interrupts

## Description

This function obtains the current value of the 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 I/O register.

## See Also

`OS_ResetRequestIrqMask
`

## Revision History

2008/05/30 Moved the types of interrupts to a separate page.
2005/03/08 Standardized the Japanese term for "interrupt."
2003/12/01 Initial version.

CONFIDENTIAL