18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c File Reference</h1><code>#include "nmtSlave.h"</code><br> |
18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c File Reference</h1><code>#include "nmtSlave.h"</code><br> |
19 <code>#include "states.h"</code><br> |
19 <code>#include "states.h"</code><br> |
20 <code>#include "canfestival.h"</code><br> |
20 <code>#include "canfestival.h"</code><br> |
21 |
21 |
22 <p> |
22 <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> |
|
24 |
|
25 <p> |
23 <a href="nmtSlave_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
26 <a href="nmtSlave_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
24 <tr><td></td></tr> |
27 <tr><td></td></tr> |
25 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
28 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743">proceedNMTstateChange</a> (CO_Data *d, Message *m)</td></tr> |
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743">proceedNMTstateChange</a> (CO_Data *d, Message *m)</td></tr> |
27 |
30 |
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5">slaveSendBootUp</a> (CO_Data *d)</td></tr> |
31 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5">slaveSendBootUp</a> (CO_Data *d)</td></tr> |
29 |
32 |
30 </table> |
33 </table> |
31 <hr><h2>Function Documentation</h2> |
34 <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> |
|
36 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:50:53 2007 </dd></dl> |
|
37 |
|
38 <p> |
|
39 Definition in file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.<hr><h2>Function Documentation</h2> |
32 <a class="anchor" name="97d175ea168c149c99b01dcde0989743"></a><!-- doxytag: member="nmtSlave.c::proceedNMTstateChange" ref="97d175ea168c149c99b01dcde0989743" args="(CO_Data *d, Message *m)" --> |
40 <a class="anchor" name="97d175ea168c149c99b01dcde0989743"></a><!-- doxytag: member="nmtSlave.c::proceedNMTstateChange" ref="97d175ea168c149c99b01dcde0989743" args="(CO_Data *d, Message *m)" --> |
33 <div class="memitem"> |
41 <div class="memitem"> |
34 <div class="memproto"> |
42 <div class="memproto"> |
35 <table class="memname"> |
43 <table class="memname"> |
36 <tr> |
44 <tr> |
53 </table> |
61 </table> |
54 </div> |
62 </div> |
55 <div class="memdoc"> |
63 <div class="memdoc"> |
56 |
64 |
57 <p> |
65 <p> |
|
66 put the slave in the state wanted by the master<p> |
|
67 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
68 <table border="0" cellspacing="2" cellpadding="0"> |
|
69 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
70 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
|
71 </table> |
|
72 </dl> |
58 |
73 |
59 <p> |
74 <p> |
60 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00029">29</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>. |
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 ) ) |
61 <p> |
80 <p> |
62 References <a class="el" href="states_8c-source.html#l00100">setState()</a>. |
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>. |
|
82 <p> |
|
83 References <a class="el" href="states_8c-source.html#l00138">setState()</a>. |
|
84 <p> |
|
85 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>. |
|
86 <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> |
|
88 <map name="nmtSlave_8c_97d175ea168c149c99b01dcde0989743_cgraph_map"> |
|
89 <area href="states_8c.html#0a5004efd1dedbee82a4f21ec5c44fb5" shape="rect" coords="247,101,324,125" alt=""> |
|
90 <area href="dcf_8c.html#8452e163e7649968ad6dae1601a5fb0d" shape="rect" coords="421,53,533,77" alt=""> |
|
91 <area href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03" shape="rect" coords="375,149,580,173" alt=""> |
|
92 <area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="629,5,776,29" alt=""> |
|
93 <area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="648,53,757,77" alt=""> |
|
94 <area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="644,101,761,125" alt=""> |
|
95 <area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="660,149,745,173" alt=""> |
|
96 <area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="632,197,773,221" alt=""> |
|
97 <area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="659,245,747,269" alt=""> |
|
98 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="824,271,912,295" alt=""> |
|
99 </map> |
|
100 |
63 </div> |
101 </div> |
64 </div><p> |
102 </div><p> |
65 <a class="anchor" name="aced28a97b2c256320dfde3c4b36a7d5"></a><!-- doxytag: member="nmtSlave.c::slaveSendBootUp" ref="aced28a97b2c256320dfde3c4b36a7d5" args="(CO_Data *d)" --> |
103 <a class="anchor" name="aced28a97b2c256320dfde3c4b36a7d5"></a><!-- doxytag: member="nmtSlave.c::slaveSendBootUp" ref="aced28a97b2c256320dfde3c4b36a7d5" args="(CO_Data *d)" --> |
66 <div class="memitem"> |
104 <div class="memitem"> |
67 <div class="memproto"> |
105 <div class="memproto"> |
77 </table> |
115 </table> |
78 </div> |
116 </div> |
79 <div class="memdoc"> |
117 <div class="memdoc"> |
80 |
118 |
81 <p> |
119 <p> |
|
120 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
121 <table border="0" cellspacing="2" cellpadding="0"> |
|
122 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
123 </table> |
|
124 </dl> |
|
125 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
82 |
126 |
83 <p> |
127 <p> |
84 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00076">76</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>. |
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>. |
|
131 <p> |
|
132 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
85 </div> |
133 </div> |
86 </div><p> |
134 </div><p> |
87 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by |
135 <hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:06 2007 for CanFestival by |
88 <a href="http://www.doxygen.org/index.html"> |
136 <a href="http://www.doxygen.org/index.html"> |
89 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
137 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
90 </body> |
138 </body> |
91 </html> |
139 </html> |