As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
Concerned callbacks :
initialisation
preOperational
operational
stopped
heartbeatError
post_sync
post_TPDO
post_SlaveBootup
storeODSubIndex
post_emcy
<!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: canBusInit Struct 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 id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><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="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul></div>
<h1>canBusInit Struct Reference</h1><!-- doxytag: class="canBusInit" --><code>#include <<a class="el" href="candriver_8h-source.html">candriver.h</a>></code>
<p>
Collaboration diagram for canBusInit:<p><center><img src="structcanBusInit__coll__graph.png" border="0" usemap="#canBusInit__coll__map" alt="Collaboration graph"></center>
<map name="canBusInit__coll__map">
<area href="structcanBusTime.html" shape="rect" coords="5,5,93,32" alt="">
<area href="structcanBusFilterInit.html" shape="rect" coords="117,5,224,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#e55fa49debf408530d0e02e046c78fc2">cswai</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#b2d867e2d4c69932e82294affc065529">time</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#94b6d65fade44b397c1e48e658e7bffe">cane</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#a795e561857d0643cb7912ed92ab5268">clksrc</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#c8a539634dabd6c10519a59480cb250c">loopb</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#3576034b380091818fc88fb22aa408f2">listen</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#acf29b4229abadb3f5ab7a6524b406e7">wupm</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcanBusTime.html">canBusTime</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#3416d1e391b6ced43c74c1a28d473b7c">clk</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcanBusFilterInit.html">canBusFilterInit</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanBusInit.html#3311c0959bc93dedb5bd13fb653eab7c">fi</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00153">153</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.<hr><h2>Field Documentation</h2>
<a class="anchor" name="e55fa49debf408530d0e02e046c78fc2"></a><!-- doxytag: member="canBusInit::cswai" ref="e55fa49debf408530d0e02e046c78fc2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structcanBusInit.html#e55fa49debf408530d0e02e046c78fc2">canBusInit::cswai</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00154">154</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
</div>
</div><p>
<a class="anchor" name="b2d867e2d4c69932e82294affc065529"></a><!-- doxytag: member="canBusInit::time" ref="b2d867e2d4c69932e82294affc065529" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structcanBusInit.html#b2d867e2d4c69932e82294affc065529">canBusInit::time</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00155">155</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
</div>
</div><p>
<a class="anchor" name="94b6d65fade44b397c1e48e658e7bffe"></a><!-- doxytag: member="canBusInit::cane" ref="94b6d65fade44b397c1e48e658e7bffe" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structcanBusInit.html#94b6d65fade44b397c1e48e658e7bffe">canBusInit::cane</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00156">156</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
</div>
</div><p>
<a class="anchor" name="a795e561857d0643cb7912ed92ab5268"></a><!-- doxytag: member="canBusInit::clksrc" ref="a795e561857d0643cb7912ed92ab5268" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structcanBusInit.html#a795e561857d0643cb7912ed92ab5268">canBusInit::clksrc</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00157">157</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
</div>
</div><p>
<a class="anchor" name="c8a539634dabd6c10519a59480cb250c"></a><!-- doxytag: member="canBusInit::loopb" ref="c8a539634dabd6c10519a59480cb250c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structcanBusInit.html#c8a539634dabd6c10519a59480cb250c">canBusInit::loopb</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00158">158</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
</div>
</div><p>
<a class="anchor" name="3576034b380091818fc88fb22aa408f2"></a><!-- doxytag: member="canBusInit::listen" ref="3576034b380091818fc88fb22aa408f2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structcanBusInit.html#3576034b380091818fc88fb22aa408f2">canBusInit::listen</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00159">159</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
</div>
</div><p>
<a class="anchor" name="acf29b4229abadb3f5ab7a6524b406e7"></a><!-- doxytag: member="canBusInit::wupm" ref="acf29b4229abadb3f5ab7a6524b406e7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structcanBusInit.html#acf29b4229abadb3f5ab7a6524b406e7">canBusInit::wupm</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00160">160</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
</div>
</div><p>
<a class="anchor" name="3416d1e391b6ced43c74c1a28d473b7c"></a><!-- doxytag: member="canBusInit::clk" ref="3416d1e391b6ced43c74c1a28d473b7c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcanBusTime.html">canBusTime</a> <a class="el" href="structcanBusInit.html#3416d1e391b6ced43c74c1a28d473b7c">canBusInit::clk</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00162">162</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>, and <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
</div>
</div><p>
<a class="anchor" name="3311c0959bc93dedb5bd13fb653eab7c"></a><!-- doxytag: member="canBusInit::fi" ref="3311c0959bc93dedb5bd13fb653eab7c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcanBusFilterInit.html">canBusFilterInit</a> <a class="el" href="structcanBusInit.html#3311c0959bc93dedb5bd13fb653eab7c">canBusInit::fi</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="candriver_8h-source.html#l00164">164</a> of file <a class="el" href="candriver_8h-source.html">candriver.h</a>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>include/hcs12/<a class="el" href="candriver_8h-source.html">candriver.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:43 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>