<!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="namespaces.html"><span>Namespaces</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>
</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>
<h1>examples/gene_SYNC_HCS12/appli.c File Reference</h1><code>#include <stddef.h></code><br>
<code>#include <<a class="el" href="portsaccess_8h.html">asm-m68hc12/portsaccess.h</a>></code><br>
<code>#include <<a class="el" href="ports__def_8h.html">asm-m68hc12/ports_def.h</a>></code><br>
<code>#include <<a class="el" href="ports_8h.html">asm-m68hc12/ports.h</a>></code><br>
<code>#include <<a class="el" href="interrupt_8h.html">interrupt.h</a>></code><br>
<code>#include "../include/data.h"</code><br>
<code>#include <<a class="el" href="win32_2applicfg_8h.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.html">objdict.h</a>"</code><br>
<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#4f52c00ab0d519e2965ebaa533975904">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#bb416887a32f7e4333e095356774f07f">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#a5385c49943465978358d459b4fc430f">E_CanBaudrate</a> { <a class="el" href="appli_8c.html#a5385c49943465978358d459b4fc430f8d90575842d76640697deb1398f7023c">CAN_BAUDRATE_250K</a>,
<a class="el" href="appli_8c.html#a5385c49943465978358d459b4fc430f07239165beed5e840aed12e7f46af89b">CAN_BAUDRATE_500K</a>,
<a class="el" href="appli_8c.html#a5385c49943465978358d459b4fc430ff84d248d0fb707925b35c9ec18624809">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#8d772d897083e5a5c5f41878cfea50b8">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#ff8c2bab7ede63d3529f62b4fa3aca8c">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#c17a18fa3b7965bf6e850effaba7179a">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#b7c33a91e5101b8d7371482fcfd6111d">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#07f58b5c2d6a07142f3e6e695798646b">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#5249682c125c7e4ad9583bf63c20b5fa">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#ccd49c1b2614c38aeac93733ede6cd91">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#688e52d5ec8da35ad5c61b4337df495d">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#00e6a6d0f2186f329263023a7f1de155">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#ef83014be811ae964a5ef7f0af7b46a2">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#43fd1d8fc333eddd19554acb6cc2baf8">CAN_Baudrates</a> []</td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="bb416887a32f7e4333e095356774f07f"></a><!-- doxytag: member="appli.c::DEBUG_ERR_CONSOLE_ON" ref="bb416887a32f7e4333e095356774f07f" 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>
</div>
</div><p>
<a class="anchor" name="4f52c00ab0d519e2965ebaa533975904"></a><!-- doxytag: member="appli.c::DEBUG_WAR_CONSOLE_ON" ref="4f52c00ab0d519e2965ebaa533975904" 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>
</div>
</div><p>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="a5385c49943465978358d459b4fc430f"></a><!-- doxytag: member="appli.c::E_CanBaudrate" ref="a5385c49943465978358d459b4fc430f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="appli_8c.html#a5385c49943465978358d459b4fc430f">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="a5385c49943465978358d459b4fc430f8d90575842d76640697deb1398f7023c"></a><!-- doxytag: member="CAN_BAUDRATE_250K" ref="a5385c49943465978358d459b4fc430f8d90575842d76640697deb1398f7023c" args="" -->CAN_BAUDRATE_250K</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a5385c49943465978358d459b4fc430f07239165beed5e840aed12e7f46af89b"></a><!-- doxytag: member="CAN_BAUDRATE_500K" ref="a5385c49943465978358d459b4fc430f07239165beed5e840aed12e7f46af89b" args="" -->CAN_BAUDRATE_500K</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a5385c49943465978358d459b4fc430ff84d248d0fb707925b35c9ec18624809"></a><!-- doxytag: member="CAN_BAUDRATE_1M" ref="a5385c49943465978358d459b4fc430ff84d248d0fb707925b35c9ec18624809" args="" -->CAN_BAUDRATE_1M</em> </td><td>
</td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="07f58b5c2d6a07142f3e6e695798646b"></a><!-- doxytag: member="appli.c::gene_SYNC_heartbeatError" ref="07f58b5c2d6a07142f3e6e695798646b" 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>
</div>
</div><p>
<a class="anchor" name="5249682c125c7e4ad9583bf63c20b5fa"></a><!-- doxytag: member="appli.c::gene_SYNC_initialisation" ref="5249682c125c7e4ad9583bf63c20b5fa" 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>
</div>
</div><p>
<a class="anchor" name="688e52d5ec8da35ad5c61b4337df495d"></a><!-- doxytag: member="appli.c::gene_SYNC_operational" ref="688e52d5ec8da35ad5c61b4337df495d" 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>
</div>
</div><p>
<a class="anchor" name="ccd49c1b2614c38aeac93733ede6cd91"></a><!-- doxytag: member="appli.c::gene_SYNC_preOperational" ref="ccd49c1b2614c38aeac93733ede6cd91" 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>
</div>
</div><p>
<a class="anchor" name="00e6a6d0f2186f329263023a7f1de155"></a><!-- doxytag: member="appli.c::gene_SYNC_stopped" ref="00e6a6d0f2186f329263023a7f1de155" 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>
</div>
</div><p>
<a class="anchor" name="8d772d897083e5a5c5f41878cfea50b8"></a><!-- doxytag: member="appli.c::initCanopencapteur" ref="8d772d897083e5a5c5f41878cfea50b8" 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="c17a18fa3b7965bf6e850effaba7179a"></a><!-- doxytag: member="appli.c::initPortB" ref="c17a18fa3b7965bf6e850effaba7179a" 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>
</div>
</div><p>
<a class="anchor" name="b7c33a91e5101b8d7371482fcfd6111d"></a><!-- doxytag: member="appli.c::initPortH" ref="b7c33a91e5101b8d7371482fcfd6111d" 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>
</div>
</div><p>
<a class="anchor" name="ff8c2bab7ede63d3529f62b4fa3aca8c"></a><!-- doxytag: member="appli.c::initSensor" ref="ff8c2bab7ede63d3529f62b4fa3aca8c" 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>
</div>
</div><p>
<a class="anchor" name="ef83014be811ae964a5ef7f0af7b46a2"></a><!-- doxytag: member="appli.c::main" ref="ef83014be811ae964a5ef7f0af7b46a2" 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>
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="43fd1d8fc333eddd19554acb6cc2baf8"></a><!-- doxytag: member="appli.c::CAN_Baudrates" ref="43fd1d8fc333eddd19554acb6cc2baf8" 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#43fd1d8fc333eddd19554acb6cc2baf8">CAN_Baudrates</a>[] </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 15:50:45 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>