1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>OS_DisableIrqMask</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">OS_DisableIrqMask <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/os.h></CODE><BR> 20 <BR> 21 <CODE>OSIrqMask OS_DisableIrqMask( OSIrqMask intr );</CODE></dd> 22</dl><h2>Arguments</h2> 23<TABLE border="1"> 24 <TBODY> 25 <TR> 26 <TD><B><I>intr</I></B></TD> 27 <TD>The IRQ interrupt cause to be prohibited (expressed as a logical sum)</TD> 28 </TR> 29 </TBODY> 30</TABLE> 31<h2>Return Values</h2> 32<p>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.</p> 33<p><A href="interrupts_list.html">Types of Interrupts</A></p> 34<H2>Description</H2> 35<P>Sets IRQ interrupt parameters. Changes the 'enable' bit of the specified causes from their current setting to 'prohibited'.</P> 36<H3><B><BR> Types of Interrupts</B></H3> 37<P>Specify the interrupt causes to enable using the <B><I>intr</I></B> argument. See below for information on the types of interrupts.</P> 38<P><A href="interrupts_list.html">Types of Interrupts</A></P> 39<H3><B><BR> Example</B></H3> 40<BLOCKQUOTE style="background-color:#ffffd0;"><CODE>// Prohibit both V-Blank and DMA0 interrupts<BR> OS_DisableIrqMask( OS_IE_V_BLANK | OS_IE_DMA0 );</CODE></BLOCKQUOTE> 41<h2>Internal Operation</h2> 42<P>Operates on one of the I/O registers, IE (Interrupt Enable).</P> 43 44<h2>See Also</h2> 45<p><a href="OS_EnableIrqMask.html"><code>OS_EnableIrqMask</code></a>, <a href="OS_SetIrqMask.html"><code>OS_SetIrqMask</code></a></p> 46<H2>Revision History</H2> 47<P>2008/05/30 Moved the types of interrupts to a separate page.<BR>2005/03/08 Standardized the Japanese term for "interrupt."<br> 2003/12/01 Initial version.</P> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50