TCP broadcasting chat server to exchange CAN messages between CanFestival nodes on windows. This let user simulate a CANopen network on windows.
<!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: examples/gene_SYNC_HCS12/appli.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_aa575cee5acc3b84cc5b4489187a1fd3.html">examples</a> » <a class="el" href="dir_d85e31a57c9701bccc893dc597488828.html">gene_SYNC_HCS12</a></div>
<h1>appli.c File Reference</h1><code>#include <stddef.h></code><br>
<code>#include <<a class="el" href="portsaccess_8h-source.html">asm-m68hc12/portsaccess.h</a>></code><br>
<code>#include <<a class="el" href="ports__def_8h-source.html">asm-m68hc12/ports_def.h</a>></code><br>
<code>#include <<a class="el" href="ports_8h-source.html">asm-m68hc12/ports.h</a>></code><br>
<code>#include <<a class="el" href="interrupt_8h-source.html">interrupt.h</a>></code><br>
<code>#include "../include/data.h"</code><br>
<code>#include <<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>></code><br>
<code>#include "../include/hcs12/candriver.h"</code><br>
<code>#include "../include/hcs12/canOpenDriver.h"</code><br>
<code>#include "../include/def.h"</code><br>
<code>#include "../include/can.h"</code><br>
<code>#include "../include/objdictdef.h"</code><br>
<code>#include "../include/objacces.h"</code><br>
<code>#include "../include/sdo.h"</code><br>
<code>#include "../include/pdo.h"</code><br>
<code>#include "../include/timer.h"</code><br>
<code>#include "../include/lifegrd.h"</code><br>
<code>#include "../include/sync.h"</code><br>
<code>#include "../include/nmtSlave.h"</code><br>
<code>#include "<a class="el" href="objdict_8h-source.html">objdict.h</a>"</code><br>
<p>
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>
<map name="examples/gene_SYNC_HCS12/appli.c_map">
<area href="portsaccess_8h.html" shape="rect" coords="299,56,469,83" alt="">
<area href="ports__def_8h.html" shape="rect" coords="535,132,695,159" alt="">
<area href="ports_8h.html" shape="rect" coords="316,157,452,184" alt="">
<area href="interrupt_8h.html" shape="rect" coords="345,208,423,235" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="744,487,819,513" alt="">
<area href="objdict_8h.html" shape="rect" coords="351,968,417,995" alt="">
<area href="data_8h.html" shape="rect" coords="588,664,641,691" alt="">
</map>
<p>
<a href="appli_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>Defines</h2></td></tr>
<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>
<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>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<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>,
<a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f126f65c42a045536ac206baf6f9e7a69">CAN_BAUDRATE_500K</a>,
<a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f3983e554a08829824bfbcb14f0abc6ac">CAN_BAUDRATE_1M</a>
}</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="appli_8c.html#2bf8d38f60d6704980189ed23fa6bcaa">initCanopencapteur</a> (void)</td></tr>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<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>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="4352bb532729a0ef6576e3b8a8409bbc"></a><!-- doxytag: member="appli.c::DEBUG_ERR_CONSOLE_ON" ref="4352bb532729a0ef6576e3b8a8409bbc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DEBUG_ERR_CONSOLE_ON </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="46f4d451cd14848ea37fa13729a473ef"></a><!-- doxytag: member="appli.c::DEBUG_WAR_CONSOLE_ON" ref="46f4d451cd14848ea37fa13729a473ef" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DEBUG_WAR_CONSOLE_ON </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="7f351b7785bfbed9557d0da32a2b971f"></a><!-- doxytag: member="appli.c::E_CanBaudrate" ref="7f351b7785bfbed9557d0da32a2b971f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="appli_8c.html#7f351b7785bfbed9557d0da32a2b971f">E_CanBaudrate</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<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>
</td></tr>
<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>
</td></tr>
<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>
</td></tr>
</table>
</dl>
<p>
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>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="7377257347376fb6db1fb5bcd0fc2f77"></a><!-- doxytag: member="appli.c::gene_SYNC_heartbeatError" ref="7377257347376fb6db1fb5bcd0fc2f77" args="(UNS8 heartbeatID)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void gene_SYNC_heartbeatError </td>
<td>(</td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>heartbeatID</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
<p>
References <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
</div>
</div><p>
<a class="anchor" name="8bcb69318eb511adc705fff72ab656d2"></a><!-- doxytag: member="appli.c::gene_SYNC_initialisation" ref="8bcb69318eb511adc705fff72ab656d2" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void gene_SYNC_initialisation </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>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
<p>
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>
<map name="appli_8c_8bcb69318eb511adc705fff72ab656d2_cgraph_map">
<area href="appli_8c.html#8c7a3902aeab756e3fa26d1f047b2629" shape="rect" coords="217,183,292,209" alt="">
<area href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d" shape="rect" coords="352,5,411,32" alt="">
<area href="states_8c.html#458a686646e4500b1f9e6cf67898250e" shape="rect" coords="343,56,420,83" alt="">
<area href="canOpenDriver_8c.html#be976c0f99ffecc3b40fbbeefdc53578" shape="rect" coords="343,107,420,133" alt="">
<area href="appli_8c.html#cd3bf5a778051de7fe420cd0220b4a4c" shape="rect" coords="347,157,416,184" alt="">
<area href="appli_8c.html#776b47bb2ab8c32f55b8b8ea649b720a" shape="rect" coords="347,208,416,235" alt="">
<area href="canOpenDriver_8c.html#607bd2711b85a87fce51334bb36bad1a" shape="rect" coords="345,259,417,285" alt="">
<area href="states_8c.html#191c0cad67e093ea44285c9acd187513" shape="rect" coords="344,309,419,336" alt="">
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="353,360,409,387" alt="">
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="471,5,599,32" alt="">
<area href="canOpenDriver_8c.html#dc9e47be663af9d60b9844df30cd2057" shape="rect" coords="504,107,565,133" alt="">
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="500,360,569,387" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="a7c372ace88bd80665fedcd107345955"></a><!-- doxytag: member="appli.c::gene_SYNC_operational" ref="a7c372ace88bd80665fedcd107345955" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void gene_SYNC_operational </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>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
<p>
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>
<map name="appli_8c_a7c372ace88bd80665fedcd107345955_cgraph_map">
<area href="canOpenDriver_8c.html#7fd72f38fd09b6e79a50ac32d8cc0629" shape="rect" coords="211,157,320,184" alt="">
<area href="canOpenDriver_8c.html#437cf0f7cee6930bc4d6f4743999e4f2" shape="rect" coords="381,5,467,32" alt="">
<area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="535,107,647,133" alt="">
<area href="canOpenDriver_8c.html#daff5eaa25245bff93a854283e2e0cb2" shape="rect" coords="380,107,468,133" alt="">
<area href="canOpenDriver_8c.html#a619f965cc88e08dec28de4833bfe50a" shape="rect" coords="375,157,473,184" alt="">
<area href="canOpenDriver_8c.html#946843a5bc1823243b5120d57785f0ec" shape="rect" coords="372,208,476,235" alt="">
<area href="canOpenDriver_8c.html#ce25028cdf7de7a16b2762cb3846ddd4" shape="rect" coords="375,309,473,336" alt="">
<area href="canOpenDriver_8c.html#e147ca22aacafc3fa806f32f3f3577cb" shape="rect" coords="369,259,479,285" alt="">
<area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="529,284,652,311" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="46cf2deddae534e42698c071233f70e9"></a><!-- doxytag: member="appli.c::gene_SYNC_preOperational" ref="46cf2deddae534e42698c071233f70e9" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void gene_SYNC_preOperational </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>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
<p>
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>
<map name="appli_8c_46cf2deddae534e42698c071233f70e9_cgraph_map">
<area href="canOpenDriver_8c.html#7fd72f38fd09b6e79a50ac32d8cc0629" shape="rect" coords="229,157,339,184" alt="">
<area href="canOpenDriver_8c.html#437cf0f7cee6930bc4d6f4743999e4f2" shape="rect" coords="400,5,485,32" alt="">
<area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="553,107,665,133" alt="">
<area href="canOpenDriver_8c.html#daff5eaa25245bff93a854283e2e0cb2" shape="rect" coords="399,107,487,133" alt="">
<area href="canOpenDriver_8c.html#a619f965cc88e08dec28de4833bfe50a" shape="rect" coords="393,157,492,184" alt="">
<area href="canOpenDriver_8c.html#946843a5bc1823243b5120d57785f0ec" shape="rect" coords="391,208,495,235" alt="">
<area href="canOpenDriver_8c.html#ce25028cdf7de7a16b2762cb3846ddd4" shape="rect" coords="393,309,492,336" alt="">
<area href="canOpenDriver_8c.html#e147ca22aacafc3fa806f32f3f3577cb" shape="rect" coords="388,259,497,285" alt="">
<area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="548,284,671,311" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="664c4100c31b4cb368fe516110290b99"></a><!-- doxytag: member="appli.c::gene_SYNC_stopped" ref="664c4100c31b4cb368fe516110290b99" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void gene_SYNC_stopped </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>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
</div>
</div><p>
<a class="anchor" name="2bf8d38f60d6704980189ed23fa6bcaa"></a><!-- doxytag: member="appli.c::initCanopencapteur" ref="2bf8d38f60d6704980189ed23fa6bcaa" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void initCanopencapteur </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>
</div>
</div><p>
<a class="anchor" name="cd3bf5a778051de7fe420cd0220b4a4c"></a><!-- doxytag: member="appli.c::initPortB" ref="cd3bf5a778051de7fe420cd0220b4a4c" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void initPortB </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>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
</div>
</div><p>
<a class="anchor" name="776b47bb2ab8c32f55b8b8ea649b720a"></a><!-- doxytag: member="appli.c::initPortH" ref="776b47bb2ab8c32f55b8b8ea649b720a" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void initPortH </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>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
</div>
</div><p>
<a class="anchor" name="8c7a3902aeab756e3fa26d1f047b2629"></a><!-- doxytag: member="appli.c::initSensor" ref="8c7a3902aeab756e3fa26d1f047b2629" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void initSensor </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>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00272">gene_SYNC_initialisation()</a>.
<p>
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>
<map name="appli_8c_8c7a3902aeab756e3fa26d1f047b2629_cgraph_map">
<area href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d" shape="rect" coords="141,5,200,32" alt="">
<area href="states_8c.html#458a686646e4500b1f9e6cf67898250e" shape="rect" coords="132,56,209,83" alt="">
<area href="canOpenDriver_8c.html#be976c0f99ffecc3b40fbbeefdc53578" shape="rect" coords="132,107,209,133" alt="">
<area href="appli_8c.html#cd3bf5a778051de7fe420cd0220b4a4c" shape="rect" coords="136,157,205,184" alt="">
<area href="appli_8c.html#776b47bb2ab8c32f55b8b8ea649b720a" shape="rect" coords="136,208,205,235" alt="">
<area href="canOpenDriver_8c.html#607bd2711b85a87fce51334bb36bad1a" shape="rect" coords="135,259,207,285" alt="">
<area href="states_8c.html#191c0cad67e093ea44285c9acd187513" shape="rect" coords="133,309,208,336" alt="">
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="143,360,199,387" alt="">
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="260,5,388,32" alt="">
<area href="canOpenDriver_8c.html#dc9e47be663af9d60b9844df30cd2057" shape="rect" coords="293,107,355,133" alt="">
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="289,360,359,387" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="35d180f652ecf52603a5e9d7e891665f"></a><!-- doxytag: member="appli.c::main" ref="35d180f652ecf52603a5e9d7e891665f" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 main </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>
<p>
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>.
<p>
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>.
<p>
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>
<map name="appli_8c_35d180f652ecf52603a5e9d7e891665f_cgraph_map">
<area href="states_8c.html#5903338b79e219eeb27f61974419fc12" shape="rect" coords="147,132,232,159" alt="">
<area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="535,132,596,159" alt="">
<area href="canOpenDriver_8c.html#e9619ed76d03ed5c17ec07267bb61f4a" shape="rect" coords="141,309,237,336" alt="">
<area href="appli_8c.html#7377257347376fb6db1fb5bcd0fc2f77" shape="rect" coords="104,360,275,387" alt="">
<area href="appli_8c.html#8bcb69318eb511adc705fff72ab656d2" shape="rect" coords="108,411,271,437" alt="">
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="537,461,593,488" alt="">
<area href="appli_8c.html#a7c372ace88bd80665fedcd107345955" shape="rect" coords="112,512,267,539" alt="">
<area href="appli_8c.html#46cf2deddae534e42698c071233f70e9" shape="rect" coords="101,563,277,589" alt="">
<area href="appli_8c.html#664c4100c31b4cb368fe516110290b99" shape="rect" coords="121,613,257,640" alt="">
<area href="interrupt_8c.html#a86d31d31831be20de69b1533b4acc5b" shape="rect" coords="544,588,587,615" alt="">
<area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="327,5,484,32" alt="">
<area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="328,56,483,83" alt="">
<area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="360,107,451,133" alt="">
<area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="360,157,451,184" alt="">
<area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="356,208,455,235" alt="">
<area href="appli_8c.html#8c7a3902aeab756e3fa26d1f047b2629" shape="rect" coords="368,411,443,437" alt="">
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="645,525,715,552" alt="">
<area href="canOpenDriver_8c.html#7fd72f38fd09b6e79a50ac32d8cc0629" shape="rect" coords="351,537,460,564" alt="">
</map>
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="86af49a155a36066b3b8560f0258b649"></a><!-- doxytag: member="appli.c::CAN_Baudrates" ref="86af49a155a36066b3b8560f0258b649" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structcanBusTime.html">canBusTime</a> <a class="el" href="appli_8c.html#86af49a155a36066b3b8560f0258b649">CAN_Baudrates</a>[] </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:21 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>