#include <nitro/os.h>
OSIntrMode OS_EnableInterrupts( void );
None.
The state before the function is called. Returns the OSIntrMode_Irq
enum value:
OS_INTRMODE_IRQ_DISABLE | IRQ Disable (prohibited) |
OS_INTRMODE_IRQ_ENABLE | IRQ Enable (permitted) |
This function enables IRQ interrupts. This is the master enable for all interrupts. Even if the IRQ interrupt factor enable is set separately, interrupts will not be generated if IRQ is prohibited with this function.
The return values will be in the status prior to calling this function.
Resets (reset is enabled) the CPSR (current program status register) the IRQ interrupt control bit.
OS_DisableInterrupts, OS_RestoreInterrupts
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