<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: drivers/hcs12/interrupt.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="dir_d58fb241e647de6212c31ecccf9cbace.html">drivers</a> » <a class="el" href="dir_db1ed8bc1b9755aa465fb1d5c578dab2.html">hcs12</a></div>
<h1>interrupt.c File Reference</h1><code>#include "../include/data.h"</code><br>
<code>#include "../include/hcs12/applicfg.h"</code><br>
<code>#include "../include/hcs12/error.h"</code><br>
<code>#include "../include/hcs12/candriver.h"</code><br>
<code>#include "../include/hcs12/asm-m68hc12/regs.h"</code><br>
<code>#include "../include/hcs12/asm-m68hc12/portsaccess.h"</code><br>
<code>#include "../include/hcs12/asm-m68hc12/ports_def.h"</code><br>
<code>#include "../include/hcs12/asm-m68hc12/ports.h"</code><br>
<code>#include "../include/hcs12/interrupt.h"</code><br>
<p>
Include dependency graph for interrupt.c:<p><center><img src="interrupt_8c__incl.png" border="0" usemap="#drivers/hcs12/interrupt.c_map" alt=""></center>
<p>
<a href="interrupt_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#eb99ff49b4a6d5157416f9b5bd0d9c2c">lock</a> (void)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#987ce601d6d4c8eedd68b58db3b7811a">unlock</a> (void)</td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile char </td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#9c5b421f784338eb10343d2724c56706">msgRecu</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile <a class="el" href="structMessage.html">Message</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#d91f20f7aab1f9071e2378a8696db736">canMsgRcv</a></td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="eb99ff49b4a6d5157416f9b5bd0d9c2c"></a><!-- doxytag: member="interrupt.c::lock" ref="eb99ff49b4a6d5157416f9b5bd0d9c2c" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void lock </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Disable interrupts
<p>
Definition at line <a class="el" href="interrupt_8c-source.html#l00049">49</a> of file <a class="el" href="interrupt_8c-source.html">interrupt.c</a>.
<p>
References <a class="el" href="regs_8h.html#b1b104e72affb247e036289d0fc18ac7">__asm__()</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00079">initTimer()</a>, and <a class="el" href="appli_8c-source.html#l00383">main()</a>.
<p>
Here is the call graph for this function:<p><center><img src="interrupt_8c_eb99ff49b4a6d5157416f9b5bd0d9c2c_cgraph.png" border="0" usemap="#interrupt_8c_eb99ff49b4a6d5157416f9b5bd0d9c2c_cgraph_map" alt=""></center>
<map name="interrupt_8c_eb99ff49b4a6d5157416f9b5bd0d9c2c_cgraph_map">
<area href="regs_8h.html#b1b104e72affb247e036289d0fc18ac7" shape="rect" coords="105,6,183,30" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="987ce601d6d4c8eedd68b58db3b7811a"></a><!-- doxytag: member="interrupt.c::unlock" ref="987ce601d6d4c8eedd68b58db3b7811a" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void unlock </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Enable interrupts
<p>
Definition at line <a class="el" href="interrupt_8c-source.html#l00057">57</a> of file <a class="el" href="interrupt_8c-source.html">interrupt.c</a>.
<p>
References <a class="el" href="regs_8h.html#b1b104e72affb247e036289d0fc18ac7">__asm__()</a>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00079">initTimer()</a>, and <a class="el" href="appli_8c-source.html#l00383">main()</a>.
<p>
Here is the call graph for this function:<p><center><img src="interrupt_8c_987ce601d6d4c8eedd68b58db3b7811a_cgraph.png" border="0" usemap="#interrupt_8c_987ce601d6d4c8eedd68b58db3b7811a_cgraph_map" alt=""></center>
<map name="interrupt_8c_987ce601d6d4c8eedd68b58db3b7811a_cgraph_map">
<area href="regs_8h.html#b1b104e72affb247e036289d0fc18ac7" shape="rect" coords="121,6,199,30" alt="">
</map>
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="d91f20f7aab1f9071e2378a8696db736"></a><!-- doxytag: member="interrupt.c::canMsgRcv" ref="d91f20f7aab1f9071e2378a8696db736" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile <a class="el" href="structMessage.html">Message</a> <a class="el" href="interrupt_8c.html#d91f20f7aab1f9071e2378a8696db736">canMsgRcv</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="9c5b421f784338eb10343d2724c56706"></a><!-- doxytag: member="interrupt.c::msgRecu" ref="9c5b421f784338eb10343d2724c56706" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile char <a class="el" href="interrupt_8c.html#9c5b421f784338eb10343d2724c56706">msgRecu</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:42 2007 for CanFestival by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>