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: struct_s_timer_entry 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>struct_s_timer_entry Struct Reference</h1><!-- doxytag: class="struct_s_timer_entry" --><code>#include <<a class="el" href="timer_8h-source.html">timer.h</a>></code>
<p>
Collaboration diagram for struct_s_timer_entry:<p><center><img src="structstruct__s__timer__entry__coll__graph.png" border="0" usemap="#struct__s__timer__entry__coll__map" alt="Collaboration graph"></center>
<map name="struct__s__timer__entry__coll__map">
<area href="structstruct__CO__Data.html" shape="rect" coords="276,293,383,320" alt="">
<area href="structstruct__s__PDO__status.html" shape="rect" coords="5,187,139,213" alt="">
<area href="structMessage.html" shape="rect" coords="39,96,105,123" alt="">
<area href="structSHORT__CAN.html" shape="rect" coords="23,5,121,32" alt="">
<area href="structtd__indextable.html" shape="rect" coords="163,187,256,213" alt="">
<area href="structtd__subindex.html" shape="rect" coords="167,96,252,123" alt="">
<area href="structs__quick__index.html" shape="rect" coords="280,187,379,213" alt="">
<area href="structs__state__communication.html" shape="rect" coords="403,187,549,213" alt="">
<area href="structstruct__s__transfer.html" shape="rect" coords="588,187,697,213" 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="structstruct__s__timer__entry.html#48f463cd0804517aeb60b27979143c56">state</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__timer__entry.html#692e4f379d9b3976895df243e12ccacb">callback</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__timer__entry.html#abba0eed61eee45a3b4bef93edaaf77f">id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__timer__entry.html#c85c662fac7a4d11ca7e993b180d53f3">val</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__timer__entry.html#fca0c6aa0fbf43db4e074f38cc6e5bf0">interval</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<p>
<p>
Definition at line <a class="el" href="timer_8h-source.html#l00043">43</a> of file <a class="el" href="timer_8h-source.html">timer.h</a>.<hr><h2>Field Documentation</h2>
<a class="anchor" name="48f463cd0804517aeb60b27979143c56"></a><!-- doxytag: member="struct_s_timer_entry::state" ref="48f463cd0804517aeb60b27979143c56" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__timer__entry.html#48f463cd0804517aeb60b27979143c56">struct_s_timer_entry::state</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="timer_8h-source.html#l00044">44</a> of file <a class="el" href="timer_8h-source.html">timer.h</a>.
<p>
Referenced by <a class="el" href="timer_8c-source.html#l00112">DelAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="1f47508e63fb89e692b98e178a78268f"></a><!-- doxytag: member="struct_s_timer_entry::d" ref="1f47508e63fb89e692b98e178a78268f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structstruct__CO__Data.html">CO_Data</a>* <a class="el" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">struct_s_timer_entry::d</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="timer_8h-source.html#l00045">45</a> of file <a class="el" href="timer_8h-source.html">timer.h</a>.
<p>
Referenced by <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="pdo_8c-source.html#l00442">_sendPDOevent()</a>, <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="pdo_8c-source.html#l00048">buildPDO()</a>, <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>, <a class="el" href="sdo_8c-source.html#l00439">closeSDOtransfer()</a>, <a class="el" href="lifegrd_8c-source.html#l00067">ConsumerHearbeatAlarm()</a>, <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="states_8c-source.html#l00224">getNodeId()</a>, <a class="el" href="lifegrd_8c-source.html#l00055">getNodeState()</a>, <a class="el" href="objacces_8c-source.html#l00198">getODentry()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00461">getSDOlineRestBytes()</a>, <a class="el" href="states_8c-source.html#l00054">getState()</a>, <a class="el" href="sdo_8c-source.html#l01573">getWriteResultNetworkDict()</a>, <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, <a class="el" href="lifegrd_8c-source.html#l00236">heartbeatStop()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00250">lineToSDO()</a>, <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>, <a class="el" href="nmtMaster_8c-source.html#l00070">masterSendNMTnodeguard()</a>, <a class="el" href="nmtMaster_8c-source.html#l00045">masterSendNMTstateChange()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="sync_8c-source.html#l00069">OnCOB_ID_SyncUpdate()</a>, <a class="el" href="lifegrd_8c-source.html#l00194">OnHeartbeatProducerUpdate()</a>, <a class="el" href="pdo_8c-source.html#l00415">PDOEventTimerAlarm()</a>, <a class="el" href="pdo_8c-source.html#l00424">PDOInhibitTimerAlarm()</a>, <a class="el" href="pdo_8c-source.html#l00601">PDOInit()</a>, <a class="el" href="pdo_8c-source.html#l00632">PDOStop()</a>, <a class="el" href="nmtSlave_8c-source.html#l00043">proceedNMTstateChange()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="pdo_8c-source.html#l00141">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="lifegrd_8c-source.html#l00161">ProducerHearbeatAlarm()</a>, <a class="el" href="objacces_8c-source.html#l00229">readLocalDict()</a>, <a class="el" href="sdo_8c-source.html#l01499">readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01516">readNetworkDictCallback()</a>, <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>, <a class="el" href="sdo_8c-source.html#l00169">resetSDO()</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="objacces_8c-source.html#l00404">scanIndexOD()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>, <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>, <a class="el" href="pdo_8c-source.html#l00408">sendPDOevent()</a>, <a class="el" href="pdo_8c-source.html#l00104">sendPDOrequest()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>, <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>, <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>, <a class="el" href="states_8c-source.html#l00235">setNodeId()</a>, <a class="el" href="objacces_8c-source.html#l00350">setODentry()</a>, <a class="el" href="sdo_8c-source.html#l00479">setSDOlineRestBytes()</a>, <a class="el" href="states_8c-source.html#l00138">setState()</a>, <a class="el" href="nmtSlave_8c-source.html#l00097">slaveSendBootUp()</a>, <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>, <a class="el" href="sync_8c-source.html#l00105">stopSYNC()</a>, <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>, <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>, <a class="el" href="pdo_8c-source.html#l00573">TPDO_Communication_Parameter_Callback()</a>, <a class="el" href="objacces_8c-source.html#l00378">writeLocalDict()</a>, <a class="el" href="sdo_8c-source.html#l01368">writeNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l01388">writeNetworkDictCallBack()</a>.
</div>
</div><p>
<a class="anchor" name="692e4f379d9b3976895df243e12ccacb"></a><!-- doxytag: member="struct_s_timer_entry::callback" ref="692e4f379d9b3976895df243e12ccacb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a> <a class="el" href="structstruct__s__timer__entry.html#692e4f379d9b3976895df243e12ccacb">struct_s_timer_entry::callback</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="timer_8h-source.html#l00046">46</a> of file <a class="el" href="timer_8h-source.html">timer.h</a>.
</div>
</div><p>
<a class="anchor" name="abba0eed61eee45a3b4bef93edaaf77f"></a><!-- doxytag: member="struct_s_timer_entry::id" ref="abba0eed61eee45a3b4bef93edaaf77f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 <a class="el" href="structstruct__s__timer__entry.html#abba0eed61eee45a3b4bef93edaaf77f">struct_s_timer_entry::id</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="timer_8h-source.html#l00047">47</a> of file <a class="el" href="timer_8h-source.html">timer.h</a>.
</div>
</div><p>
<a class="anchor" name="c85c662fac7a4d11ca7e993b180d53f3"></a><!-- doxytag: member="struct_s_timer_entry::val" ref="c85c662fac7a4d11ca7e993b180d53f3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TIMEVAL <a class="el" href="structstruct__s__timer__entry.html#c85c662fac7a4d11ca7e993b180d53f3">struct_s_timer_entry::val</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="timer_8h-source.html#l00048">48</a> of file <a class="el" href="timer_8h-source.html">timer.h</a>.
</div>
</div><p>
<a class="anchor" name="fca0c6aa0fbf43db4e074f38cc6e5bf0"></a><!-- doxytag: member="struct_s_timer_entry::interval" ref="fca0c6aa0fbf43db4e074f38cc6e5bf0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TIMEVAL <a class="el" href="structstruct__s__timer__entry.html#fca0c6aa0fbf43db4e074f38cc6e5bf0">struct_s_timer_entry::interval</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="timer_8h-source.html#l00049">49</a> of file <a class="el" href="timer_8h-source.html">timer.h</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="timer_8h-source.html">timer.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:44 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>