doc/doxygen/html/states_8h.html
author etisserant
Mon, 12 Nov 2007 14:38:34 +0100
changeset 314 68e83c3ffbb5
parent 240 34654679f262
permissions -rw-r--r--
Better EMCY support. Now EMCY COB-ID depend on OD 1014h entry, as told in DS-301.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: include/states.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
<h1>states.h File Reference</h1><code>#include &lt;<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>&gt;</code><br>
<code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>

<p>
Include dependency graph for states.h:<p><center><img src="states_8h__incl.png" border="0" usemap="#include/states.h_map" alt=""></center>
<map name="include/states.h_map">
<area href="win32_2applicfg_8h.html" shape="rect" coords="511,361,585,388" alt="">
<area href="data_8h.html" shape="rect" coords="157,285,211,312" alt="">
<area href="def_8h.html" shape="rect" coords="404,488,452,515" alt="">
<area href="can_8h.html" shape="rect" coords="404,387,452,413" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="261,83,347,109" alt="">
<area href="objacces_8h.html" shape="rect" coords="265,133,343,160" alt="">
<area href="sdo_8h.html" shape="rect" coords="280,589,328,616" alt="">
<area href="pdo_8h.html" shape="rect" coords="279,437,329,464" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="271,285,337,312" alt="">
<area href="sync_8h.html" shape="rect" coords="276,184,332,211" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="260,235,348,261" alt="">
<area href="config_8h.html" shape="rect" coords="516,488,580,515" alt="">
<area href="timer_8h.html" shape="rect" coords="399,539,457,565" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="508,539,588,565" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="states_8h__dep__incl.png" border="0" usemap="#include/states.hdep_map" alt=""></center>
<map name="include/states.hdep_map">
<area href="nmtSlave_8c.html" shape="rect" coords="628,81,727,108" alt="">
<area href="states_8c.html" shape="rect" coords="637,5,717,32" alt="">
<area href="data_8h.html" shape="rect" coords="157,461,253,488" alt="">
<area href="lifegrd_8c.html" shape="rect" coords="635,284,720,311" alt="">
<area href="sync_8c.html" shape="rect" coords="640,360,715,387" alt="">
<area href="unix_8c.html" shape="rect" coords="616,424,739,451" alt="">
<area href="objdict_8h.html" shape="rect" coords="315,487,555,513" alt="">
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="316,537,553,564" alt="">
<area href="TestSlave_8h.html" shape="rect" coords="320,588,549,615" alt="">
<area href="TestMasterMicroMod_2TestMaster_8h.html" shape="rect" coords="301,639,568,665" alt="">
<area href="win32test_8h.html" shape="rect" coords="339,689,531,716" alt="">
<area href="objacces_8h.html" shape="rect" coords="375,740,495,767" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="380,233,489,260" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="369,791,500,817" alt="">
<area href="nmtSlave_8h.html" shape="rect" coords="373,81,496,108" alt="">
<area href="timer_8h.html" shape="rect" coords="384,841,485,868" alt="">
<area href="sdo_8h.html" shape="rect" coords="631,904,724,931" alt="">
<area href="pdo_8h.html" shape="rect" coords="388,132,481,159" alt="">
<area href="unix_2canfestival_8h.html" shape="rect" coords="355,183,515,209" alt="">
<area href="win32_2canfestival_8h.html" shape="rect" coords="351,335,519,361" alt="">
</map>

<p>
<a href="states_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<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>

<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a></td></tr>

<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#efba19e5dc10d03a17287af29c71567f">initialisation_t</a> (void)</td></tr>

<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#779b4753c62da1e5441c3787a823938a">preOperational_t</a> (void)</td></tr>

<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#c7a996649d7ce811f510e86586b863fd">operational_t</a> (void)</td></tr>

<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#b557e6fbf097b1c7fd5c22f867069aa1">stopped_t</a> (void)</td></tr>

<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a> { <br>
&nbsp;&nbsp;<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e">Initialisation</a> =  0x00, 
<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053813dd3ce528104ecfb76f40ca3106186a">Disconnected</a> =  0x01, 
<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf6305387327f29693eff1568e953bc08d57bf3f">Connecting</a> =  0x02, 
<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538b2016b309d180eb20095d95eb33058d8">Preparing</a> =  0x02, 
<br>
&nbsp;&nbsp;<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a">Stopped</a> =  0x04, 
<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea">Operational</a> =  0x05, 
<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a">Pre_operational</a> =  0x7F, 
<a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9">Unknown_state</a> =  0x0F
<br>
 }</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#cb50a6d641b4c0eca9a3c1ff10583a7f">_initialisation</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#17dc1b4e63ec4a0497764a4dcdaac264">_preOperational</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#b3215d6956af293972694f62e54c29ea">_operational</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#5b92dee4b928b503ebbf4de2a778c98c">_stopped</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.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>

