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