doc/doxygen/html/nmtSlave_8c.html
changeset 215 f49e5a6b7804
parent 210 6b5a4c21e061
child 240 34654679f262
equal deleted inserted replaced
214:003cc3c63855 215:f49e5a6b7804
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     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">
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
     3 <title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c File Reference</title>
     3 <title>CanFestival: src/nmtSlave.c File Reference</title>
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
     6 </head><body>
     6 </head><body>
     7 <!-- Generated by Doxygen 1.5.1 -->
     7 <!-- Generated by Doxygen 1.5.1 -->
     8 <div class="tabs">
     8 <div class="tabs">
     9   <ul>
     9   <ul>
    10     <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    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>
    11     <li id="current"><a href="files.html"><span>Files</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>
    12   </ul></div>
    14   </ul></div>
    13 <div class="tabs">
    15 <div class="tabs">
    14   <ul>
    16   <ul>
    15     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    16     <li><a href="globals.html"><span>Globals</span></a></li>
    18     <li><a href="globals.html"><span>Globals</span></a></li>
    17   </ul></div>
    19   </ul></div>
    18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c File Reference</h1><code>#include &quot;nmtSlave.h&quot;</code><br>
    20 <div class="nav">
    19 <code>#include &quot;states.h&quot;</code><br>
    21 <a class="el" href="dir_c0a169d39c08973f879fd54f07b9e9f7.html">src</a></div>
    20 <code>#include &quot;canfestival.h&quot;</code><br>
    22 <h1>nmtSlave.c File Reference</h1><code>#include &quot;<a class="el" href="nmtSlave_8h-source.html">nmtSlave.h</a>&quot;</code><br>
       
    23 <code>#include &quot;<a class="el" href="states_8h-source.html">states.h</a>&quot;</code><br>
       
    24 <code>#include &quot;<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>&quot;</code><br>
    21 
    25 
    22 <p>
    26 <p>
    23 Include dependency graph for nmtSlave.c:<p><center><img src="nmtSlave_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c_map" alt=""></center>
    27 Include dependency graph for nmtSlave.c:<p><center><img src="nmtSlave_8c__incl.png" border="0" usemap="#src/nmtSlave.c_map" alt=""></center>
       
    28 <map name="src/nmtSlave.c_map">
       
    29 <area href="nmtSlave_8h.html" shape="rect" coords="182,251,280,275" alt="">
       
    30 <area href="states_8h.html" shape="rect" coords="502,56,576,80" alt="">
       
    31 <area href="win32_2canfestival_8h.html" shape="rect" coords="178,616,284,640" alt="">
       
    32 <area href="win32_2applicfg_8h.html" shape="rect" coords="763,432,851,456" alt="">
       
    33 <area href="data_8h.html" shape="rect" coords="354,299,418,323" alt="">
       
    34 <area href="def_8h.html" shape="rect" coords="647,143,703,167" alt="">
       
    35 <area href="can_8h.html" shape="rect" coords="510,592,568,616" alt="">
       
    36 <area href="objdictdef_8h.html" shape="rect" coords="488,347,590,371" alt="">
       
    37 <area href="objacces_8h.html" shape="rect" coords="492,203,586,227" alt="">
       
    38 <area href="sdo_8h.html" shape="rect" coords="510,493,568,517" alt="">
       
    39 <area href="pdo_8h.html" shape="rect" coords="510,155,568,179" alt="">
       
    40 <area href="lifegrd_8h.html" shape="rect" coords="500,395,578,419" alt="">
       
    41 <area href="sync_8h.html" shape="rect" coords="506,251,572,275" alt="">
       
    42 <area href="nmtMaster_8h.html" shape="rect" coords="486,299,592,323" alt="">
       
    43 <area href="config_8h.html" shape="rect" coords="770,143,844,167" alt="">
       
    44 <area href="timer_8h.html" shape="rect" coords="640,516,710,540" alt="">
       
    45 <area href="win32_2timerscfg_8h.html" shape="rect" coords="758,585,856,609" alt="">
       
    46 <area href="can__driver_8h.html" shape="rect" coords="334,616,438,640" alt="">
       
    47 </map>
    24 
    48 
    25 <p>
    49 <p>
    26 <a href="nmtSlave_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
    50 <a href="nmtSlave_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
    27 <tr><td></td></tr>
    51 <tr><td></td></tr>
    28 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
    52 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
    29 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743">proceedNMTstateChange</a> (CO_Data *d, Message *m)</td></tr>
    53 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743">proceedNMTstateChange</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
    30 
    54 
    31 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5">slaveSendBootUp</a> (CO_Data *d)</td></tr>
    55 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5">slaveSendBootUp</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
    32 
    56 
    33 </table>
    57 </table>
    34 <hr><a name="_details"></a><h2>Detailed Description</h2>
    58 <hr><a name="_details"></a><h2>Detailed Description</h2>
    35 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
    59 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
    36 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:50:53 2007 </dd></dl>
    60 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:50:53 2007 </dd></dl>
    42 <div class="memproto">
    66 <div class="memproto">
    43       <table class="memname">
    67       <table class="memname">
    44         <tr>
    68         <tr>
    45           <td class="memname">void proceedNMTstateChange           </td>
    69           <td class="memname">void proceedNMTstateChange           </td>
    46           <td>(</td>
    70           <td>(</td>
    47           <td class="paramtype">CO_Data *&nbsp;</td>
    71           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
    48           <td class="paramname"> <em>d</em>, </td>
    72           <td class="paramname"> <em>d</em>, </td>
    49         </tr>
    73         </tr>
    50         <tr>
    74         <tr>
    51           <td class="paramkey"></td>
    75           <td class="paramkey"></td>
    52           <td></td>
    76           <td></td>
    53           <td class="paramtype">Message *&nbsp;</td>
    77           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
    54           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
    78           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
    55         </tr>
    79         </tr>
    56         <tr>
    80         <tr>
    57           <td></td>
    81           <td></td>
    58           <td>)</td>
    82           <td>)</td>
    70     <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td></td></tr>
    94     <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td></td></tr>
    71   </table>
    95   </table>
    72 </dl>
    96 </dl>
    73 
    97 
    74 <p>
    98 <p>
    75 Check if this NMT-message is for this node<p>
       
    76 byte 1 = 0 : all the nodes are concerned (broadcast)<p>
       
    77 command specifier (cs)<p>
       
    78 end switch<p>
       
    79 end if( ( (*m).data[1] == 0 ) || ( (*m).data[1] == bDeviceNodeId ) ) 
       
    80 <p>
       
    81 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00043">43</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.
    99 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00043">43</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.
    82 <p>
   100 <p>
    83 References <a class="el" href="states_8c-source.html#l00138">setState()</a>.
   101 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="states_8h.html#3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5">Initialisation</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00106">NMT_Enter_PreOperational</a>, <a class="el" href="def_8h-source.html#l00108">NMT_Reset_Comunication</a>, <a class="el" href="def_8h-source.html#l00107">NMT_Reset_Node</a>, <a class="el" href="def_8h-source.html#l00104">NMT_Start_Node</a>, <a class="el" href="def_8h-source.html#l00105">NMT_Stop_Node</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</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="states_8c-source.html#l00138">setState()</a>, and <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75">Stopped</a>.
    84 <p>
   102 <p>
    85 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>.
   103 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>.
    86 <p>
   104 <p>
    87 Here is the call graph for this function:<p><center><img src="nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph.png" border="0" usemap="#nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph_map" alt=""></center>
   105 Here is the call graph for this function:<p><center><img src="nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph.png" border="0" usemap="#nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph_map" alt=""></center>
    88 <map name="nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph_map">
   106 <map name="nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph_map">
   105 <div class="memproto">
   123 <div class="memproto">
   106       <table class="memname">
   124       <table class="memname">
   107         <tr>
   125         <tr>
   108           <td class="memname">UNS8 slaveSendBootUp           </td>
   126           <td class="memname">UNS8 slaveSendBootUp           </td>
   109           <td>(</td>
   127           <td>(</td>
   110           <td class="paramtype">CO_Data *&nbsp;</td>
   128           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
   111           <td class="paramname"> <em>d</em>          </td>
   129           <td class="paramname"> <em>d</em>          </td>
   112           <td>&nbsp;)&nbsp;</td>
   130           <td>&nbsp;)&nbsp;</td>
   113           <td width="100%"></td>
   131           <td width="100%"></td>
   114         </tr>
   132         </tr>
   115       </table>
   133       </table>
   123   </table>
   141   </table>
   124 </dl>
   142 </dl>
   125 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
   143 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
   126 
   144 
   127 <p>
   145 <p>
   128 message configuration 
       
   129 <p>
       
   130 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00097">97</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.
   146 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00097">97</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.
   131 <p>
   147 <p>
       
   148 References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00099">NODE_GUARD</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
       
   149 <p>
   132 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
   150 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
       
   151 <p>
       
   152 Here is the call graph for this function:<p><center><img src="nmtSlave_8c_aced28a97b2c256320dfde3c4b36a7d5_cgraph.png" border="0" usemap="#nmtSlave_8c_aced28a97b2c256320dfde3c4b36a7d5_cgraph_map" alt=""></center>
       
   153 <map name="nmtSlave_8c_aced28a97b2c256320dfde3c4b36a7d5_cgraph_map">
       
   154 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="196,6,276,30" alt="">
       
   155 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="327,6,457,30" alt="">
       
   156 </map>
       
   157 
   133 </div>
   158 </div>
   134 </div><p>
   159 </div><p>
   135 <hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:06 2007 for CanFestival by&nbsp;
   160 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:11 2007 for CanFestival by&nbsp;
   136 <a href="http://www.doxygen.org/index.html">
   161 <a href="http://www.doxygen.org/index.html">
   137 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   162 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   138 </body>
   163 </body>
   139 </html>
   164 </html>