207
|
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">
|
215
|
3 |
<title>CanFestival: src/nmtMaster.c File Reference</title>
|
207
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
215
|
11 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
207
|
12 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
215
|
13 |
<li><a href="dirs.html"><span>Directories</span></a></li>
|
207
|
14 |
</ul></div>
|
|
15 |
<div class="tabs">
|
|
16 |
<ul>
|
|
17 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
18 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
19 |
</ul></div>
|
215
|
20 |
<div class="nav">
|
240
|
21 |
<a class="el" href="dir_0aa10e4f705947227e11e7ccb081fbe4.html">src</a></div>
|
215
|
22 |
<h1>nmtMaster.c File Reference</h1><code>#include "<a class="el" href="nmtMaster_8h-source.html">nmtMaster.h</a>"</code><br>
|
|
23 |
<code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br>
|
|
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">
|
240
|
28 |
<area href="nmtMaster_8h.html" shape="rect" coords="164,309,252,336" alt="">
|
|
29 |
<area href="win32_2canfestival_8h.html" shape="rect" coords="164,512,252,539" alt="">
|
|
30 |
<area href="data_8h.html" shape="rect" coords="301,309,355,336" alt="">
|
|
31 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="652,360,727,387" alt="">
|
|
32 |
<area href="def_8h.html" shape="rect" coords="545,5,593,32" alt="">
|
|
33 |
<area href="can_8h.html" shape="rect" coords="545,411,593,437" alt="">
|
|
34 |
<area href="objdictdef_8h.html" shape="rect" coords="404,208,489,235" alt="">
|
|
35 |
<area href="objacces_8h.html" shape="rect" coords="408,309,485,336" alt="">
|
|
36 |
<area href="sdo_8h.html" shape="rect" coords="423,461,471,488" alt="">
|
|
37 |
<area href="pdo_8h.html" shape="rect" coords="421,360,472,387" alt="">
|
|
38 |
<area href="states_8h.html" shape="rect" coords="416,56,477,83" alt="">
|
|
39 |
<area href="lifegrd_8h.html" shape="rect" coords="413,107,480,133" alt="">
|
|
40 |
<area href="sync_8h.html" shape="rect" coords="419,259,475,285" alt="">
|
|
41 |
<area href="config_8h.html" shape="rect" coords="657,5,721,32" alt="">
|
|
42 |
<area href="timer_8h.html" shape="rect" coords="540,549,599,576" alt="">
|
|
43 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="649,581,729,608" alt="">
|
|
44 |
<area href="can__driver_8h.html" shape="rect" coords="403,512,491,539" alt="">
|
215
|
45 |
</map>
|
210
|
46 |
|
|
47 |
<p>
|
207
|
48 |
<a href="nmtMaster_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
49 |
<tr><td></td></tr>
|
|
50 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
51 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#c1ba0feb792adfae21a4adb96593ab3b">masterSendNMTstateChange</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 Node_ID, UNS8 cs)</td></tr>
|
|
52 |
|
|
53 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#9f255d6b026de318c5181e1deb01bdd0">masterSendNMTnodeguard</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
|
|
54 |
|
|
55 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#ed4b5c5175612deb4d3e9c328a645cfb">masterRequestNodeState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
|
207
|
56 |
|
|
57 |
</table>
|
210
|
58 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
59 |
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
|
|
60 |
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:47:18 2007 </dd></dl>
|
|
61 |
|
|
62 |
<p>
|
|
63 |
Definition in file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.<hr><h2>Function Documentation</h2>
|
240
|
64 |
<a class="anchor" name="ed4b5c5175612deb4d3e9c328a645cfb"></a><!-- doxytag: member="nmtMaster.c::masterRequestNodeState" ref="ed4b5c5175612deb4d3e9c328a645cfb" args="(CO_Data *d, UNS8 nodeId)" -->
|
207
|
65 |
<div class="memitem">
|
|
66 |
<div class="memproto">
|
|
67 |
<table class="memname">
|
|
68 |
<tr>
|
|
69 |
<td class="memname">void masterRequestNodeState </td>
|
|
70 |
<td>(</td>
|
215
|
71 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
72 |
<td class="paramname"> <em>d</em>, </td>
|
|
73 |
</tr>
|
|
74 |
<tr>
|
|
75 |
<td class="paramkey"></td>
|
|
76 |
<td></td>
|
|
77 |
<td class="paramtype">UNS8 </td>
|
|
78 |
<td class="paramname"> <em>nodeId</em></td><td> </td>
|
|
79 |
</tr>
|
|
80 |
<tr>
|
|
81 |
<td></td>
|
|
82 |
<td>)</td>
|
|
83 |
<td></td><td></td><td width="100%"></td>
|
|
84 |
</tr>
|
|
85 |
</table>
|
|
86 |
</div>
|
|
87 |
<div class="memdoc">
|
|
88 |
|
|
89 |
<p>
|
210
|
90 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
91 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
92 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
93 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
94 |
</table>
|
|
95 |
</dl>
|
207
|
96 |
|
|
97 |
<p>
|
210
|
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>.
|
|
99 |
<p>
|
240
|
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#80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9">Unknown_state</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
215
|
101 |
<p>
|
|
102 |
Referenced by <a class="el" href="main_8c-source.html#l00037">GetChangeStateResults()</a>.
|
210
|
103 |
<p>
|
240
|
104 |
Here is the call graph for this function:<p><center><img src="nmtMaster_8c_ed4b5c5175612deb4d3e9c328a645cfb_cgraph.png" border="0" usemap="#nmtMaster_8c_ed4b5c5175612deb4d3e9c328a645cfb_cgraph_map" alt=""></center>
|
|
105 |
<map name="nmtMaster_8c_ed4b5c5175612deb4d3e9c328a645cfb_cgraph_map">
|
|
106 |
<area href="nmtMaster_8c.html#9f255d6b026de318c5181e1deb01bdd0" shape="rect" coords="212,5,380,32" alt="">
|
|
107 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="429,5,496,32" alt="">
|
|
108 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="544,5,656,32" alt="">
|
210
|
109 |
</map>
|
|
110 |
|
207
|
111 |
</div>
|
|
112 |
</div><p>
|
240
|
113 |
<a class="anchor" name="9f255d6b026de318c5181e1deb01bdd0"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTnodeguard" ref="9f255d6b026de318c5181e1deb01bdd0" args="(CO_Data *d, UNS8 nodeId)" -->
|
207
|
114 |
<div class="memitem">
|
|
115 |
<div class="memproto">
|
|
116 |
<table class="memname">
|
|
117 |
<tr>
|
|
118 |
<td class="memname">UNS8 masterSendNMTnodeguard </td>
|
|
119 |
<td>(</td>
|
215
|
120 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
121 |
<td class="paramname"> <em>d</em>, </td>
|
|
122 |
</tr>
|
|
123 |
<tr>
|
|
124 |
<td class="paramkey"></td>
|
|
125 |
<td></td>
|
|
126 |
<td class="paramtype">UNS8 </td>
|
|
127 |
<td class="paramname"> <em>nodeId</em></td><td> </td>
|
|
128 |
</tr>
|
|
129 |
<tr>
|
|
130 |
<td></td>
|
|
131 |
<td>)</td>
|
|
132 |
<td></td><td></td><td width="100%"></td>
|
|
133 |
</tr>
|
|
134 |
</table>
|
|
135 |
</div>
|
|
136 |
<div class="memdoc">
|
|
137 |
|
|
138 |
<p>
|
210
|
139 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
140 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
141 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
142 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
143 |
</table>
|
|
144 |
</dl>
|
|
145 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
207
|
146 |
|
|
147 |
<p>
|
210
|
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>.
|
|
149 |
<p>
|
240
|
150 |
References <a class="el" href="data_8h-source.html#l00087">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#l00097">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>.
|
215
|
151 |
<p>
|
210
|
152 |
Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>.
|
215
|
153 |
<p>
|
240
|
154 |
Here is the call graph for this function:<p><center><img src="nmtMaster_8c_9f255d6b026de318c5181e1deb01bdd0_cgraph.png" border="0" usemap="#nmtMaster_8c_9f255d6b026de318c5181e1deb01bdd0_cgraph_map" alt=""></center>
|
|
155 |
<map name="nmtMaster_8c_9f255d6b026de318c5181e1deb01bdd0_cgraph_map">
|
|
156 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="224,5,291,32" alt="">
|
|
157 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="339,5,451,32" alt="">
|
215
|
158 |
</map>
|
|
159 |
|
207
|
160 |
</div>
|
|
161 |
</div><p>
|
240
|
162 |
<a class="anchor" name="c1ba0feb792adfae21a4adb96593ab3b"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTstateChange" ref="c1ba0feb792adfae21a4adb96593ab3b" args="(CO_Data *d, UNS8 Node_ID, UNS8 cs)" -->
|
207
|
163 |
<div class="memitem">
|
|
164 |
<div class="memproto">
|
|
165 |
<table class="memname">
|
|
166 |
<tr>
|
|
167 |
<td class="memname">UNS8 masterSendNMTstateChange </td>
|
|
168 |
<td>(</td>
|
215
|
169 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
170 |
<td class="paramname"> <em>d</em>, </td>
|
|
171 |
</tr>
|
|
172 |
<tr>
|
|
173 |
<td class="paramkey"></td>
|
|
174 |
<td></td>
|
|
175 |
<td class="paramtype">UNS8 </td>
|
|
176 |
<td class="paramname"> <em>Node_ID</em>, </td>
|
|
177 |
</tr>
|
|
178 |
<tr>
|
|
179 |
<td class="paramkey"></td>
|
|
180 |
<td></td>
|
|
181 |
<td class="paramtype">UNS8 </td>
|
|
182 |
<td class="paramname"> <em>cs</em></td><td> </td>
|
|
183 |
</tr>
|
|
184 |
<tr>
|
|
185 |
<td></td>
|
|
186 |
<td>)</td>
|
|
187 |
<td></td><td></td><td width="100%"></td>
|
|
188 |
</tr>
|
|
189 |
</table>
|
|
190 |
</div>
|
|
191 |
<div class="memdoc">
|
|
192 |
|
|
193 |
<p>
|
210
|
194 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
195 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
196 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
197 |
<tr><td valign="top"></td><td valign="top"><em>Node_ID</em> </td><td></td></tr>
|
|
198 |
<tr><td valign="top"></td><td valign="top"><em>cs</em> </td><td></td></tr>
|
|
199 |
</table>
|
|
200 |
</dl>
|
|
201 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
207
|
202 |
|
|
203 |
<p>
|
210
|
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>.
|
215
|
205 |
<p>
|
240
|
206 |
References <a class="el" href="data_8h-source.html#l00087">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>.
|
215
|
207 |
<p>
|
|
208 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
209 |
<p>
|
240
|
210 |
Here is the call graph for this function:<p><center><img src="nmtMaster_8c_c1ba0feb792adfae21a4adb96593ab3b_cgraph.png" border="0" usemap="#nmtMaster_8c_c1ba0feb792adfae21a4adb96593ab3b_cgraph_map" alt=""></center>
|
|
211 |
<map name="nmtMaster_8c_c1ba0feb792adfae21a4adb96593ab3b_cgraph_map">
|
|
212 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="232,5,299,32" alt="">
|
|
213 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="347,5,459,32" alt="">
|
215
|
214 |
</map>
|
|
215 |
|
207
|
216 |
</div>
|
|
217 |
</div><p>
|
240
|
218 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:38 2007 for CanFestival by
|
207
|
219 |
<a href="http://www.doxygen.org/index.html">
|
|
220 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
221 |
</body>
|
|
222 |
</html>
|