doc/doxygen/html/Master_8h.html
author etisserant
Mon, 02 Jul 2007 18:22:58 +0200
changeset 236 905677ed00f3
parent 215 f49e5a6b7804
child 240 34654679f262
permissions -rw-r--r--
Full preliminary implementation of TPDO transmit type:
- SYNC (N) (1-240)
- RTR only + SYNC (252)
- RTR only (253)
- EVENT, with timer and inhibit time (254 and 255)

User app have to call sendPDOevent(d) to eventually signal mapped data changes.
Callbacks added to 0x140N, TPDO comm parameters for on the fly timers values change.
TestMasterSlave updated.
<!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.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&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_fc8d77725c328f9de5a130dceab5a508.html">examples</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_cb9d6d827bc8780b4808994475b6fec1.html">TestMasterSlave</a></div>
<h1>Master.h File Reference</h1><code>#include &quot;<a class="el" href="TestMasterSlave_2TestMaster_8h-source.html">TestMaster.h</a>&quot;</code><br>

<p>
Include dependency graph for Master.h:<p><center><img src="Master_8h__incl.png" border="0" usemap="#examples/TestMasterSlave/Master.h_map" alt=""></center>
<map name="examples/TestMasterSlave/Master.h_map">
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="319,299,425,323" alt="">
<area href="data_8h.html" shape="rect" coords="476,299,540,323" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="745,251,833,275" alt="">
<area href="def_8h.html" shape="rect" coords="761,32,817,56" alt="">
<area href="can_8h.html" shape="rect" coords="613,203,672,227" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="592,155,693,179" alt="">
<area href="objacces_8h.html" shape="rect" coords="596,299,689,323" alt="">
<area href="sdo_8h.html" shape="rect" coords="613,251,672,275" alt="">
<area href="pdo_8h.html" shape="rect" coords="613,56,672,80" alt="">
<area href="states_8h.html" shape="rect" coords="605,395,680,419" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="604,347,681,371" alt="">
<area href="sync_8h.html" shape="rect" coords="609,443,676,467" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="589,491,696,515" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="Master_8h__dep__incl.png" border="0" usemap="#examples/TestMasterSlave/Master.hdep_map" alt=""></center>
<map name="examples/TestMasterSlave/Master.hdep_map">
<area href="Master_8c.html" shape="rect" coords="351,6,612,30" alt="">
<area href="Slave_8c.html" shape="rect" coords="355,54,608,78" alt="">
<area href="TestMasterSlave_8c.html" shape="rect" coords="319,102,644,126" alt="">
</map>

