doc/doxygen/html/states_8c.html
changeset 388 1c1e3599d66a
parent 387 6efc85c5493e
child 389 8a46c8432c82
equal deleted inserted replaced
387:6efc85c5493e 388:1c1e3599d66a
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
       
     3 <title>CanFestival: src/states.c File Reference</title>
       
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
       
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
       
     6 </head><body>
       
     7 <!-- Generated by Doxygen 1.5.1 -->
       
     8 <div class="tabs">
       
     9   <ul>
       
    10     <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
       
    11     <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       
    12     <li id="current"><a href="files.html"><span>Files</span></a></li>
       
    13     <li><a href="dirs.html"><span>Directories</span></a></li>
       
    14   </ul></div>
       
    15 <div class="tabs">
       
    16   <ul>
       
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
       
    18     <li><a href="globals.html"><span>Globals</span></a></li>
       
    19   </ul></div>
       
    20 <div class="nav">
       
    21 <a class="el" href="dir_0aa10e4f705947227e11e7ccb081fbe4.html">src</a></div>
       
    22 <h1>states.c File Reference</h1><code>#include &quot;<a class="el" href="states_8h-source.html">states.h</a>&quot;</code><br>
       
    23 <code>#include &quot;<a class="el" href="def_8h-source.html">def.h</a>&quot;</code><br>
       
    24 <code>#include &quot;<a class="el" href="dcf_8h-source.html">dcf.h</a>&quot;</code><br>
       
    25 <code>#include &quot;<a class="el" href="nmtSlave_8h-source.html">nmtSlave.h</a>&quot;</code><br>
       
    26 
       
    27 <p>
       
    28 Include dependency graph for states.c:<p><center><img src="states_8c__incl.png" border="0" usemap="#src/states.c_map" alt=""></center>
       
    29 <map name="src/states.c_map">
       
    30 <area href="states_8h.html" shape="rect" coords="144,467,205,493" alt="">
       
    31 <area href="def_8h.html" shape="rect" coords="511,543,559,569" alt="">
       
    32 <area href="dcf_8h.html" shape="rect" coords="151,644,199,671" alt="">
       
    33 <area href="nmtSlave_8h.html" shape="rect" coords="135,315,215,341" alt="">
       
    34 <area href="win32_2applicfg_8h.html" shape="rect" coords="617,340,692,367" alt="">
       
    35 <area href="data_8h.html" shape="rect" coords="264,315,317,341" alt="">
       
    36 <area href="can_8h.html" shape="rect" coords="511,441,559,468" alt="">
       
    37 <area href="objdictdef_8h.html" shape="rect" coords="368,188,453,215" alt="">
       
    38 <area href="objacces_8h.html" shape="rect" coords="372,391,449,417" alt="">
       
    39 <area href="sdo_8h.html" shape="rect" coords="387,36,435,63" alt="">
       
    40 <area href="pdo_8h.html" shape="rect" coords="385,492,436,519" alt="">
       
    41 <area href="lifegrd_8h.html" shape="rect" coords="377,137,444,164" alt="">
       
    42 <area href="sync_8h.html" shape="rect" coords="383,239,439,265" alt="">
       
    43 <area href="nmtMaster_8h.html" shape="rect" coords="367,289,455,316" alt="">
       
    44 <area href="config_8h.html" shape="rect" coords="623,543,687,569" alt="">
       
    45 <area href="timer_8h.html" shape="rect" coords="505,99,564,125" alt="">
       
    46 <area href="win32_2timerscfg_8h.html" shape="rect" coords="615,112,695,139" alt="">
       
    47 </map>
       
    48 
       
    49 <p>
       
    50 <a href="states_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
       
    51 <tr><td></td></tr>
       
    52 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
       
    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#c91c879ec73f95abccc1eafed14370c3">StartOrStop</a>(CommType, FuncStart, FuncStop)</td></tr>
       
    54 
       
    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#2f62b2777f2f70d3b2a2779de08a871e">None</a></td></tr>
       
    56 
       
    57 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    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#553af6eeeba1591e3d26444d8a544856">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>
       
    59 
       
    60 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8c.html#9e583d34635164324fbd55e310d8e99b">getState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
       
    61 
       
    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#5903338b79e219eeb27f61974419fc12">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>
       
    63 
       
    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#cfb53d66c2360cd55b1d968f0e5c270f">setState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> newState)</td></tr>
       
    65 
       
    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#458a686646e4500b1f9e6cf67898250e">getNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
       
    67 
       
    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#191c0cad67e093ea44285c9acd187513">setNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
       
    69 
       
    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#bbf7c4f549d7ffacaab5f35602e97bd6">_initialisation</a> ()</td></tr>
       
    71 
       
    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#2264bc985c7eacf7d48d16b2b9109e39">_preOperational</a> ()</td></tr>
       
    73 
       
    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#6bc47cbd7a2bdf37d998a8e4743d4260">_operational</a> ()</td></tr>
       
    75 
       
    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#fe6f57bd1c97e8a3d23c288e5920c245">_stopped</a> ()</td></tr>
       
    77 
       
    78 </table>
       
    79 <hr><a name="_details"></a><h2>Detailed Description</h2>
       
    80 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
       
    81 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
       
    82 
       
    83 <p>
       
    84 Definition in file <a class="el" href="states_8c-source.html">states.c</a>.<hr><h2>Define Documentation</h2>
       
    85 <a class="anchor" name="2f62b2777f2f70d3b2a2779de08a871e"></a><!-- doxytag: member="states.c::None" ref="2f62b2777f2f70d3b2a2779de08a871e" args="" -->
       
    86 <div class="memitem">
       
    87 <div class="memproto">
       
    88       <table class="memname">
       
    89         <tr>
       
    90           <td class="memname">#define None          </td>
       
    91         </tr>
       
    92       </table>
       
    93 </div>
       
    94 <div class="memdoc">
       
    95 
       
    96 <p>
       
    97 
       
    98 <p>
       
    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>.
       
   100 <p>
       
   101 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
       
   102 </div>
       
   103 </div><p>
       
   104 <a class="anchor" name="c91c879ec73f95abccc1eafed14370c3"></a><!-- doxytag: member="states.c::StartOrStop" ref="c91c879ec73f95abccc1eafed14370c3" args="(CommType, FuncStart, FuncStop)" -->
       
   105 <div class="memitem">
       
   106 <div class="memproto">
       
   107       <table class="memname">
       
   108         <tr>
       
   109           <td class="memname">#define StartOrStop          </td>
       
   110           <td>(</td>
       
   111           <td class="paramtype">CommType,         <tr>
       
   112           <td class="paramkey"></td>
       
   113           <td></td>
       
   114           <td class="paramtype">FuncStart,         <tr>
       
   115           <td class="paramkey"></td>
       
   116           <td></td>
       
   117           <td class="paramtype">FuncStop&nbsp;</td>
       
   118           <td class="paramname">          </td>
       
   119           <td>&nbsp;)&nbsp;</td>
       
   120           <td width="100%"></td>
       
   121         </tr>
       
   122       </table>
       
   123 </div>
       
   124 <div class="memdoc">
       
   125 
       
   126 <p>
       
   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#1f47508e63fb89e692b98e178a78268f">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ac7e1610f30cb4035d51532db75738e6">CurrentCommunicationState</a>.CommType){\
       
   128                 <a class="code" href="hcs12_2applicfg_8h.html#d5dffc889e623fbc4f635e69276cdf20">MSG_WAR</a>(0x9999,#FuncStart, 9999);\
       
   129                 <a class="code" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ac7e1610f30cb4035d51532db75738e6">CurrentCommunicationState</a>.CommType = 1;\
       
   130                 FuncStart;\
       
   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#1f47508e63fb89e692b98e178a78268f">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ac7e1610f30cb4035d51532db75738e6">CurrentCommunicationState</a>.CommType){\
       
   132                 <a class="code" href="hcs12_2applicfg_8h.html#d5dffc889e623fbc4f635e69276cdf20">MSG_WAR</a>(0x9999,#FuncStop, 9999);\
       
   133                 <a class="code" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a>-&gt;<a class="code" href="structstruct__CO__Data.html#ac7e1610f30cb4035d51532db75738e6">CurrentCommunicationState</a>.CommType = 0;\
       
   134                 FuncStop;\
       
   135         }
       
   136 </pre></div>
       
   137 <p>
       
   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>.
       
   139 <p>
       
   140 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
       
   141 </div>
       
   142 </div><p>
       
   143 <hr><h2>Function Documentation</h2>
       
   144 <a class="anchor" name="bbf7c4f549d7ffacaab5f35602e97bd6"></a><!-- doxytag: member="states.c::_initialisation" ref="bbf7c4f549d7ffacaab5f35602e97bd6" args="()" -->
       
   145 <div class="memitem">
       
   146 <div class="memproto">
       
   147       <table class="memname">
       
   148         <tr>
       
   149           <td class="memname">void _initialisation           </td>
       
   150           <td>(</td>
       
   151           <td class="paramtype">void&nbsp;</td>
       
   152           <td class="paramname">          </td>
       
   153           <td>&nbsp;)&nbsp;</td>
       
   154           <td width="100%"></td>
       
   155         </tr>
       
   156       </table>
       
   157 </div>
       
   158 <div class="memdoc">
       
   159 
       
   160 <p>
       
   161 
       
   162 <p>
       
   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>.
       
   164 </div>
       
   165 </div><p>
       
   166 <a class="anchor" name="6bc47cbd7a2bdf37d998a8e4743d4260"></a><!-- doxytag: member="states.c::_operational" ref="6bc47cbd7a2bdf37d998a8e4743d4260" args="()" -->
       
   167 <div class="memitem">
       
   168 <div class="memproto">
       
   169       <table class="memname">
       
   170         <tr>
       
   171           <td class="memname">void _operational           </td>
       
   172           <td>(</td>
       
   173           <td class="paramtype">void&nbsp;</td>
       
   174           <td class="paramname">          </td>
       
   175           <td>&nbsp;)&nbsp;</td>
       
   176           <td width="100%"></td>
       
   177         </tr>
       
   178       </table>
       
   179 </div>
       
   180 <div class="memdoc">
       
   181 
       
   182 <p>
       
   183 
       
   184 <p>
       
   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>.
       
   186 </div>
       
   187 </div><p>
       
   188 <a class="anchor" name="2264bc985c7eacf7d48d16b2b9109e39"></a><!-- doxytag: member="states.c::_preOperational" ref="2264bc985c7eacf7d48d16b2b9109e39" args="()" -->
       
   189 <div class="memitem">
       
   190 <div class="memproto">
       
   191       <table class="memname">
       
   192         <tr>
       
   193           <td class="memname">void _preOperational           </td>
       
   194           <td>(</td>
       
   195           <td class="paramtype">void&nbsp;</td>
       
   196           <td class="paramname">          </td>
       
   197           <td>&nbsp;)&nbsp;</td>
       
   198           <td width="100%"></td>
       
   199         </tr>
       
   200       </table>
       
   201 </div>
       
   202 <div class="memdoc">
       
   203 
       
   204 <p>
       
   205 
       
   206 <p>
       
   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>.
       
   208 </div>
       
   209 </div><p>
       
   210 <a class="anchor" name="fe6f57bd1c97e8a3d23c288e5920c245"></a><!-- doxytag: member="states.c::_stopped" ref="fe6f57bd1c97e8a3d23c288e5920c245" args="()" -->
       
   211 <div class="memitem">
       
   212 <div class="memproto">
       
   213       <table class="memname">
       
   214         <tr>
       
   215           <td class="memname">void _stopped           </td>
       
   216           <td>(</td>
       
   217           <td class="paramtype">void&nbsp;</td>
       
   218           <td class="paramname">          </td>
       
   219           <td>&nbsp;)&nbsp;</td>
       
   220           <td width="100%"></td>
       
   221         </tr>
       
   222       </table>
       
   223 </div>
       
   224 <div class="memdoc">
       
   225 
       
   226 <p>
       
   227 
       
   228 <p>
       
   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>.
       
   230 </div>
       
   231 </div><p>
       
   232 <a class="anchor" name="5903338b79e219eeb27f61974419fc12"></a><!-- doxytag: member="states.c::canDispatch" ref="5903338b79e219eeb27f61974419fc12" args="(CO_Data *d, Message *m)" -->
       
   233 <div class="memitem">
       
   234 <div class="memproto">
       
   235       <table class="memname">
       
   236         <tr>
       
   237           <td class="memname">void canDispatch           </td>
       
   238           <td>(</td>
       
   239           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   240           <td class="paramname"> <em>d</em>, </td>
       
   241         </tr>
       
   242         <tr>
       
   243           <td class="paramkey"></td>
       
   244           <td></td>
       
   245           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   246           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
       
   247         </tr>
       
   248         <tr>
       
   249           <td></td>
       
   250           <td>)</td>
       
   251           <td></td><td></td><td width="100%"></td>
       
   252         </tr>
       
   253       </table>
       
   254 </div>
       
   255 <div class="memdoc">
       
   256 
       
   257 <p>
       
   258 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   259   <table border="0" cellspacing="2" cellpadding="0">
       
   260     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   261     <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td></td></tr>
       
   262   </table>
       
   263 </dl>
       
   264 
       
   265 <p>
       
   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>.
       
   267 <p>
       
   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#l00084">NMT</a>, <a class="el" href="def_8h-source.html#l00097">NODE_GUARD</a>, <a class="el" href="def_8h-source.html#l00088">PDO1rx</a>, <a class="el" href="def_8h-source.html#l00087">PDO1tx</a>, <a class="el" href="def_8h-source.html#l00090">PDO2rx</a>, <a class="el" href="def_8h-source.html#l00089">PDO2tx</a>, <a class="el" href="def_8h-source.html#l00092">PDO3rx</a>, <a class="el" href="def_8h-source.html#l00091">PDO3tx</a>, <a class="el" href="def_8h-source.html#l00094">PDO4rx</a>, <a class="el" href="def_8h-source.html#l00093">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#l00141">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#l00096">SDOrx</a>, <a class="el" href="def_8h-source.html#l00095">SDOtx</a>, <a class="el" href="def_8h-source.html#l00085">SYNC</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
       
   269 <p>
       
   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>.
       
   271 <p>
       
   272 Here is the call graph for this function:<p><center><img src="states_8c_5903338b79e219eeb27f61974419fc12_cgraph.png" border="0" usemap="#states_8c_5903338b79e219eeb27f61974419fc12_cgraph_map" alt=""></center>
       
   273 <map name="states_8c_5903338b79e219eeb27f61974419fc12_cgraph_map">
       
   274 <area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="143,69,300,96" alt="">
       
   275 <area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="349,113,504,140" alt="">
       
   276 <area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="381,247,472,273" alt="">
       
   277 <area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="176,537,267,564" alt="">
       
   278 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="172,588,271,615" alt="">
       
   279 <area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="396,63,457,89" alt="">
       
   280 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="599,107,665,133" alt="">
       
   281 <area href="lifegrd_8c.html#f01de9def215369ece4214cce5871508" shape="rect" coords="553,56,711,83" alt="">
       
   282 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="595,157,669,184" alt="">
       
   283 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="596,5,668,32" alt="">
       
   284 <area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="595,208,669,235" alt="">
       
   285 <area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="767,233,839,260" alt="">
       
   286 <area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="560,309,704,336" alt="">
       
   287 <area href="objacces_8c.html#dad5d2f7890168cade2fbb7e0e4c6200" shape="rect" coords="591,360,673,387" alt="">
       
   288 <area href="sdo_8c.html#85872a68746c862b8771045ef45385a5" shape="rect" coords="388,816,465,843" alt="">
       
   289 <area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="572,841,692,868" alt="">
       
   290 <area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="585,461,679,488" alt="">
       
   291 <area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="760,436,845,463" alt="">
       
   292 <area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="372,512,481,539" alt="">
       
   293 <area href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a" shape="rect" coords="357,563,496,589" alt="">
       
   294 <area href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66" shape="rect" coords="385,613,468,640" alt="">
       
   295 <area href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90" shape="rect" coords="367,664,487,691" alt="">
       
   296 <area href="sdo_8c.html#6603431e4ce111d365118681a3b80653" shape="rect" coords="365,360,488,387" alt="">
       
   297 <area href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb" shape="rect" coords="385,715,468,741" alt="">
       
   298 <area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="391,183,463,209" alt="">
       
   299 <area href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3" shape="rect" coords="359,765,495,792" alt="">
       
   300 </map>
       
   301 
       
   302 </div>
       
   303 </div><p>
       
   304 <a class="anchor" name="458a686646e4500b1f9e6cf67898250e"></a><!-- doxytag: member="states.c::getNodeId" ref="458a686646e4500b1f9e6cf67898250e" args="(CO_Data *d)" -->
       
   305 <div class="memitem">
       
   306 <div class="memproto">
       
   307       <table class="memname">
       
   308         <tr>
       
   309           <td class="memname">UNS8 getNodeId           </td>
       
   310           <td>(</td>
       
   311           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   312           <td class="paramname"> <em>d</em>          </td>
       
   313           <td>&nbsp;)&nbsp;</td>
       
   314           <td width="100%"></td>
       
   315         </tr>
       
   316       </table>
       
   317 </div>
       
   318 <div class="memdoc">
       
   319 
       
   320 <p>
       
   321 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   322   <table border="0" cellspacing="2" cellpadding="0">
       
   323     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   324   </table>
       
   325 </dl>
       
   326 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
       
   327 
       
   328 <p>
       
   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>.
       
   330 <p>
       
   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>.
       
   332 <p>
       
   333 Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
       
   334 </div>
       
   335 </div><p>
       
   336 <a class="anchor" name="9e583d34635164324fbd55e310d8e99b"></a><!-- doxytag: member="states.c::getState" ref="9e583d34635164324fbd55e310d8e99b" args="(CO_Data *d)" -->
       
   337 <div class="memitem">
       
   338 <div class="memproto">
       
   339       <table class="memname">
       
   340         <tr>
       
   341           <td class="memname"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> getState           </td>
       
   342           <td>(</td>
       
   343           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   344           <td class="paramname"> <em>d</em>          </td>
       
   345           <td>&nbsp;)&nbsp;</td>
       
   346           <td width="100%"></td>
       
   347         </tr>
       
   348       </table>
       
   349 </div>
       
   350 <div class="memdoc">
       
   351 
       
   352 <p>
       
   353 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   354   <table border="0" cellspacing="2" cellpadding="0">
       
   355     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   356   </table>
       
   357 </dl>
       
   358 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
       
   359 
       
   360 <p>
       
   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>.
       
   362 <p>
       
   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>.
       
   364 </div>
       
   365 </div><p>
       
   366 <a class="anchor" name="191c0cad67e093ea44285c9acd187513"></a><!-- doxytag: member="states.c::setNodeId" ref="191c0cad67e093ea44285c9acd187513" args="(CO_Data *d, UNS8 nodeId)" -->
       
   367 <div class="memitem">
       
   368 <div class="memproto">
       
   369       <table class="memname">
       
   370         <tr>
       
   371           <td class="memname">void setNodeId           </td>
       
   372           <td>(</td>
       
   373           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   374           <td class="paramname"> <em>d</em>, </td>
       
   375         </tr>
       
   376         <tr>
       
   377           <td class="paramkey"></td>
       
   378           <td></td>
       
   379           <td class="paramtype">UNS8&nbsp;</td>
       
   380           <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</td>
       
   381         </tr>
       
   382         <tr>
       
   383           <td></td>
       
   384           <td>)</td>
       
   385           <td></td><td></td><td width="100%"></td>
       
   386         </tr>
       
   387       </table>
       
   388 </div>
       
   389 <div class="memdoc">
       
   390 
       
   391 <p>
       
   392 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   393   <table border="0" cellspacing="2" cellpadding="0">
       
   394     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   395     <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</td><td></td></tr>
       
   396   </table>
       
   397 </dl>
       
   398 
       
   399 <p>
       
   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>.
       
   401 <p>
       
   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#l00106">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00108">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="objdictdef_8h-source.html#l00104">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>.
       
   403 <p>
       
   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>.
       
   405 </div>
       
   406 </div><p>
       
   407 <a class="anchor" name="cfb53d66c2360cd55b1d968f0e5c270f"></a><!-- doxytag: member="states.c::setState" ref="cfb53d66c2360cd55b1d968f0e5c270f" args="(CO_Data *d, e_nodeState newState)" -->
       
   408 <div class="memitem">
       
   409 <div class="memproto">
       
   410       <table class="memname">
       
   411         <tr>
       
   412           <td class="memname">UNS8 setState           </td>
       
   413           <td>(</td>
       
   414           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   415           <td class="paramname"> <em>d</em>, </td>
       
   416         </tr>
       
   417         <tr>
       
   418           <td class="paramkey"></td>
       
   419           <td></td>
       
   420           <td class="paramtype"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a>&nbsp;</td>
       
   421           <td class="paramname"> <em>newState</em></td><td>&nbsp;</td>
       
   422         </tr>
       
   423         <tr>
       
   424           <td></td>
       
   425           <td>)</td>
       
   426           <td></td><td></td><td width="100%"></td>
       
   427         </tr>
       
   428       </table>
       
   429 </div>
       
   430 <div class="memdoc">
       
   431 
       
   432 <p>
       
   433 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   434   <table border="0" cellspacing="2" cellpadding="0">
       
   435     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   436     <tr><td valign="top"></td><td valign="top"><em>newState</em>&nbsp;</td><td></td></tr>
       
   437   </table>
       
   438 </dl>
       
   439 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
       
   440 
       
   441 <p>
       
   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>.
       
   443 <p>
       
   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#80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e">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#80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea">Operational</a>, <a class="el" href="data_8h-source.html#l00065">struct_CO_Data::operational</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a">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#l00088">struct_CO_Data::scanIndexOD</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a">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>.
       
   445 <p>
       
   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>.
       
   447 <p>
       
   448 Here is the call graph for this function:<p><center><img src="states_8c_cfb53d66c2360cd55b1d968f0e5c270f_cgraph.png" border="0" usemap="#states_8c_cfb53d66c2360cd55b1d968f0e5c270f_cgraph_map" alt=""></center>
       
   449 <map name="states_8c_cfb53d66c2360cd55b1d968f0e5c270f_cgraph_map">
       
   450 <area href="dcf_8c.html#acb81126cc677d663f367f560ae0face" shape="rect" coords="156,81,249,108" alt="">
       
   451 <area href="states_8c.html#553af6eeeba1591e3d26444d8a544856" shape="rect" coords="119,208,287,235" alt="">
       
   452 <area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="336,5,461,32" alt="">
       
   453 <area href="lifegrd_8c.html#03fbd3b6910b8058535d3e94242cb80e" shape="rect" coords="355,56,443,83" alt="">
       
   454 <area href="lifegrd_8c.html#007b1f27fd9f0d6814498093f424f82e" shape="rect" coords="352,107,445,133" alt="">
       
   455 <area href="pdo_8c.html#858b6c5fcf09d0c6c9cdd67f92bcd8f9" shape="rect" coords="365,157,432,184" alt="">
       
   456 <area href="pdo_8c.html#e31b98506e436ee213de906c19cc59f1" shape="rect" coords="363,208,435,235" alt="">
       
   457 <area href="sdo_8c.html#48d2bfe1b7581346bb720ad2542bac89" shape="rect" coords="363,259,435,285" alt="">
       
   458 <area href="nmtSlave_8c.html#29f6eed8d34859710f7e603a1fc0d9d1" shape="rect" coords="340,309,457,336" alt="">
       
   459 <area href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9" shape="rect" coords="359,360,439,387" alt="">
       
   460 <area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="511,385,588,412" alt="">
       
   461 </map>
       
   462 
       
   463 </div>
       
   464 </div><p>
       
   465 <a class="anchor" name="553af6eeeba1591e3d26444d8a544856"></a><!-- doxytag: member="states.c::switchCommunicationState" ref="553af6eeeba1591e3d26444d8a544856" args="(CO_Data *d, s_state_communication *newCommunicationState)" -->
       
   466 <div class="memitem">
       
   467 <div class="memproto">
       
   468       <table class="memname">
       
   469         <tr>
       
   470           <td class="memname">void switchCommunicationState           </td>
       
   471           <td>(</td>
       
   472           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   473           <td class="paramname"> <em>d</em>, </td>
       
   474         </tr>
       
   475         <tr>
       
   476           <td class="paramkey"></td>
       
   477           <td></td>
       
   478           <td class="paramtype"><a class="el" href="structs__state__communication.html">s_state_communication</a> *&nbsp;</td>
       
   479           <td class="paramname"> <em>newCommunicationState</em></td><td>&nbsp;</td>
       
   480         </tr>
       
   481         <tr>
       
   482           <td></td>
       
   483           <td>)</td>
       
   484           <td></td><td></td><td width="100%"></td>
       
   485         </tr>
       
   486       </table>
       
   487 </div>
       
   488 <div class="memdoc">
       
   489 
       
   490 <p>
       
   491 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   492   <table border="0" cellspacing="2" cellpadding="0">
       
   493     <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
       
   494     <tr><td valign="top"></td><td valign="top"><em>newCommunicationState</em>&nbsp;</td><td></td></tr>
       
   495   </table>
       
   496 </dl>
       
   497 
       
   498 <p>
       
   499 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>.
       
   500 <p>
       
   501 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="pdo_8c-source.html#l00601">PDOInit()</a>, <a class="el" href="pdo_8c-source.html#l00632">PDOStop()</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>.
       
   502 <p>
       
   503 Referenced by <a class="el" href="states_8c-source.html#l00138">setState()</a>.
       
   504 <p>
       
   505 Here is the call graph for this function:<p><center><img src="states_8c_553af6eeeba1591e3d26444d8a544856_cgraph.png" border="0" usemap="#states_8c_553af6eeeba1591e3d26444d8a544856_cgraph_map" alt=""></center>
       
   506 <map name="states_8c_553af6eeeba1591e3d26444d8a544856_cgraph_map">
       
   507 <area href="lifegrd_8c.html#03fbd3b6910b8058535d3e94242cb80e" shape="rect" coords="239,199,327,225" alt="">
       
   508 <area href="lifegrd_8c.html#007b1f27fd9f0d6814498093f424f82e" shape="rect" coords="701,97,795,124" alt="">
       
   509 <area href="pdo_8c.html#858b6c5fcf09d0c6c9cdd67f92bcd8f9" shape="rect" coords="249,427,316,453" alt="">
       
   510 <area href="pdo_8c.html#e31b98506e436ee213de906c19cc59f1" shape="rect" coords="712,21,784,48" alt="">
       
   511 <area href="sdo_8c.html#48d2bfe1b7581346bb720ad2542bac89" shape="rect" coords="247,705,319,732" alt="">
       
   512 <area href="nmtSlave_8c.html#29f6eed8d34859710f7e603a1fc0d9d1" shape="rect" coords="224,351,341,377" alt="">
       
   513 <area href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9" shape="rect" coords="243,604,323,631" alt="">
       
   514 <area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="440,553,517,580" alt="">
       
   515 <area href="lifegrd_8c.html#f01de9def215369ece4214cce5871508" shape="rect" coords="400,148,557,175" alt="">
       
   516 <area href="lifegrd_8c.html#9b31f862dd95cc430757f30a0306205b" shape="rect" coords="391,97,567,124" alt="">
       
   517 <area href="lifegrd_8c.html#a296a819d9aedc0d7781774390908000" shape="rect" coords="403,199,555,225" alt="">
       
   518 <area href="objacces_8c.html#9a512a966532e40f35d3a4201bf54ead" shape="rect" coords="389,351,568,377" alt="">
       
   519 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="712,452,784,479" alt="">
       
   520 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="928,313,1003,340" alt="">
       
   521 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="715,300,781,327" alt="">
       
   522 <area href="objacces_8c.html#b2839d53051e322c12605c1d7f3dc4e5" shape="rect" coords="701,351,795,377" alt="">
       
   523 <area href="pdo_8c.html#fbf33713253ccf33f9277e31c78a6cb5" shape="rect" coords="425,503,532,529" alt="">
       
   524 <area href="pdo_8c.html#b0f2ba361e723602410676cd1c3402dd" shape="rect" coords="616,401,880,428" alt="">
       
   525 <area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="432,756,525,783" alt="">
       
   526 <area href="sync_8c.html#9bcb477ec78154d3d0d0c9bb60392224" shape="rect" coords="400,705,557,732" alt="">
       
   527 <area href="sync_8c.html#4f6067ef03a5c85e07ddd817dd8d948f" shape="rect" coords="437,655,520,681" alt="">
       
   528 </map>
       
   529 
       
   530 </div>
       
   531 </div><p>
       
   532 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:42 2007 for CanFestival by&nbsp;
       
   533 <a href="http://www.doxygen.org/index.html">
       
   534 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   535 </body>
       
   536 </html>