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_GetRequestIrqMask</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">OS_GetRequestIrqMask <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>OSIrqMask OS_GetRequestIrqMask( void );</CODE></dd>
22</dl><h2>Arguments</h2>
23<P>None.</P>
24<h2>Return Values</h2>
25<p>The value of the current IRQ interrupt request register. Refer to the following for more about the IRQ types.</p>
26<p>? <A href="interrupts_list.html">Types of Interrupts</A></p>
27<H2>Description</H2>
28<P>This function obtains the current value of the IRQ interrupt request register.</P>
29<P>If an IRQ interrupt occurs, the bit is set for the IRQ interrupt cause that corresponds to the source of the interrupt. To reset the bit you need, use the <A href="OS_ResetRequestIrqMask.html"><code>OS_ResetRequestIrqMask</code></A> function.</P>
30
31<h2>Internal Operation</h2>
32<p>Reads the IF register (interrupt request register) that is in the I/O register.</p>
33
34<h2>See Also</h2>
35<p><CODE><A href="OS_ResetRequestIrqMask.html">OS_ResetRequestIrqMask</A><br></CODE></p>
36
37<H2>Revision History</H2>
38<P>2008/05/30 Moved the types of interrupts to a separate page.<BR>2005/03/08 Standardized the Japanese term for &quot;interrupt.&quot;<br> 2003/12/01 Initial version.</P>
39<hr><p>CONFIDENTIAL</p></body>
40</html>
41