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: include/config.h 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_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
<h1>config.h File Reference</h1>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="config_8h__dep__incl.png" border="0" usemap="#include/config.hdep_map" alt=""></center>
<map name="include/config.hdep_map">
<area href="def_8h.html" shape="rect" coords="173,107,264,133" alt="">
<area href="sysdep_8h.html" shape="rect" coords="164,183,273,209" alt="">
<area href="states_8c.html" shape="rect" coords="380,5,460,32" alt="">
<area href="can__virtual_8c.html" shape="rect" coords="323,56,517,83" alt="">
<area href="data_8h.html" shape="rect" coords="372,107,468,133" alt="">
<area href="pdo_8h.html" shape="rect" coords="567,107,660,133" alt="">
<area href="dcf_8c.html" shape="rect" coords="387,208,453,235" alt="">
</map>
<p>
<a href="config_8h-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="config_8h.html#b1f8cd877e93b7b9530cbd6ea6a4b600">MAX_CAN_BUS_ID</a> 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#e349e5216536a3d8b18d32e6065d11be">SDO_MAX_LENGTH_TRANSFERT</a> 32</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#4e9504f5e7dd7dd246a2dcdfe4aca66d">SDO_MAX_SIMULTANEOUS_TRANSFERTS</a> 4</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#2ee1e815b40aa4cbd0acdc341d9214bd">NMT_MAX_NODE_ID</a> 128</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#2114fa0c36f68031b18e883dcdbde6b5">SDO_TIMEOUT_MS</a> 3000</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#893c52ed173989613d09770db8b9f294">MAX_NB_TIMER</a> 32</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#8cce5a6c1a138469a63feb5c96a1f5f6">REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES</a>(repeat) repeat repeat repeat repeat</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#27106a31ff08221f9515df6d4022e198">REPEAT_NMT_MAX_NODE_ID_TIMES</a>(repeat) repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat</td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="b1f8cd877e93b7b9530cbd6ea6a4b600"></a><!-- doxytag: member="config.h::MAX_CAN_BUS_ID" ref="b1f8cd877e93b7b9530cbd6ea6a4b600" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAX_CAN_BUS_ID 1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00027">27</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
</div>
</div><p>
<a class="anchor" name="893c52ed173989613d09770db8b9f294"></a><!-- doxytag: member="config.h::MAX_NB_TIMER" ref="893c52ed173989613d09770db8b9f294" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAX_NB_TIMER 32 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00032">32</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
<p>
Referenced by <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="2ee1e815b40aa4cbd0acdc341d9214bd"></a><!-- doxytag: member="config.h::NMT_MAX_NODE_ID" ref="2ee1e815b40aa4cbd0acdc341d9214bd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NMT_MAX_NODE_ID 128 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00030">30</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
<p>
Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>.
</div>
</div><p>
<a class="anchor" name="27106a31ff08221f9515df6d4022e198"></a><!-- doxytag: member="config.h::REPEAT_NMT_MAX_NODE_ID_TIMES" ref="27106a31ff08221f9515df6d4022e198" args="(repeat)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define REPEAT_NMT_MAX_NODE_ID_TIMES </td>
<td>(</td>
<td class="paramtype">repeat </td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00041">41</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
</div>
</div><p>
<a class="anchor" name="8cce5a6c1a138469a63feb5c96a1f5f6"></a><!-- doxytag: member="config.h::REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES" ref="8cce5a6c1a138469a63feb5c96a1f5f6" args="(repeat)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES </td>
<td>(</td>
<td class="paramtype">repeat </td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> repeat repeat repeat repeat</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00039">39</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
</div>
</div><p>
<a class="anchor" name="e349e5216536a3d8b18d32e6065d11be"></a><!-- doxytag: member="config.h::SDO_MAX_LENGTH_TRANSFERT" ref="e349e5216536a3d8b18d32e6065d11be" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SDO_MAX_LENGTH_TRANSFERT 32 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00028">28</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00250">lineToSDO()</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>, and <a class="el" href="sdo_8c-source.html#l00479">setSDOlineRestBytes()</a>.
</div>
</div><p>
<a class="anchor" name="4e9504f5e7dd7dd246a2dcdfe4aca66d"></a><!-- doxytag: member="config.h::SDO_MAX_SIMULTANEOUS_TRANSFERTS" ref="4e9504f5e7dd7dd246a2dcdfe4aca66d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SDO_MAX_SIMULTANEOUS_TRANSFERTS 4 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00029">29</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, and <a class="el" href="sdo_8c-source.html#l00169">resetSDO()</a>.
</div>
</div><p>
<a class="anchor" name="2114fa0c36f68031b18e883dcdbde6b5"></a><!-- doxytag: member="config.h::SDO_TIMEOUT_MS" ref="2114fa0c36f68031b18e883dcdbde6b5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SDO_TIMEOUT_MS 3000 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="config_8h-source.html#l00031">31</a> of file <a class="el" href="config_8h-source.html">config.h</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:26 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>