#include <nitro/os.h>
OSIntrMode OS_RestoreInterrupts( OSIntrMode state );
state | Interrupt status set up (OSIntrMode itself is a u32 typedef) |
The state before the function is called. The OSIntrMode_Irq
enum values are:
OS_INTRMODE_IRQ_DISABLE | IRQ Disable (prohibited) |
OS_INTRMODE_IRQ_ENABLE | IRQ Enable (permitted) |
This function sets the interrupt state. It takes the interrupt state given by the argument. The state is given in OSIntrMode_Irq
list format. This function will primarily be used to restore the previous state as indicated by the return values for OS_EnableInterrupts()
and OS_DisableInterrupts()
.
They are most likely useful for returning to the previous status.
Sets/resets the CPSR (current program status register) IRQ interrupt control bit.
OS_EnableInterrupts, OS_DisableInterrupts
03/08/2005 Standardized the Japanese term for "interrupt."
03/04/2004 Changed so FIQ is not included in processing.
01/14/2004 Changed so FIQ is included in processing.
12/01/2003 Initial version