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">
|
|
21 |
<a class="el" href="dir_fc8d77725c328f9de5a130dceab5a508.html">examples</a> » <a class="el" href="dir_cb9d6d827bc8780b4808994475b6fec1.html">TestMasterSlave</a></div>
|
|
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">
|
|
27 |
<area href="TestSlave_8h.html" shape="rect" coords="311,299,409,323" alt="">
|
|
28 |
<area href="data_8h.html" shape="rect" coords="460,299,524,323" alt="">
|
|
29 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="729,251,817,275" alt="">
|
|
30 |
<area href="def_8h.html" shape="rect" coords="745,32,801,56" alt="">
|
|
31 |
<area href="can_8h.html" shape="rect" coords="597,203,656,227" alt="">
|
|
32 |
<area href="objdictdef_8h.html" shape="rect" coords="576,155,677,179" alt="">
|
|
33 |
<area href="objacces_8h.html" shape="rect" coords="580,299,673,323" alt="">
|
|
34 |
<area href="sdo_8h.html" shape="rect" coords="597,251,656,275" alt="">
|
|
35 |
<area href="pdo_8h.html" shape="rect" coords="597,56,656,80" alt="">
|
|
36 |
<area href="states_8h.html" shape="rect" coords="589,395,664,419" alt="">
|
|
37 |
<area href="lifegrd_8h.html" shape="rect" coords="588,347,665,371" alt="">
|
|
38 |
<area href="sync_8h.html" shape="rect" coords="593,443,660,467" alt="">
|
|
39 |
<area href="nmtMaster_8h.html" shape="rect" coords="573,491,680,515" alt="">
|
|
40 |
</map>
|
|
41 |
|
|
42 |
<p>
|
|
43 |
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>
|
|
44 |
<map name="examples/TestMasterSlave/Slave.hdep_map">
|
|
45 |
<area href="Master_8c.html" shape="rect" coords="343,6,604,30" alt="">
|
|
46 |
<area href="Slave_8c.html" shape="rect" coords="347,54,600,78" alt="">
|
|
47 |
<area href="TestMasterSlave_8c.html" shape="rect" coords="311,102,636,126" alt="">
|
|
48 |
</map>
|
|
49 |
|
|
50 |
<p>
|
|
51 |
<a href="Slave_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
52 |
<tr><td></td></tr>
|
|
53 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#3b6e386d835d62130c852cd252282b7c">TestSlave_heartbeatError</a> (UNS8)</td></tr>
|
|
55 |
|
|
56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#7d9cc68cd28289d8ce0449cc69252041">TestSlave_canSend</a> (<a class="el" href="structMessage.html">Message</a> *)</td></tr>
|
|
57 |
|
|
58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#cb436d617db36acd2e9868d5cfb557f6">TestSlave_initialisation</a> (void)</td></tr>
|
|
59 |
|
|
60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#e389b5fe447194be5b3e1d613ff0b904">TestSlave_preOperational</a> (void)</td></tr>
|
|
61 |
|
|
62 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#8a1a8bbf6ba08e3f37dcf2bc287c1f71">TestSlave_operational</a> (void)</td></tr>
|
|
63 |
|
|
64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#96183a276490a2d87f2c16698d44949e">TestSlave_stopped</a> (void)</td></tr>
|
|
65 |
|
|
66 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#7798adaab0419a47fd8eeaef6dac8005">TestSlave_post_sync</a> (void)</td></tr>
|
|
67 |
|
|
68 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#b261705d9ac398a3c52041323d6b5b7c">TestSlave_post_TPDO</a> (void)</td></tr>
|
|
69 |
|
|
70 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8h.html#0461b31d30605aa041476ae5ef4656b7">TestSlave_storeODSubIndex</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr>
|
|
71 |
|
|
72 |
</table>
|
|
73 |
<hr><h2>Function Documentation</h2>
|
|
74 |
<a class="anchor" name="7d9cc68cd28289d8ce0449cc69252041"></a><!-- doxytag: member="Slave.h::TestSlave_canSend" ref="7d9cc68cd28289d8ce0449cc69252041" args="(Message *)" -->
|
|
75 |
<div class="memitem">
|
|
76 |
<div class="memproto">
|
|
77 |
<table class="memname">
|
|
78 |
<tr>
|
|
79 |
<td class="memname">UNS8 TestSlave_canSend </td>
|
|
80 |
<td>(</td>
|
|
81 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
82 |
<td class="paramname"> </td>
|
|
83 |
<td> ) </td>
|
|
84 |
<td width="100%"></td>
|
|
85 |
</tr>
|
|
86 |
</table>
|
|
87 |
</div>
|
|
88 |
<div class="memdoc">
|
|
89 |
|
|
90 |
<p>
|
|
91 |
|
|
92 |
</div>
|
|
93 |
</div><p>
|
|
94 |
<a class="anchor" name="3b6e386d835d62130c852cd252282b7c"></a><!-- doxytag: member="Slave.h::TestSlave_heartbeatError" ref="3b6e386d835d62130c852cd252282b7c" args="(UNS8)" -->
|
|
95 |
<div class="memitem">
|
|
96 |
<div class="memproto">
|
|
97 |
<table class="memname">
|
|
98 |
<tr>
|
|
99 |
<td class="memname">void TestSlave_heartbeatError </td>
|
|
100 |
<td>(</td>
|
|
101 |
<td class="paramtype">UNS8 </td>
|
|
102 |
<td class="paramname"> </td>
|
|
103 |
<td> ) </td>
|
|
104 |
<td width="100%"></td>
|
|
105 |
</tr>
|
|
106 |
</table>
|
|
107 |
</div>
|
|
108 |
<div class="memdoc">
|
|
109 |
|
|
110 |
<p>
|
|
111 |
|
|
112 |
<p>
|
|
113 |
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>.
|
|
114 |
<p>
|
|
115 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
116 |
<p>
|
|
117 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
118 |
</div>
|
|
119 |
</div><p>
|
|
120 |
<a class="anchor" name="cb436d617db36acd2e9868d5cfb557f6"></a><!-- doxytag: member="Slave.h::TestSlave_initialisation" ref="cb436d617db36acd2e9868d5cfb557f6" args="(void)" -->
|
|
121 |
<div class="memitem">
|
|
122 |
<div class="memproto">
|
|
123 |
<table class="memname">
|
|
124 |
<tr>
|
|
125 |
<td class="memname">void TestSlave_initialisation </td>
|
|
126 |
<td>(</td>
|
|
127 |
<td class="paramtype">void </td>
|
|
128 |
<td class="paramname"> </td>
|
|
129 |
<td> ) </td>
|
|
130 |
<td width="100%"></td>
|
|
131 |
</tr>
|
|
132 |
</table>
|
|
133 |
</div>
|
|
134 |
<div class="memdoc">
|
|
135 |
|
|
136 |
<p>
|
|
137 |
|
|
138 |
<p>
|
|
139 |
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>.
|
|
140 |
<p>
|
|
141 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
142 |
<p>
|
|
143 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
144 |
</div>
|
|
145 |
</div><p>
|
|
146 |
<a class="anchor" name="8a1a8bbf6ba08e3f37dcf2bc287c1f71"></a><!-- doxytag: member="Slave.h::TestSlave_operational" ref="8a1a8bbf6ba08e3f37dcf2bc287c1f71" args="(void)" -->
|
|
147 |
<div class="memitem">
|
|
148 |
<div class="memproto">
|
|
149 |
<table class="memname">
|
|
150 |
<tr>
|
|
151 |
<td class="memname">void TestSlave_operational </td>
|
|
152 |
<td>(</td>
|
|
153 |
<td class="paramtype">void </td>
|
|
154 |
<td class="paramname"> </td>
|
|
155 |
<td> ) </td>
|
|
156 |
<td width="100%"></td>
|
|
157 |
</tr>
|
|
158 |
</table>
|
|
159 |
</div>
|
|
160 |
<div class="memdoc">
|
|
161 |
|
|
162 |
<p>
|
|
163 |
|
|
164 |
<p>
|
|
165 |
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>.
|
|
166 |
<p>
|
|
167 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
168 |
<p>
|
|
169 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
170 |
</div>
|
|
171 |
</div><p>
|
|
172 |
<a class="anchor" name="7798adaab0419a47fd8eeaef6dac8005"></a><!-- doxytag: member="Slave.h::TestSlave_post_sync" ref="7798adaab0419a47fd8eeaef6dac8005" args="(void)" -->
|
|
173 |
<div class="memitem">
|
|
174 |
<div class="memproto">
|
|
175 |
<table class="memname">
|
|
176 |
<tr>
|
|
177 |
<td class="memname">void TestSlave_post_sync </td>
|
|
178 |
<td>(</td>
|
|
179 |
<td class="paramtype">void </td>
|
|
180 |
<td class="paramname"> </td>
|
|
181 |
<td> ) </td>
|
|
182 |
<td width="100%"></td>
|
|
183 |
</tr>
|
|
184 |
</table>
|
|
185 |
</div>
|
|
186 |
<div class="memdoc">
|
|
187 |
|
|
188 |
<p>
|
|
189 |
|
|
190 |
<p>
|
|
191 |
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>.
|
|
192 |
<p>
|
|
193 |
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#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>.
|
|
194 |
<p>
|
|
195 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
196 |
</div>
|
|
197 |
</div><p>
|
|
198 |
<a class="anchor" name="b261705d9ac398a3c52041323d6b5b7c"></a><!-- doxytag: member="Slave.h::TestSlave_post_TPDO" ref="b261705d9ac398a3c52041323d6b5b7c" args="(void)" -->
|
|
199 |
<div class="memitem">
|
|
200 |
<div class="memproto">
|
|
201 |
<table class="memname">
|
|
202 |
<tr>
|
|
203 |
<td class="memname">void TestSlave_post_TPDO </td>
|
|
204 |
<td>(</td>
|
|
205 |
<td class="paramtype">void </td>
|
|
206 |
<td class="paramname"> </td>
|
|
207 |
<td> ) </td>
|
|
208 |
<td width="100%"></td>
|
|
209 |
</tr>
|
|
210 |
</table>
|
|
211 |
</div>
|
|
212 |
<div class="memdoc">
|
|
213 |
|
|
214 |
<p>
|
|
215 |
|
|
216 |
<p>
|
|
217 |
Definition at line <a class="el" href="Slave_8c-source.html#l00071">71</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
218 |
<p>
|
|
219 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
220 |
<p>
|
|
221 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
222 |
</div>
|
|
223 |
</div><p>
|
|
224 |
<a class="anchor" name="e389b5fe447194be5b3e1d613ff0b904"></a><!-- doxytag: member="Slave.h::TestSlave_preOperational" ref="e389b5fe447194be5b3e1d613ff0b904" args="(void)" -->
|
|
225 |
<div class="memitem">
|
|
226 |
<div class="memproto">
|
|
227 |
<table class="memname">
|
|
228 |
<tr>
|
|
229 |
<td class="memname">void TestSlave_preOperational </td>
|
|
230 |
<td>(</td>
|
|
231 |
<td class="paramtype">void </td>
|
|
232 |
<td class="paramname"> </td>
|
|
233 |
<td> ) </td>
|
|
234 |
<td width="100%"></td>
|
|
235 |
</tr>
|
|
236 |
</table>
|
|
237 |
</div>
|
|
238 |
<div class="memdoc">
|
|
239 |
|
|
240 |
<p>
|
|
241 |
|
|
242 |
<p>
|
|
243 |
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>.
|
|
244 |
<p>
|
|
245 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
246 |
<p>
|
|
247 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
248 |
</div>
|
|
249 |
</div><p>
|
|
250 |
<a class="anchor" name="96183a276490a2d87f2c16698d44949e"></a><!-- doxytag: member="Slave.h::TestSlave_stopped" ref="96183a276490a2d87f2c16698d44949e" args="(void)" -->
|
|
251 |
<div class="memitem">
|
|
252 |
<div class="memproto">
|
|
253 |
<table class="memname">
|
|
254 |
<tr>
|
|
255 |
<td class="memname">void TestSlave_stopped </td>
|
|
256 |
<td>(</td>
|
|
257 |
<td class="paramtype">void </td>
|
|
258 |
<td class="paramname"> </td>
|
|
259 |
<td> ) </td>
|
|
260 |
<td width="100%"></td>
|
|
261 |
</tr>
|
|
262 |
</table>
|
|
263 |
</div>
|
|
264 |
<div class="memdoc">
|
|
265 |
|
|
266 |
<p>
|
|
267 |
|
|
268 |
<p>
|
|
269 |
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>.
|
|
270 |
<p>
|
|
271 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
272 |
<p>
|
|
273 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
274 |
</div>
|
|
275 |
</div><p>
|
|
276 |
<a class="anchor" name="0461b31d30605aa041476ae5ef4656b7"></a><!-- doxytag: member="Slave.h::TestSlave_storeODSubIndex" ref="0461b31d30605aa041476ae5ef4656b7" args="(UNS16 wIndex, UNS8 bSubindex)" -->
|
|
277 |
<div class="memitem">
|
|
278 |
<div class="memproto">
|
|
279 |
<table class="memname">
|
|
280 |
<tr>
|
|
281 |
<td class="memname">void TestSlave_storeODSubIndex </td>
|
|
282 |
<td>(</td>
|
|
283 |
<td class="paramtype">UNS16 </td>
|
|
284 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
285 |
</tr>
|
|
286 |
<tr>
|
|
287 |
<td class="paramkey"></td>
|
|
288 |
<td></td>
|
|
289 |
<td class="paramtype">UNS8 </td>
|
|
290 |
<td class="paramname"> <em>bSubindex</em></td><td> </td>
|
|
291 |
</tr>
|
|
292 |
<tr>
|
|
293 |
<td></td>
|
|
294 |
<td>)</td>
|
|
295 |
<td></td><td></td><td width="100%"></td>
|
|
296 |
</tr>
|
|
297 |
</table>
|
|
298 |
</div>
|
|
299 |
<div class="memdoc">
|
|
300 |
|
|
301 |
<p>
|
|
302 |
|
|
303 |
<p>
|
|
304 |
Definition at line <a class="el" href="Slave_8c-source.html#l00076">76</a> of file <a class="el" href="Slave_8c-source.html">Slave.c</a>.
|
|
305 |
<p>
|
|
306 |
References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>.
|
|
307 |
<p>
|
|
308 |
Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>.
|
|
309 |
</div>
|
|
310 |
</div><p>
|
|
311 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:50 2007 for CanFestival by
|
|
312 |
<a href="http://www.doxygen.org/index.html">
|
|
313 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
314 |
</body>
|
|
315 |
</html>
|