Better EMCY support. Now EMCY COB-ID depend on OD 1014h entry, as told in DS-301.
<!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/TestMasterSlave/Slave.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="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_4f45567b048264117a95e53b67d9aefb.html">TestMasterSlave</a></div>
<h1>Slave.c File Reference</h1><code>#include "<a class="el" href="Slave_8h-source.html">Slave.h</a>"</code><br>
<code>#include "<a class="el" href="Master_8h-source.html">Master.h</a>"</code><br>
<code>#include "<a class="el" href="TestMasterSlave_8h-source.html">TestMasterSlave.h</a>"</code><br>
<p>
Include dependency graph for Slave.c:<p><center><img src="Slave_8c__incl.png" border="0" usemap="#examples/TestMasterSlave/Slave.c_map" alt=""></center>
<map name="examples/TestMasterSlave/Slave.c_map">
<area href="Slave_8h.html" shape="rect" coords="292,5,353,32" alt="">
<area href="Master_8h.html" shape="rect" coords="289,56,356,83" alt="">
<area href="TestMasterSlave_8h.html" shape="rect" coords="263,107,383,133" alt="">
<area href="TestSlave_8h.html" shape="rect" coords="436,5,519,32" alt="">
<area href="data_8h.html" shape="rect" coords="588,31,641,57" alt="">
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="432,56,523,83" alt="">
<area href="win32_2canfestival_8h.html" shape="rect" coords="433,107,521,133" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="575,81,655,108" alt="">
<area href="can__driver_8h.html" shape="rect" coords="571,183,659,209" alt="">
</map>
<p>
<a href="Slave_8c-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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#feea6edbb1f58238a49c0e292410d449">TestSlave_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="Slave_8c.html#ee7e3cdd945d35d48890257d44afc522">TestSlave_initialisation</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#5e1c535a74c3aa907292c27b098a3af5">TestSlave_preOperational</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#b3b281beb6cca9520ac6d69b057ace58">TestSlave_operational</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#492b2140b6577220c8f6a3ef37e7fba8">TestSlave_stopped</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#b4e6d39d4f2b797c291976a5fcdeb061">TestSlave_post_sync</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#fc116705e79ad78a9e32ec33e5226e2d">TestSlave_post_TPDO</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#1e047d439fd5887cc80528724fae0ca2">TestSlave_storeODSubIndex</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="feea6edbb1f58238a49c0e292410d449"></a><!-- doxytag: member="Slave.c::TestSlave_heartbeatError" ref="feea6edbb1f58238a49c0e292410d449" args="(UNS8 heartbeatID)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_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>
<p>
Definition at line <a class="el" href="Slave_8c-source.html#l00028">28</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<a class="anchor" name="ee7e3cdd945d35d48890257d44afc522"></a><!-- doxytag: member="Slave.c::TestSlave_initialisation" ref="ee7e3cdd945d35d48890257d44afc522" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_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>
<p>
Definition at line <a class="el" href="Slave_8c-source.html#l00033">33</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<a class="anchor" name="b3b281beb6cca9520ac6d69b057ace58"></a><!-- doxytag: member="Slave.c::TestSlave_operational" ref="b3b281beb6cca9520ac6d69b057ace58" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_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>
<p>
Definition at line <a class="el" href="Slave_8c-source.html#l00043">43</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<a class="anchor" name="b4e6d39d4f2b797c291976a5fcdeb061"></a><!-- doxytag: member="Slave.c::TestSlave_post_sync" ref="b4e6d39d4f2b797c291976a5fcdeb061" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_post_sync </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>
<p>
Definition at line <a class="el" href="Slave_8c-source.html#l00053">53</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, <a class="el" href="TestSlave_8c-source.html#l00009">SlaveMap1</a>, <a class="el" href="TestSlave_8c-source.html#l00018">SlaveMap10</a>, <a class="el" href="TestSlave_8c-source.html#l00019">SlaveMap11</a>, <a class="el" href="TestSlave_8c-source.html#l00020">SlaveMap12</a>, <a class="el" href="TestSlave_8c-source.html#l00021">SlaveMap13</a>, <a class="el" href="TestSlave_8c-source.html#l00010">SlaveMap2</a>, <a class="el" href="TestSlave_8c-source.html#l00011">SlaveMap3</a>, <a class="el" href="TestSlave_8c-source.html#l00012">SlaveMap4</a>, <a class="el" href="TestSlave_8c-source.html#l00013">SlaveMap5</a>, <a class="el" href="TestSlave_8c-source.html#l00014">SlaveMap6</a>, <a class="el" href="TestSlave_8c-source.html#l00015">SlaveMap7</a>, <a class="el" href="TestSlave_8c-source.html#l00016">SlaveMap8</a>, and <a class="el" href="TestSlave_8c-source.html#l00017">SlaveMap9</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<a class="anchor" name="fc116705e79ad78a9e32ec33e5226e2d"></a><!-- doxytag: member="Slave.c::TestSlave_post_TPDO" ref="fc116705e79ad78a9e32ec33e5226e2d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_post_TPDO </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>
<p>
Definition at line <a class="el" href="Slave_8c-source.html#l00085">85</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, and <a class="el" href="TestSlave_8c-source.html#l00021">SlaveMap13</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<a class="anchor" name="5e1c535a74c3aa907292c27b098a3af5"></a><!-- doxytag: member="Slave.c::TestSlave_preOperational" ref="5e1c535a74c3aa907292c27b098a3af5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_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>
<p>
Definition at line <a class="el" href="Slave_8c-source.html#l00038">38</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<a class="anchor" name="492b2140b6577220c8f6a3ef37e7fba8"></a><!-- doxytag: member="Slave.c::TestSlave_stopped" ref="492b2140b6577220c8f6a3ef37e7fba8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_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>
<p>
Definition at line <a class="el" href="Slave_8c-source.html#l00048">48</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<a class="anchor" name="1e047d439fd5887cc80528724fae0ca2"></a><!-- doxytag: member="Slave.c::TestSlave_storeODSubIndex" ref="1e047d439fd5887cc80528724fae0ca2" args="(UNS16 wIndex, UNS8 bSubindex)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestSlave_storeODSubIndex </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">UNS8 </td>
<td class="paramname"> <em>bSubindex</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="Slave_8c-source.html#l00091">91</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
<p>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
<p>
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:23 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>