<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_8h.html#9e583d34635164324fbd55e310d8e99b">getState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.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>

<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#458a686646e4500b1f9e6cf67898250e">getNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#191c0cad67e093ea44285c9acd187513">setNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#18541dfe4c0a04c60fae4f836bb8d97b">initPreOperationalMode</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>

</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="424131de4b91e21fa281d2c8913d9282"></a><!-- doxytag: member="states.h::e_nodeState" ref="424131de4b91e21fa281d2c8913d9282" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a> <a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="efba19e5dc10d03a17287af29c71567f"></a><!-- doxytag: member="states.h::initialisation_t" ref="efba19e5dc10d03a17287af29c71567f" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(*) <a class="el" href="states_8h.html#efba19e5dc10d03a17287af29c71567f">initialisation_t</a>(void)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Function that user app can overload 
<p>
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>.
</div>
</div><p>
<a class="anchor" name="c7a996649d7ce811f510e86586b863fd"></a><!-- doxytag: member="states.h::operational_t" ref="c7a996649d7ce811f510e86586b863fd" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(*) <a class="el" href="states_8h.html#c7a996649d7ce811f510e86586b863fd">operational_t</a>(void)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="779b4753c62da1e5441c3787a823938a"></a><!-- doxytag: member="states.h::preOperational_t" ref="779b4753c62da1e5441c3787a823938a" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(*) <a class="el" href="states_8h.html#779b4753c62da1e5441c3787a823938a">preOperational_t</a>(void)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="b557e6fbf097b1c7fd5c22f867069aa1"></a><!-- doxytag: member="states.h::stopped_t" ref="b557e6fbf097b1c7fd5c22f867069aa1" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(*) <a class="el" href="states_8h.html#b557e6fbf097b1c7fd5c22f867069aa1">stopped_t</a>(void)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="80401a8f6d29787e07427b2baf630538"></a><!-- doxytag: member="states.h::enum_nodeState" ref="80401a8f6d29787e07427b2baf630538" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e"></a><!-- doxytag: member="Initialisation" ref="80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e" args="" -->Initialisation</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf63053813dd3ce528104ecfb76f40ca3106186a"></a><!-- doxytag: member="Disconnected" ref="80401a8f6d29787e07427b2baf63053813dd3ce528104ecfb76f40ca3106186a" args="" -->Disconnected</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf6305387327f29693eff1568e953bc08d57bf3f"></a><!-- doxytag: member="Connecting" ref="80401a8f6d29787e07427b2baf6305387327f29693eff1568e953bc08d57bf3f" args="" -->Connecting</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538b2016b309d180eb20095d95eb33058d8"></a><!-- doxytag: member="Preparing" ref="80401a8f6d29787e07427b2baf630538b2016b309d180eb20095d95eb33058d8" args="" -->Preparing</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a"></a><!-- doxytag: member="Stopped" ref="80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a" args="" -->Stopped</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea"></a><!-- doxytag: member="Operational" ref="80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea" args="" -->Operational</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a"></a><!-- doxytag: member="Pre_operational" ref="80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a" args="" -->Pre_operational</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9"></a><!-- doxytag: member="Unknown_state" ref="80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9" args="" -->Unknown_state</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>
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>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="cb50a6d641b4c0eca9a3c1ff10583a7f"></a><!-- doxytag: member="states.h::_initialisation" ref="cb50a6d641b4c0eca9a3c1ff10583a7f" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void _initialisation           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="b3215d6956af293972694f62e54c29ea"></a><!-- doxytag: member="states.h::_operational" ref="b3215d6956af293972694f62e54c29ea" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void _operational           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="17dc1b4e63ec4a0497764a4dcdaac264"></a><!-- doxytag: member="states.h::_preOperational" ref="17dc1b4e63ec4a0497764a4dcdaac264" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void _preOperational           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="5b92dee4b928b503ebbf4de2a778c98c"></a><!-- doxytag: member="states.h::_stopped" ref="5b92dee4b928b503ebbf4de2a778c98c" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void _stopped           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="5903338b79e219eeb27f61974419fc12"></a><!-- doxytag: member="states.h::canDispatch" ref="5903338b79e219eeb27f61974419fc12" args="(CO_Data *d, Message *m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void canDispatch           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td></td></tr>
  </table>
</dl>

