doc/doxygen/html/states_8c.html
author nico
Mon, 04 Jun 2007 17:59:50 +0200
changeset 207 b6572d0336c3
child 210 6b5a4c21e061
permissions -rw-r--r--
First doxygen implementation
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/states.c File Reference</title>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
</head><body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
    <li id="current"><a href="files.html"><span>Files</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
    <li><a href="globals.html"><span>Globals</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
<h1>/home/epimerde/documents/tc11/CanFestival-3/src/states.c File Reference</h1><code>#include &quot;states.h&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
<code>#include &quot;def.h&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
<code>#include &quot;dcf.h&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
<code>#include &quot;nmtSlave.h&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    23
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
<a href="states_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
<tr><td></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#3a7cf0c586b1e467e6215396e9a439ae">StartOrStop</a>(CommType, FuncStart, FuncStop)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#f4e8bc2d192090ff502229b33c24a389">None</a></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03">switchCommunicationState</a> (CO_Data *d, s_state_communication *newCommunicationState)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
<tr><td class="memItemLeft" nowrap align="right" valign="top">e_nodeState&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#95d835785ba564bf6d92e3224c5e3848">getState</a> (CO_Data *d)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#3f8975650604cc23582f19a43fd4e518">canDispatch</a> (CO_Data *d, Message *m)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#0a5004efd1dedbee82a4f21ec5c44fb5">setState</a> (CO_Data *d, e_nodeState newState)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#3020f2e5762f6e389a21382ec827b6a6">getNodeId</a> (CO_Data *d)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#d47a53979b9311a374d029f7923abbe1">setNodeId</a> (CO_Data *d, UNS8 nodeId)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#1ee4d5c3d5dc6f39607d414b7bf9bcc9">_initialisation</a> ()</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#00113c22ed3366ee552f77862241d317">_preOperational</a> ()</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#4c917142acca702f7e04e919a0b958b4">_operational</a> ()</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#244e9269c323e14509bea947c2729a13">_stopped</a> ()</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
</table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
<hr><h2>Define Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
<a class="anchor" name="f4e8bc2d192090ff502229b33c24a389"></a><!-- doxytag: member="states.c::None" ref="f4e8bc2d192090ff502229b33c24a389" args="" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
          <td class="memname">#define None          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
