<!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_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_2d4bff0e9225ea81eb175e376cee668f.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#a86d31d31831be20de69b1533b4acc5b">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#8704c06a2936e68f7c25dc0c1d335cca">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#82f85514c94b93d15115bdfc37d97a9c">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#4e6c77881895c0ebe596db34649d642d">canMsgRcv</a></td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="a86d31d31831be20de69b1533b4acc5b"></a><!-- doxytag: member="interrupt.c::lock" ref="a86d31d31831be20de69b1533b4acc5b" 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#d28436d08fab91f8bebd7fd082b3f757">__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_a86d31d31831be20de69b1533b4acc5b_cgraph.png" border="0" usemap="#interrupt_8c_a86d31d31831be20de69b1533b4acc5b_cgraph_map" alt=""></center>
<map name="interrupt_8c_a86d31d31831be20de69b1533b4acc5b_cgraph_map">
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="99,5,168,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="8704c06a2936e68f7c25dc0c1d335cca"></a><!-- doxytag: member="interrupt.c::unlock" ref="8704c06a2936e68f7c25dc0c1d335cca" 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#d28436d08fab91f8bebd7fd082b3f757">__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_8704c06a2936e68f7c25dc0c1d335cca_cgraph.png" border="0" usemap="#interrupt_8c_8704c06a2936e68f7c25dc0c1d335cca_cgraph_map" alt=""></center>
<map name="interrupt_8c_8704c06a2936e68f7c25dc0c1d335cca_cgraph_map">
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="112,5,181,32" alt="">
</map>
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="4e6c77881895c0ebe596db34649d642d"></a><!-- doxytag: member="interrupt.c::canMsgRcv" ref="4e6c77881895c0ebe596db34649d642d" 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#4e6c77881895c0ebe596db34649d642d">canMsgRcv</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="82f85514c94b93d15115bdfc37d97a9c"></a><!-- doxytag: member="interrupt.c::msgRecu" ref="82f85514c94b93d15115bdfc37d97a9c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile char <a class="el" href="interrupt_8c.html#82f85514c94b93d15115bdfc37d97a9c">msgRecu</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:18 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>