doc/doxygen/html/TestMasterSlave_8c.html
author nico
Mon, 04 Jun 2007 17:59:50 +0200
changeset 207 b6572d0336c3
permissions -rw-r--r--
First doxygen implementation
<!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/TestMasterSlave.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&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</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>
  </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>
<h1>examples/TestMasterSlave/TestMasterSlave.c File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;signal.h&gt;</code><br>
<code>#include &quot;<a class="el" href="win32_2canfestival_8h.html">canfestival.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="Master_8h.html">Master.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="Slave_8h.html">Slave.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="TestMasterSlave_8h.html">TestMasterSlave.h</a>&quot;</code><br>
<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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_8c.html#bd99872d05af9bf63e28d6f010c1b174">OnMasterMap1Update</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, const <a class="el" href="structtd__indextable.html">indextable</a> *unsused_indextable, UNS8 unsused_bSubindex)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_8c.html#f2dc378d0481adcc49b61efb98493a9b">catch_signal</a> (int sig)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_8c.html#8a51032f7610fe37c131376e5a392fd5">InitNodes</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_8c.html#3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</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__s__BOARD.html">s_BOARD</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_8c.html#57b2a6d78660d0ee6ca351fb40ffa859">SlaveBoard</a> = {&quot;0&quot;, &quot;125K&quot;}</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_8c.html#460b5e3b15bb47df23119998ea0fbd31">MasterBoard</a> = {&quot;1&quot;, &quot;125K&quot;}</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="f2dc378d0481adcc49b61efb98493a9b"></a><!-- doxytag: member="TestMasterSlave.c::catch_signal" ref="f2dc378d0481adcc49b61efb98493a9b" args="(int sig)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void catch_signal           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>sig</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="97ee70a8770dc30d06c744b24eb2fcfc"></a><!-- doxytag: member="TestMasterSlave.c::help" ref="97ee70a8770dc30d06c744b24eb2fcfc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void help           </td>
          <td>(</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="8a51032f7610fe37c131376e5a392fd5"></a><!-- doxytag: member="TestMasterSlave.c::InitNodes" ref="8a51032f7610fe37c131376e5a392fd5" args="(CO_Data *d, UNS32 id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void InitNodes           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS32&nbsp;</td>
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="3c04138a5bfe5d72780bb7e82a18e627"></a><!-- doxytag: member="TestMasterSlave.c::main" ref="3c04138a5bfe5d72780bb7e82a18e627" args="(int argc, char **argv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>argv</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bd99872d05af9bf63e28d6f010c1b174"></a><!-- doxytag: member="TestMasterSlave.c::OnMasterMap1Update" ref="bd99872d05af9bf63e28d6f010c1b174" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS32 OnMasterMap1Update           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structtd__indextable.html">indextable</a> *&nbsp;</td>
          <td class="paramname"> <em>unsused_indextable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>unsused_bSubindex</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="460b5e3b15bb47df23119998ea0fbd31"></a><!-- doxytag: member="TestMasterSlave.c::MasterBoard" ref="460b5e3b15bb47df23119998ea0fbd31" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> <a class="el" href="TestMasterSlave_8c.html#460b5e3b15bb47df23119998ea0fbd31">MasterBoard</a> = {&quot;1&quot;, &quot;125K&quot;}          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="57b2a6d78660d0ee6ca351fb40ffa859"></a><!-- doxytag: member="TestMasterSlave.c::SlaveBoard" ref="57b2a6d78660d0ee6ca351fb40ffa859" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> <a class="el" href="TestMasterSlave_8c.html#57b2a6d78660d0ee6ca351fb40ffa859">SlaveBoard</a> = {&quot;0&quot;, &quot;125K&quot;}          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 15:50:45 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>