<p>
<a href="Master_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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#68bcbab35a7a058c874ac3af06cbf240">TestMaster_heartbeatError</a> (UNS8)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#6c928d57139125b6aaadc9df4f337489">TestMaster_canSend</a> (<a class="el" href="structMessage.html">Message</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#0c39246491ef97103fad9f8087c7994b">TestMaster_initialisation</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#f8fc4f9c510c05a678c123cfde42c2b9">TestMaster_preOperational</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#3e91c546626b971be52999974e9a09d7">TestMaster_operational</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#54990cb4513be0eb2f3690131204d375">TestMaster_stopped</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#600981dd777d30387dc8eb3ec85d8ea3">TestMaster_post_sync</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8h.html#b85edc6945cb2404d6eef4a11cd66c82">TestMaster_post_TPDO</a> (void)</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="6c928d57139125b6aaadc9df4f337489"></a><!-- doxytag: member="Master.h::TestMaster_canSend" ref="6c928d57139125b6aaadc9df4f337489" args="(Message *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS8 TestMaster_canSend           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="68bcbab35a7a058c874ac3af06cbf240"></a><!-- doxytag: member="Master.h::TestMaster_heartbeatError" ref="68bcbab35a7a058c874ac3af06cbf240" args="(UNS8)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TestMaster_heartbeatError           </td>
          <td>(</td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
</div>
</div><p>
<a class="anchor" name="0c39246491ef97103fad9f8087c7994b"></a><!-- doxytag: member="Master.h::TestMaster_initialisation" ref="0c39246491ef97103fad9f8087c7994b" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TestMaster_initialisation           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, <a class="el" href="objdictdef_8h-source.html#l00085">RW</a>, <a class="el" href="TestMasterMicroMod_8c-source.html#l00041">slavenodeid</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00411">TestMaster_Data</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="objacces_8c-source.html#l00378">writeLocalDict()</a>.
<p>
Here is the call graph for this function:<p><center><img src="Master_8h_0c39246491ef97103fad9f8087c7994b_cgraph.png" border="0" usemap="#Master_8h_0c39246491ef97103fad9f8087c7994b_cgraph_map" alt=""></center>
<map name="Master_8h_0c39246491ef97103fad9f8087c7994b_cgraph_map">
<area href="objacces_8c.html#7cc58d6e7711bd0d9fd75e8ff721ce36" shape="rect" coords="240,6,357,30" alt="">
<area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="405,6,512,30" alt="">
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="561,6,729,30" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="3e91c546626b971be52999974e9a09d7"></a><!-- doxytag: member="Master.h::TestMaster_operational" ref="3e91c546626b971be52999974e9a09d7" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TestMaster_operational           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
</div>
</div><p>
<a class="anchor" name="600981dd777d30387dc8eb3ec85d8ea3"></a><!-- doxytag: member="Master.h::TestMaster_post_sync" ref="600981dd777d30387dc8eb3ec85d8ea3" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TestMaster_post_sync           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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>
References <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00010">DI1</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00011">DI2</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00012">DI3</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00013">DI4</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00014">DI5</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00015">DI6</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00016">DI7</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00017">DI8</a>, <a class="el" href="TestMasterMicroMod_2TestMaster_8c-source.html#l00009">DO</a>, <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00009">MasterMap1</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00018">MasterMap10</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00019">MasterMap11</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00010">MasterMap2</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00011">MasterMap3</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00012">MasterMap4</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00013">MasterMap5</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00014">MasterMap6</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00015">MasterMap7</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00016">MasterMap8</a>, and <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00017">MasterMap9</a>.
</div>
</div><p>
<a class="anchor" name="b85edc6945cb2404d6eef4a11cd66c82"></a><!-- doxytag: member="Master.h::TestMaster_post_TPDO" ref="b85edc6945cb2404d6eef4a11cd66c82" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TestMaster_post_TPDO           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="Master_8c-source.html#l00173">173</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
<p>
References <a class="el" href="sdo_8c-source.html#l00439">closeSDOtransfer()</a>, <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00009">MasterMap1</a>, <a class="el" href="sdo_8c-source.html#l01499">readNetworkDict()</a>, <a class="el" href="def_8h-source.html#l00073">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00072">SDO_ABORTED_RCV</a>, <a class="el" href="def_8h-source.html#l00079">SDO_CLIENT</a>, <a class="el" href="def_8h-source.html#l00074">SDO_DOWNLOAD_IN_PROGRESS</a>, <a class="el" href="def_8h-source.html#l00071">SDO_FINISHED</a>, <a class="el" href="def_8h-source.html#l00070">SDO_RESET</a>, <a class="el" href="def_8h-source.html#l00075">SDO_UPLOAD_IN_PROGRESS</a>, <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00411">TestMaster_Data</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
<p>
Here is the call graph for this function:<p><center><img src="Master_8h_b85edc6945cb2404d6eef4a11cd66c82_cgraph.png" border="0" usemap="#Master_8h_b85edc6945cb2404d6eef4a11cd66c82_cgraph_map" alt=""></center>
<map name="Master_8h_b85edc6945cb2404d6eef4a11cd66c82_cgraph_map">
<area href="sdo_8c.html#555a772d3a88a29c495f33513f8b2d58" shape="rect" coords="483,56,621,80" alt="">
<area href="sdo_8c.html#05b0c8eee1faee3c7a2f6e2ba3a16533" shape="rect" coords="229,7,432,31" alt="">
<area href="sdo_8c.html#0e102a0835e4115920cd406e80a8d135" shape="rect" coords="264,105,397,129" alt="">
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="673,8,815,32" alt="">
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="689,56,799,80" alt="">
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="865,81,961,105" alt="">
<area href="sdo_8c.html#4bb4b3cd35af7e7580cffde23e9d3270" shape="rect" coords="481,105,623,129" alt="">
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="680,155,808,179" alt="">
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="703,203,785,227" alt="">
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="873,203,953,227" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="f8fc4f9c510c05a678c123cfde42c2b9"></a><!-- doxytag: member="Master.h::TestMaster_preOperational" ref="f8fc4f9c510c05a678c123cfde42c2b9" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TestMaster_preOperational           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, <a class="el" href="TestMasterMicroMod_8c-source.html#l00041">slavenodeid</a>, and <a class="el" href="TestMasterSlave_2TestMaster_8c-source.html#l00411">TestMaster_Data</a>.
</div>
</div><p>
<a class="anchor" name="54990cb4513be0eb2f3690131204d375"></a><!-- doxytag: member="Master.h::TestMaster_stopped" ref="54990cb4513be0eb2f3690131204d375" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TestMaster_stopped           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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>
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:49 2007 for CanFestival by&nbsp;
<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>