#include <nitro/os.h>
OSIntrMode OS_DisableInterrupts( void );
This function disables the IRQ interrupt. 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.
Sets (set is disabled) the CPSR (current program status register) IRQ interrupt control bit.
None
The state before the function is called. Returns the OSIntrMode
enum value:
OSIntrMode_Irq
|
|
IRQ Disable (prohibit) |
|
|
IRQ Enable (permit) |
OS_EnableInterrupts, OS_RestoreInterrupts
03/04/2004 Removed FIQ from the process
01/14/2004 Included FIQ in the process
12/01/2003 Initial Version