doc/doxygen/html/states_8c.html
changeset 210 6b5a4c21e061
parent 207 b6572d0336c3
child 215 f49e5a6b7804
equal deleted inserted replaced
209:2cb34a4ac65a 210:6b5a4c21e061
    19 <code>#include &quot;def.h&quot;</code><br>
    19 <code>#include &quot;def.h&quot;</code><br>
    20 <code>#include &quot;dcf.h&quot;</code><br>
    20 <code>#include &quot;dcf.h&quot;</code><br>
    21 <code>#include &quot;nmtSlave.h&quot;</code><br>
    21 <code>#include &quot;nmtSlave.h&quot;</code><br>
    22 
    22 
    23 <p>
    23 <p>
       
    24 Include dependency graph for states.c:<p><center><img src="states_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/states.c_map" alt=""></center>
       
    25 
       
    26 <p>
    24 <a href="states_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
    27 <a href="states_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
    25 <tr><td></td></tr>
    28 <tr><td></td></tr>
    26 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
    29 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
    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>
    30 <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>
    28 
    31 
    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>
    51 <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>
    49 
    52 
    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>
    53 <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>
    51 
    54 
    52 </table>
    55 </table>
    53 <hr><h2>Define Documentation</h2>
    56 <hr><a name="_details"></a><h2>Detailed Description</h2>
       
    57 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
       
    58 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
       
    59 
       
    60 <p>
       
    61 Definition in file <a class="el" href="states_8c-source.html">states.c</a>.<hr><h2>Define Documentation</h2>
    54 <a class="anchor" name="f4e8bc2d192090ff502229b33c24a389"></a><!-- doxytag: member="states.c::None" ref="f4e8bc2d192090ff502229b33c24a389" args="" -->
    62 <a class="anchor" name="f4e8bc2d192090ff502229b33c24a389"></a><!-- doxytag: member="states.c::None" ref="f4e8bc2d192090ff502229b33c24a389" args="" -->
    55 <div class="memitem">
    63 <div class="memitem">
    56 <div class="memproto">
    64 <div class="memproto">
    57       <table class="memname">
    65       <table class="memname">
    58         <tr>
    66         <tr>
    63 <div class="memdoc">
    71 <div class="memdoc">
    64 
    72 
    65 <p>
    73 <p>
    66 
    74 
    67 <p>
    75 <p>
    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>.
    76 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>.
       
    77 <p>
       
    78 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
    69 </div>
    79 </div>
    70 </div><p>
    80 </div><p>
    71 <a class="anchor" name="3a7cf0c586b1e467e6215396e9a439ae"></a><!-- doxytag: member="states.c::StartOrStop" ref="3a7cf0c586b1e467e6215396e9a439ae" args="(CommType, FuncStart, FuncStop)" -->
    81 <a class="anchor" name="3a7cf0c586b1e467e6215396e9a439ae"></a><!-- doxytag: member="states.c::StartOrStop" ref="3a7cf0c586b1e467e6215396e9a439ae" args="(CommType, FuncStart, FuncStop)" -->
    72 <div class="memitem">
    82 <div class="memitem">
    73 <div class="memproto">
    83 <div class="memproto">
   100                 d-&gt;CurrentCommunicationState.CommType = 0;\
   110                 d-&gt;CurrentCommunicationState.CommType = 0;\
   101                 FuncStop;\
   111                 FuncStop;\
   102         }
   112         }
   103 </pre></div>
   113 </pre></div>
   104 <p>
   114 <p>
   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>.
   115 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>.
       
   116 <p>
       
   117 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
   106 </div>
   118 </div>
   107 </div><p>
   119 </div><p>
   108 <hr><h2>Function Documentation</h2>
   120 <hr><h2>Function Documentation</h2>
   109 <a class="anchor" name="1ee4d5c3d5dc6f39607d414b7bf9bcc9"></a><!-- doxytag: member="states.c::_initialisation" ref="1ee4d5c3d5dc6f39607d414b7bf9bcc9" args="()" -->
   121 <a class="anchor" name="1ee4d5c3d5dc6f39607d414b7bf9bcc9"></a><!-- doxytag: member="states.c::_initialisation" ref="1ee4d5c3d5dc6f39607d414b7bf9bcc9" args="()" -->
   110 <div class="memitem">
   122 <div class="memitem">
   122 <div class="memdoc">
   134 <div class="memdoc">
   123 
   135 
   124 <p>
   136 <p>
   125 
   137 
   126 <p>
   138 <p>
   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>.
   139 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>.
   128 </div>
   140 </div>
   129 </div><p>
   141 </div><p>
   130 <a class="anchor" name="4c917142acca702f7e04e919a0b958b4"></a><!-- doxytag: member="states.c::_operational" ref="4c917142acca702f7e04e919a0b958b4" args="()" -->
   142 <a class="anchor" name="4c917142acca702f7e04e919a0b958b4"></a><!-- doxytag: member="states.c::_operational" ref="4c917142acca702f7e04e919a0b958b4" args="()" -->
   131 <div class="memitem">
   143 <div class="memitem">
   132 <div class="memproto">
   144 <div class="memproto">
   143 <div class="memdoc">
   155 <div class="memdoc">
   144 
   156 
   145 <p>
   157 <p>
   146 
   158 
   147 <p>
   159 <p>
   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>.
   160 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>.
   149 </div>
   161 </div>
   150 </div><p>
   162 </div><p>
   151 <a class="anchor" name="00113c22ed3366ee552f77862241d317"></a><!-- doxytag: member="states.c::_preOperational" ref="00113c22ed3366ee552f77862241d317" args="()" -->
   163 <a class="anchor" name="00113c22ed3366ee552f77862241d317"></a><!-- doxytag: member="states.c::_preOperational" ref="00113c22ed3366ee552f77862241d317" args="()" -->
   152 <div class="memitem">
   164 <div class="memitem">
   153 <div class="memproto">
   165 <div class="memproto">
   164 <div class="memdoc">
   176 <div class="memdoc">
   165 
   177 
   166 <p>
   178 <p>
   167 
   179 
   168 <p>
   180 <p>
   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>.
   181 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>.
   170 </div>
   182 </div>
   171 </div><p>
   183 </div><p>
   172 <a class="anchor" name="244e9269c323e14509bea947c2729a13"></a><!-- doxytag: member="states.c::_stopped" ref="244e9269c323e14509bea947c2729a13" args="()" -->
   184 <a class="anchor" name="244e9269c323e14509bea947c2729a13"></a><!-- doxytag: member="states.c::_stopped" ref="244e9269c323e14509bea947c2729a13" args="()" -->
   173 <div class="memitem">
   185 <div class="memitem">
   174 <div class="memproto">
   186 <div class="memproto">
   185 <div class="memdoc">
   197 <div class="memdoc">
   186 
   198 
   187 <p>
   199 <p>
   188 
   200 
   189 <p>
   201 <p>
   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>.
   202 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>.
   191 </div>
   203 </div>
   192 </div><p>
   204 </div><p>
   193 <a class="anchor" name="3f8975650604cc23582f19a43fd4e518"></a><!-- doxytag: member="states.c::canDispatch" ref="3f8975650604cc23582f19a43fd4e518" args="(CO_Data *d, Message *m)" -->
   205 <a class="anchor" name="3f8975650604cc23582f19a43fd4e518"></a><!-- doxytag: member="states.c::canDispatch" ref="3f8975650604cc23582f19a43fd4e518" args="(CO_Data *d, Message *m)" -->
   194 <div class="memitem">
   206 <div class="memitem">
   195 <div class="memproto">
   207 <div class="memproto">
   214       </table>
   226       </table>
   215 </div>
   227 </div>
   216 <div class="memdoc">
   228 <div class="memdoc">
   217 
   229 
   218 <p>
   230 <p>
   219 
   231 <dl compact><dt><b>Parameters:</b></dt><dd>
   220 <p>
   232   <table border="0" cellspacing="2" cellpadding="0">
   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>.
   233     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
   222 <p>
   234     <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td></td></tr>
   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>.
   235   </table>
       
   236 </dl>
       
   237 
       
   238 <p>
       
   239 case TIME_STAMP: 
       
   240 <p>
       
   241 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>.
       
   242 <p>
       
   243 References <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>, and <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>.
       
   244 <p>
       
   245 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>
       
   246 <map name="states_8c_3f8975650604cc23582f19a43fd4e518_cgraph_map">
       
   247 <area href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743" shape="rect" coords="162,65,351,89" alt="">
       
   248 <area href="lifegrd_8c.html#b3248945e06e8b05518beddf665f174d" shape="rect" coords="171,148,342,172" alt="">
       
   249 <area href="pdo_8c.html#ae7d661cd3ef7adf93a0d08fdb15b7f2" shape="rect" coords="446,269,550,293" alt="">
       
   250 <area href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661" shape="rect" coords="203,557,310,581" alt="">
       
   251 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="442,221,554,245" alt="">
       
   252 <area href="states_8c.html#0a5004efd1dedbee82a4f21ec5c44fb5" shape="rect" coords="459,29,536,53" alt="">
       
   253 <area href="dcf_8c.html#8452e163e7649968ad6dae1601a5fb0d" shape="rect" coords="691,53,803,77" alt="">
       
   254 <area href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03" shape="rect" coords="644,5,850,29" alt="">
       
   255 <area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="402,77,594,101" alt="">
       
   256 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="456,125,539,149" alt="">
       
   257 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="456,173,539,197" alt="">
       
   258 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="707,221,787,245" alt="">
       
   259 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="698,317,796,341" alt="">
       
   260 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="706,269,788,293" alt="">
       
   261 <area href="objacces_8c.html#17e598cc1b2e60380e2e4e75afe9b3b0" shape="rect" coords="698,413,796,437" alt="">
       
   262 <area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="899,413,1006,437" alt="">
       
   263 <area href="sdo_8c.html#2019db2a4d17e6d29c055cbae173e2b9" shape="rect" coords="454,707,542,731" alt="">
       
   264 <area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="676,657,818,681" alt="">
       
   265 <area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="692,756,802,780" alt="">
       
   266 <area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="904,805,1000,829" alt="">
       
   267 <area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="911,656,994,680" alt="">
       
   268 <area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="434,805,562,829" alt="">
       
   269 <area href="sdo_8c.html#acceb714c6e457e98deb9ba164ba2a2f" shape="rect" coords="415,365,580,389" alt="">
       
   270 <area href="sdo_8c.html#ad6eb8be03b832ebba4dfb87aaba4065" shape="rect" coords="452,413,543,437" alt="">
       
   271 <area href="sdo_8c.html#29427a80fd1aeabff30bf0602fbc220f" shape="rect" coords="430,317,566,341" alt="">
       
   272 <area href="sdo_8c.html#2eb5309dca3a7363da5e5e7230b85d58" shape="rect" coords="428,461,567,485" alt="">
       
   273 <area href="sdo_8c.html#18b6f7e9c9441640a88ffef1e8720694" shape="rect" coords="451,509,544,533" alt="">
       
   274 <area href="sdo_8c.html#601a837ecb5f21bf4c66b058c5ae7810" shape="rect" coords="416,557,579,581" alt="">
       
   275 <area href="sdo_8c.html#b26c3f2fb63d81055809d6ccaa785b7c" shape="rect" coords="687,705,807,729" alt="">
       
   276 </map>
       
   277 
   224 </div>
   278 </div>
   225 </div><p>
   279 </div><p>
   226 <a class="anchor" name="3020f2e5762f6e389a21382ec827b6a6"></a><!-- doxytag: member="states.c::getNodeId" ref="3020f2e5762f6e389a21382ec827b6a6" args="(CO_Data *d)" -->
   280 <a class="anchor" name="3020f2e5762f6e389a21382ec827b6a6"></a><!-- doxytag: member="states.c::getNodeId" ref="3020f2e5762f6e389a21382ec827b6a6" args="(CO_Data *d)" -->
   227 <div class="memitem">
   281 <div class="memitem">
   228 <div class="memproto">
   282 <div class="memproto">
   238       </table>
   292       </table>
   239 </div>
   293 </div>
   240 <div class="memdoc">
   294 <div class="memdoc">
   241 
   295 
   242 <p>
   296 <p>
   243 
   297 <dl compact><dt><b>Parameters:</b></dt><dd>
   244 <p>
   298   <table border="0" cellspacing="2" cellpadding="0">
   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>.
   299     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   300   </table>
       
   301 </dl>
       
   302 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
       
   303 
       
   304 <p>
       
   305 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>.
   246 </div>
   306 </div>
   247 </div><p>
   307 </div><p>
   248 <a class="anchor" name="95d835785ba564bf6d92e3224c5e3848"></a><!-- doxytag: member="states.c::getState" ref="95d835785ba564bf6d92e3224c5e3848" args="(CO_Data *d)" -->
   308 <a class="anchor" name="95d835785ba564bf6d92e3224c5e3848"></a><!-- doxytag: member="states.c::getState" ref="95d835785ba564bf6d92e3224c5e3848" args="(CO_Data *d)" -->
   249 <div class="memitem">
   309 <div class="memitem">
   250 <div class="memproto">
   310 <div class="memproto">
   260       </table>
   320       </table>
   261 </div>
   321 </div>
   262 <div class="memdoc">
   322 <div class="memdoc">
   263 
   323 
   264 <p>
   324 <p>
   265 
   325 <dl compact><dt><b>Parameters:</b></dt><dd>
   266 <p>
   326   <table border="0" cellspacing="2" cellpadding="0">
   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>.
   327     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   328   </table>
       
   329 </dl>
       
   330 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
       
   331 
       
   332 <p>
       
   333 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>.
   268 </div>
   334 </div>
   269 </div><p>
   335 </div><p>
   270 <a class="anchor" name="d47a53979b9311a374d029f7923abbe1"></a><!-- doxytag: member="states.c::setNodeId" ref="d47a53979b9311a374d029f7923abbe1" args="(CO_Data *d, UNS8 nodeId)" -->
   336 <a class="anchor" name="d47a53979b9311a374d029f7923abbe1"></a><!-- doxytag: member="states.c::setNodeId" ref="d47a53979b9311a374d029f7923abbe1" args="(CO_Data *d, UNS8 nodeId)" -->
   271 <div class="memitem">
   337 <div class="memitem">
   272 <div class="memproto">
   338 <div class="memproto">
   291       </table>
   357       </table>
   292 </div>
   358 </div>
   293 <div class="memdoc">
   359 <div class="memdoc">
   294 
   360 
   295 <p>
   361 <p>
   296 
   362 <dl compact><dt><b>Parameters:</b></dt><dd>
   297 <p>
   363   <table border="0" cellspacing="2" cellpadding="0">
   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>.
   364     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   365     <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</td><td></td></tr>
       
   366   </table>
       
   367 </dl>
       
   368 
       
   369 <p>
       
   370 cob_id_client = 0x600 + nodeId;<p>
       
   371 cob_id_server = 0x580 + nodeId;<p>
       
   372 node Id client. As we do not know the value, we put the node Id Server<p>
       
   373 *(UNS8*)d-&gt;objdict[offset].pSubindex[3].pObject = nodeId;<p>
       
   374 Initialize the server(s) SDO parameters Remember that only one SDO server is allowed, defined at index 0x1200<p>
       
   375 Initialize the client(s) SDO parameters Nothing to initialize (no default values required by the DS 401) Initialize the receive PDO communication parameters. Only for 0x1400 to 0x1403<p>
       
   376 bDeviceNodeId is defined in the object dictionary. 
       
   377 <p>
       
   378 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>.
   299 </div>
   379 </div>
   300 </div><p>
   380 </div><p>
   301 <a class="anchor" name="0a5004efd1dedbee82a4f21ec5c44fb5"></a><!-- doxytag: member="states.c::setState" ref="0a5004efd1dedbee82a4f21ec5c44fb5" args="(CO_Data *d, e_nodeState newState)" -->
   381 <a class="anchor" name="0a5004efd1dedbee82a4f21ec5c44fb5"></a><!-- doxytag: member="states.c::setState" ref="0a5004efd1dedbee82a4f21ec5c44fb5" args="(CO_Data *d, e_nodeState newState)" -->
   302 <div class="memitem">
   382 <div class="memitem">
   303 <div class="memproto">
   383 <div class="memproto">
   322       </table>
   402       </table>
   323 </div>
   403 </div>
   324 <div class="memdoc">
   404 <div class="memdoc">
   325 
   405 
   326 <p>
   406 <p>
   327 
   407 <dl compact><dt><b>Parameters:</b></dt><dd>
   328 <p>
   408   <table border="0" cellspacing="2" cellpadding="0">
   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>.
   409     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
   330 <p>
   410     <tr><td valign="top"></td><td valign="top"><em>newState</em>&nbsp;</td><td></td></tr>
   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>.
   411   </table>
       
   412 </dl>
       
   413 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
       
   414 
       
   415 <p>
       
   416 This will force a second loop for the state switch<p>
       
   417 call user app related state func.<p>
       
   418 end switch case 
       
   419 <p>
       
   420 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>.
       
   421 <p>
       
   422 References <a class="el" href="dcf_8c-source.html#l00087">decompo_dcf()</a>, <a class="el" href="dcf_8c-source.html#l00057">ptrTable</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
       
   423 <p>
       
   424 Referenced by <a class="el" href="nmtSlave_8c-source.html#l00043">proceedNMTstateChange()</a>.
       
   425 <p>
       
   426 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>
       
   427 <map name="states_8c_0a5004efd1dedbee82a4f21ec5c44fb5_cgraph_map">
       
   428 <area href="dcf_8c.html#8452e163e7649968ad6dae1601a5fb0d" shape="rect" coords="181,153,293,177" alt="">
       
   429 <area href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03" shape="rect" coords="135,249,340,273" alt="">
       
   430 <area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="389,104,536,128" alt="">
       
   431 <area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="629,104,757,128" alt="">
       
   432 <area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="623,152,764,176" alt="">
       
   433 <area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="863,104,959,128" alt="">
       
   434 <area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="639,200,748,224" alt="">
       
   435 <area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="652,56,735,80" alt="">
       
   436 <area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="408,347,517,371" alt="">
       
   437 <area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="852,273,969,297" alt="">
       
   438 <area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="420,200,505,224" alt="">
       
   439 <area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="392,152,533,176" alt="">
       
   440 <area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="419,539,507,563" alt="">
       
   441 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="649,635,737,659" alt="">
       
   442 <area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="597,395,789,419" alt="">
       
   443 <area href="lifegrd_8c.html#098c81fb9326fb2c7b43e88a55ce1368" shape="rect" coords="585,299,801,323" alt="">
       
   444 <area href="lifegrd_8c.html#626b7d9e527a898682d9122f91454de9" shape="rect" coords="601,347,785,371" alt="">
       
   445 <area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="587,443,800,467" alt="">
       
   446 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="652,491,735,515" alt="">
       
   447 <area href="sync_8c.html#82595787f641ab85980d83522f1158b0" shape="rect" coords="604,539,783,563" alt="">
       
   448 <area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="647,587,740,611" alt="">
       
   449 </map>
       
   450 
   332 </div>
   451 </div>
   333 </div><p>
   452 </div><p>
   334 <a class="anchor" name="915991eebf7c2ac6c929c6c9cfbd7d03"></a><!-- doxytag: member="states.c::switchCommunicationState" ref="915991eebf7c2ac6c929c6c9cfbd7d03" args="(CO_Data *d, s_state_communication *newCommunicationState)" -->
   453 <a class="anchor" name="915991eebf7c2ac6c929c6c9cfbd7d03"></a><!-- doxytag: member="states.c::switchCommunicationState" ref="915991eebf7c2ac6c929c6c9cfbd7d03" args="(CO_Data *d, s_state_communication *newCommunicationState)" -->
   335 <div class="memitem">
   454 <div class="memitem">
   336 <div class="memproto">
   455 <div class="memproto">
   355       </table>
   474       </table>
   356 </div>
   475 </div>
   357 <div class="memdoc">
   476 <div class="memdoc">
   358 
   477 
   359 <p>
   478 <p>
   360 
   479 <dl compact><dt><b>Parameters:</b></dt><dd>
   361 <p>
   480   <table border="0" cellspacing="2" cellpadding="0">
   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>.
   481     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
   363 <p>
   482     <tr><td valign="top"></td><td valign="top"><em>newCommunicationState</em>&nbsp;</td><td></td></tr>
   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>.
   483   </table>
   365 </div>
   484 </dl>
   366 </div><p>
   485 
   367 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by&nbsp;
   486 <p>
       
   487 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>.
       
   488 <p>
       
   489 References <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>.
       
   490 <p>
       
   491 Referenced by <a class="el" href="states_8c-source.html#l00138">setState()</a>.
       
   492 <p>
       
   493 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>
       
   494 <map name="states_8c_915991eebf7c2ac6c929c6c9cfbd7d03_cgraph_map">
       
   495 <area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="278,152,387,176" alt="">
       
   496 <area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="719,56,836,80" alt="">
       
   497 <area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="290,395,375,419" alt="">
       
   498 <area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="262,443,403,467" alt="">
       
   499 <area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="288,296,376,320" alt="">
       
   500 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="516,392,604,416" alt="">
       
   501 <area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="464,56,656,80" alt="">
       
   502 <area href="lifegrd_8c.html#098c81fb9326fb2c7b43e88a55ce1368" shape="rect" coords="452,104,668,128" alt="">
       
   503 <area href="lifegrd_8c.html#626b7d9e527a898682d9122f91454de9" shape="rect" coords="468,152,652,176" alt="">
       
   504 <area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="454,200,667,224" alt="">
       
   505 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="519,248,602,272" alt="">
       
   506 <area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="506,440,615,464" alt="">
       
   507 <area href="sync_8c.html#82595787f641ab85980d83522f1158b0" shape="rect" coords="471,296,650,320" alt="">
       
   508 <area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="514,344,607,368" alt="">
       
   509 </map>
       
   510 
       
   511 </div>
       
   512 </div><p>
       
   513 <hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:10 2007 for CanFestival by&nbsp;
   368 <a href="http://www.doxygen.org/index.html">
   514 <a href="http://www.doxygen.org/index.html">
   369 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   515 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   370 </body>
   516 </body>
   371 </html>
   517 </html>