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.1.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>OS_InitIrqTable</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">OS_InitIrqTable <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> <BR> <CODE>void OS_InitIrqTable( void );</CODE></dd>
20</dl><h2>Arguments</h2>
21<P>None.</P>
22<h2>Return Values</h2>
23<p>None.</p>
24<H2>Description</H2>
25<P>This function initializes the IRQ interrupt table.</P>
26<P>The IRQ interrupt table is a table that is used to register which functions to jump to  when an IRQ interrupt occurs. The table is divided along each IRQ interrupt cause.</P>
27<P>Once this function has been called to initialize the table, functions that do nothing in response to most interrupts will have been set; however, <CODE>DMA</CODE>, <CODE>NEW DMA</CODE>, and <CODE>TIMER</CODE> interrupts register interrupt handlers that are prepared on the OS side. If the user registers a handler for these interrupts, these interrupts will be called from the interrupt handler provided by OS. The user does not need to be aware of this difference. Immediately after <CODE>OS_InitIrqTable()</CODE> is called, it should appear as though nothing is being done for any of the interrupts.</P>
28<P>The user application does not need to call this function because it is called by the <CODE><A href="../init/OS_Init.html">OS_Init</A></CODE> function.</P>
29<h2>See Also</h2>
30<p><A href="OS_SetIrqFunction.html"><code>OS_SetIrqFunction</code></A><BR> <A href="OS_GetIrqFunction.html"><code>OS_GetIrqFunction</code></A></p>
31<H2>Revision History</H2>
32<P>2009/06/03 Explained that calling <CODE>OS_Init</CODE> is now required.<BR> 2005/07/19 Explained that this function is called from <CODE><A href="../init/OS_Init.html">OS_Init</A></CODE>.<br />2005/03/08 Standardized the Japanese word for <I>interrupt</I>.<br /> 2004/03/01 Updated description of operation at initialization.<br /> 2003/12/01 Initial version.</P>
33<hr><p>CONFIDENTIAL</p></body>
34</html>
35