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/nmtMaster.c File Reference</title> |
3 <title>CanFestival: src/nmtMaster.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 Page</span></a></li> |
10 <li><a href="main.html"><span>Main Page</span></a></li> |
|
11 <li><a href="annotated.html"><span>Data 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 List</span></a></li> |
17 <li><a href="files.html"><span>File 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/nmtMaster.c File Reference</h1><code>#include "nmtMaster.h"</code><br> |
20 <div class="nav"> |
19 <code>#include "canfestival.h"</code><br> |
21 <a class="el" href="dir_c0a169d39c08973f879fd54f07b9e9f7.html">src</a></div> |
20 |
22 <h1>nmtMaster.c File Reference</h1><code>#include "<a class="el" href="nmtMaster_8h-source.html">nmtMaster.h</a>"</code><br> |
21 <p> |
23 <code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br> |
22 Include dependency graph for nmtMaster.c:<p><center><img src="nmtMaster_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/nmtMaster.c_map" alt=""></center> |
24 |
|
25 <p> |
|
26 Include dependency graph for nmtMaster.c:<p><center><img src="nmtMaster_8c__incl.png" border="0" usemap="#src/nmtMaster.c_map" alt=""></center> |
|
27 <map name="src/nmtMaster.c_map"> |
|
28 <area href="nmtMaster_8h.html" shape="rect" coords="185,275,292,299" alt=""> |
|
29 <area href="win32_2canfestival_8h.html" shape="rect" coords="185,518,292,542" alt=""> |
|
30 <area href="data_8h.html" shape="rect" coords="361,275,425,299" alt=""> |
|
31 <area href="win32_2applicfg_8h.html" shape="rect" coords="765,306,853,330" alt=""> |
|
32 <area href="def_8h.html" shape="rect" coords="649,54,705,78" alt=""> |
|
33 <area href="can_8h.html" shape="rect" coords="515,494,573,518" alt=""> |
|
34 <area href="objdictdef_8h.html" shape="rect" coords="493,347,595,371" alt=""> |
|
35 <area href="objacces_8h.html" shape="rect" coords="497,251,591,275" alt=""> |
|
36 <area href="sdo_8h.html" shape="rect" coords="515,446,573,470" alt=""> |
|
37 <area href="pdo_8h.html" shape="rect" coords="515,104,573,128" alt=""> |
|
38 <area href="states_8h.html" shape="rect" coords="507,299,581,323" alt=""> |
|
39 <area href="lifegrd_8h.html" shape="rect" coords="505,152,583,176" alt=""> |
|
40 <area href="sync_8h.html" shape="rect" coords="511,6,577,30" alt=""> |
|
41 <area href="config_8h.html" shape="rect" coords="772,54,847,78" alt=""> |
|
42 <area href="timer_8h.html" shape="rect" coords="643,399,712,423" alt=""> |
|
43 <area href="win32_2timerscfg_8h.html" shape="rect" coords="760,474,859,498" alt=""> |
|
44 <area href="can__driver_8h.html" shape="rect" coords="341,518,445,542" alt=""> |
|
45 </map> |
23 |
46 |
24 <p> |
47 <p> |
25 <a href="nmtMaster_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
48 <a href="nmtMaster_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
26 <tr><td></td></tr> |
49 <tr><td></td></tr> |
27 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
50 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#6170d95d9900ef756921a934c5fb37d2">masterSendNMTstateChange</a> (CO_Data *d, UNS8 Node_ID, UNS8 cs)</td></tr> |
51 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#6170d95d9900ef756921a934c5fb37d2">masterSendNMTstateChange</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 Node_ID, UNS8 cs)</td></tr> |
29 |
52 |
30 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4">masterSendNMTnodeguard</a> (CO_Data *d, UNS8 nodeId)</td></tr> |
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4">masterSendNMTnodeguard</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr> |
31 |
54 |
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#98bee3f402438056dbd653e752054796">masterRequestNodeState</a> (CO_Data *d, UNS8 nodeId)</td></tr> |
55 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#98bee3f402438056dbd653e752054796">masterRequestNodeState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr> |
33 |
56 |
34 </table> |
57 </table> |
35 <hr><a name="_details"></a><h2>Detailed Description</h2> |
58 <hr><a name="_details"></a><h2>Detailed Description</h2> |
36 <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> |
37 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:47:18 2007 </dd></dl> |
60 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:47:18 2007 </dd></dl> |
70 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
93 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
71 </table> |
94 </table> |
72 </dl> |
95 </dl> |
73 |
96 |
74 <p> |
97 <p> |
75 FIXME: should warn for bad toggle bit.<p> |
|
76 NMTable configuration to indicate that the master is waiting for a Node_Guard frame from the slave whose node_id is ID<p> |
|
77 A state that does not exist<p> |
|
78 NMT broadcast |
|
79 <p> |
|
80 Definition at line <a class="el" href="nmtMaster_8c-source.html#l00090">90</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>. |
98 Definition at line <a class="el" href="nmtMaster_8c-source.html#l00090">90</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>. |
81 <p> |
99 <p> |
82 References <a class="el" href="nmtMaster_8c-source.html#l00070">masterSendNMTnodeguard()</a>. |
100 References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="nmtMaster_8c-source.html#l00070">masterSendNMTnodeguard()</a>, <a class="el" href="config_8h-source.html#l00030">NMT_MAX_NODE_ID</a>, <a class="el" href="data_8h-source.html#l00075">struct_CO_Data::NMTable</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646cb4b5cb64be091d76f846380eb0afe59">Unknown_state</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>. |
|
101 <p> |
|
102 Referenced by <a class="el" href="main_8c-source.html#l00037">GetChangeStateResults()</a>. |
83 <p> |
103 <p> |
84 Here is the call graph for this function:<p><center><img src="nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph.png" border="0" usemap="#nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph_map" alt=""></center> |
104 Here is the call graph for this function:<p><center><img src="nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph.png" border="0" usemap="#nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph_map" alt=""></center> |
85 <map name="nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph_map"> |
105 <map name="nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph_map"> |
86 <area href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4" shape="rect" coords="249,6,455,30" alt=""> |
106 <area href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4" shape="rect" coords="249,6,455,30" alt=""> |
|
107 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="505,6,585,30" alt=""> |
|
108 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="636,6,767,30" alt=""> |
87 </map> |
109 </map> |
88 |
110 |
89 </div> |
111 </div> |
90 </div><p> |
112 </div><p> |
91 <a class="anchor" name="f63689baeabb15103c2b7afe8885c5c4"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTnodeguard" ref="f63689baeabb15103c2b7afe8885c5c4" args="(CO_Data *d, UNS8 nodeId)" --> |
113 <a class="anchor" name="f63689baeabb15103c2b7afe8885c5c4"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTnodeguard" ref="f63689baeabb15103c2b7afe8885c5c4" args="(CO_Data *d, UNS8 nodeId)" --> |
123 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
145 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
124 |
146 |
125 <p> |
147 <p> |
126 Definition at line <a class="el" href="nmtMaster_8c-source.html#l00070">70</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>. |
148 Definition at line <a class="el" href="nmtMaster_8c-source.html#l00070">70</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>. |
127 <p> |
149 <p> |
|
150 References <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#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#l00054">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>. |
|
151 <p> |
128 Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>. |
152 Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>. |
|
153 <p> |
|
154 Here is the call graph for this function:<p><center><img src="nmtMaster_8c_f63689baeabb15103c2b7afe8885c5c4_cgraph.png" border="0" usemap="#nmtMaster_8c_f63689baeabb15103c2b7afe8885c5c4_cgraph_map" alt=""></center> |
|
155 <map name="nmtMaster_8c_f63689baeabb15103c2b7afe8885c5c4_cgraph_map"> |
|
156 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="263,6,343,30" alt=""> |
|
157 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="394,6,524,30" alt=""> |
|
158 </map> |
|
159 |
129 </div> |
160 </div> |
130 </div><p> |
161 </div><p> |
131 <a class="anchor" name="6170d95d9900ef756921a934c5fb37d2"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTstateChange" ref="6170d95d9900ef756921a934c5fb37d2" args="(CO_Data *d, UNS8 Node_ID, UNS8 cs)" --> |
162 <a class="anchor" name="6170d95d9900ef756921a934c5fb37d2"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTstateChange" ref="6170d95d9900ef756921a934c5fb37d2" args="(CO_Data *d, UNS8 Node_ID, UNS8 cs)" --> |
132 <div class="memitem"> |
163 <div class="memitem"> |
133 <div class="memproto"> |
164 <div class="memproto"> |
134 <table class="memname"> |
165 <table class="memname"> |
135 <tr> |
166 <tr> |
136 <td class="memname">UNS8 masterSendNMTstateChange </td> |
167 <td class="memname">UNS8 masterSendNMTstateChange </td> |
137 <td>(</td> |
168 <td>(</td> |
138 <td class="paramtype">CO_Data * </td> |
169 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
139 <td class="paramname"> <em>d</em>, </td> |
170 <td class="paramname"> <em>d</em>, </td> |
140 </tr> |
171 </tr> |
141 <tr> |
172 <tr> |
142 <td class="paramkey"></td> |
173 <td class="paramkey"></td> |
143 <td></td> |
174 <td></td> |
168 </table> |
199 </table> |
169 </dl> |
200 </dl> |
170 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
201 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
171 |
202 |
172 <p> |
203 <p> |
173 message configuration |
|
174 <p> |
|
175 Definition at line <a class="el" href="nmtMaster_8c-source.html#l00045">45</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>. |
204 Definition at line <a class="el" href="nmtMaster_8c-source.html#l00045">45</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>. |
|
205 <p> |
|
206 References <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#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>. |
|
207 <p> |
|
208 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>. |
|
209 <p> |
|
210 Here is the call graph for this function:<p><center><img src="nmtMaster_8c_6170d95d9900ef756921a934c5fb37d2_cgraph.png" border="0" usemap="#nmtMaster_8c_6170d95d9900ef756921a934c5fb37d2_cgraph_map" alt=""></center> |
|
211 <map name="nmtMaster_8c_6170d95d9900ef756921a934c5fb37d2_cgraph_map"> |
|
212 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="273,6,353,30" alt=""> |
|
213 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="404,6,535,30" alt=""> |
|
214 </map> |
|
215 |
176 </div> |
216 </div> |
177 </div><p> |
217 </div><p> |
178 <hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:06 2007 for CanFestival by |
218 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:11 2007 for CanFestival by |
179 <a href="http://www.doxygen.org/index.html"> |
219 <a href="http://www.doxygen.org/index.html"> |
180 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
220 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
181 </body> |
221 </body> |
182 </html> |
222 </html> |