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: examples/TestMasterMicroMod/TestMaster.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_aa575cee5acc3b84cc5b4489187a1fd3.html">examples</a> » <a class="el" href="dir_c6ec2311b9c3220564f22df7a614280d.html">TestMasterMicroMod</a></div>
<h1>TestMaster.h File Reference</h1><code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br>
<p>
Include dependency graph for TestMaster.h:<p><center><img src="TestMasterMicroMod_2TestMaster_8h__incl.png" border="0" usemap="#examples/TestMasterMicroMod/TestMaster.h_map" alt=""></center>
<map name="examples/TestMasterMicroMod/TestMaster.h_map">
<area href="data_8h.html" shape="rect" coords="320,259,373,285" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="673,183,748,209" alt="">
<area href="def_8h.html" shape="rect" coords="567,385,615,412" alt="">
<area href="can_8h.html" shape="rect" coords="567,208,615,235" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="424,461,509,488" alt="">
<area href="objacces_8h.html" shape="rect" coords="428,157,505,184" alt="">
<area href="sdo_8h.html" shape="rect" coords="443,309,491,336" alt="">
<area href="pdo_8h.html" shape="rect" coords="441,259,492,285" alt="">
<area href="states_8h.html" shape="rect" coords="436,5,497,32" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="433,56,500,83" alt="">
<area href="sync_8h.html" shape="rect" coords="439,512,495,539" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="423,563,511,589" alt="">
<area href="config_8h.html" shape="rect" coords="679,385,743,412" alt="">
<area href="timer_8h.html" shape="rect" coords="561,309,620,336" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="671,291,751,317" alt="">
</map>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="TestMasterMicroMod_2TestMaster_8h__dep__incl.png" border="0" usemap="#examples/TestMasterMicroMod/TestMaster.hdep_map" alt=""></center>
<map name="examples/TestMasterMicroMod/TestMaster.hdep_map">
<area href="TestMasterMicroMod_2TestMaster_8c.html" shape="rect" coords="349,5,616,32" alt="">
<area href="TestMasterMicroMod_8c.html" shape="rect" coords="321,56,644,83" alt="">
</map>
<p>
<a href="TestMasterMicroMod_2TestMaster_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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#6c57ffe71a8fcfb34613471612bf0b90">TestMaster_valueRangeTest</a> (UNS8 typeValue, void *value)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structtd__indextable.html">indextable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#a4ec154de1cd8a2f6d1cd0a288d2a24b">TestMaster_scanIndexOD</a> (UNS16 wIndex, UNS32 *errorCode, <a class="el" href="objdictdef_8h.html#01303c7a6ee17ba5678931e2756dd5e6">ODCallback_t</a> **callbacks)</td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></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="TestMasterMicroMod_2TestMaster_8h.html#3a8f0f252681df21db87f6d2066def8c">TestMaster_Data</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#e15951070a2426e615aaa69f4e5a1e37">DO</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#f5828ae21cbd031f96f0790293ab5b7a">DI1</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#43615fda703a88e8bf10bdc71d8046c0">DI2</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#ce703640e2a429a0ea382f495c5142df">DI3</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#9c05bab52d4bbda91c866a65d024255d">DI4</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#fa1a74b950cb403cbd9dc52563246061">DI5</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#b153fbd14a4a24799fec1e75d203d774">DI6</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#f9e3ddd5349c02d058c3027cfa627a3d">DI7</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#dcd633386ca9ca30f64ee51a0a087d92">DI8</a></td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="a4ec154de1cd8a2f6d1cd0a288d2a24b"></a><!-- doxytag: member="TestMaster.h::TestMaster_scanIndexOD" ref="a4ec154de1cd8a2f6d1cd0a288d2a24b" args="(UNS16 wIndex, UNS32 *errorCode, ODCallback_t **callbacks)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structtd__indextable.html">indextable</a>* TestMaster_scanIndexOD </td>
<td>(</td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS32 * </td>
<td class="paramname"> <em>errorCode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="objdictdef_8h.html#01303c7a6ee17ba5678931e2756dd5e6">ODCallback_t</a> ** </td>
<td class="paramname"> <em>callbacks</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00425">425</a> of file <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
References <a class="el" href="def_8h-source.html#l00034">OD_NO_SUCH_OBJECT</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00071">TestMaster_Index1005_callbacks</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00082">TestMaster_Index1006_callbacks</a>, and <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00390">TestMaster_objdict</a>.
</div>
</div><p>
<a class="anchor" name="6c57ffe71a8fcfb34613471612bf0b90"></a><!-- doxytag: member="TestMaster.h::TestMaster_valueRangeTest" ref="6c57ffe71a8fcfb34613471612bf0b90" args="(UNS8 typeValue, void *value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 TestMaster_valueRangeTest </td>
<td>(</td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>typeValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00027">27</a> of file <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html">TestMaster.c</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="f5828ae21cbd031f96f0790293ab5b7a"></a><!-- doxytag: member="TestMaster.h::DI1" ref="f5828ae21cbd031f96f0790293ab5b7a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#f5828ae21cbd031f96f0790293ab5b7a">DI1</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00010">10</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="43615fda703a88e8bf10bdc71d8046c0"></a><!-- doxytag: member="TestMaster.h::DI2" ref="43615fda703a88e8bf10bdc71d8046c0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#43615fda703a88e8bf10bdc71d8046c0">DI2</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00011">11</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="ce703640e2a429a0ea382f495c5142df"></a><!-- doxytag: member="TestMaster.h::DI3" ref="ce703640e2a429a0ea382f495c5142df" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#ce703640e2a429a0ea382f495c5142df">DI3</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00012">12</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="9c05bab52d4bbda91c866a65d024255d"></a><!-- doxytag: member="TestMaster.h::DI4" ref="9c05bab52d4bbda91c866a65d024255d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#9c05bab52d4bbda91c866a65d024255d">DI4</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00013">13</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="fa1a74b950cb403cbd9dc52563246061"></a><!-- doxytag: member="TestMaster.h::DI5" ref="fa1a74b950cb403cbd9dc52563246061" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#fa1a74b950cb403cbd9dc52563246061">DI5</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00014">14</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="b153fbd14a4a24799fec1e75d203d774"></a><!-- doxytag: member="TestMaster.h::DI6" ref="b153fbd14a4a24799fec1e75d203d774" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#b153fbd14a4a24799fec1e75d203d774">DI6</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00015">15</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="f9e3ddd5349c02d058c3027cfa627a3d"></a><!-- doxytag: member="TestMaster.h::DI7" ref="f9e3ddd5349c02d058c3027cfa627a3d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#f9e3ddd5349c02d058c3027cfa627a3d">DI7</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00016">16</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="dcd633386ca9ca30f64ee51a0a087d92"></a><!-- doxytag: member="TestMaster.h::DI8" ref="dcd633386ca9ca30f64ee51a0a087d92" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#dcd633386ca9ca30f64ee51a0a087d92">DI8</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00017">17</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="e15951070a2426e615aaa69f4e5a1e37"></a><!-- doxytag: member="TestMaster.h::DO" ref="e15951070a2426e615aaa69f4e5a1e37" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="TestMasterMicroMod_2TestMaster_8h.html#e15951070a2426e615aaa69f4e5a1e37">DO</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00009">9</a> of file <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html">TestMaster.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00323">TestMaster_post_sync()</a>.
</div>
</div><p>
<a class="anchor" name="3a8f0f252681df21db87f6d2066def8c"></a><!-- doxytag: member="TestMaster.h::TestMaster_Data" ref="3a8f0f252681df21db87f6d2066def8c" 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="TestMasterMicroMod_2TestMaster_8h.html#3a8f0f252681df21db87f6d2066def8c">TestMaster_Data</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00496">496</a> of file <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html">TestMaster.c</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:24 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>