doc/doxygen/html/states_8h.html
changeset 207 b6572d0336c3
equal deleted inserted replaced
206:6787754b251b 207:b6572d0336c3
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
       
     3 <title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/include/states.h File Reference</title>
       
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
       
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
       
     6 </head><body>
       
     7 <!-- Generated by Doxygen 1.5.1 -->
       
     8 <div class="tabs">
       
     9   <ul>
       
    10     <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
       
    11     <li><a href="namespaces.html"><span>Namespaces</span></a></li>
       
    12     <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       
    13     <li id="current"><a href="files.html"><span>Files</span></a></li>
       
    14   </ul></div>
       
    15 <div class="tabs">
       
    16   <ul>
       
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
       
    18     <li><a href="globals.html"><span>Globals</span></a></li>
       
    19   </ul></div>
       
    20 <h1>/home/epimerde/documents/tc11/CanFestival-3/include/states.h File Reference</h1><code>#include &lt;<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>&gt;</code><br>
       
    21 <code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
       
    22 
       
    23 <p>
       
    24 <a href="states_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
       
    25 <tr><td></td></tr>
       
    26 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
       
    27 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structs__state__communication.html">s_state_communication</a></td></tr>
       
    28 
       
    29 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
       
    30 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646">enum_nodeState</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a></td></tr>
       
    31 
       
    32 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#d0cd6d1eb89085da7cb9f32ce386e8bc">initialisation_t</a> (void)</td></tr>
       
    33 
       
    34 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#f4a6da4fe018afbe20eaf716c248e02a">preOperational_t</a> (void)</td></tr>
       
    35 
       
    36 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#8aed99e590473f26db47a9c2dc5b73fc">operational_t</a> (void)</td></tr>
       
    37 
       
    38 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#c99397ce6341b6b5128104aee4c27ec5">stopped_t</a> (void)</td></tr>
       
    39 
       
    40 <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
       
    41 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646">enum_nodeState</a> { <br>
       
    42 &nbsp;&nbsp;<a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5">Initialisation</a> =  0x00, 
       
    43 <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec6864684ab0fbbb76a8c897feb1cd806d56443">Disconnected</a> =  0x01, 
       
    44 <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686466ea90df6fe966852496b4846da497fb0">Connecting</a> =  0x02, 
       
    45 <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec6864695fc3c631fbad8ca3dc8d5b69a3e0d5b">Preparing</a> =  0x02, 
       
    46 <br>
       
    47 &nbsp;&nbsp;<a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75">Stopped</a> =  0x04, 
       
    48 <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a> =  0x05, 
       
    49 <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646c747c16a9c4d7dec65cdab6e38df99b7">Pre_operational</a> =  0x7F, 
       
    50 <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646cb4b5cb64be091d76f846380eb0afe59">Unknown_state</a> =  0x0F
       
    51 <br>
       
    52  }</td></tr>
       
    53 
       
    54 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    55 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#67ca1ac7ff49e88cf7847e408b258cae">_initialisation</a> (void)</td></tr>
       
    56 
       
    57 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#f4e52eb187303eca1962bb6f74cb8169">_preOperational</a> (void)</td></tr>
       
    58 
       
    59 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#b31a0526e24de79a09ccc512db420d91">_operational</a> (void)</td></tr>
       
    60 
       
    61 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#9117ccff20aaed468dd715517e77dbc3">_stopped</a> (void)</td></tr>
       
    62 
       
    63 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.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>
       
    64 
       
    65 <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_8h.html#95d835785ba564bf6d92e3224c5e3848">getState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
       
    66 
       
    67 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.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>
       
    68 
       
    69 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#3020f2e5762f6e389a21382ec827b6a6">getNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
       
    70 
       
    71 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#d47a53979b9311a374d029f7923abbe1">setNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
       
    72 
       
    73 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#3e57769f3a958c103825263b7abdd92b">initPreOperationalMode</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
       
    74 
       
    75 </table>
       
    76 <hr><h2>Typedef Documentation</h2>
       
    77 <a class="anchor" name="5891f63a4c9243179838389a93d084e2"></a><!-- doxytag: member="states.h::e_nodeState" ref="5891f63a4c9243179838389a93d084e2" args="" -->
       
    78 <div class="memitem">
       
    79 <div class="memproto">
       
    80       <table class="memname">
       
    81         <tr>
       
    82           <td class="memname">typedef enum <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646">enum_nodeState</a> <a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a>          </td>
       
    83         </tr>
       
    84       </table>
       
    85 </div>
       
    86 <div class="memdoc">
       
    87 
       
    88 <p>
       
    89 
       
    90 <p>
       
    91 Definition at line <a class="el" href="states_8h-source.html#l00046">46</a> of file <a class="el" href="states_8h-source.html">states.h</a>.
       
    92 </div>
       
    93 </div><p>
       
    94 <a class="anchor" name="d0cd6d1eb89085da7cb9f32ce386e8bc"></a><!-- doxytag: member="states.h::initialisation_t" ref="d0cd6d1eb89085da7cb9f32ce386e8bc" args="(void)" -->
       
    95 <div class="memitem">
       
    96 <div class="memproto">
       
    97       <table class="memname">
       
    98         <tr>
       
    99           <td class="memname">typedef void(*) <a class="el" href="states_8h.html#d0cd6d1eb89085da7cb9f32ce386e8bc">initialisation_t</a>(void)          </td>
       
   100         </tr>
       
   101       </table>
       
   102 </div>
       
   103 <div class="memdoc">
       
   104 
       
   105 <p>
       
   106 Function that user app can overload 
       
   107 <p>
       
   108 Definition at line <a class="el" href="states_8h-source.html#l00061">61</a> of file <a class="el" href="states_8h-source.html">states.h</a>.
       
   109 </div>
       
   110 </div><p>
       
   111 <a class="anchor" name="8aed99e590473f26db47a9c2dc5b73fc"></a><!-- doxytag: member="states.h::operational_t" ref="8aed99e590473f26db47a9c2dc5b73fc" args="(void)" -->
       
   112 <div class="memitem">
       
   113 <div class="memproto">
       
   114       <table class="memname">
       
   115         <tr>
       
   116           <td class="memname">typedef void(*) <a class="el" href="states_8h.html#8aed99e590473f26db47a9c2dc5b73fc">operational_t</a>(void)          </td>
       
   117         </tr>
       
   118       </table>
       
   119 </div>
       
   120 <div class="memdoc">
       
   121 
       
   122 <p>
       
   123 
       
   124 <p>
       
   125 Definition at line <a class="el" href="states_8h-source.html#l00063">63</a> of file <a class="el" href="states_8h-source.html">states.h</a>.
       
   126 </div>
       
   127 </div><p>
       
   128 <a class="anchor" name="f4a6da4fe018afbe20eaf716c248e02a"></a><!-- doxytag: member="states.h::preOperational_t" ref="f4a6da4fe018afbe20eaf716c248e02a" args="(void)" -->
       
   129 <div class="memitem">
       
   130 <div class="memproto">
       
   131       <table class="memname">
       
   132         <tr>
       
   133           <td class="memname">typedef void(*) <a class="el" href="states_8h.html#f4a6da4fe018afbe20eaf716c248e02a">preOperational_t</a>(void)          </td>
       
   134         </tr>
       
   135       </table>
       
   136 </div>
       
   137 <div class="memdoc">
       
   138 
       
   139 <p>
       
   140 
       
   141 <p>
       
   142 Definition at line <a class="el" href="states_8h-source.html#l00062">62</a> of file <a class="el" href="states_8h-source.html">states.h</a>.
       
   143 </div>
       
   144 </div><p>
       
   145 <a class="anchor" name="c99397ce6341b6b5128104aee4c27ec5"></a><!-- doxytag: member="states.h::stopped_t" ref="c99397ce6341b6b5128104aee4c27ec5" args="(void)" -->
       
   146 <div class="memitem">
       
   147 <div class="memproto">
       
   148       <table class="memname">
       
   149         <tr>
       
   150           <td class="memname">typedef void(*) <a class="el" href="states_8h.html#c99397ce6341b6b5128104aee4c27ec5">stopped_t</a>(void)          </td>
       
   151         </tr>
       
   152       </table>
       
   153 </div>
       
   154 <div class="memdoc">
       
   155 
       
   156 <p>
       
   157 
       
   158 <p>
       
   159 Definition at line <a class="el" href="states_8h-source.html#l00064">64</a> of file <a class="el" href="states_8h-source.html">states.h</a>.
       
   160 </div>
       
   161 </div><p>
       
   162 <hr><h2>Enumeration Type Documentation</h2>
       
   163 <a class="anchor" name="3136d2815abe9d284f985e0a7ec68646"></a><!-- doxytag: member="states.h::enum_nodeState" ref="3136d2815abe9d284f985e0a7ec68646" args="" -->
       
   164 <div class="memitem">
       
   165 <div class="memproto">
       
   166       <table class="memname">
       
   167         <tr>
       
   168           <td class="memname">enum <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646">enum_nodeState</a>          </td>
       
   169         </tr>
       
   170       </table>
       
   171 </div>
       
   172 <div class="memdoc">
       
   173 
       
   174 <p>
       
   175 <dl compact><dt><b>Enumerator: </b></dt><dd>
       
   176 <table border="0" cellspacing="2" cellpadding="0">
       
   177 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5"></a><!-- doxytag: member="Initialisation" ref="3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5" args="" -->Initialisation</em>&nbsp;</td><td>
       
   178 </td></tr>
       
   179 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec6864684ab0fbbb76a8c897feb1cd806d56443"></a><!-- doxytag: member="Disconnected" ref="3136d2815abe9d284f985e0a7ec6864684ab0fbbb76a8c897feb1cd806d56443" args="" -->Disconnected</em>&nbsp;</td><td>
       
   180 </td></tr>
       
   181 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec686466ea90df6fe966852496b4846da497fb0"></a><!-- doxytag: member="Connecting" ref="3136d2815abe9d284f985e0a7ec686466ea90df6fe966852496b4846da497fb0" args="" -->Connecting</em>&nbsp;</td><td>
       
   182 </td></tr>
       
   183 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec6864695fc3c631fbad8ca3dc8d5b69a3e0d5b"></a><!-- doxytag: member="Preparing" ref="3136d2815abe9d284f985e0a7ec6864695fc3c631fbad8ca3dc8d5b69a3e0d5b" args="" -->Preparing</em>&nbsp;</td><td>
       
   184 </td></tr>
       
   185 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75"></a><!-- doxytag: member="Stopped" ref="3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75" args="" -->Stopped</em>&nbsp;</td><td>
       
   186 </td></tr>
       
   187 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124"></a><!-- doxytag: member="Operational" ref="3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124" args="" -->Operational</em>&nbsp;</td><td>
       
   188 </td></tr>
       
   189 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec68646c747c16a9c4d7dec65cdab6e38df99b7"></a><!-- doxytag: member="Pre_operational" ref="3136d2815abe9d284f985e0a7ec68646c747c16a9c4d7dec65cdab6e38df99b7" args="" -->Pre_operational</em>&nbsp;</td><td>
       
   190 </td></tr>
       
   191 <tr><td valign="top"><em><a class="anchor" name="3136d2815abe9d284f985e0a7ec68646cb4b5cb64be091d76f846380eb0afe59"></a><!-- doxytag: member="Unknown_state" ref="3136d2815abe9d284f985e0a7ec68646cb4b5cb64be091d76f846380eb0afe59" args="" -->Unknown_state</em>&nbsp;</td><td>
       
   192 </td></tr>
       
   193 </table>
       
   194 </dl>
       
   195 
       
   196 <p>
       
   197 Definition at line <a class="el" href="states_8h-source.html#l00035">35</a> of file <a class="el" href="states_8h-source.html">states.h</a>.
       
   198 </div>
       
   199 </div><p>
       
   200 <hr><h2>Function Documentation</h2>
       
   201 <a class="anchor" name="67ca1ac7ff49e88cf7847e408b258cae"></a><!-- doxytag: member="states.h::_initialisation" ref="67ca1ac7ff49e88cf7847e408b258cae" args="(void)" -->
       
   202 <div class="memitem">
       
   203 <div class="memproto">
       
   204       <table class="memname">
       
   205         <tr>
       
   206           <td class="memname">void _initialisation           </td>
       
   207           <td>(</td>
       
   208           <td class="paramtype">void&nbsp;</td>
       
   209           <td class="paramname">          </td>
       
   210           <td>&nbsp;)&nbsp;</td>
       
   211           <td width="100%"></td>
       
   212         </tr>
       
   213       </table>
       
   214 </div>
       
   215 <div class="memdoc">
       
   216 
       
   217 <p>
       
   218 
       
   219 <p>
       
   220 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>.
       
   221 </div>
       
   222 </div><p>
       
   223 <a class="anchor" name="b31a0526e24de79a09ccc512db420d91"></a><!-- doxytag: member="states.h::_operational" ref="b31a0526e24de79a09ccc512db420d91" args="(void)" -->
       
   224 <div class="memitem">
       
   225 <div class="memproto">
       
   226       <table class="memname">
       
   227         <tr>
       
   228           <td class="memname">void _operational           </td>
       
   229           <td>(</td>
       
   230           <td class="paramtype">void&nbsp;</td>
       
   231           <td class="paramname">          </td>
       
   232           <td>&nbsp;)&nbsp;</td>
       
   233           <td width="100%"></td>
       
   234         </tr>
       
   235       </table>
       
   236 </div>
       
   237 <div class="memdoc">
       
   238 
       
   239 <p>
       
   240 
       
   241 <p>
       
   242 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>.
       
   243 </div>
       
   244 </div><p>
       
   245 <a class="anchor" name="f4e52eb187303eca1962bb6f74cb8169"></a><!-- doxytag: member="states.h::_preOperational" ref="f4e52eb187303eca1962bb6f74cb8169" args="(void)" -->
       
   246 <div class="memitem">
       
   247 <div class="memproto">
       
   248       <table class="memname">
       
   249         <tr>
       
   250           <td class="memname">void _preOperational           </td>
       
   251           <td>(</td>
       
   252           <td class="paramtype">void&nbsp;</td>
       
   253           <td class="paramname">          </td>
       
   254           <td>&nbsp;)&nbsp;</td>
       
   255           <td width="100%"></td>
       
   256         </tr>
       
   257       </table>
       
   258 </div>
       
   259 <div class="memdoc">
       
   260 
       
   261 <p>
       
   262 
       
   263 <p>
       
   264 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>.
       
   265 </div>
       
   266 </div><p>
       
   267 <a class="anchor" name="9117ccff20aaed468dd715517e77dbc3"></a><!-- doxytag: member="states.h::_stopped" ref="9117ccff20aaed468dd715517e77dbc3" args="(void)" -->
       
   268 <div class="memitem">
       
   269 <div class="memproto">
       
   270       <table class="memname">
       
   271         <tr>
       
   272           <td class="memname">void _stopped           </td>
       
   273           <td>(</td>
       
   274           <td class="paramtype">void&nbsp;</td>
       
   275           <td class="paramname">          </td>
       
   276           <td>&nbsp;)&nbsp;</td>
       
   277           <td width="100%"></td>
       
   278         </tr>
       
   279       </table>
       
   280 </div>
       
   281 <div class="memdoc">
       
   282 
       
   283 <p>
       
   284 
       
   285 <p>
       
   286 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>.
       
   287 </div>
       
   288 </div><p>
       
   289 <a class="anchor" name="3f8975650604cc23582f19a43fd4e518"></a><!-- doxytag: member="states.h::canDispatch" ref="3f8975650604cc23582f19a43fd4e518" args="(CO_Data *d, Message *m)" -->
       
   290 <div class="memitem">
       
   291 <div class="memproto">
       
   292       <table class="memname">
       
   293         <tr>
       
   294           <td class="memname">void canDispatch           </td>
       
   295           <td>(</td>
       
   296           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   297           <td class="paramname"> <em>d</em>, </td>
       
   298         </tr>
       
   299         <tr>
       
   300           <td class="paramkey"></td>
       
   301           <td></td>
       
   302           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   303           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
       
   304         </tr>
       
   305         <tr>
       
   306           <td></td>
       
   307           <td>)</td>
       
   308           <td></td><td></td><td width="100%"></td>
       
   309         </tr>
       
   310       </table>
       
   311 </div>
       
   312 <div class="memdoc">
       
   313 
       
   314 <p>
       
   315 Called by driver/app when receiving messages 
       
   316 <p>
       
   317 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>.
       
   318 <p>
       
   319 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#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>, <a class="el" href="sync_8c-source.html#l00093">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>.
       
   320 </div>
       
   321 </div><p>
       
   322 <a class="anchor" name="3020f2e5762f6e389a21382ec827b6a6"></a><!-- doxytag: member="states.h::getNodeId" ref="3020f2e5762f6e389a21382ec827b6a6" args="(CO_Data *d)" -->
       
   323 <div class="memitem">
       
   324 <div class="memproto">
       
   325       <table class="memname">
       
   326         <tr>
       
   327           <td class="memname">UNS8 getNodeId           </td>
       
   328           <td>(</td>
       
   329           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   330           <td class="paramname"> <em>d</em>          </td>
       
   331           <td>&nbsp;)&nbsp;</td>
       
   332           <td width="100%"></td>
       
   333         </tr>
       
   334       </table>
       
   335 </div>
       
   336 <div class="memdoc">
       
   337 
       
   338 <p>
       
   339 Returns the nodId 
       
   340 <p>
       
   341 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>.
       
   342 <p>
       
   343 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>.
       
   344 </div>
       
   345 </div><p>
       
   346 <a class="anchor" name="95d835785ba564bf6d92e3224c5e3848"></a><!-- doxytag: member="states.h::getState" ref="95d835785ba564bf6d92e3224c5e3848" args="(CO_Data *d)" -->
       
   347 <div class="memitem">
       
   348 <div class="memproto">
       
   349       <table class="memname">
       
   350         <tr>
       
   351           <td class="memname"><a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a> getState           </td>
       
   352           <td>(</td>
       
   353           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   354           <td class="paramname"> <em>d</em>          </td>
       
   355           <td>&nbsp;)&nbsp;</td>
       
   356           <td width="100%"></td>
       
   357         </tr>
       
   358       </table>
       
   359 </div>
       
   360 <div class="memdoc">
       
   361 
       
   362 <p>
       
   363 Returns the state of the node 
       
   364 <p>
       
   365 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>.
       
   366 <p>
       
   367 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>.
       
   368 </div>
       
   369 </div><p>
       
   370 <a class="anchor" name="3e57769f3a958c103825263b7abdd92b"></a><!-- doxytag: member="states.h::initPreOperationalMode" ref="3e57769f3a958c103825263b7abdd92b" args="(CO_Data *d)" -->
       
   371 <div class="memitem">
       
   372 <div class="memproto">
       
   373       <table class="memname">
       
   374         <tr>
       
   375           <td class="memname">void initPreOperationalMode           </td>
       
   376           <td>(</td>
       
   377           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   378           <td class="paramname"> <em>d</em>          </td>
       
   379           <td>&nbsp;)&nbsp;</td>
       
   380           <td width="100%"></td>
       
   381         </tr>
       
   382       </table>
       
   383 </div>
       
   384 <div class="memdoc">
       
   385 
       
   386 <p>
       
   387 Some stuff to do when the node enter in pre-operational mode 
       
   388 </div>
       
   389 </div><p>
       
   390 <a class="anchor" name="d47a53979b9311a374d029f7923abbe1"></a><!-- doxytag: member="states.h::setNodeId" ref="d47a53979b9311a374d029f7923abbe1" args="(CO_Data *d, UNS8 nodeId)" -->
       
   391 <div class="memitem">
       
   392 <div class="memproto">
       
   393       <table class="memname">
       
   394         <tr>
       
   395           <td class="memname">void setNodeId           </td>
       
   396           <td>(</td>
       
   397           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   398           <td class="paramname"> <em>d</em>, </td>
       
   399         </tr>
       
   400         <tr>
       
   401           <td class="paramkey"></td>
       
   402           <td></td>
       
   403           <td class="paramtype">UNS8&nbsp;</td>
       
   404           <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</td>
       
   405         </tr>
       
   406         <tr>
       
   407           <td></td>
       
   408           <td>)</td>
       
   409           <td></td><td></td><td width="100%"></td>
       
   410         </tr>
       
   411       </table>
       
   412 </div>
       
   413 <div class="memdoc">
       
   414 
       
   415 <p>
       
   416 Define the node ID. Initialize the object dictionary 
       
   417 <p>
       
   418 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>.
       
   419 <p>
       
   420 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>.
       
   421 </div>
       
   422 </div><p>
       
   423 <a class="anchor" name="0a5004efd1dedbee82a4f21ec5c44fb5"></a><!-- doxytag: member="states.h::setState" ref="0a5004efd1dedbee82a4f21ec5c44fb5" args="(CO_Data *d, e_nodeState newState)" -->
       
   424 <div class="memitem">
       
   425 <div class="memproto">
       
   426       <table class="memname">
       
   427         <tr>
       
   428           <td class="memname">UNS8 setState           </td>
       
   429           <td>(</td>
       
   430           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   431           <td class="paramname"> <em>d</em>, </td>
       
   432         </tr>
       
   433         <tr>
       
   434           <td class="paramkey"></td>
       
   435           <td></td>
       
   436           <td class="paramtype"><a class="el" href="states_8h.html#5891f63a4c9243179838389a93d084e2">e_nodeState</a>&nbsp;</td>
       
   437           <td class="paramname"> <em>newState</em></td><td>&nbsp;</td>
       
   438         </tr>
       
   439         <tr>
       
   440           <td></td>
       
   441           <td>)</td>
       
   442           <td></td><td></td><td width="100%"></td>
       
   443         </tr>
       
   444       </table>
       
   445 </div>
       
   446 <div class="memdoc">
       
   447 
       
   448 <p>
       
   449 Change the state of the node 
       
   450 <p>
       
   451 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>.
       
   452 <p>
       
   453 References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="dcf_8c-source.html#l00048">decompo_dcf()</a>, <a class="el" href="data_8h-source.html#l00053">struct_CO_Data::iam_a_slave</a>, <a class="el" href="data_8h-source.html#l00063">struct_CO_Data::initialisation</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5">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="data_8h-source.html#l00065">struct_CO_Data::operational</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">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#l00032">ptrTable</a>, <a class="el" href="data_8h-source.html#l00091">struct_CO_Data::scanIndexOD</a>, <a class="el" href="data_8h-source.html#l00066">struct_CO_Data::stopped</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75">Stopped</a>, <a class="el" href="states_8c-source.html#l00089">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>.
       
   454 </div>
       
   455 </div><p>
       
   456 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
       
   457 <a href="http://www.doxygen.org/index.html">
       
   458 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   459 </body>
       
   460 </html>