Minor changes in SYNC. Splitted SendSync in SendSync and SendSyncMessage to allow manual SYNC message transmission and separate SYNC proceeding (synced TPDOs)
<!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/Master.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>Master.c File Reference</h1><code>#include "<a class="el" href="Master_8h-source.html">Master.h</a>"</code><br>
<code>#include "<a class="el" href="Slave_8h-source.html">Slave.h</a>"</code><br>
<code>#include "<a class="el" href="TestMasterSlave_8h-source.html">TestMasterSlave.h</a>"</code><br>
<p>
Include dependency graph for Master.c:<p><center><img src="Master_8c__incl.png" border="0" usemap="#examples/TestMasterSlave/Master.c_map" alt=""></center>
<map name="examples/TestMasterSlave/Master.c_map">
<area href="Master_8h.html" shape="rect" coords="297,5,364,32" alt="">
<area href="Slave_8h.html" shape="rect" coords="300,56,361,83" alt="">
<area href="TestMasterSlave_8h.html" shape="rect" coords="271,107,391,133" alt="">
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="440,5,531,32" alt="">
<area href="data_8h.html" shape="rect" coords="596,31,649,57" alt="">
<area href="TestSlave_8h.html" shape="rect" coords="444,56,527,83" alt="">
<area href="win32_2canfestival_8h.html" shape="rect" coords="441,107,529,133" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="583,81,663,108" alt="">
<area href="can__driver_8h.html" shape="rect" coords="579,183,667,209" alt="">
</map>
<p>
<a href="Master_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="Master_8c.html#ab44b8110510c170a1075227cf400caf">TestMaster_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="Master_8c.html#173d54878164bf1ef49845c8fffbf19f">TestMaster_initialisation</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#9d3d58aa8fa14fe445f0fa13be678d2a">TestMaster_preOperational</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#c7ed44191510ba965044b347870c4ebf">TestMaster_operational</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#85ea45ff95b4b9520cc73920d08232a8">TestMaster_stopped</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#3f440fb00a4dddf2fde3349c2bc8b2d4">TestMaster_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="Master_8c.html#dc95bf1be3ee99722ed0cb2009c38b18">TestMaster_post_TPDO</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#0e0d46aa286ab29da7165a53203e1353">query_result</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#ba8696db9402be436133c1f4b9017a84">waiting_answer</a> = 0</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="ab44b8110510c170a1075227cf400caf"></a><!-- doxytag: member="Master.c::TestMaster_heartbeatError" ref="ab44b8110510c170a1075227cf400caf" args="(UNS8 heartbeatID)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestMaster_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="Master_8c-source.html#l00028">28</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="173d54878164bf1ef49845c8fffbf19f"></a><!-- doxytag: member="Master.c::TestMaster_initialisation" ref="173d54878164bf1ef49845c8fffbf19f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestMaster_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="Master_8c-source.html#l00038">38</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="c7ed44191510ba965044b347870c4ebf"></a><!-- doxytag: member="Master.c::TestMaster_operational" ref="c7ed44191510ba965044b347870c4ebf" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestMaster_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="Master_8c-source.html#l00154">154</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="3f440fb00a4dddf2fde3349c2bc8b2d4"></a><!-- doxytag: member="Master.c::TestMaster_post_sync" ref="3f440fb00a4dddf2fde3349c2bc8b2d4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestMaster_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="Master_8c-source.html#l00164">164</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="dc95bf1be3ee99722ed0cb2009c38b18"></a><!-- doxytag: member="Master.c::TestMaster_post_TPDO" ref="dc95bf1be3ee99722ed0cb2009c38b18" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestMaster_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="Master_8c-source.html#l00199">199</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="9d3d58aa8fa14fe445f0fa13be678d2a"></a><!-- doxytag: member="Master.c::TestMaster_preOperational" ref="9d3d58aa8fa14fe445f0fa13be678d2a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestMaster_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="Master_8c-source.html#l00146">146</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="85ea45ff95b4b9520cc73920d08232a8"></a><!-- doxytag: member="Master.c::TestMaster_stopped" ref="85ea45ff95b4b9520cc73920d08232a8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TestMaster_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="Master_8c-source.html#l00159">159</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="0e0d46aa286ab29da7165a53203e1353"></a><!-- doxytag: member="Master.c::query_result" ref="0e0d46aa286ab29da7165a53203e1353" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char <a class="el" href="Master_8c.html#0e0d46aa286ab29da7165a53203e1353">query_result</a> = 0 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="Master_8c-source.html#l00183">183</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
</div>
</div><p>
<a class="anchor" name="ba8696db9402be436133c1f4b9017a84"></a><!-- doxytag: member="Master.c::waiting_answer" ref="ba8696db9402be436133c1f4b9017a84" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char <a class="el" href="Master_8c.html#ba8696db9402be436133c1f4b9017a84">waiting_answer</a> = 0 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="Master_8c-source.html#l00184">184</a> of file <a class="el" href="Master_8c-source.html">Master.c</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>