doc/doxygen/html/nmtSlave_8c.html
author nico
Tue, 05 Jun 2007 18:43:21 +0200
changeset 210 6b5a4c21e061
parent 207 b6572d0336c3
child 215 f49e5a6b7804
permissions -rw-r--r--
Manual and Documentation finish
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c File Reference</title>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
</head><body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
    <li id="current"><a href="files.html"><span>Files</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
    <li><a href="globals.html"><span>Globals</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
<h1>/home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c File Reference</h1><code>#include &quot;nmtSlave.h&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
<code>#include &quot;states.h&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
<code>#include &quot;canfestival.h&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    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>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    24
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    25
<p>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
<a href="nmtSlave_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
<tr><td></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
</table>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    34
<hr><a name="_details"></a><h2>Detailed Description</h2>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    35
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    36
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:50:53 2007 </dd></dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    37
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    38
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    39
Definition in file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.<hr><h2>Function Documentation</h2>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
<a class="anchor" name="97d175ea168c149c99b01dcde0989743"></a><!-- doxytag: member="nmtSlave.c::proceedNMTstateChange" ref="97d175ea168c149c99b01dcde0989743" args="(CO_Data *d, Message *m)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
          <td class="memname">void proceedNMTstateChange           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
          <td class="paramtype">Message *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    66
put the slave in the state wanted by the master<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    67
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    68
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    69
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    70
    <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    71
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    72
</dl>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    75
Check if this NMT-message is for this node<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    76
byte 1 = 0 : all the nodes are concerned (broadcast)<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    77
command specifier (cs)<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    78
end switch<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    79
end if( ( (*m).data[1] == 0 ) || ( (*m).data[1] == bDeviceNodeId ) ) 
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    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>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    82
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    83
References <a class="el" href="states_8c-source.html#l00138">setState()</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    84
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    85
Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    86
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    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>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    88
<map name="nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph_map">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    89
<area href="states_8c.html#0a5004efd1dedbee82a4f21ec5c44fb5" shape="rect" coords="247,101,324,125" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    90
<area href="dcf_8c.html#8452e163e7649968ad6dae1601a5fb0d" shape="rect" coords="421,53,533,77" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    91
<area href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03" shape="rect" coords="375,149,580,173" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    92
<area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="629,5,776,29" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    93
<area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="648,53,757,77" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    94
<area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="644,101,761,125" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    95
<area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="660,149,745,173" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    96
<area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="632,197,773,221" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    97
<area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="659,245,747,269" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    98
<area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="824,271,912,295" alt="">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
    99
</map>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   100
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   101
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
<a class="anchor" name="aced28a97b2c256320dfde3c4b36a7d5"></a><!-- doxytag: member="nmtSlave.c::slaveSendBootUp" ref="aced28a97b2c256320dfde3c4b36a7d5" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   105
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
          <td class="memname">UNS8 slaveSendBootUp           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
          <td class="paramtype">CO_Data *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   120
<dl compact><dt><b>Parameters:</b></dt><dd>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   121
  <table border="0" cellspacing="2" cellpadding="0">
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   122
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   123
  </table>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   124
</dl>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   125
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   127
<p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   128
message configuration 
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   129
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   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>.
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   131
<p>
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   132
Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   133
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
</div><p>
210
6b5a4c21e061 Manual and Documentation finish
nico
parents: 207
diff changeset
   135
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:06 2007 for CanFestival by&nbsp;
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   136
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   137
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   138
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   139
</html>