doc/doxygen/html/states_8c.html
author etisserant
Fri, 08 Jun 2007 14:41:39 +0200
changeset 218 3bc225b6fb43
parent 215 f49e5a6b7804
child 240 34654679f262
permissions -rw-r--r--
File removed accidently
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">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
     3
<title>CanFestival: src/states.c File Reference</title>
207
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>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    11
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
    <li id="current"><a href="files.html"><span>Files</span></a></li>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    13
    <li><a href="dirs.html"><span>Directories</span></a></li>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
  </ul></div>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    20
<div class="nav">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    21
<a class="el" href="dir_c0a169d39c08973f879fd54f07b9e9f7.html">src</a></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    22
<h1>states.c File Reference</h1><code>#include &quot;<a class="el" href="states_8h-source.html">states.h</a>&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    23
<code>#include &quot;<a class="el" href="def_8h-source.html">def.h</a>&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    24
<code>#include &quot;<a class="el" href="dcf_8h-source.html">dcf.h</a>&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    25
<code>#include &quot;<a class="el" href="nmtSlave_8h-source.html">nmtSlave.h</a>&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    26
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    27
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    28
Include dependency graph for states.c:<p><center><img src="states_8c__incl.png" border="0" usemap="#src/states.c_map" alt=""></center>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    29
<map name="src/states.c_map">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    30
<area href="states_8h.html" shape="rect" coords="164,419,239,443" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    31
<area href="def_8h.html" shape="rect" coords="575,639,631,663" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    32
<area href="dcf_8h.html" shape="rect" coords="175,739,228,763" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    33
<area href="nmtSlave_8h.html" shape="rect" coords="152,371,251,395" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    34
<area href="win32_2applicfg_8h.html" shape="rect" coords="691,392,779,416" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    35
<area href="data_8h.html" shape="rect" coords="300,419,364,443" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    36
<area href="can_8h.html" shape="rect" coords="574,392,632,416" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    37
<area href="objdictdef_8h.html" shape="rect" coords="416,197,518,221" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    38
<area href="objacces_8h.html" shape="rect" coords="420,443,514,467" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    39
<area href="sdo_8h.html" shape="rect" coords="438,491,496,515" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    40
<area href="pdo_8h.html" shape="rect" coords="438,589,496,613" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    41
<area href="lifegrd_8h.html" shape="rect" coords="428,149,506,173" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    42
<area href="sync_8h.html" shape="rect" coords="434,245,500,269" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    43
<area href="nmtMaster_8h.html" shape="rect" coords="414,293,520,317" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    44
<area href="config_8h.html" shape="rect" coords="698,639,772,663" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    45
<area href="timer_8h.html" shape="rect" coords="568,491,638,515" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    46
<area href="win32_2timerscfg_8h.html" shape="rect" coords="686,484,784,508" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    47
</map>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    48
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    49
<p>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
<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
    51
