doc/doxygen/html/TestMasterSlave_8c.html
changeset 207 b6572d0336c3
equal deleted inserted replaced
206:6787754b251b 207:b6572d0336c3
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
       
     3 <title>CanFestival: examples/TestMasterSlave/TestMasterSlave.c File Reference</title>
       
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
       
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
       
     6 </head><body>
       
     7 <!-- Generated by Doxygen 1.5.1 -->
       
     8 <div class="tabs">
       
     9   <ul>
       
    10     <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
       
    11     <li><a href="namespaces.html"><span>Namespaces</span></a></li>
       
    12     <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       
    13     <li id="current"><a href="files.html"><span>Files</span></a></li>
       
    14   </ul></div>
       
    15 <div class="tabs">
       
    16   <ul>
       
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
       
    18     <li><a href="globals.html"><span>Globals</span></a></li>
       
    19   </ul></div>
       
    20 <h1>examples/TestMasterSlave/TestMasterSlave.c File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
       
    21 <code>#include &lt;string.h&gt;</code><br>
       
    22 <code>#include &lt;unistd.h&gt;</code><br>
       
    23 <code>#include &lt;stdlib.h&gt;</code><br>
       
    24 <code>#include &lt;signal.h&gt;</code><br>
       
    25 <code>#include &quot;<a class="el" href="win32_2canfestival_8h.html">canfestival.h</a>&quot;</code><br>
       
    26 <code>#include &quot;<a class="el" href="Master_8h.html">Master.h</a>&quot;</code><br>
       
    27 <code>#include &quot;<a class="el" href="Slave_8h.html">Slave.h</a>&quot;</code><br>
       
    28 <code>#include &quot;<a class="el" href="TestMasterSlave_8h.html">TestMasterSlave.h</a>&quot;</code><br>
       
    29 <table border="0" cellpadding="0" cellspacing="0">
       
    30 <tr><td></td></tr>
       
    31 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    32 <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>
       
    33 
       
    34 <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>
       
    35 
       
    36 <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>
       
    37 
       
    38 <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>
       
    39 
       
    40 <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>
       
    41 
       
    42 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
       
    43 <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>
       
    44 
       
    45 <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>
       
    46 
       
    47 </table>
       
    48 <hr><h2>Function Documentation</h2>
       
    49 <a class="anchor" name="f2dc378d0481adcc49b61efb98493a9b"></a><!-- doxytag: member="TestMasterSlave.c::catch_signal" ref="f2dc378d0481adcc49b61efb98493a9b" args="(int sig)" -->
       
    50 <div class="memitem">
       
    51 <div class="memproto">
       
    52       <table class="memname">
       
    53         <tr>
       
    54           <td class="memname">void catch_signal           </td>
       
    55           <td>(</td>
       
    56           <td class="paramtype">int&nbsp;</td>
       
    57           <td class="paramname"> <em>sig</em>          </td>
       
    58           <td>&nbsp;)&nbsp;</td>
       
    59           <td width="100%"></td>
       
    60         </tr>
       
    61       </table>
       
    62 </div>
       
    63 <div class="memdoc">
       
    64 
       
    65 <p>
       
    66 
       
    67 </div>
       
    68 </div><p>
       
    69 <a class="anchor" name="97ee70a8770dc30d06c744b24eb2fcfc"></a><!-- doxytag: member="TestMasterSlave.c::help" ref="97ee70a8770dc30d06c744b24eb2fcfc" args="()" -->
       
    70 <div class="memitem">
       
    71 <div class="memproto">
       
    72       <table class="memname">
       
    73         <tr>
       
    74           <td class="memname">void help           </td>
       
    75           <td>(</td>
       
    76           <td class="paramname">          </td>
       
    77           <td>&nbsp;)&nbsp;</td>
       
    78           <td width="100%"></td>
       
    79         </tr>
       
    80       </table>
       
    81 </div>
       
    82 <div class="memdoc">
       
    83 
       
    84 <p>
       
    85 
       
    86 </div>
       
    87 </div><p>
       
    88 <a class="anchor" name="8a51032f7610fe37c131376e5a392fd5"></a><!-- doxytag: member="TestMasterSlave.c::InitNodes" ref="8a51032f7610fe37c131376e5a392fd5" args="(CO_Data *d, UNS32 id)" -->
       
    89 <div class="memitem">
       
    90 <div class="memproto">
       
    91       <table class="memname">
       
    92         <tr>
       
    93           <td class="memname">void InitNodes           </td>
       
    94           <td>(</td>
       
    95           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
    96           <td class="paramname"> <em>d</em>, </td>
       
    97         </tr>
       
    98         <tr>
       
    99           <td class="paramkey"></td>
       
   100           <td></td>
       
   101           <td class="paramtype">UNS32&nbsp;</td>
       
   102           <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
       
   103         </tr>
       
   104         <tr>
       
   105           <td></td>
       
   106           <td>)</td>
       
   107           <td></td><td></td><td width="100%"></td>
       
   108         </tr>
       
   109       </table>
       
   110 </div>
       
   111 <div class="memdoc">
       
   112 
       
   113 <p>
       
   114 
       
   115 </div>
       
   116 </div><p>
       
   117 <a class="anchor" name="3c04138a5bfe5d72780bb7e82a18e627"></a><!-- doxytag: member="TestMasterSlave.c::main" ref="3c04138a5bfe5d72780bb7e82a18e627" args="(int argc, char **argv)" -->
       
   118 <div class="memitem">
       
   119 <div class="memproto">
       
   120       <table class="memname">
       
   121         <tr>
       
   122           <td class="memname">int main           </td>
       
   123           <td>(</td>
       
   124           <td class="paramtype">int&nbsp;</td>
       
   125           <td class="paramname"> <em>argc</em>, </td>
       
   126         </tr>
       
   127         <tr>
       
   128           <td class="paramkey"></td>
       
   129           <td></td>
       
   130           <td class="paramtype">char **&nbsp;</td>
       
   131           <td class="paramname"> <em>argv</em></td><td>&nbsp;</td>
       
   132         </tr>
       
   133         <tr>
       
   134           <td></td>
       
   135           <td>)</td>
       
   136           <td></td><td></td><td width="100%"></td>
       
   137         </tr>
       
   138       </table>
       
   139 </div>
       
   140 <div class="memdoc">
       
   141 
       
   142 <p>
       
   143 
       
   144 </div>
       
   145 </div><p>
       
   146 <a class="anchor" name="bd99872d05af9bf63e28d6f010c1b174"></a><!-- doxytag: member="TestMasterSlave.c::OnMasterMap1Update" ref="bd99872d05af9bf63e28d6f010c1b174" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" -->
       
   147 <div class="memitem">
       
   148 <div class="memproto">
       
   149       <table class="memname">
       
   150         <tr>
       
   151           <td class="memname">UNS32 OnMasterMap1Update           </td>
       
   152           <td>(</td>
       
   153           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   154           <td class="paramname"> <em>d</em>, </td>
       
   155         </tr>
       
   156         <tr>
       
   157           <td class="paramkey"></td>
       
   158           <td></td>
       
   159           <td class="paramtype">const <a class="el" href="structtd__indextable.html">indextable</a> *&nbsp;</td>
       
   160           <td class="paramname"> <em>unsused_indextable</em>, </td>
       
   161         </tr>
       
   162         <tr>
       
   163           <td class="paramkey"></td>
       
   164           <td></td>
       
   165           <td class="paramtype">UNS8&nbsp;</td>
       
   166           <td class="paramname"> <em>unsused_bSubindex</em></td><td>&nbsp;</td>
       
   167         </tr>
       
   168         <tr>
       
   169           <td></td>
       
   170           <td>)</td>
       
   171           <td></td><td></td><td width="100%"></td>
       
   172         </tr>
       
   173       </table>
       
   174 </div>
       
   175 <div class="memdoc">
       
   176 
       
   177 <p>
       
   178 
       
   179 </div>
       
   180 </div><p>
       
   181 <hr><h2>Variable Documentation</h2>
       
   182 <a class="anchor" name="460b5e3b15bb47df23119998ea0fbd31"></a><!-- doxytag: member="TestMasterSlave.c::MasterBoard" ref="460b5e3b15bb47df23119998ea0fbd31" args="" -->
       
   183 <div class="memitem">
       
   184 <div class="memproto">
       
   185       <table class="memname">
       
   186         <tr>
       
   187           <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>
       
   188         </tr>
       
   189       </table>
       
   190 </div>
       
   191 <div class="memdoc">
       
   192 
       
   193 <p>
       
   194 
       
   195 </div>
       
   196 </div><p>
       
   197 <a class="anchor" name="57b2a6d78660d0ee6ca351fb40ffa859"></a><!-- doxytag: member="TestMasterSlave.c::SlaveBoard" ref="57b2a6d78660d0ee6ca351fb40ffa859" args="" -->
       
   198 <div class="memitem">
       
   199 <div class="memproto">
       
   200       <table class="memname">
       
   201         <tr>
       
   202           <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>
       
   203         </tr>
       
   204       </table>
       
   205 </div>
       
   206 <div class="memdoc">
       
   207 
       
   208 <p>
       
   209 
       
   210 </div>
       
   211 </div><p>
       
   212 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 15:50:45 2007 for CanFestival by&nbsp;
       
   213 <a href="http://www.doxygen.org/index.html">
       
   214 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   215 </body>
       
   216 </html>