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_DisableIrq</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">OS_DisableIrq <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 &lt;nitro/os.h&gt;</CODE><BR>
20  <BR>
21  <CODE>BOOL OS_DisableIrq( void );</CODE></dd>
22</dl><h2>Arguments</h2>
23<P>None.</P>
24
25<h2>Return Values</h2>
26<p>The IRQ interrupt enable state before calling this function.</p>
27<p>Enabled if <CODE>TRUE</CODE>; disabled if <CODE>FALSE</CODE>.</p>
28<H2>Description</H2>
29<P>This function disables IRQ interrupts.</P>
30<P>This function manipulates the master enable flag for all IRQ interrupts. Even if IRQ interrupt causes are individually enabled, no IRQ interrupts will occur if the master enable flag is not enabled.</P>
31<P>The returned value is the IRQ interrupt enable state before calling this function. It will display as enabled if <CODE>TRUE</CODE> and disabled if <CODE>FALSE</CODE>.</P>
32
33<h2>Internal Operation</h2>
34<P>Operates the I/O Register's IME (Interrupt Master Enable).</P>
35
36<h2>See Also</h2>
37<p><CODE><A href="OS_GetIrq.html">OS_GetIrq</A>, <A href="OS_EnableIrq.html">OS_EnableIrq</A>, <A href="OS_RestoreIrq.html">OS_RestoreIrq</A><br></CODE></p>
38<H2>Revision History</H2>
39<P>
402005/03/08 Standardized the Japanese term for &quot;interrupt.&quot;<br> 2003/12/01 Initial version.</P>
41<hr><p>CONFIDENTIAL</p></body>
42</html>
43