#include <nitro/os.h>
OSIrqMask OS_DisableIrqMask( OSIrqMask intr );
intr | The IRQ interrupt cause to be prohibited (expressed as a logical sum) |
Returns the IRQ interrupt cause parameters from before this function was called. See below for information about causes. The return value is the logical sum of the causes that were formerly set.
Sets IRQ interrupt parameters. Changes the 'enable' bit of the specified causes from their current setting to 'prohibited'.
Specify the interrupt causes to enable using the intr argument. See below for information on the types of interrupts.
// Prohibit both V-Blank and DMA0 interrupts
OS_DisableIrqMask( OS_IE_V_BLANK | OS_IE_DMA0 );
Operates on one of the I/O registers, IE (Interrupt Enable).
OS_EnableIrqMask
, OS_SetIrqMask
2008/05/30 Moved the types of interrupts to a separate page.
2005/03/08 Standardized the Japanese term for "interrupt."
2003/12/01 Initial version.
CONFIDENTIAL