#include <nitro/os.h>
OSIntrMode OS_DisableInterrupts( 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) |
IRQ interrupts are not allowed. This disables all interrupt master enables. If IRQs are disabled with this function, no interrupts will occur even if IRQ interrupt causes are individually set to enable.
The return values will be in the status prior to calling this function.
Sets (set is disabled) the CPSR (current program status register) IRQ interrupt control bit.
OS_EnableInterrupts, 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