doc/doxygen/html/interrupt_8c.html
author etisserant
Thu, 30 Aug 2007 17:01:11 +0200
changeset 260 1eafe582b6a1
parent 240 34654679f262
permissions -rw-r--r--
Better code readability
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     3
<title>CanFestival: drivers/hcs12/interrupt.c File Reference</title>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     6
</head><body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     8
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     9
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    11
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    12
    <li id="current"><a href="files.html"><span>Files</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    13
    <li><a href="dirs.html"><span>Directories</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    14
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    15
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    16
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    19
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    20
<div class="nav">
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    21
<a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_2d4bff0e9225ea81eb175e376cee668f.html">hcs12</a></div>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    22
<h1>interrupt.c File Reference</h1><code>#include &quot;../include/data.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    23
<code>#include &quot;../include/hcs12/applicfg.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    24
<code>#include &quot;../include/hcs12/error.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    25
<code>#include &quot;../include/hcs12/candriver.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    26
<code>#include &quot;../include/hcs12/asm-m68hc12/regs.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    27
<code>#include &quot;../include/hcs12/asm-m68hc12/portsaccess.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    28
<code>#include &quot;../include/hcs12/asm-m68hc12/ports_def.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    29
<code>#include &quot;../include/hcs12/asm-m68hc12/ports.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    30
<code>#include &quot;../include/hcs12/interrupt.h&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    31
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    32
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    33
Include dependency graph for interrupt.c:<p><center><img src="interrupt_8c__incl.png" border="0" usemap="#drivers/hcs12/interrupt.c_map" alt=""></center>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    34
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    35
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    36
<a href="interrupt_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    37
<tr><td></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    38
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    39
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#a86d31d31831be20de69b1533b4acc5b">lock</a> (void)</td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    40
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    41
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca">unlock</a> (void)</td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    42
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    43
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    44
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#82f85514c94b93d15115bdfc37d97a9c">msgRecu</a></td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    45
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    46
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile <a class="el" href="structMessage.html">Message</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interrupt_8c.html#4e6c77881895c0ebe596db34649d642d">canMsgRcv</a></td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    47
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    48
</table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    49
<hr><h2>Function Documentation</h2>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    50
<a class="anchor" name="a86d31d31831be20de69b1533b4acc5b"></a><!-- doxytag: member="interrupt.c::lock" ref="a86d31d31831be20de69b1533b4acc5b" args="(void)" -->
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    51
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    52
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    53
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    54
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    55
          <td class="memname">void lock           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    56
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    57
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    58
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    59
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    60
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    61
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    62
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    63
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    64
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    65
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    66
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    67
Disable interrupts 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    68
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    69
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    70
<p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    71
References <a class="el" href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757">__asm__()</a>.
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    72
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    73
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    74
<p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    75
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>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    76
<map name="interrupt_8c_a86d31d31831be20de69b1533b4acc5b_cgraph_map">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    77
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="99,5,168,32" alt="">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    78
</map>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    79
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    80
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    81
</div><p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    82
<a class="anchor" name="8704c06a2936e68f7c25dc0c1d335cca"></a><!-- doxytag: member="interrupt.c::unlock" ref="8704c06a2936e68f7c25dc0c1d335cca" args="(void)" -->
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    83
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    84
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    85
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    86
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    87
          <td class="memname">void unlock           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    88
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    89
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    90
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    91
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    92
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    93
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    94
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    95
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    96
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    97
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    98
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    99
Enable interrupts 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   100
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   101
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   102
<p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   103
References <a class="el" href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757">__asm__()</a>.
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   104
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   105
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   106
<p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   107
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>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   108
<map name="interrupt_8c_8704c06a2936e68f7c25dc0c1d335cca_cgraph_map">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   109
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="112,5,181,32" alt="">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   110
</map>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   111
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   112
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   113
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   114
<hr><h2>Variable Documentation</h2>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   115
<a class="anchor" name="4e6c77881895c0ebe596db34649d642d"></a><!-- doxytag: member="interrupt.c::canMsgRcv" ref="4e6c77881895c0ebe596db34649d642d" args="" -->
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   116
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   117
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   118
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   119
        <tr>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   120
          <td class="memname">volatile <a class="el" href="structMessage.html">Message</a> <a class="el" href="interrupt_8c.html#4e6c77881895c0ebe596db34649d642d">canMsgRcv</a>          </td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   121
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   122
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   123
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   124
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   125
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   126
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   127
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   128
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   129
</div><p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   130
<a class="anchor" name="82f85514c94b93d15115bdfc37d97a9c"></a><!-- doxytag: member="interrupt.c::msgRecu" ref="82f85514c94b93d15115bdfc37d97a9c" args="" -->
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   131
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   132
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   133
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   134
        <tr>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   135
          <td class="memname">volatile char <a class="el" href="interrupt_8c.html#82f85514c94b93d15115bdfc37d97a9c">msgRecu</a>          </td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   136
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   137
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   138
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   139
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   140
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   141
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   142
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   143
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   144
</div><p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   145
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:18 2007 for CanFestival by&nbsp;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   146
<a href="http://www.doxygen.org/index.html">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   147
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   148
</body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   149
</html>