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: examples/TestMasterSlave/Slave.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_aa575cee5acc3b84cc5b4489187a1fd3.html">examples</a> » <a class="el" href="dir_4f45567b048264117a95e53b67d9aefb.html">TestMasterSlave</a></div>
|
215
|
22 |
<h1>Slave.h File Reference</h1><code>#include "<a class="el" href="TestSlave_8h-source.html">TestSlave.h</a>"</code><br>
|
|
23 |
|
|
24 |
<p>
|
|
25 |
Include dependency graph for Slave.h:<p><center><img src="Slave_8h__incl.png" border="0" usemap="#examples/TestMasterSlave/Slave.h_map" alt=""></center>
|
|
26 |
<map name="examples/TestMasterSlave/Slave.h_map">
|
240
|
27 |
<area href="TestSlave_8h.html" shape="rect" coords="263,259,345,285" alt="">
|
|
28 |
<area href="data_8h.html" shape="rect" coords="395,259,448,285" alt="">
|
|
29 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="748,183,823,209" alt="">
|
|
30 |
<area href="def_8h.html" shape="rect" coords="641,385,689,412" alt="">
|
|
31 |
<area href="can_8h.html" shape="rect" coords="641,208,689,235" alt="">
|
|
32 |
<area href="objdictdef_8h.html" shape="rect" coords="499,461,584,488" alt="">
|
|
33 |
<area href="objacces_8h.html" shape="rect" coords="503,157,580,184" alt="">
|
|
34 |
<area href="sdo_8h.html" shape="rect" coords="517,309,565,336" alt="">
|
|
35 |
<area href="pdo_8h.html" shape="rect" coords="516,259,567,285" alt="">
|
|
36 |
<area href="states_8h.html" shape="rect" coords="511,5,572,32" alt="">
|
|
37 |
<area href="lifegrd_8h.html" shape="rect" coords="508,56,575,83" alt="">
|
|
38 |
<area href="sync_8h.html" shape="rect" coords="513,512,569,539" alt="">
|
|
39 |
<area href="nmtMaster_8h.html" shape="rect" coords="497,563,585,589" alt="">
|
|
40 |
<area href="config_8h.html" shape="rect" coords="753,385,817,412" alt="">
|
|
41 |
<area href="timer_8h.html" shape="rect" coords="636,309,695,336" alt="">
|
|
42 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="745,291,825,317" alt="">
|
215
|
43 |
</map>
|
|
44 |
|
|
45 |
<p>
|
|
46 |
This graph shows which files directly or indirectly include this file:<p><center><img src="Slave_8h__dep__incl.png" border="0" usemap="#examples/TestMasterSlave/Slave.hdep_map" alt=""></center>
|
|
47 |
<map name="examples/TestMasterSlave/Slave.hdep_map">
|
240
|
48 |
<area href="Master_8c.html" shape="rect" coords="289,5,503,32" alt="">
|
|
49 |
<area href="Slave_8c.html" shape="rect" coords="292,56,500,83" alt="">
|
|
50 |
<area href="TestMasterSlave_8c.html" shape="rect" coords="263,107,529,133" alt="">
|
215
|
51 |
</map>
|
|
52 |
|
|
53 |
<p>
|
|
54 |
<a href="Slave_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
55 |
<tr><td></td></tr>
|
|
56 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
57 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#b113cb0bf6c1e7b16bf3798de7bc04ca">TestSlave_heartbeatError</a> (UNS8)</td></tr>
|
|
58 |
|
|
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#3fbbb9c23eaa54b4579b5ea1c1a85f43">TestSlave_canSend</a> (<a class="el" href="structMessage.html">Message</a> *)</td></tr>
|
|
60 |
|
|
61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#be175819de926e00cd1d45b749871dbb">TestSlave_initialisation</a> (void)</td></tr>
|
|
62 |
|
|
63 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#598794b89434bdcd679afc12406cc53c">TestSlave_preOperational</a> (void)</td></tr>
|
|
64 |
|
|
65 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#dbbf37899be8261b0736a9322c6e212a">TestSlave_operational</a> (void)</td></tr>
|
|
66 |
|
|
67 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#7d0e5692a9e255824c9435401f3c317b">TestSlave_stopped</a> (void)</td></tr>
|
|
68 |
|
|
69 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#b30abcdc5a47fc21367928db85b4a8f5">TestSlave_post_sync</a> (void)</td></tr>
|
|
70 |
|
|
71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#c41c40ecef45e9e2085a2bac354b2595">TestSlave_post_TPDO</a> (void)</td></tr>
|
|
72 |
|
|
73 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#1e047d439fd5887cc80528724fae0ca2">TestSlave_storeODSubIndex</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr>
|
215
|
74 |
|
|
75 |
</table>
|
|
76 |
<hr><h2>Function Documentation</h2>
|
240
|
77 |
<a class="anchor" name="3fbbb9c23eaa54b4579b5ea1c1a85f43"></a><!-- doxytag: member="Slave.h::TestSlave_canSend" ref="3fbbb9c23eaa54b4579b5ea1c1a85f43" args="(Message *)" -->
|
215
|
78 |
<div class="memitem">
|
|
79 |
<div class="memproto">
|
|
80 |
<table class="memname">
|
|
81 |
<tr>
|
|
82 |
<td class="memname">UNS8 TestSlave_canSend </td>
|
|
83 |
<td>(</td>
|
|
84 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
85 |
<td class="paramname"> </td>
|
|
86 |
<td> ) </td>
|
|
87 |
<td width="100%"></td>
|
|
88 |
</tr>
|
|
89 |
</table>
|
|
90 |
</div>
|
|
91 |
<div class="memdoc">
|
|
92 |
|
|
93 |
<p>
|
|
94 |
|
|
95 |
</div>
|
|
96 |
</div><p>
|
240
|
97 |
<a class="anchor" name="b113cb0bf6c1e7b16bf3798de7bc04ca"></a><!-- doxytag: member="Slave.h::TestSlave_heartbeatError" ref="b113cb0bf6c1e7b16bf3798de7bc04ca" args="(UNS8)" -->
|
215
|
98 |
<div class="memitem">
|
|
99 |
<div class="memproto">
|
|
100 |
<table class="memname">
|
|
101 |
<tr>
|
|
102 |
<td class="memname">void TestSlave_heartbeatError </td>
|
|
103 |
<td>(</td>
|
|
104 |
<td class="paramtype">UNS8 </td>
|
|
105 |
<td class="paramname"> </td>
|
|
106 |
<td> ) </td>
|
|
107 |
<td width="100%"></td>
|
|
108 |
</tr>
|
|
109 |
</table>
|
|
110 |
</div>
|
|
111 |
<div class="memdoc">
|
|
112 |
|
|
113 |
<p>
|
|
114 |
|
|
115 |
<p>
|
|
116 |
Definition at line <a class="el" href="Slave_8c-source.html#l00028">28</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
117 |
<p>
|
|
118 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
119 |
<p>
|
|
120 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
121 |
</div>
|
|
122 |
</div><p>
|
240
|
123 |
<a class="anchor" name="be175819de926e00cd1d45b749871dbb"></a><!-- doxytag: member="Slave.h::TestSlave_initialisation" ref="be175819de926e00cd1d45b749871dbb" args="(void)" -->
|
215
|
124 |
<div class="memitem">
|
|
125 |
<div class="memproto">
|
|
126 |
<table class="memname">
|
|
127 |
<tr>
|
|
128 |
<td class="memname">void TestSlave_initialisation </td>
|
|
129 |
<td>(</td>
|
|
130 |
<td class="paramtype">void </td>
|
|
131 |
<td class="paramname"> </td>
|
|
132 |
<td> ) </td>
|
|
133 |
<td width="100%"></td>
|
|
134 |
</tr>
|
|
135 |
</table>
|
|
136 |
</div>
|
|
137 |
<div class="memdoc">
|
|
138 |
|
|
139 |
<p>
|
|
140 |
|
|
141 |
<p>
|
|
142 |
Definition at line <a class="el" href="Slave_8c-source.html#l00033">33</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
143 |
<p>
|
|
144 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
145 |
<p>
|
|
146 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
147 |
</div>
|
|
148 |
</div><p>
|
240
|
149 |
<a class="anchor" name="dbbf37899be8261b0736a9322c6e212a"></a><!-- doxytag: member="Slave.h::TestSlave_operational" ref="dbbf37899be8261b0736a9322c6e212a" args="(void)" -->
|
215
|
150 |
<div class="memitem">
|
|
151 |
<div class="memproto">
|
|
152 |
<table class="memname">
|
|
153 |
<tr>
|
|
154 |
<td class="memname">void TestSlave_operational </td>
|
|
155 |
<td>(</td>
|
|
156 |
<td class="paramtype">void </td>
|
|
157 |
<td class="paramname"> </td>
|
|
158 |
<td> ) </td>
|
|
159 |
<td width="100%"></td>
|
|
160 |
</tr>
|
|
161 |
</table>
|
|
162 |
</div>
|
|
163 |
<div class="memdoc">
|
|
164 |
|
|
165 |
<p>
|
|
166 |
|
|
167 |
<p>
|
|
168 |
Definition at line <a class="el" href="Slave_8c-source.html#l00043">43</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
169 |
<p>
|
|
170 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
171 |
<p>
|
|
172 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
173 |
</div>
|
|
174 |
</div><p>
|
240
|
175 |
<a class="anchor" name="b30abcdc5a47fc21367928db85b4a8f5"></a><!-- doxytag: member="Slave.h::TestSlave_post_sync" ref="b30abcdc5a47fc21367928db85b4a8f5" args="(void)" -->
|
215
|
176 |
<div class="memitem">
|
|
177 |
<div class="memproto">
|
|
178 |
<table class="memname">
|
|
179 |
<tr>
|
|
180 |
<td class="memname">void TestSlave_post_sync </td>
|
|
181 |
<td>(</td>
|
|
182 |
<td class="paramtype">void </td>
|
|
183 |
<td class="paramname"> </td>
|
|
184 |
<td> ) </td>
|
|
185 |
<td width="100%"></td>
|
|
186 |
</tr>
|
|
187 |
</table>
|
|
188 |
</div>
|
|
189 |
<div class="memdoc">
|
|
190 |
|
|
191 |
<p>
|
|
192 |
|
|
193 |
<p>
|
|
194 |
Definition at line <a class="el" href="Slave_8c-source.html#l00053">53</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
195 |
<p>
|
240
|
196 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, <a class="el" href="TestSlave_8c-source.html#l00009">SlaveMap1</a>, <a class="el" href="TestSlave_8c-source.html#l00018">SlaveMap10</a>, <a class="el" href="TestSlave_8c-source.html#l00019">SlaveMap11</a>, <a class="el" href="TestSlave_8c-source.html#l00020">SlaveMap12</a>, <a class="el" href="TestSlave_8c-source.html#l00021">SlaveMap13</a>, <a class="el" href="TestSlave_8c-source.html#l00010">SlaveMap2</a>, <a class="el" href="TestSlave_8c-source.html#l00011">SlaveMap3</a>, <a class="el" href="TestSlave_8c-source.html#l00012">SlaveMap4</a>, <a class="el" href="TestSlave_8c-source.html#l00013">SlaveMap5</a>, <a class="el" href="TestSlave_8c-source.html#l00014">SlaveMap6</a>, <a class="el" href="TestSlave_8c-source.html#l00015">SlaveMap7</a>, <a class="el" href="TestSlave_8c-source.html#l00016">SlaveMap8</a>, and <a class="el" href="TestSlave_8c-source.html#l00017">SlaveMap9</a>.
|
|
197 |
<p>
|
|
198 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
199 |
</div>
|
|
200 |
</div><p>
|
|
201 |
<a class="anchor" name="c41c40ecef45e9e2085a2bac354b2595"></a><!-- doxytag: member="Slave.h::TestSlave_post_TPDO" ref="c41c40ecef45e9e2085a2bac354b2595" args="(void)" -->
|
215
|
202 |
<div class="memitem">
|
|
203 |
<div class="memproto">
|
|
204 |
<table class="memname">
|
|
205 |
<tr>
|
|
206 |
<td class="memname">void TestSlave_post_TPDO </td>
|
|
207 |
<td>(</td>
|
|
208 |
<td class="paramtype">void </td>
|
|
209 |
<td class="paramname"> </td>
|
|
210 |
<td> ) </td>
|
|
211 |
<td width="100%"></td>
|
|
212 |
</tr>
|
|
213 |
</table>
|
|
214 |
</div>
|
|
215 |
<div class="memdoc">
|
|
216 |
|
|
217 |
<p>
|
|
218 |
|
|
219 |
<p>
|
240
|
220 |
Definition at line <a class="el" href="Slave_8c-source.html#l00085">85</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
221 |
<p>
|
|
222 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, and <a class="el" href="TestSlave_8c-source.html#l00021">SlaveMap13</a>.
|
|
223 |
<p>
|
|
224 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
225 |
</div>
|
|
226 |
</div><p>
|
|
227 |
<a class="anchor" name="598794b89434bdcd679afc12406cc53c"></a><!-- doxytag: member="Slave.h::TestSlave_preOperational" ref="598794b89434bdcd679afc12406cc53c" args="(void)" -->
|
215
|
228 |
<div class="memitem">
|
|
229 |
<div class="memproto">
|
|
230 |
<table class="memname">
|
|
231 |
<tr>
|
|
232 |
<td class="memname">void TestSlave_preOperational </td>
|
|
233 |
<td>(</td>
|
|
234 |
<td class="paramtype">void </td>
|
|
235 |
<td class="paramname"> </td>
|
|
236 |
<td> ) </td>
|
|
237 |
<td width="100%"></td>
|
|
238 |
</tr>
|
|
239 |
</table>
|
|
240 |
</div>
|
|
241 |
<div class="memdoc">
|
|
242 |
|
|
243 |
<p>
|
|
244 |
|
|
245 |
<p>
|
|
246 |
Definition at line <a class="el" href="Slave_8c-source.html#l00038">38</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
247 |
<p>
|
|
248 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
249 |
<p>
|
|
250 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
251 |
</div>
|
|
252 |
</div><p>
|
240
|
253 |
<a class="anchor" name="7d0e5692a9e255824c9435401f3c317b"></a><!-- doxytag: member="Slave.h::TestSlave_stopped" ref="7d0e5692a9e255824c9435401f3c317b" args="(void)" -->
|
215
|
254 |
<div class="memitem">
|
|
255 |
<div class="memproto">
|
|
256 |
<table class="memname">
|
|
257 |
<tr>
|
|
258 |
<td class="memname">void TestSlave_stopped </td>
|
|
259 |
<td>(</td>
|
|
260 |
<td class="paramtype">void </td>
|
|
261 |
<td class="paramname"> </td>
|
|
262 |
<td> ) </td>
|
|
263 |
<td width="100%"></td>
|
|
264 |
</tr>
|
|
265 |
</table>
|
|
266 |
</div>
|
|
267 |
<div class="memdoc">
|
|
268 |
|
|
269 |
<p>
|
|
270 |
|
|
271 |
<p>
|
|
272 |
Definition at line <a class="el" href="Slave_8c-source.html#l00048">48</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
273 |
<p>
|
|
274 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
275 |
<p>
|
|
276 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
277 |
</div>
|
|
278 |
</div><p>
|
240
|
279 |
<a class="anchor" name="1e047d439fd5887cc80528724fae0ca2"></a><!-- doxytag: member="Slave.h::TestSlave_storeODSubIndex" ref="1e047d439fd5887cc80528724fae0ca2" args="(UNS16 wIndex, UNS8 bSubindex)" -->
|
215
|
280 |
<div class="memitem">
|
|
281 |
<div class="memproto">
|
|
282 |
<table class="memname">
|
|
283 |
<tr>
|
|
284 |
<td class="memname">void TestSlave_storeODSubIndex </td>
|
|
285 |
<td>(</td>
|
|
286 |
<td class="paramtype">UNS16 </td>
|
|
287 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
288 |
</tr>
|
|
289 |
<tr>
|
|
290 |
<td class="paramkey"></td>
|
|
291 |
<td></td>
|
|
292 |
<td class="paramtype">UNS8 </td>
|
|
293 |
<td class="paramname"> <em>bSubindex</em></td><td> </td>
|
|
294 |
</tr>
|
|
295 |
<tr>
|
|
296 |
<td></td>
|
|
297 |
<td>)</td>
|
|
298 |
<td></td><td></td><td width="100%"></td>
|
|
299 |
</tr>
|
|
300 |
</table>
|
|
301 |
</div>
|
|
302 |
<div class="memdoc">
|
|
303 |
|
|
304 |
<p>
|
|
305 |
|
|
306 |
<p>
|
240
|
307 |
Definition at line <a class="el" href="Slave_8c-source.html#l00091">91</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
308 |
<p>
|
|
309 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
310 |
<p>
|
|
311 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
312 |
</div>
|
|
313 |
</div><p>
|
|
314 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:24 2007 for CanFestival by
|
215
|
315 |
<a href="http://www.doxygen.org/index.html">
|
|
316 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
317 |
</body>
|
|
318 |
</html>
|