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: examples/gene_SYNC_HCS12/appli.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_aa575cee5acc3b84cc5b4489187a1fd3.html">examples</a> » <a class="el" href="dir_d85e31a57c9701bccc893dc597488828.html">gene_SYNC_HCS12</a></div>
|
215
|
22 |
<h1>appli.c File Reference</h1><code>#include <stddef.h></code><br>
|
|
23 |
<code>#include <<a class="el" href="portsaccess_8h-source.html">asm-m68hc12/portsaccess.h</a>></code><br>
|
|
24 |
<code>#include <<a class="el" href="ports__def_8h-source.html">asm-m68hc12/ports_def.h</a>></code><br>
|
|
25 |
<code>#include <<a class="el" href="ports_8h-source.html">asm-m68hc12/ports.h</a>></code><br>
|
|
26 |
<code>#include <<a class="el" href="interrupt_8h-source.html">interrupt.h</a>></code><br>
|
|
27 |
<code>#include "../include/data.h"</code><br>
|
|
28 |
<code>#include <<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>></code><br>
|
|
29 |
<code>#include "../include/hcs12/candriver.h"</code><br>
|
|
30 |
<code>#include "../include/hcs12/canOpenDriver.h"</code><br>
|
|
31 |
<code>#include "../include/def.h"</code><br>
|
|
32 |
<code>#include "../include/can.h"</code><br>
|
|
33 |
<code>#include "../include/objdictdef.h"</code><br>
|
|
34 |
<code>#include "../include/objacces.h"</code><br>
|
|
35 |
<code>#include "../include/sdo.h"</code><br>
|
|
36 |
<code>#include "../include/pdo.h"</code><br>
|
|
37 |
<code>#include "../include/timer.h"</code><br>
|
|
38 |
<code>#include "../include/lifegrd.h"</code><br>
|
|
39 |
<code>#include "../include/sync.h"</code><br>
|
|
40 |
<code>#include "../include/nmtSlave.h"</code><br>
|
|
41 |
<code>#include "<a class="el" href="objdict_8h-source.html">objdict.h</a>"</code><br>
|
|
42 |
|
|
43 |
<p>
|
|
44 |
Include dependency graph for appli.c:<p><center><img src="appli_8c__incl.png" border="0" usemap="#examples/gene_SYNC_HCS12/appli.c_map" alt=""></center>
|
|
45 |
<map name="examples/gene_SYNC_HCS12/appli.c_map">
|
240
|
46 |
<area href="portsaccess_8h.html" shape="rect" coords="299,56,469,83" alt="">
|
|
47 |
<area href="ports__def_8h.html" shape="rect" coords="535,132,695,159" alt="">
|
|
48 |
<area href="ports_8h.html" shape="rect" coords="316,157,452,184" alt="">
|
|
49 |
<area href="interrupt_8h.html" shape="rect" coords="345,208,423,235" alt="">
|
|
50 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="744,487,819,513" alt="">
|
|
51 |
<area href="objdict_8h.html" shape="rect" coords="351,968,417,995" alt="">
|
|
52 |
<area href="data_8h.html" shape="rect" coords="588,664,641,691" alt="">
|
215
|
53 |
</map>
|
|
54 |
|
|
55 |
<p>
|
|
56 |
<a href="appli_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
57 |
<tr><td></td></tr>
|
|
58 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
240
|
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#46f4d451cd14848ea37fa13729a473ef">DEBUG_WAR_CONSOLE_ON</a></td></tr>
|
|
60 |
|
|
61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#4352bb532729a0ef6576e3b8a8409bbc">DEBUG_ERR_CONSOLE_ON</a></td></tr>
|
215
|
62 |
|
|
63 |
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
|
240
|
64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f">E_CanBaudrate</a> { <a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f91b40482be3a75e00309350a50b5eda1">CAN_BAUDRATE_250K</a>,
|
|
65 |
<a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f126f65c42a045536ac206baf6f9e7a69">CAN_BAUDRATE_500K</a>,
|
|
66 |
<a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f3983e554a08829824bfbcb14f0abc6ac">CAN_BAUDRATE_1M</a>
|
215
|
67 |
}</td></tr>
|
|
68 |
|
|
69 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
70 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#2bf8d38f60d6704980189ed23fa6bcaa">initCanopencapteur</a> (void)</td></tr>
|
|
71 |
|
|
72 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#8c7a3902aeab756e3fa26d1f047b2629">initSensor</a> (void)</td></tr>
|
|
73 |
|
|
74 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#cd3bf5a778051de7fe420cd0220b4a4c">initPortB</a> (void)</td></tr>
|
|
75 |
|
|
76 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#776b47bb2ab8c32f55b8b8ea649b720a">initPortH</a> (void)</td></tr>
|
|
77 |
|
|
78 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#7377257347376fb6db1fb5bcd0fc2f77">gene_SYNC_heartbeatError</a> (UNS8 heartbeatID)</td></tr>
|
|
79 |
|
|
80 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#8bcb69318eb511adc705fff72ab656d2">gene_SYNC_initialisation</a> ()</td></tr>
|
|
81 |
|
|
82 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#46cf2deddae534e42698c071233f70e9">gene_SYNC_preOperational</a> ()</td></tr>
|
|
83 |
|
|
84 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#a7c372ace88bd80665fedcd107345955">gene_SYNC_operational</a> ()</td></tr>
|
|
85 |
|
|
86 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#664c4100c31b4cb368fe516110290b99">gene_SYNC_stopped</a> ()</td></tr>
|
|
87 |
|
|
88 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#35d180f652ecf52603a5e9d7e891665f">main</a> (void)</td></tr>
|
215
|
89 |
|
|
90 |
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
240
|
91 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcanBusTime.html">canBusTime</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="appli_8c.html#86af49a155a36066b3b8560f0258b649">CAN_Baudrates</a> []</td></tr>
|
215
|
92 |
|
|
93 |
</table>
|
|
94 |
<hr><h2>Define Documentation</h2>
|
240
|
95 |
<a class="anchor" name="4352bb532729a0ef6576e3b8a8409bbc"></a><!-- doxytag: member="appli.c::DEBUG_ERR_CONSOLE_ON" ref="4352bb532729a0ef6576e3b8a8409bbc" args="" -->
|
215
|
96 |
<div class="memitem">
|
|
97 |
<div class="memproto">
|
|
98 |
<table class="memname">
|
|
99 |
<tr>
|
|
100 |
<td class="memname">#define DEBUG_ERR_CONSOLE_ON </td>
|
|
101 |
</tr>
|
|
102 |
</table>
|
|
103 |
</div>
|
|
104 |
<div class="memdoc">
|
|
105 |
|
|
106 |
<p>
|
|
107 |
|
|
108 |
<p>
|
|
109 |
Definition at line <a class="el" href="appli_8c-source.html#l00025">25</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
110 |
</div>
|
|
111 |
</div><p>
|
240
|
112 |
<a class="anchor" name="46f4d451cd14848ea37fa13729a473ef"></a><!-- doxytag: member="appli.c::DEBUG_WAR_CONSOLE_ON" ref="46f4d451cd14848ea37fa13729a473ef" args="" -->
|
215
|
113 |
<div class="memitem">
|
|
114 |
<div class="memproto">
|
|
115 |
<table class="memname">
|
|
116 |
<tr>
|
|
117 |
<td class="memname">#define DEBUG_WAR_CONSOLE_ON </td>
|
|
118 |
</tr>
|
|
119 |
</table>
|
|
120 |
</div>
|
|
121 |
<div class="memdoc">
|
|
122 |
|
|
123 |
<p>
|
|
124 |
|
|
125 |
<p>
|
|
126 |
Definition at line <a class="el" href="appli_8c-source.html#l00024">24</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
127 |
</div>
|
|
128 |
</div><p>
|
|
129 |
<hr><h2>Enumeration Type Documentation</h2>
|
240
|
130 |
<a class="anchor" name="7f351b7785bfbed9557d0da32a2b971f"></a><!-- doxytag: member="appli.c::E_CanBaudrate" ref="7f351b7785bfbed9557d0da32a2b971f" args="" -->
|
|
131 |
<div class="memitem">
|
|
132 |
<div class="memproto">
|
|
133 |
<table class="memname">
|
|
134 |
<tr>
|
|
135 |
<td class="memname">enum <a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f">E_CanBaudrate</a> </td>
|
215
|
136 |
</tr>
|
|
137 |
</table>
|
|
138 |
</div>
|
|
139 |
<div class="memdoc">
|
|
140 |
|
|
141 |
<p>
|
|
142 |
<dl compact><dt><b>Enumerator: </b></dt><dd>
|
|
143 |
<table border="0" cellspacing="2" cellpadding="0">
|
240
|
144 |
<tr><td valign="top"><em><a class="anchor" name="7f351b7785bfbed9557d0da32a2b971f91b40482be3a75e00309350a50b5eda1"></a><!-- doxytag: member="CAN_BAUDRATE_250K" ref="7f351b7785bfbed9557d0da32a2b971f91b40482be3a75e00309350a50b5eda1" args="" -->CAN_BAUDRATE_250K</em> </td><td>
|
215
|
145 |
</td></tr>
|
240
|
146 |
<tr><td valign="top"><em><a class="anchor" name="7f351b7785bfbed9557d0da32a2b971f126f65c42a045536ac206baf6f9e7a69"></a><!-- doxytag: member="CAN_BAUDRATE_500K" ref="7f351b7785bfbed9557d0da32a2b971f126f65c42a045536ac206baf6f9e7a69" args="" -->CAN_BAUDRATE_500K</em> </td><td>
|
215
|
147 |
</td></tr>
|
240
|
148 |
<tr><td valign="top"><em><a class="anchor" name="7f351b7785bfbed9557d0da32a2b971f3983e554a08829824bfbcb14f0abc6ac"></a><!-- doxytag: member="CAN_BAUDRATE_1M" ref="7f351b7785bfbed9557d0da32a2b971f3983e554a08829824bfbcb14f0abc6ac" args="" -->CAN_BAUDRATE_1M</em> </td><td>
|
215
|
149 |
</td></tr>
|
|
150 |
</table>
|
|
151 |
</dl>
|
|
152 |
|
|
153 |
<p>
|
|
154 |
Definition at line <a class="el" href="appli_8c-source.html#l00063">63</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
155 |
</div>
|
|
156 |
</div><p>
|
|
157 |
<hr><h2>Function Documentation</h2>
|
240
|
158 |
<a class="anchor" name="7377257347376fb6db1fb5bcd0fc2f77"></a><!-- doxytag: member="appli.c::gene_SYNC_heartbeatError" ref="7377257347376fb6db1fb5bcd0fc2f77" args="(UNS8 heartbeatID)" -->
|
215
|
159 |
<div class="memitem">
|
|
160 |
<div class="memproto">
|
|
161 |
<table class="memname">
|
|
162 |
<tr>
|
|
163 |
<td class="memname">void gene_SYNC_heartbeatError </td>
|
|
164 |
<td>(</td>
|
|
165 |
<td class="paramtype">UNS8 </td>
|
|
166 |
<td class="paramname"> <em>heartbeatID</em> </td>
|
|
167 |
<td> ) </td>
|
|
168 |
<td width="100%"></td>
|
|
169 |
</tr>
|
|
170 |
</table>
|
|
171 |
</div>
|
|
172 |
<div class="memdoc">
|
|
173 |
|
|
174 |
<p>
|
|
175 |
|
|
176 |
<p>
|
|
177 |
Definition at line <a class="el" href="appli_8c-source.html#l00265">265</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
178 |
<p>
|
|
179 |
References <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>.
|
|
180 |
<p>
|
|
181 |
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
|
|
182 |
</div>
|
|
183 |
</div><p>
|
240
|
184 |
<a class="anchor" name="8bcb69318eb511adc705fff72ab656d2"></a><!-- doxytag: member="appli.c::gene_SYNC_initialisation" ref="8bcb69318eb511adc705fff72ab656d2" args="()" -->
|
215
|
185 |
<div class="memitem">
|
|
186 |
<div class="memproto">
|
|
187 |
<table class="memname">
|
|
188 |
<tr>
|
|
189 |
<td class="memname">void gene_SYNC_initialisation </td>
|
|
190 |
<td>(</td>
|
|
191 |
<td class="paramtype">void </td>
|
|
192 |
<td class="paramname"> </td>
|
|
193 |
<td> ) </td>
|
|
194 |
<td width="100%"></td>
|
|
195 |
</tr>
|
|
196 |
</table>
|
|
197 |
</div>
|
|
198 |
<div class="memdoc">
|
|
199 |
|
|
200 |
<p>
|
|
201 |
|
|
202 |
<p>
|
|
203 |
Definition at line <a class="el" href="appli_8c-source.html#l00272">272</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
204 |
<p>
|
|
205 |
References <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, and <a class="el" href="ports__def_8h-source.html#l00043">PORTB</a>.
|
|
206 |
<p>
|
|
207 |
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
|
|
208 |
<p>
|
240
|
209 |
Here is the call graph for this function:<p><center><img src="appli_8c_8bcb69318eb511adc705fff72ab656d2_cgraph.png" border="0" usemap="#appli_8c_8bcb69318eb511adc705fff72ab656d2_cgraph_map" alt=""></center>
|
|
210 |
<map name="appli_8c_8bcb69318eb511adc705fff72ab656d2_cgraph_map">
|
|
211 |
<area href="appli_8c.html#8c7a3902aeab756e3fa26d1f047b2629" shape="rect" coords="217,183,292,209" alt="">
|
|
212 |
<area href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d" shape="rect" coords="352,5,411,32" alt="">
|
|
213 |
<area href="states_8c.html#458a686646e4500b1f9e6cf67898250e" shape="rect" coords="343,56,420,83" alt="">
|
|
214 |
<area href="canOpenDriver_8c.html#be976c0f99ffecc3b40fbbeefdc53578" shape="rect" coords="343,107,420,133" alt="">
|
|
215 |
<area href="appli_8c.html#cd3bf5a778051de7fe420cd0220b4a4c" shape="rect" coords="347,157,416,184" alt="">
|
|
216 |
<area href="appli_8c.html#776b47bb2ab8c32f55b8b8ea649b720a" shape="rect" coords="347,208,416,235" alt="">
|
|
217 |
<area href="canOpenDriver_8c.html#607bd2711b85a87fce51334bb36bad1a" shape="rect" coords="345,259,417,285" alt="">
|
|
218 |
<area href="states_8c.html#191c0cad67e093ea44285c9acd187513" shape="rect" coords="344,309,419,336" alt="">
|
|
219 |
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="353,360,409,387" alt="">
|
|
220 |
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="471,5,599,32" alt="">
|
|
221 |
<area href="canOpenDriver_8c.html#dc9e47be663af9d60b9844df30cd2057" shape="rect" coords="504,107,565,133" alt="">
|
|
222 |
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="500,360,569,387" alt="">
|
215
|
223 |
</map>
|
|
224 |
|
|
225 |
</div>
|
|
226 |
</div><p>
|
240
|
227 |
<a class="anchor" name="a7c372ace88bd80665fedcd107345955"></a><!-- doxytag: member="appli.c::gene_SYNC_operational" ref="a7c372ace88bd80665fedcd107345955" args="()" -->
|
215
|
228 |
<div class="memitem">
|
|
229 |
<div class="memproto">
|
|
230 |
<table class="memname">
|
|
231 |
<tr>
|
|
232 |
<td class="memname">void gene_SYNC_operational </td>
|
|
233 |
<td>(</td>
|
|
234 |
<td class="paramtype">void </td>
|
|
235 |
<td class="paramname"> </td>
|
|
236 |
<td> ) </td>
|
|
237 |
<td width="100%"></td>
|
|
238 |
</tr>
|
|
239 |
</table>
|
|
240 |
</div>
|
|
241 |
<div class="memdoc">
|
|
242 |
|
|
243 |
<p>
|
|
244 |
|
|
245 |
<p>
|
|
246 |
Definition at line <a class="el" href="appli_8c-source.html#l00314">314</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
247 |
<p>
|
|
248 |
References <a class="el" href="objdict_8c-source.html#l00009">acceptanceFilter1</a>, <a class="el" href="objdict_8c-source.html#l00010">acceptanceFilter2</a>, <a class="el" href="objdict_8c-source.html#l00011">acceptanceFilter3</a>, <a class="el" href="objdict_8c-source.html#l00012">acceptanceFilter4</a>, <a class="el" href="objdict_8c-source.html#l00017">applyDownloadedFilters</a>, <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, <a class="el" href="candriver_8h-source.html#l00053">CANOPEN_LINE_NUMBER_USED</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="objdict_8c-source.html#l00013">mask1</a>, <a class="el" href="objdict_8c-source.html#l00014">mask2</a>, <a class="el" href="objdict_8c-source.html#l00015">mask3</a>, <a class="el" href="objdict_8c-source.html#l00016">mask4</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="ports__def_8h-source.html#l00043">PORTB</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
|
249 |
<p>
|
|
250 |
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
|
|
251 |
<p>
|
240
|
252 |
Here is the call graph for this function:<p><center><img src="appli_8c_a7c372ace88bd80665fedcd107345955_cgraph.png" border="0" usemap="#appli_8c_a7c372ace88bd80665fedcd107345955_cgraph_map" alt=""></center>
|
|
253 |
<map name="appli_8c_a7c372ace88bd80665fedcd107345955_cgraph_map">
|
|
254 |
<area href="canOpenDriver_8c.html#7fd72f38fd09b6e79a50ac32d8cc0629" shape="rect" coords="211,157,320,184" alt="">
|
|
255 |
<area href="canOpenDriver_8c.html#437cf0f7cee6930bc4d6f4743999e4f2" shape="rect" coords="381,5,467,32" alt="">
|
|
256 |
<area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="535,107,647,133" alt="">
|
|
257 |
<area href="canOpenDriver_8c.html#daff5eaa25245bff93a854283e2e0cb2" shape="rect" coords="380,107,468,133" alt="">
|
|
258 |
<area href="canOpenDriver_8c.html#a619f965cc88e08dec28de4833bfe50a" shape="rect" coords="375,157,473,184" alt="">
|
|
259 |
<area href="canOpenDriver_8c.html#946843a5bc1823243b5120d57785f0ec" shape="rect" coords="372,208,476,235" alt="">
|
|
260 |
<area href="canOpenDriver_8c.html#ce25028cdf7de7a16b2762cb3846ddd4" shape="rect" coords="375,309,473,336" alt="">
|
|
261 |
<area href="canOpenDriver_8c.html#e147ca22aacafc3fa806f32f3f3577cb" shape="rect" coords="369,259,479,285" alt="">
|
|
262 |
<area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="529,284,652,311" alt="">
|
215
|
263 |
</map>
|
|
264 |
|
|
265 |
</div>
|
|
266 |
</div><p>
|
240
|
267 |
<a class="anchor" name="46cf2deddae534e42698c071233f70e9"></a><!-- doxytag: member="appli.c::gene_SYNC_preOperational" ref="46cf2deddae534e42698c071233f70e9" args="()" -->
|
215
|
268 |
<div class="memitem">
|
|
269 |
<div class="memproto">
|
|
270 |
<table class="memname">
|
|
271 |
<tr>
|
|
272 |
<td class="memname">void gene_SYNC_preOperational </td>
|
|
273 |
<td>(</td>
|
|
274 |
<td class="paramtype">void </td>
|
|
275 |
<td class="paramname"> </td>
|
|
276 |
<td> ) </td>
|
|
277 |
<td width="100%"></td>
|
|
278 |
</tr>
|
|
279 |
</table>
|
|
280 |
</div>
|
|
281 |
<div class="memdoc">
|
|
282 |
|
|
283 |
<p>
|
|
284 |
|
|
285 |
<p>
|
|
286 |
Definition at line <a class="el" href="appli_8c-source.html#l00284">284</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
287 |
<p>
|
|
288 |
References <a class="el" href="objdict_8c-source.html#l00017">applyDownloadedFilters</a>, <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, <a class="el" href="candriver_8h-source.html#l00053">CANOPEN_LINE_NUMBER_USED</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, and <a class="el" href="ports__def_8h-source.html#l00043">PORTB</a>.
|
|
289 |
<p>
|
|
290 |
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
|
|
291 |
<p>
|
240
|
292 |
Here is the call graph for this function:<p><center><img src="appli_8c_46cf2deddae534e42698c071233f70e9_cgraph.png" border="0" usemap="#appli_8c_46cf2deddae534e42698c071233f70e9_cgraph_map" alt=""></center>
|
|
293 |
<map name="appli_8c_46cf2deddae534e42698c071233f70e9_cgraph_map">
|
|
294 |
<area href="canOpenDriver_8c.html#7fd72f38fd09b6e79a50ac32d8cc0629" shape="rect" coords="229,157,339,184" alt="">
|
|
295 |
<area href="canOpenDriver_8c.html#437cf0f7cee6930bc4d6f4743999e4f2" shape="rect" coords="400,5,485,32" alt="">
|
|
296 |
<area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="553,107,665,133" alt="">
|
|
297 |
<area href="canOpenDriver_8c.html#daff5eaa25245bff93a854283e2e0cb2" shape="rect" coords="399,107,487,133" alt="">
|
|
298 |
<area href="canOpenDriver_8c.html#a619f965cc88e08dec28de4833bfe50a" shape="rect" coords="393,157,492,184" alt="">
|
|
299 |
<area href="canOpenDriver_8c.html#946843a5bc1823243b5120d57785f0ec" shape="rect" coords="391,208,495,235" alt="">
|
|
300 |
<area href="canOpenDriver_8c.html#ce25028cdf7de7a16b2762cb3846ddd4" shape="rect" coords="393,309,492,336" alt="">
|
|
301 |
<area href="canOpenDriver_8c.html#e147ca22aacafc3fa806f32f3f3577cb" shape="rect" coords="388,259,497,285" alt="">
|
|
302 |
<area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="548,284,671,311" alt="">
|
215
|
303 |
</map>
|
|
304 |
|
|
305 |
</div>
|
|
306 |
</div><p>
|
240
|
307 |
<a class="anchor" name="664c4100c31b4cb368fe516110290b99"></a><!-- doxytag: member="appli.c::gene_SYNC_stopped" ref="664c4100c31b4cb368fe516110290b99" args="()" -->
|
215
|
308 |
<div class="memitem">
|
|
309 |
<div class="memproto">
|
|
310 |
<table class="memname">
|
|
311 |
<tr>
|
|
312 |
<td class="memname">void gene_SYNC_stopped </td>
|
|
313 |
<td>(</td>
|
|
314 |
<td class="paramtype">void </td>
|
|
315 |
<td class="paramname"> </td>
|
|
316 |
<td> ) </td>
|
|
317 |
<td width="100%"></td>
|
|
318 |
</tr>
|
|
319 |
</table>
|
|
320 |
</div>
|
|
321 |
<div class="memdoc">
|
|
322 |
|
|
323 |
<p>
|
|
324 |
|
|
325 |
<p>
|
|
326 |
Definition at line <a class="el" href="appli_8c-source.html#l00368">368</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
327 |
<p>
|
|
328 |
References <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, and <a class="el" href="ports__def_8h-source.html#l00043">PORTB</a>.
|
|
329 |
<p>
|
|
330 |
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
|
|
331 |
</div>
|
|
332 |
</div><p>
|
240
|
333 |
<a class="anchor" name="2bf8d38f60d6704980189ed23fa6bcaa"></a><!-- doxytag: member="appli.c::initCanopencapteur" ref="2bf8d38f60d6704980189ed23fa6bcaa" args="(void)" -->
|
215
|
334 |
<div class="memitem">
|
|
335 |
<div class="memproto">
|
|
336 |
<table class="memname">
|
|
337 |
<tr>
|
|
338 |
<td class="memname">void initCanopencapteur </td>
|
|
339 |
<td>(</td>
|
|
340 |
<td class="paramtype">void </td>
|
|
341 |
<td class="paramname"> </td>
|
|
342 |
<td> ) </td>
|
|
343 |
<td width="100%"></td>
|
|
344 |
</tr>
|
|
345 |
</table>
|
|
346 |
</div>
|
|
347 |
<div class="memdoc">
|
|
348 |
|
|
349 |
<p>
|
|
350 |
|
|
351 |
</div>
|
|
352 |
</div><p>
|
240
|
353 |
<a class="anchor" name="cd3bf5a778051de7fe420cd0220b4a4c"></a><!-- doxytag: member="appli.c::initPortB" ref="cd3bf5a778051de7fe420cd0220b4a4c" args="(void)" -->
|
215
|
354 |
<div class="memitem">
|
|
355 |
<div class="memproto">
|
|
356 |
<table class="memname">
|
|
357 |
<tr>
|
|
358 |
<td class="memname">void initPortB </td>
|
|
359 |
<td>(</td>
|
|
360 |
<td class="paramtype">void </td>
|
|
361 |
<td class="paramname"> </td>
|
|
362 |
<td> ) </td>
|
|
363 |
<td width="100%"></td>
|
|
364 |
</tr>
|
|
365 |
</table>
|
|
366 |
</div>
|
|
367 |
<div class="memdoc">
|
|
368 |
|
|
369 |
<p>
|
|
370 |
|
|
371 |
<p>
|
|
372 |
Definition at line <a class="el" href="appli_8c-source.html#l00149">149</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
373 |
<p>
|
|
374 |
References <a class="el" href="ports__def_8h-source.html#l00045">DDRB</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, and <a class="el" href="ports__def_8h-source.html#l00043">PORTB</a>.
|
|
375 |
<p>
|
|
376 |
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
|
|
377 |
</div>
|
|
378 |
</div><p>
|
240
|
379 |
<a class="anchor" name="776b47bb2ab8c32f55b8b8ea649b720a"></a><!-- doxytag: member="appli.c::initPortH" ref="776b47bb2ab8c32f55b8b8ea649b720a" args="(void)" -->
|
215
|
380 |
<div class="memitem">
|
|
381 |
<div class="memproto">
|
|
382 |
<table class="memname">
|
|
383 |
<tr>
|
|
384 |
<td class="memname">void initPortH </td>
|
|
385 |
<td>(</td>
|
|
386 |
<td class="paramtype">void </td>
|
|
387 |
<td class="paramname"> </td>
|
|
388 |
<td> ) </td>
|
|
389 |
<td width="100%"></td>
|
|
390 |
</tr>
|
|
391 |
</table>
|
|
392 |
</div>
|
|
393 |
<div class="memdoc">
|
|
394 |
|
|
395 |
<p>
|
|
396 |
|
|
397 |
<p>
|
|
398 |
Definition at line <a class="el" href="appli_8c-source.html#l00159">159</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
399 |
<p>
|
|
400 |
References <a class="el" href="ports__def_8h-source.html#l00611">DDRH</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="ports__def_8h-source.html#l00613">PERH</a>, and <a class="el" href="ports__def_8h-source.html#l00614">PPSH</a>.
|
|
401 |
<p>
|
|
402 |
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
|
|
403 |
</div>
|
|
404 |
</div><p>
|
240
|
405 |
<a class="anchor" name="8c7a3902aeab756e3fa26d1f047b2629"></a><!-- doxytag: member="appli.c::initSensor" ref="8c7a3902aeab756e3fa26d1f047b2629" args="(void)" -->
|
215
|
406 |
<div class="memitem">
|
|
407 |
<div class="memproto">
|
|
408 |
<table class="memname">
|
|
409 |
<tr>
|
|
410 |
<td class="memname">void initSensor </td>
|
|
411 |
<td>(</td>
|
|
412 |
<td class="paramtype">void </td>
|
|
413 |
<td class="paramname"> </td>
|
|
414 |
<td> ) </td>
|
|
415 |
<td width="100%"></td>
|
|
416 |
</tr>
|
|
417 |
</table>
|
|
418 |
</div>
|
|
419 |
<div class="memdoc">
|
|
420 |
|
|
421 |
<p>
|
|
422 |
|
|
423 |
<p>
|
|
424 |
Definition at line <a class="el" href="appli_8c-source.html#l00170">170</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
425 |
<p>
|
240
|
426 |
References <a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f3983e554a08829824bfbcb14f0abc6ac">CAN_BAUDRATE_1M</a>, <a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f91b40482be3a75e00309350a50b5eda1">CAN_BAUDRATE_250K</a>, <a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f126f65c42a045536ac206baf6f9e7a69">CAN_BAUDRATE_500K</a>, <a class="el" href="appli_8c-source.html#l00071">CAN_Baudrates</a>, <a class="el" href="can__peak__win32_8c-source.html#l00070">canInit()</a>, <a class="el" href="candriver_8h-source.html#l00053">CANOPEN_LINE_NUMBER_USED</a>, <a class="el" href="candriver_8h-source.html#l00162">canBusInit::clk</a>, <a class="el" href="objdict_8c-source.html#l00257">gene_SYNC_Data</a>, <a class="el" href="states_8c-source.html#l00224">getNodeId()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00199">initHCS12()</a>, <a class="el" href="appli_8c-source.html#l00149">initPortB()</a>, <a class="el" href="appli_8c-source.html#l00159">initPortH()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00079">initTimer()</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="ports__def_8h-source.html#l00043">PORTB</a>, <a class="el" href="ports__def_8h-source.html#l00609">PTH</a>, <a class="el" href="states_8c-source.html#l00235">setNodeId()</a>, <a class="el" href="interrupt_8c-source.html#l00057">unlock()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
215
|
427 |
<p>
|
|
428 |
Referenced by <a class="el" href="appli_8c-source.html#l00272">gene_SYNC_initialisation()</a>.
|
|
429 |
<p>
|
240
|
430 |
Here is the call graph for this function:<p><center><img src="appli_8c_8c7a3902aeab756e3fa26d1f047b2629_cgraph.png" border="0" usemap="#appli_8c_8c7a3902aeab756e3fa26d1f047b2629_cgraph_map" alt=""></center>
|
|
431 |
<map name="appli_8c_8c7a3902aeab756e3fa26d1f047b2629_cgraph_map">
|
|
432 |
<area href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d" shape="rect" coords="141,5,200,32" alt="">
|
|
433 |
<area href="states_8c.html#458a686646e4500b1f9e6cf67898250e" shape="rect" coords="132,56,209,83" alt="">
|
|
434 |
<area href="canOpenDriver_8c.html#be976c0f99ffecc3b40fbbeefdc53578" shape="rect" coords="132,107,209,133" alt="">
|
|
435 |
<area href="appli_8c.html#cd3bf5a778051de7fe420cd0220b4a4c" shape="rect" coords="136,157,205,184" alt="">
|
|
436 |
<area href="appli_8c.html#776b47bb2ab8c32f55b8b8ea649b720a" shape="rect" coords="136,208,205,235" alt="">
|
|
437 |
<area href="canOpenDriver_8c.html#607bd2711b85a87fce51334bb36bad1a" shape="rect" coords="135,259,207,285" alt="">
|
|
438 |
<area href="states_8c.html#191c0cad67e093ea44285c9acd187513" shape="rect" coords="133,309,208,336" alt="">
|
|
439 |
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="143,360,199,387" alt="">
|
|
440 |
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="260,5,388,32" alt="">
|
|
441 |
<area href="canOpenDriver_8c.html#dc9e47be663af9d60b9844df30cd2057" shape="rect" coords="293,107,355,133" alt="">
|
|
442 |
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="289,360,359,387" alt="">
|
215
|
443 |
</map>
|
|
444 |
|
|
445 |
</div>
|
|
446 |
</div><p>
|
240
|
447 |
<a class="anchor" name="35d180f652ecf52603a5e9d7e891665f"></a><!-- doxytag: member="appli.c::main" ref="35d180f652ecf52603a5e9d7e891665f" args="(void)" -->
|
215
|
448 |
<div class="memitem">
|
|
449 |
<div class="memproto">
|
|
450 |
<table class="memname">
|
|
451 |
<tr>
|
|
452 |
<td class="memname">UNS8 main </td>
|
|
453 |
<td>(</td>
|
|
454 |
<td class="paramtype">void </td>
|
|
455 |
<td class="paramname"> </td>
|
|
456 |
<td> ) </td>
|
|
457 |
<td width="100%"></td>
|
|
458 |
</tr>
|
|
459 |
</table>
|
|
460 |
</div>
|
|
461 |
<div class="memdoc">
|
|
462 |
|
|
463 |
<p>
|
|
464 |
|
|
465 |
<p>
|
|
466 |
Definition at line <a class="el" href="appli_8c-source.html#l00383">383</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
467 |
<p>
|
240
|
468 |
References <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00513">f_can_receive()</a>, <a class="el" href="objdict_8c-source.html#l00257">gene_SYNC_Data</a>, <a class="el" href="appli_8c-source.html#l00265">gene_SYNC_heartbeatError()</a>, <a class="el" href="appli_8c-source.html#l00272">gene_SYNC_initialisation()</a>, <a class="el" href="appli_8c-source.html#l00314">gene_SYNC_operational()</a>, <a class="el" href="appli_8c-source.html#l00284">gene_SYNC_preOperational()</a>, <a class="el" href="appli_8c-source.html#l00368">gene_SYNC_stopped()</a>, <a class="el" href="data_8h-source.html#l00074">struct_CO_Data::heartbeatError</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e">Initialisation</a>, <a class="el" href="data_8h-source.html#l00063">struct_CO_Data::initialisation</a>, <a class="el" href="interrupt_8c-source.html#l00049">lock()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00064">struct_CO_Data::preOperational</a>, <a class="el" href="states_8c-source.html#l00138">setState()</a>, <a class="el" href="data_8h-source.html#l00066">struct_CO_Data::stopped</a>, and <a class="el" href="interrupt_8c-source.html#l00057">unlock()</a>.
|
|
469 |
<p>
|
|
470 |
Here is the call graph for this function:<p><center><img src="appli_8c_35d180f652ecf52603a5e9d7e891665f_cgraph.png" border="0" usemap="#appli_8c_35d180f652ecf52603a5e9d7e891665f_cgraph_map" alt=""></center>
|
|
471 |
<map name="appli_8c_35d180f652ecf52603a5e9d7e891665f_cgraph_map">
|
|
472 |
<area href="states_8c.html#5903338b79e219eeb27f61974419fc12" shape="rect" coords="147,132,232,159" alt="">
|
|
473 |
<area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="535,132,596,159" alt="">
|
|
474 |
<area href="canOpenDriver_8c.html#e9619ed76d03ed5c17ec07267bb61f4a" shape="rect" coords="141,309,237,336" alt="">
|
|
475 |
<area href="appli_8c.html#7377257347376fb6db1fb5bcd0fc2f77" shape="rect" coords="104,360,275,387" alt="">
|
|
476 |
<area href="appli_8c.html#8bcb69318eb511adc705fff72ab656d2" shape="rect" coords="108,411,271,437" alt="">
|
|
477 |
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="537,461,593,488" alt="">
|
|
478 |
<area href="appli_8c.html#a7c372ace88bd80665fedcd107345955" shape="rect" coords="112,512,267,539" alt="">
|
|
479 |
<area href="appli_8c.html#46cf2deddae534e42698c071233f70e9" shape="rect" coords="101,563,277,589" alt="">
|
|
480 |
<area href="appli_8c.html#664c4100c31b4cb368fe516110290b99" shape="rect" coords="121,613,257,640" alt="">
|
|
481 |
<area href="interrupt_8c.html#a86d31d31831be20de69b1533b4acc5b" shape="rect" coords="544,588,587,615" alt="">
|
|
482 |
<area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="327,5,484,32" alt="">
|
|
483 |
<area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="328,56,483,83" alt="">
|
|
484 |
<area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="360,107,451,133" alt="">
|
|
485 |
<area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="360,157,451,184" alt="">
|
|
486 |
<area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="356,208,455,235" alt="">
|
|
487 |
<area href="appli_8c.html#8c7a3902aeab756e3fa26d1f047b2629" shape="rect" coords="368,411,443,437" alt="">
|
|
488 |
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="645,525,715,552" alt="">
|
|
489 |
<area href="canOpenDriver_8c.html#7fd72f38fd09b6e79a50ac32d8cc0629" shape="rect" coords="351,537,460,564" alt="">
|
215
|
490 |
</map>
|
|
491 |
|
|
492 |
</div>
|
|
493 |
</div><p>
|
|
494 |
<hr><h2>Variable Documentation</h2>
|
240
|
495 |
<a class="anchor" name="86af49a155a36066b3b8560f0258b649"></a><!-- doxytag: member="appli.c::CAN_Baudrates" ref="86af49a155a36066b3b8560f0258b649" args="[]" -->
|
|
496 |
<div class="memitem">
|
|
497 |
<div class="memproto">
|
|
498 |
<table class="memname">
|
|
499 |
<tr>
|
|
500 |
<td class="memname">const <a class="el" href="structcanBusTime.html">canBusTime</a> <a class="el" href="appli_8c.html#86af49a155a36066b3b8560f0258b649">CAN_Baudrates</a>[] </td>
|
215
|
501 |
</tr>
|
|
502 |
</table>
|
|
503 |
</div>
|
|
504 |
<div class="memdoc">
|
|
505 |
|
|
506 |
<p>
|
|
507 |
|
|
508 |
<p>
|
|
509 |
Definition at line <a class="el" href="appli_8c-source.html#l00071">71</a> of file <a class="el" href="appli_8c-source.html">appli.c</a>.
|
|
510 |
<p>
|
|
511 |
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
|
|
512 |
</div>
|
|
513 |
</div><p>
|
240
|
514 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:21 2007 for CanFestival by
|
215
|
515 |
<a href="http://www.doxygen.org/index.html">
|
|
516 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
517 |
</body>
|
|
518 |
</html>
|