OS_GetRequestIrqMask


C Specification

#include <nitro/os.h>

OSIrqMask OS_GetRequestIrqMask( void );

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.

Arguments

None.

Return Value

The value of the current IRQ interrupt request register.

See Also

OS_ResetRequestIrqMask

Revision History

12/01/2003 Initial version