#include <nitro/os.h>
OSIntrMode OS_GetCpsrIrq( void );
None.
Returns a value that indicates the current IRQ interrupt status.
The type of the return value is OSIntrMode
(a u32
typedef), but the values that can be returned will be one of the OSIntrMode_Irq
enumerated type values below.
Value | Current state |
---|---|
OS_INTRMODE_IRQ_DISABLE |
IRQ Disable (prohibited) |
OS_INTRMODE_IRQ_ENABLE |
IRQ Enable (permitted) |
Gets the current IRQ interrupt status.
Reads the control bit of the IRQ interrupt from CPSR (current program status register).
OS_EnableInterrupts
OS_DisableInterrupts
2005/03/08 Standardized Japanese term for "interrupt."
2004/01/14 Changed function name from OS_GetInterrupts
.
2003/12/01 Initial version
CONFIDENTIAL