<p>
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>.
<p>
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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="states_8h_5903338b79e219eeb27f61974419fc12_cgraph.png" border="0" usemap="#states_8h_5903338b79e219eeb27f61974419fc12_cgraph_map" alt=""></center>
<map name="states_8h_5903338b79e219eeb27f61974419fc12_cgraph_map">
<area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="143,69,300,96" alt="">
<area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="349,113,504,140" alt="">
<area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="381,247,472,273" alt="">
<area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="176,537,267,564" alt="">
<area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="172,588,271,615" alt="">
<area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="396,63,457,89" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="599,107,665,133" alt="">
<area href="lifegrd_8c.html#f01de9def215369ece4214cce5871508" shape="rect" coords="553,56,711,83" alt="">
<area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="595,157,669,184" alt="">
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="596,5,668,32" alt="">
<area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="595,208,669,235" alt="">
<area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="767,233,839,260" alt="">
<area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="560,309,704,336" alt="">
<area href="objacces_8c.html#dad5d2f7890168cade2fbb7e0e4c6200" shape="rect" coords="591,360,673,387" alt="">
<area href="sdo_8c.html#85872a68746c862b8771045ef45385a5" shape="rect" coords="388,816,465,843" alt="">
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="572,841,692,868" alt="">
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="585,461,679,488" alt="">
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="760,436,845,463" alt="">
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="372,512,481,539" alt="">
<area href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a" shape="rect" coords="357,563,496,589" alt="">
<area href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66" shape="rect" coords="385,613,468,640" alt="">
<area href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90" shape="rect" coords="367,664,487,691" alt="">
<area href="sdo_8c.html#6603431e4ce111d365118681a3b80653" shape="rect" coords="365,360,488,387" alt="">
<area href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb" shape="rect" coords="385,715,468,741" alt="">
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="391,183,463,209" alt="">
<area href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3" shape="rect" coords="359,765,495,792" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="458a686646e4500b1f9e6cf67898250e"></a><!-- doxytag: member="states.h::getNodeId" ref="458a686646e4500b1f9e6cf67898250e" args="(CO_Data *d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS8 getNodeId           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
</div>
</div><p>
<a class="anchor" name="9e583d34635164324fbd55e310d8e99b"></a><!-- doxytag: member="states.h::getState" ref="9e583d34635164324fbd55e310d8e99b" args="(CO_Data *d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> getState           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="18541dfe4c0a04c60fae4f836bb8d97b"></a><!-- doxytag: member="states.h::initPreOperationalMode" ref="18541dfe4c0a04c60fae4f836bb8d97b" args="(CO_Data *d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void initPreOperationalMode           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Some stuff to do when the node enter in pre-operational mode 
</div>
</div><p>
<a class="anchor" name="191c0cad67e093ea44285c9acd187513"></a><!-- doxytag: member="states.h::setNodeId" ref="191c0cad67e093ea44285c9acd187513" args="(CO_Data *d, UNS8 nodeId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setNodeId           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</td><td></td></tr>
  </table>
</dl>

<p>
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>.
<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="cfb53d66c2360cd55b1d968f0e5c270f"></a><!-- doxytag: member="states.h::setState" ref="cfb53d66c2360cd55b1d968f0e5c270f" args="(CO_Data *d, e_nodeState newState)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS8 setState           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a>&nbsp;</td>
          <td class="paramname"> <em>newState</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>newState</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

<p>
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>.
<p>
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="data_8h-source.html#l00063">struct_CO_Data::initialisation</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e">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#80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea">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="data_8h-source.html#l00066">struct_CO_Data::stopped</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a">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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="states_8h_cfb53d66c2360cd55b1d968f0e5c270f_cgraph.png" border="0" usemap="#states_8h_cfb53d66c2360cd55b1d968f0e5c270f_cgraph_map" alt=""></center>
<map name="states_8h_cfb53d66c2360cd55b1d968f0e5c270f_cgraph_map">
<area href="dcf_8c.html#acb81126cc677d663f367f560ae0face" shape="rect" coords="156,81,249,108" alt="">
<area href="states_8c.html#553af6eeeba1591e3d26444d8a544856" shape="rect" coords="119,208,287,235" alt="">
<area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="336,5,461,32" alt="">
<area href="lifegrd_8c.html#03fbd3b6910b8058535d3e94242cb80e" shape="rect" coords="355,56,443,83" alt="">
<area href="lifegrd_8c.html#007b1f27fd9f0d6814498093f424f82e" shape="rect" coords="352,107,445,133" alt="">
<area href="pdo_8c.html#858b6c5fcf09d0c6c9cdd67f92bcd8f9" shape="rect" coords="365,157,432,184" alt="">
<area href="pdo_8c.html#e31b98506e436ee213de906c19cc59f1" shape="rect" coords="363,208,435,235" alt="">
<area href="sdo_8c.html#48d2bfe1b7581346bb720ad2542bac89" shape="rect" coords="363,259,435,285" alt="">
<area href="nmtSlave_8c.html#29f6eed8d34859710f7e603a1fc0d9d1" shape="rect" coords="340,309,457,336" alt="">
<area href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9" shape="rect" coords="359,360,439,387" alt="">
<area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="511,385,588,412" alt="">
</map>

</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:34 2007 for CanFestival by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>