#include <nitro/os.h>
OSIntrMode OS_EnableInterrupts_IrqAndFiq( void );
None.
The state before the function is called. This is the logical sum of OSIntrMode_Irq
enum value and OSIntrMode_Fiq
enum value.
OS_INTRMODE_IRQ_DISABLE | IRQ Disable (prohibited) |
OS_INTRMODE_IRQ_ENABLE | IRQ Enable (permitted) |
Returns the OSIntrMode_Fiq
enum value:
OS_INTRMODE_FIQ_DISABLE | FIQ Disable (prohibited) |
OS_INTRMODE_FIQ_ENABLE | FIQ Enable (permitted) |
This function enables the IRQ and FIQ 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.
The CPSR register (current program status register) IRQ and FIQ interrupt control bits are reset (the reset is enabled).
OS_DisableInterrupts_IrqAndFiq, OS_RestoreInterrupts_IrqAndFiq, OS_EnableInterrupts
03/08/2005 Standardized the Japanese word for "interrupt".
03/04/2004 Transition from OS_EnableInterrupts.