Definition at line <a class="el" href="states_8c-source.html#l00086">86</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
<a class="anchor" name="3a7cf0c586b1e467e6215396e9a439ae"></a><!-- doxytag: member="states.c::StartOrStop" ref="3a7cf0c586b1e467e6215396e9a439ae" args="(CommType, FuncStart, FuncStop)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
          <td class="memname">#define StartOrStop          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
          <td class="paramtype">CommType,         <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    79
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    81
          <td class="paramtype">FuncStart,         <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    82
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    83
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    84
          <td class="paramtype">FuncStop&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    85
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    87
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span>(newCommunicationState-&gt;CommType &amp;&amp; !d-&gt;CurrentCommunicationState.CommType){\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    95
                MSG_WAR(0x9999,#FuncStart, 9999);\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    96
                d-&gt;CurrentCommunicationState.CommType = 1;\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    97
                FuncStart;\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    98
        }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(!newCommunicationState-&gt;CommType &amp;&amp; d-&gt;CurrentCommunicationState.CommType){\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    99
                MSG_WAR(0x9999,#FuncStop, 9999);\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   100
                d-&gt;CurrentCommunicationState.CommType = 0;\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   101
                FuncStop;\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
        }
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
</pre></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   105
Definition at line <a class="el" href="states_8c-source.html#l00076">76</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
<hr><h2>Function Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
<a class="anchor" name="1ee4d5c3d5dc6f39607d414b7bf9bcc9"></a><!-- doxytag: member="states.c::_initialisation" ref="1ee4d5c3d5dc6f39607d414b7bf9bcc9" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
          <td class="memname">void _initialisation           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   120
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   121
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   122
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   123
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   124
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   125
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   127
Definition at line <a class="el" href="states_8c-source.html#l00234">234</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   128
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   129
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   130
<a class="anchor" name="4c917142acca702f7e04e919a0b958b4"></a><!-- doxytag: member="states.c::_operational" ref="4c917142acca702f7e04e919a0b958b4" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   131
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   132
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   133
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   135
          <td class="memname">void _operational           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   136
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   137
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   138
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   139
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   140
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   141
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   142
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   143
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   144
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   145
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   146
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   147
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   148
Definition at line <a class="el" href="states_8c-source.html#l00236">236</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   149
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   150
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   151
<a class="anchor" name="00113c22ed3366ee552f77862241d317"></a><!-- doxytag: member="states.c::_preOperational" ref="00113c22ed3366ee552f77862241d317" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   152
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   153
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   154
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   155
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   156
          <td class="memname">void _preOperational           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   157
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   158
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   159
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   160
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   161
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   162
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   163
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   164
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   165
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   166
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   167
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   168
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   169
Definition at line <a class="el" href="states_8c-source.html#l00235">235</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   170
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   171
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   172
<a class="anchor" name="244e9269c323e14509bea947c2729a13"></a><!-- doxytag: member="states.c::_stopped" ref="244e9269c323e14509bea947c2729a13" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   173
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   174
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   175
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   176
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   177
          <td class="memname">void _stopped           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   178
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   179
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   180
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   181
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   182
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   183
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   184
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   185
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   186
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   187
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   188
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   189
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   190
Definition at line <a class="el" href="states_8c-source.html#l00237">237</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   191
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   192
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   193
<a class="anchor" name="3f8975650604cc23582f19a43fd4e518"></a><!-- doxytag: member="states.c::canDispatch" ref="3f8975650604cc23582f19a43fd4e518" args="(CO_Data *d, Message *m)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   194
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   195
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   196
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   197
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   198
          <td class="memname">void canDispatch           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   199
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   200
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   201
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   202
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   203
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   204
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   205
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   206
          <td class="paramtype">Message *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   207
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   208
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   209
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   210
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   211
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   212
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   213
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   214
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   215
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   216
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   217
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   218
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   219
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   220
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   221
Definition at line <a class="el" href="states_8c-source.html#l00039">39</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   222
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   223
References <a class="el" href="nmtSlave_8c-source.html#l00029">proceedNMTstateChange()</a>, <a class="el" href="lifegrd_8c-source.html#l00050">proceedNODE_GUARD()</a>, <a class="el" href="pdo_8c-source.html#l00187">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00447">proceedSDO()</a>, and <a class="el" href="sync_8c-source.html#l00093">proceedSYNC()</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   224
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   225
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   226
<a class="anchor" name="3020f2e5762f6e389a21382ec827b6a6"></a><!-- doxytag: member="states.c::getNodeId" ref="3020f2e5762f6e389a21382ec827b6a6" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   227
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   228
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   229
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   230
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   231
          <td class="memname">UNS8 getNodeId           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   232
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   233
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   234
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   235
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   236
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   237
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   238
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   239
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   240
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   241
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   242
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   243
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   244
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   245
Definition at line <a class="el" href="states_8c-source.html#l00180">180</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   246
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   247
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   248
<a class="anchor" name="95d835785ba564bf6d92e3224c5e3848"></a><!-- doxytag: member="states.c::getState" ref="95d835785ba564bf6d92e3224c5e3848" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   249
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   250
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   251
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   252
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   253
          <td class="memname">e_nodeState getState           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   254
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   255
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   256
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   257
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   258
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   259
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   260
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   261
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   262
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   263
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   264
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   265
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   266
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   267
Definition at line <a class="el" href="states_8c-source.html#l00033">33</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   268
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   269
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   270
<a class="anchor" name="d47a53979b9311a374d029f7923abbe1"></a><!-- doxytag: member="states.c::setNodeId" ref="d47a53979b9311a374d029f7923abbe1" args="(CO_Data *d, UNS8 nodeId)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   271
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   272
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   273
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   274
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   275
          <td class="memname">void setNodeId           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   276
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   277
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   278
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   279
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   280
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   281
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   282
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   283
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   284
          <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   285
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   286
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   287
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   288
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   289
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   290
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   291
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   292
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   293
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   294
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   295
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   296
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   297
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   298
Definition at line <a class="el" href="states_8c-source.html#l00186">186</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   299
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   300
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   301
<a class="anchor" name="0a5004efd1dedbee82a4f21ec5c44fb5"></a><!-- doxytag: member="states.c::setState" ref="0a5004efd1dedbee82a4f21ec5c44fb5" args="(CO_Data *d, e_nodeState newState)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   302
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   303
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   304
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   305
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   306
          <td class="memname">UNS8 setState           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   307
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   308
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   309
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   310
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   311
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   312
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   313
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   314
          <td class="paramtype">e_nodeState&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   315
          <td class="paramname"> <em>newState</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   316
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   317
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   318
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   319
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   320
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   321
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   322
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   323
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   324
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   325
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   326
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   327
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   328
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   329
Definition at line <a class="el" href="states_8c-source.html#l00100">100</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   330
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   331
References <a class="el" href="dcf_8c-source.html#l00049">decompo_dcf()</a>, <a class="el" href="dcf_8c-source.html#l00033">ptrTable</a>, and <a class="el" href="states_8c-source.html#l00089">switchCommunicationState()</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   332
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   333
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   334
<a class="anchor" name="915991eebf7c2ac6c929c6c9cfbd7d03"></a><!-- doxytag: member="states.c::switchCommunicationState" ref="915991eebf7c2ac6c929c6c9cfbd7d03" args="(CO_Data *d, s_state_communication *newCommunicationState)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   335
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   336
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   337
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   338
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   339
          <td class="memname">void switchCommunicationState           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   340
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   341
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   342
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   343
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   344
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   345
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   346
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   347
          <td class="paramtype">s_state_communication *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   348
          <td class="paramname"> <em>newCommunicationState</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   349
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   350
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   351
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   352
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   353
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   354
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   355
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   356
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   357
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   358
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   359
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   360
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   361
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   362
Definition at line <a class="el" href="states_8c-source.html#l00089">89</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   363
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   364
References <a class="el" href="lifegrd_8c-source.html#l00147">heartbeatInit()</a>, <a class="el" href="lifegrd_8c-source.html#l00173">heartbeatStop()</a>, <a class="el" href="states_8c-source.html#l00086">None</a>, <a class="el" href="sdo_8c-source.html#l00131">resetSDO()</a>, <a class="el" href="nmtSlave_8c-source.html#l00076">slaveSendBootUp()</a>, <a class="el" href="states_8c-source.html#l00076">StartOrStop</a>, <a class="el" href="sync_8c-source.html#l00050">startSYNC()</a>, and <a class="el" href="sync_8c-source.html#l00071">stopSYNC()</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   365
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   366
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   367
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by&nbsp;
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   368
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   369
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   370
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   371
</html>