215
|
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">
|
|
3 |
<title>CanFestival: include/nmtMaster.h File Reference</title>
|
|
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>
|
|
11 |
<li><a href="annotated.html"><span>Data Structures</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>
|
|
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>
|
|
20 |
<div class="nav">
|
240
|
21 |
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
|
215
|
22 |
<h1>nmtMaster.h File Reference</h1><code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br>
|
|
23 |
|
|
24 |
<p>
|
|
25 |
Include dependency graph for nmtMaster.h:<p><center><img src="nmtMaster_8h__incl.png" border="0" usemap="#include/nmtMaster.h_map" alt=""></center>
|
|
26 |
<map name="include/nmtMaster.h_map">
|
240
|
27 |
<area href="data_8h.html" shape="rect" coords="187,233,240,260" alt="">
|
|
28 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="535,183,609,209" alt="">
|
|
29 |
<area href="def_8h.html" shape="rect" coords="428,385,476,412" alt="">
|
|
30 |
<area href="can_8h.html" shape="rect" coords="428,208,476,235" alt="">
|
|
31 |
<area href="objdictdef_8h.html" shape="rect" coords="288,461,373,488" alt="">
|
|
32 |
<area href="objacces_8h.html" shape="rect" coords="292,157,369,184" alt="">
|
|
33 |
<area href="sdo_8h.html" shape="rect" coords="307,360,355,387" alt="">
|
|
34 |
<area href="pdo_8h.html" shape="rect" coords="305,259,356,285" alt="">
|
|
35 |
<area href="states_8h.html" shape="rect" coords="300,5,361,32" alt="">
|
|
36 |
<area href="lifegrd_8h.html" shape="rect" coords="297,56,364,83" alt="">
|
|
37 |
<area href="sync_8h.html" shape="rect" coords="303,512,359,539" alt="">
|
|
38 |
<area href="config_8h.html" shape="rect" coords="540,385,604,412" alt="">
|
|
39 |
<area href="timer_8h.html" shape="rect" coords="423,309,481,336" alt="">
|
|
40 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="532,291,612,317" alt="">
|
215
|
41 |
</map>
|
|
42 |
|
|
43 |
<p>
|
|
44 |
This graph shows which files directly or indirectly include this file:<p><center><img src="nmtMaster_8h__dep__incl.png" border="0" usemap="#include/nmtMaster.hdep_map" alt=""></center>
|
|
45 |
<map name="include/nmtMaster.hdep_map">
|
240
|
46 |
<area href="nmtMaster_8c.html" shape="rect" coords="653,85,760,112" alt="">
|
|
47 |
<area href="data_8h.html" shape="rect" coords="187,540,283,567" alt="">
|
|
48 |
<area href="lifegrd_8c.html" shape="rect" coords="664,337,749,364" alt="">
|
|
49 |
<area href="sync_8c.html" shape="rect" coords="669,199,744,225" alt="">
|
|
50 |
<area href="unix_8c.html" shape="rect" coords="645,275,768,301" alt="">
|
|
51 |
<area href="objdict_8h.html" shape="rect" coords="344,388,584,415" alt="">
|
|
52 |
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="345,439,583,465" alt="">
|
|
53 |
<area href="TestSlave_8h.html" shape="rect" coords="349,489,579,516" alt="">
|
|
54 |
<area href="TestMasterMicroMod_2TestMaster_8h.html" shape="rect" coords="331,540,597,567" alt="">
|
|
55 |
<area href="win32test_8h.html" shape="rect" coords="368,591,560,617" alt="">
|
|
56 |
<area href="objacces_8h.html" shape="rect" coords="404,641,524,668" alt="">
|
|
57 |
<area href="lifegrd_8h.html" shape="rect" coords="409,692,519,719" alt="">
|
|
58 |
<area href="nmtSlave_8h.html" shape="rect" coords="403,743,525,769" alt="">
|
|
59 |
<area href="timer_8h.html" shape="rect" coords="413,793,515,820" alt="">
|
|
60 |
<area href="sdo_8h.html" shape="rect" coords="660,856,753,883" alt="">
|
|
61 |
<area href="pdo_8h.html" shape="rect" coords="417,919,511,945" alt="">
|
|
62 |
<area href="states_8h.html" shape="rect" coords="412,84,516,111" alt="">
|
|
63 |
<area href="unix_2canfestival_8h.html" shape="rect" coords="384,135,544,161" alt="">
|
|
64 |
<area href="win32_2canfestival_8h.html" shape="rect" coords="380,236,548,263" alt="">
|
215
|
65 |
</map>
|
|
66 |
|
|
67 |
<p>
|
|
68 |
<a href="nmtMaster_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
69 |
<tr><td></td></tr>
|
|
70 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#c1ba0feb792adfae21a4adb96593ab3b">masterSendNMTstateChange</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 Node_ID, UNS8 cs)</td></tr>
|
|
72 |
|
|
73 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#9f255d6b026de318c5181e1deb01bdd0">masterSendNMTnodeguard</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
|
|
74 |
|
|
75 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#ed4b5c5175612deb4d3e9c328a645cfb">masterRequestNodeState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
|
215
|
76 |
|
|
77 |
</table>
|
|
78 |
<hr><h2>Function Documentation</h2>
|
240
|
79 |
<a class="anchor" name="ed4b5c5175612deb4d3e9c328a645cfb"></a><!-- doxytag: member="nmtMaster.h::masterRequestNodeState" ref="ed4b5c5175612deb4d3e9c328a645cfb" args="(CO_Data *d, UNS8 nodeId)" -->
|
215
|
80 |
<div class="memitem">
|
|
81 |
<div class="memproto">
|
|
82 |
<table class="memname">
|
|
83 |
<tr>
|
|
84 |
<td class="memname">void masterRequestNodeState </td>
|
|
85 |
<td>(</td>
|
|
86 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
87 |
<td class="paramname"> <em>d</em>, </td>
|
|
88 |
</tr>
|
|
89 |
<tr>
|
|
90 |
<td class="paramkey"></td>
|
|
91 |
<td></td>
|
|
92 |
<td class="paramtype">UNS8 </td>
|
|
93 |
<td class="paramname"> <em>nodeId</em></td><td> </td>
|
|
94 |
</tr>
|
|
95 |
<tr>
|
|
96 |
<td></td>
|
|
97 |
<td>)</td>
|
|
98 |
<td></td><td></td><td width="100%"></td>
|
|
99 |
</tr>
|
|
100 |
</table>
|
|
101 |
</div>
|
|
102 |
<div class="memdoc">
|
|
103 |
|
|
104 |
<p>
|
|
105 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
106 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
107 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
108 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
109 |
</table>
|
|
110 |
</dl>
|
|
111 |
|
|
112 |
<p>
|
|
113 |
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>.
|
|
114 |
<p>
|
240
|
115 |
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
|
116 |
<p>
|
|
117 |
Referenced by <a class="el" href="main_8c-source.html#l00037">GetChangeStateResults()</a>.
|
|
118 |
<p>
|
240
|
119 |
Here is the call graph for this function:<p><center><img src="nmtMaster_8h_ed4b5c5175612deb4d3e9c328a645cfb_cgraph.png" border="0" usemap="#nmtMaster_8h_ed4b5c5175612deb4d3e9c328a645cfb_cgraph_map" alt=""></center>
|
|
120 |
<map name="nmtMaster_8h_ed4b5c5175612deb4d3e9c328a645cfb_cgraph_map">
|
|
121 |
<area href="nmtMaster_8c.html#9f255d6b026de318c5181e1deb01bdd0" shape="rect" coords="212,5,380,32" alt="">
|
|
122 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="429,5,496,32" alt="">
|
|
123 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="544,5,656,32" alt="">
|
215
|
124 |
</map>
|
|
125 |
|
|
126 |
</div>
|
|
127 |
</div><p>
|
240
|
128 |
<a class="anchor" name="9f255d6b026de318c5181e1deb01bdd0"></a><!-- doxytag: member="nmtMaster.h::masterSendNMTnodeguard" ref="9f255d6b026de318c5181e1deb01bdd0" args="(CO_Data *d, UNS8 nodeId)" -->
|
215
|
129 |
<div class="memitem">
|
|
130 |
<div class="memproto">
|
|
131 |
<table class="memname">
|
|
132 |
<tr>
|
|
133 |
<td class="memname">UNS8 masterSendNMTnodeguard </td>
|
|
134 |
<td>(</td>
|
|
135 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
136 |
<td class="paramname"> <em>d</em>, </td>
|
|
137 |
</tr>
|
|
138 |
<tr>
|
|
139 |
<td class="paramkey"></td>
|
|
140 |
<td></td>
|
|
141 |
<td class="paramtype">UNS8 </td>
|
|
142 |
<td class="paramname"> <em>nodeId</em></td><td> </td>
|
|
143 |
</tr>
|
|
144 |
<tr>
|
|
145 |
<td></td>
|
|
146 |
<td>)</td>
|
|
147 |
<td></td><td></td><td width="100%"></td>
|
|
148 |
</tr>
|
|
149 |
</table>
|
|
150 |
</div>
|
|
151 |
<div class="memdoc">
|
|
152 |
|
|
153 |
<p>
|
|
154 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
155 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
156 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
157 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
158 |
</table>
|
|
159 |
</dl>
|
|
160 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
161 |
|
|
162 |
<p>
|
|
163 |
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>.
|
|
164 |
<p>
|
240
|
165 |
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
|
166 |
<p>
|
|
167 |
Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>.
|
|
168 |
<p>
|
240
|
169 |
Here is the call graph for this function:<p><center><img src="nmtMaster_8h_9f255d6b026de318c5181e1deb01bdd0_cgraph.png" border="0" usemap="#nmtMaster_8h_9f255d6b026de318c5181e1deb01bdd0_cgraph_map" alt=""></center>
|
|
170 |
<map name="nmtMaster_8h_9f255d6b026de318c5181e1deb01bdd0_cgraph_map">
|
|
171 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="224,5,291,32" alt="">
|
|
172 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="339,5,451,32" alt="">
|
215
|
173 |
</map>
|
|
174 |
|
|
175 |
</div>
|
|
176 |
</div><p>
|
240
|
177 |
<a class="anchor" name="c1ba0feb792adfae21a4adb96593ab3b"></a><!-- doxytag: member="nmtMaster.h::masterSendNMTstateChange" ref="c1ba0feb792adfae21a4adb96593ab3b" args="(CO_Data *d, UNS8 Node_ID, UNS8 cs)" -->
|
215
|
178 |
<div class="memitem">
|
|
179 |
<div class="memproto">
|
|
180 |
<table class="memname">
|
|
181 |
<tr>
|
|
182 |
<td class="memname">UNS8 masterSendNMTstateChange </td>
|
|
183 |
<td>(</td>
|
|
184 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
185 |
<td class="paramname"> <em>d</em>, </td>
|
|
186 |
</tr>
|
|
187 |
<tr>
|
|
188 |
<td class="paramkey"></td>
|
|
189 |
<td></td>
|
|
190 |
<td class="paramtype">UNS8 </td>
|
|
191 |
<td class="paramname"> <em>Node_ID</em>, </td>
|
|
192 |
</tr>
|
|
193 |
<tr>
|
|
194 |
<td class="paramkey"></td>
|
|
195 |
<td></td>
|
|
196 |
<td class="paramtype">UNS8 </td>
|
|
197 |
<td class="paramname"> <em>cs</em></td><td> </td>
|
|
198 |
</tr>
|
|
199 |
<tr>
|
|
200 |
<td></td>
|
|
201 |
<td>)</td>
|
|
202 |
<td></td><td></td><td width="100%"></td>
|
|
203 |
</tr>
|
|
204 |
</table>
|
|
205 |
</div>
|
|
206 |
<div class="memdoc">
|
|
207 |
|
|
208 |
<p>
|
|
209 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
210 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
211 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
212 |
<tr><td valign="top"></td><td valign="top"><em>Node_ID</em> </td><td></td></tr>
|
|
213 |
<tr><td valign="top"></td><td valign="top"><em>cs</em> </td><td></td></tr>
|
|
214 |
</table>
|
|
215 |
</dl>
|
|
216 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
217 |
|
|
218 |
<p>
|
|
219 |
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>.
|
|
220 |
<p>
|
240
|
221 |
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
|
222 |
<p>
|
|
223 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
224 |
<p>
|
240
|
225 |
Here is the call graph for this function:<p><center><img src="nmtMaster_8h_c1ba0feb792adfae21a4adb96593ab3b_cgraph.png" border="0" usemap="#nmtMaster_8h_c1ba0feb792adfae21a4adb96593ab3b_cgraph_map" alt=""></center>
|
|
226 |
<map name="nmtMaster_8h_c1ba0feb792adfae21a4adb96593ab3b_cgraph_map">
|
|
227 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="232,5,299,32" alt="">
|
|
228 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="347,5,459,32" alt="">
|
215
|
229 |
</map>
|
|
230 |
|
|
231 |
</div>
|
|
232 |
</div><p>
|
240
|
233 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:30 2007 for CanFestival by
|
215
|
234 |
<a href="http://www.doxygen.org/index.html">
|
|
235 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
236 |
</body>
|
|
237 |
</html>
|