<tr><td></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
<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
    54
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
<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
    56
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    58
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structs__state__communication.html">s_state_communication</a> *newCommunicationState)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    59
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    60
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#95d835785ba564bf6d92e3224c5e3848">getState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    61
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    62
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    63
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    64
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a> newState)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    65
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    66
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    67
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
    68
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
<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
    71
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
<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
    73
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
<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
    75
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
<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
    77
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
</table>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    79
<hr><a name="_details"></a><h2>Detailed Description</h2>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    80
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    81
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    82
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    83
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    84
Definition in file <a class="el" href="states_8c-source.html">states.c</a>.<hr><h2>Define Documentation</h2>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    85
<a class="anchor" name="f4e8bc2d192090ff502229b33c24a389"></a><!-- doxytag: member="states.c::None" ref="f4e8bc2d192090ff502229b33c24a389" args="" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    87
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
          <td class="memname">#define None          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    95
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    96
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    97
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    98
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    99
Definition at line <a class="el" href="states_8c-source.html#l00112">112</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   100
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   101
Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
<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
   105
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
          <td class="memname">#define StartOrStop          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
          <td class="paramtype">CommType,         <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
          <td class="paramtype">FuncStart,         <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
          <td class="paramtype">FuncStop&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   120
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   121
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   122
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   123
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   124
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   125
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
<p>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   127
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span>(newCommunicationState-&gt;CommType &amp;&amp; !<a class="code" href="structstruct__s__timer__entry.html#c08f4de0f4a517ce2bb72f18251cd13c">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ab01aa22a1af1044224220cd45e5796d">CurrentCommunicationState</a>.CommType){\
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   128
                <a class="code" href="hcs12_2applicfg_8h.html#5f4e5133c4c3113931684d3aba518bba">MSG_WAR</a>(0x9999,#FuncStart, 9999);\
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   129
                <a class="code" href="structstruct__s__timer__entry.html#c08f4de0f4a517ce2bb72f18251cd13c">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ab01aa22a1af1044224220cd45e5796d">CurrentCommunicationState</a>.CommType = 1;\
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   130
                FuncStart;\
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   131
        }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(!newCommunicationState-&gt;CommType &amp;&amp; <a class="code" href="structstruct__s__timer__entry.html#c08f4de0f4a517ce2bb72f18251cd13c">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ab01aa22a1af1044224220cd45e5796d">CurrentCommunicationState</a>.CommType){\
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   132
                <a class="code" href="hcs12_2applicfg_8h.html#5f4e5133c4c3113931684d3aba518bba">MSG_WAR</a>(0x9999,#FuncStop, 9999);\
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   133
                <a class="code" href="structstruct__s__timer__entry.html#c08f4de0f4a517ce2bb72f18251cd13c">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ab01aa22a1af1044224220cd45e5796d">CurrentCommunicationState</a>.CommType = 0;\
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
                FuncStop;\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   135
        }
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   136
</pre></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   137
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   138
Definition at line <a class="el" href="states_8c-source.html#l00102">102</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   139
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   140
Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   141
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   142
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   143
<hr><h2>Function Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   144
<a class="anchor" name="1ee4d5c3d5dc6f39607d414b7bf9bcc9"></a><!-- doxytag: member="states.c::_initialisation" ref="1ee4d5c3d5dc6f39607d414b7bf9bcc9" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   145
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   146
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   147
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   148
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   149
          <td class="memname">void _initialisation           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   150
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   151
          <td class="paramtype">void&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   152
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   153
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   154
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   155
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   156
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   157
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   158
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   159
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   160
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   161
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   162
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   163
Definition at line <a class="el" href="states_8c-source.html#l00285">285</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   164
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   165
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   166
<a class="anchor" name="4c917142acca702f7e04e919a0b958b4"></a><!-- doxytag: member="states.c::_operational" ref="4c917142acca702f7e04e919a0b958b4" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   167
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   168
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   169
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   170
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   171
          <td class="memname">void _operational           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   172
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   173
          <td class="paramtype">void&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   174
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   175
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   176
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   177
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   178
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   179
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   180
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   181
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   182
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   183
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   184
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   185
Definition at line <a class="el" href="states_8c-source.html#l00287">287</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   186
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   187
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   188
<a class="anchor" name="00113c22ed3366ee552f77862241d317"></a><!-- doxytag: member="states.c::_preOperational" ref="00113c22ed3366ee552f77862241d317" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   189
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   190
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   191
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   192
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   193
          <td class="memname">void _preOperational           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   194
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   195
          <td class="paramtype">void&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   196
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   197
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   198
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   199
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   200
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   201
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   202
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   203
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   204
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   205
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   206
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   207
Definition at line <a class="el" href="states_8c-source.html#l00286">286</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   208
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   209
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   210
<a class="anchor" name="244e9269c323e14509bea947c2729a13"></a><!-- doxytag: member="states.c::_stopped" ref="244e9269c323e14509bea947c2729a13" args="()" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   211
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   212
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   213
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   214
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   215
          <td class="memname">void _stopped           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   216
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   217
          <td class="paramtype">void&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   218
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   219
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   220
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   221
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   222
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   223
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   224
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   225
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   226
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   227
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   228
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   229
Definition at line <a class="el" href="states_8c-source.html#l00288">288</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   230
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   231
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   232
<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
   233
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   234
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   235
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   236
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   237
          <td class="memname">void canDispatch           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   238
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   239
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   240
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   241
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   242
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   243
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   244
          <td></td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   245
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   246
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   247
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   248
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   249
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   250
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   251
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   252
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   253
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   254
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   255
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   256
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   257
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   258
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   259
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   260
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   261
    <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   262
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   263
</dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   264
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   265
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   266
Definition at line <a class="el" href="states_8c-source.html#l00065">65</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   267
<p>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   268
References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="states_8h-source.html#l00054">s_state_communication::csHeartbeat</a>, <a class="el" href="states_8h-source.html#l00055">s_state_communication::csPDO</a>, <a class="el" href="states_8h-source.html#l00051">s_state_communication::csSDO</a>, <a class="el" href="states_8h-source.html#l00053">s_state_communication::csSYNC</a>, <a class="el" href="data_8h-source.html#l00062">struct_CO_Data::CurrentCommunicationState</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00053">struct_CO_Data::iam_a_slave</a>, <a class="el" href="def_8h-source.html#l00086">NMT</a>, <a class="el" href="def_8h-source.html#l00099">NODE_GUARD</a>, <a class="el" href="def_8h-source.html#l00090">PDO1rx</a>, <a class="el" href="def_8h-source.html#l00089">PDO1tx</a>, <a class="el" href="def_8h-source.html#l00092">PDO2rx</a>, <a class="el" href="def_8h-source.html#l00091">PDO2tx</a>, <a class="el" href="def_8h-source.html#l00094">PDO3rx</a>, <a class="el" href="def_8h-source.html#l00093">PDO3tx</a>, <a class="el" href="def_8h-source.html#l00096">PDO4rx</a>, <a class="el" href="def_8h-source.html#l00095">PDO4tx</a>, <a class="el" href="nmtSlave_8c-source.html#l00043">proceedNMTstateChange()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="def_8h-source.html#l00098">SDOrx</a>, <a class="el" href="def_8h-source.html#l00097">SDOtx</a>, <a class="el" href="def_8h-source.html#l00087">SYNC</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   269
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   270
Referenced by <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, and <a class="el" href="appli_8c-source.html#l00383">main()</a>.
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   271
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   272
Here is the call graph for this function:<p><center><img src="states_8c_3f8975650604cc23582f19a43fd4e518_cgraph.png" border="0" usemap="#states_8c_3f8975650604cc23582f19a43fd4e518_cgraph_map" alt=""></center>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   273
<map name="states_8c_3f8975650604cc23582f19a43fd4e518_cgraph_map">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   274
<area href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743" shape="rect" coords="162,153,351,177" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   275
<area href="lifegrd_8c.html#b3248945e06e8b05518beddf665f174d" shape="rect" coords="171,736,342,760" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   276
<area href="pdo_8c.html#ae7d661cd3ef7adf93a0d08fdb15b7f2" shape="rect" coords="446,688,550,712" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   277
<area href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661" shape="rect" coords="203,349,310,373" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   278
<area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="442,880,554,904" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   279
<area href="states_8c.html#0a5004efd1dedbee82a4f21ec5c44fb5" shape="rect" coords="459,5,536,29" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   280
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="675,543,755,567" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   281
<area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="402,736,594,760" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   282
<area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="456,784,539,808" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   283
<area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="456,832,539,856" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   284
<area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="675,760,755,784" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   285
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="666,688,764,712" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   286
<area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="674,856,756,880" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   287
<area href="objacces_8c.html#17e598cc1b2e60380e2e4e75afe9b3b0" shape="rect" coords="666,591,764,615" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   288
<area href="sdo_8c.html#2019db2a4d17e6d29c055cbae173e2b9" shape="rect" coords="454,251,542,275" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   289
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="644,276,786,300" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   290
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="660,201,770,225" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   291
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="836,176,932,200" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   292
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="434,397,562,421" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   293
<area href="sdo_8c.html#acceb714c6e457e98deb9ba164ba2a2f" shape="rect" coords="415,445,580,469" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   294
<area href="sdo_8c.html#ad6eb8be03b832ebba4dfb87aaba4065" shape="rect" coords="452,493,543,517" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   295
<area href="sdo_8c.html#29427a80fd1aeabff30bf0602fbc220f" shape="rect" coords="430,640,566,664" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   296
<area href="sdo_8c.html#2eb5309dca3a7363da5e5e7230b85d58" shape="rect" coords="428,541,567,565" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   297
<area href="sdo_8c.html#18b6f7e9c9441640a88ffef1e8720694" shape="rect" coords="451,53,544,77" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   298
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="456,349,539,373" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   299
<area href="sdo_8c.html#601a837ecb5f21bf4c66b058c5ae7810" shape="rect" coords="416,101,579,125" alt="">
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   300
</map>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   301
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   302
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   303
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   304
<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
   305
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   306
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   307
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   308
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   309
          <td class="memname">UNS8 getNodeId           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   310
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   311
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   312
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   313
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   314
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   315
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   316
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   317
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   318
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   319
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   320
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   321
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   322
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   323
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   324
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   325
</dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   326
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   327
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   328
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   329
Definition at line <a class="el" href="states_8c-source.html#l00224">224</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   330
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   331
References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   332
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   333
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   334
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   335
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   336
<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
   337
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   338
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   339
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   340
        <tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   341
          <td class="memname"><a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a> getState           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   342
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   343
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   344
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   345
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   346
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   347
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   348
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   349
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   350
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   351
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   352
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   353
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   354
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   355
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   356
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   357
</dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   358
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   359
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   360
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   361
Definition at line <a class="el" href="states_8c-source.html#l00054">54</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   362
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   363
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, and <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   364
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   365
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   366
<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
   367
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   368
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   369
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   370
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   371
          <td class="memname">void setNodeId           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   372
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   373
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   374
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   375
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   376
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   377
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   378
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   379
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   380
          <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   381
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   382
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   383
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   384
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   385
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   386
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   387
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   388
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   389
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   390
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   391
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   392
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   393
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   394
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   395
    <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   396
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   397
</dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   398
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   399
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   400
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>.
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   401
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   402
References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="objdictdef_8h-source.html#l00118">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00120">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="objdictdef_8h-source.html#l00116">s_quick_index::SDO_SVR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   403
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   404
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00382">InitNodes()</a>, <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, and <a class="el" href="main_8c-source.html#l00079">main()</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   405
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   406
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   407
<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
   408
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   409
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   410
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   411
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   412
          <td class="memname">UNS8 setState           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   413
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   414
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   415
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   416
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   417
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   418
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   419
          <td></td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   420
          <td class="paramtype"><a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a>&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   421
          <td class="paramname"> <em>newState</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   422
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   423
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   424
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   425
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   426
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   427
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   428
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   429
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   430
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   431
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   432
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   433
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   434
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   435
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   436
    <tr><td valign="top"></td><td valign="top"><em>newState</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   437
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   438
</dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   439
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   440
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   441
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   442
Definition at line <a class="el" href="states_8c-source.html#l00138">138</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   443
<p>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   444
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, <a class="el" href="data_8h-source.html#l00053">struct_CO_Data::iam_a_slave</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5">Initialisation</a>, <a class="el" href="data_8h-source.html#l00063">struct_CO_Data::initialisation</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="data_8h-source.html#l00065">struct_CO_Data::operational</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646c747c16a9c4d7dec65cdab6e38df99b7">Pre_operational</a>, <a class="el" href="data_8h-source.html#l00064">struct_CO_Data::preOperational</a>, <a class="el" href="dcf_8c-source.html#l00045">ptrTable</a>, <a class="el" href="data_8h-source.html#l00091">struct_CO_Data::scanIndexOD</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75">Stopped</a>, <a class="el" href="data_8h-source.html#l00066">struct_CO_Data::stopped</a>, <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   445
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   446
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00382">InitNodes()</a>, <a class="el" href="appli_8c-source.html#l00383">main()</a>, and <a class="el" href="nmtSlave_8c-source.html#l00043">proceedNMTstateChange()</a>.
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   447
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   448
Here is the call graph for this function:<p><center><img src="states_8c_0a5004efd1dedbee82a4f21ec5c44fb5_cgraph.png" border="0" usemap="#states_8c_0a5004efd1dedbee82a4f21ec5c44fb5_cgraph_map" alt=""></center>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   449
<map name="states_8c_0a5004efd1dedbee82a4f21ec5c44fb5_cgraph_map">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   450
<area href="dcf_8c.html#8452e163e7649968ad6dae1601a5fb0d" shape="rect" coords="181,226,293,250" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   451
<area href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03" shape="rect" coords="135,347,340,371" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   452
<area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="389,152,536,176" alt="">
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   453
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="629,104,757,128" alt="">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   454
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="623,6,764,30" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   455
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="863,128,959,152" alt="">
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   456
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="639,200,748,224" alt="">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   457
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="652,152,735,176" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   458
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="871,250,951,274" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   459
<area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="408,539,517,563" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   460
<area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="852,659,969,683" alt="">
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   461
<area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="420,200,505,224" alt="">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   462
<area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="392,274,533,298" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   463
<area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="419,347,507,371" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   464
<area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="649,395,737,419" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   465
<area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="597,587,789,611" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   466
<area href="lifegrd_8c.html#098c81fb9326fb2c7b43e88a55ce1368" shape="rect" coords="585,635,801,659" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   467
<area href="lifegrd_8c.html#626b7d9e527a898682d9122f91454de9" shape="rect" coords="601,539,785,563" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   468
<area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="587,491,800,515" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   469
<area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="652,443,735,467" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   470
<area href="sync_8c.html#82595787f641ab85980d83522f1158b0" shape="rect" coords="604,299,783,323" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   471
<area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="647,347,740,371" alt="">
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   472
</map>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   473
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   474
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   475
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   476
<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
   477
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   478
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   479
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   480
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   481
          <td class="memname">void switchCommunicationState           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   482
          <td>(</td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   483
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   484
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   485
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   486
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   487
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   488
          <td></td>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   489
          <td class="paramtype"><a class="el" href="structs__state__communication.html">s_state_communication</a> *&nbsp;</td>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   490
          <td class="paramname"> <em>newCommunicationState</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   491
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   492
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   493
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   494
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   495
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   496
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   497
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   498
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   499
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   500
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   501
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   502
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   503
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   504
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   505
    <tr><td valign="top"></td><td valign="top"><em>newCommunicationState</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   506
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   507
</dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   508
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   509
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   510
Definition at line <a class="el" href="states_8c-source.html#l00120">120</a> of file <a class="el" href="states_8c-source.html">states.c</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   511
<p>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   512
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, <a class="el" href="lifegrd_8c-source.html#l00236">heartbeatStop()</a>, <a class="el" href="states_8c-source.html#l00112">None</a>, <a class="el" href="sdo_8c-source.html#l00169">resetSDO()</a>, <a class="el" href="nmtSlave_8c-source.html#l00097">slaveSendBootUp()</a>, <a class="el" href="states_8c-source.html#l00102">StartOrStop</a>, <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>, and <a class="el" href="sync_8c-source.html#l00105">stopSYNC()</a>.
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   513
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   514
Referenced by <a class="el" href="states_8c-source.html#l00138">setState()</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   515
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   516
Here is the call graph for this function:<p><center><img src="states_8c_915991eebf7c2ac6c929c6c9cfbd7d03_cgraph.png" border="0" usemap="#states_8c_915991eebf7c2ac6c929c6c9cfbd7d03_cgraph_map" alt=""></center>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   517
<map name="states_8c_915991eebf7c2ac6c929c6c9cfbd7d03_cgraph_map">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   518
<area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="278,203,387,227" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   519
<area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="719,57,836,81" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   520
<area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="290,479,375,503" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   521
<area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="262,105,403,129" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   522
<area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="288,347,376,371" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   523
<area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="516,443,604,467" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   524
<area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="464,155,656,179" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   525
<area href="lifegrd_8c.html#098c81fb9326fb2c7b43e88a55ce1368" shape="rect" coords="452,107,668,131" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   526
<area href="lifegrd_8c.html#626b7d9e527a898682d9122f91454de9" shape="rect" coords="468,203,652,227" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   527
<area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="454,299,667,323" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   528
<area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="519,251,602,275" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   529
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="738,129,818,153" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   530
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="506,491,615,515" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   531
<area href="sync_8c.html#82595787f641ab85980d83522f1158b0" shape="rect" coords="471,395,650,419" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   532
<area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="514,347,607,371" alt="">
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   533
</map>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   534
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   535
</div>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   536
</div><p>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 210
diff changeset
   537
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:15 2007 for CanFestival by&nbsp;
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   538
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   539
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   540
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   541
</html>