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.c 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_aa575cee5acc3b84cc5b4489187a1fd3.html">examples</a> » <a class="el" href="dir_4f45567b048264117a95e53b67d9aefb.html">TestMasterSlave</a></div> |
|
22 <h1>Slave.c File Reference</h1><code>#include "<a class="el" href="Slave_8h-source.html">Slave.h</a>"</code><br> |
|
23 <code>#include "<a class="el" href="Master_8h-source.html">Master.h</a>"</code><br> |
|
24 <code>#include "<a class="el" href="TestMasterSlave_8h-source.html">TestMasterSlave.h</a>"</code><br> |
|
25 |
|
26 <p> |
|
27 Include dependency graph for Slave.c:<p><center><img src="Slave_8c__incl.png" border="0" usemap="#examples/TestMasterSlave/Slave.c_map" alt=""></center> |
|
28 <map name="examples/TestMasterSlave/Slave.c_map"> |
|
29 <area href="Slave_8h.html" shape="rect" coords="292,5,353,32" alt=""> |
|
30 <area href="Master_8h.html" shape="rect" coords="289,56,356,83" alt=""> |
|
31 <area href="TestMasterSlave_8h.html" shape="rect" coords="263,107,383,133" alt=""> |
|
32 <area href="TestSlave_8h.html" shape="rect" coords="436,5,519,32" alt=""> |
|
33 <area href="data_8h.html" shape="rect" coords="588,31,641,57" alt=""> |
|
34 <area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="432,56,523,83" alt=""> |
|
35 <area href="win32_2canfestival_8h.html" shape="rect" coords="433,107,521,133" alt=""> |
|
36 <area href="win32_2timerscfg_8h.html" shape="rect" coords="575,81,655,108" alt=""> |
|
37 <area href="can__driver_8h.html" shape="rect" coords="571,183,659,209" alt=""> |
|
38 </map> |
|
39 |
|
40 <p> |
|
41 <a href="Slave_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
42 <tr><td></td></tr> |
|
43 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
44 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#feea6edbb1f58238a49c0e292410d449">TestSlave_heartbeatError</a> (UNS8 heartbeatID)</td></tr> |
|
45 |
|
46 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#ee7e3cdd945d35d48890257d44afc522">TestSlave_initialisation</a> ()</td></tr> |
|
47 |
|
48 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#5e1c535a74c3aa907292c27b098a3af5">TestSlave_preOperational</a> ()</td></tr> |
|
49 |
|
50 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#b3b281beb6cca9520ac6d69b057ace58">TestSlave_operational</a> ()</td></tr> |
|
51 |
|
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#492b2140b6577220c8f6a3ef37e7fba8">TestSlave_stopped</a> ()</td></tr> |
|
53 |
|
54 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#b4e6d39d4f2b797c291976a5fcdeb061">TestSlave_post_sync</a> ()</td></tr> |
|
55 |
|
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Slave_8c.html#fc116705e79ad78a9e32ec33e5226e2d">TestSlave_post_TPDO</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_8c.html#1e047d439fd5887cc80528724fae0ca2">TestSlave_storeODSubIndex</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr> |
|
59 |
|
60 </table> |
|
61 <hr><h2>Function Documentation</h2> |
|
62 <a class="anchor" name="feea6edbb1f58238a49c0e292410d449"></a><!-- doxytag: member="Slave.c::TestSlave_heartbeatError" ref="feea6edbb1f58238a49c0e292410d449" args="(UNS8 heartbeatID)" --> |
|
63 <div class="memitem"> |
|
64 <div class="memproto"> |
|
65 <table class="memname"> |
|
66 <tr> |
|
67 <td class="memname">void TestSlave_heartbeatError </td> |
|
68 <td>(</td> |
|
69 <td class="paramtype">UNS8 </td> |
|
70 <td class="paramname"> <em>heartbeatID</em> </td> |
|
71 <td> ) </td> |
|
72 <td width="100%"></td> |
|
73 </tr> |
|
74 </table> |
|
75 </div> |
|
76 <div class="memdoc"> |
|
77 |
|
78 <p> |
|
79 |
|
80 <p> |
|
81 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>. |
|
82 <p> |
|
83 References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>. |
|
84 <p> |
|
85 Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>. |
|
86 </div> |
|
87 </div><p> |
|
88 <a class="anchor" name="ee7e3cdd945d35d48890257d44afc522"></a><!-- doxytag: member="Slave.c::TestSlave_initialisation" ref="ee7e3cdd945d35d48890257d44afc522" args="()" --> |
|
89 <div class="memitem"> |
|
90 <div class="memproto"> |
|
91 <table class="memname"> |
|
92 <tr> |
|
93 <td class="memname">void TestSlave_initialisation </td> |
|
94 <td>(</td> |
|
95 <td class="paramtype">void </td> |
|
96 <td class="paramname"> </td> |
|
97 <td> ) </td> |
|
98 <td width="100%"></td> |
|
99 </tr> |
|
100 </table> |
|
101 </div> |
|
102 <div class="memdoc"> |
|
103 |
|
104 <p> |
|
105 |
|
106 <p> |
|
107 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>. |
|
108 <p> |
|
109 References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>. |
|
110 <p> |
|
111 Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>. |
|
112 </div> |
|
113 </div><p> |
|
114 <a class="anchor" name="b3b281beb6cca9520ac6d69b057ace58"></a><!-- doxytag: member="Slave.c::TestSlave_operational" ref="b3b281beb6cca9520ac6d69b057ace58" args="()" --> |
|
115 <div class="memitem"> |
|
116 <div class="memproto"> |
|
117 <table class="memname"> |
|
118 <tr> |
|
119 <td class="memname">void TestSlave_operational </td> |
|
120 <td>(</td> |
|
121 <td class="paramtype">void </td> |
|
122 <td class="paramname"> </td> |
|
123 <td> ) </td> |
|
124 <td width="100%"></td> |
|
125 </tr> |
|
126 </table> |
|
127 </div> |
|
128 <div class="memdoc"> |
|
129 |
|
130 <p> |
|
131 |
|
132 <p> |
|
133 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>. |
|
134 <p> |
|
135 References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>. |
|
136 <p> |
|
137 Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>. |
|
138 </div> |
|
139 </div><p> |
|
140 <a class="anchor" name="b4e6d39d4f2b797c291976a5fcdeb061"></a><!-- doxytag: member="Slave.c::TestSlave_post_sync" ref="b4e6d39d4f2b797c291976a5fcdeb061" args="()" --> |
|
141 <div class="memitem"> |
|
142 <div class="memproto"> |
|
143 <table class="memname"> |
|
144 <tr> |
|
145 <td class="memname">void TestSlave_post_sync </td> |
|
146 <td>(</td> |
|
147 <td class="paramtype">void </td> |
|
148 <td class="paramname"> </td> |
|
149 <td> ) </td> |
|
150 <td width="100%"></td> |
|
151 </tr> |
|
152 </table> |
|
153 </div> |
|
154 <div class="memdoc"> |
|
155 |
|
156 <p> |
|
157 |
|
158 <p> |
|
159 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>. |
|
160 <p> |
|
161 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>. |
|
162 <p> |
|
163 Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>. |
|
164 </div> |
|
165 </div><p> |
|
166 <a class="anchor" name="fc116705e79ad78a9e32ec33e5226e2d"></a><!-- doxytag: member="Slave.c::TestSlave_post_TPDO" ref="fc116705e79ad78a9e32ec33e5226e2d" args="()" --> |
|
167 <div class="memitem"> |
|
168 <div class="memproto"> |
|
169 <table class="memname"> |
|
170 <tr> |
|
171 <td class="memname">void TestSlave_post_TPDO </td> |
|
172 <td>(</td> |
|
173 <td class="paramtype">void </td> |
|
174 <td class="paramname"> </td> |
|
175 <td> ) </td> |
|
176 <td width="100%"></td> |
|
177 </tr> |
|
178 </table> |
|
179 </div> |
|
180 <div class="memdoc"> |
|
181 |
|
182 <p> |
|
183 |
|
184 <p> |
|
185 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>. |
|
186 <p> |
|
187 References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>, and <a class="el" href="TestSlave_8c-source.html#l00021">SlaveMap13</a>. |
|
188 <p> |
|
189 Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>. |
|
190 </div> |
|
191 </div><p> |
|
192 <a class="anchor" name="5e1c535a74c3aa907292c27b098a3af5"></a><!-- doxytag: member="Slave.c::TestSlave_preOperational" ref="5e1c535a74c3aa907292c27b098a3af5" args="()" --> |
|
193 <div class="memitem"> |
|
194 <div class="memproto"> |
|
195 <table class="memname"> |
|
196 <tr> |
|
197 <td class="memname">void TestSlave_preOperational </td> |
|
198 <td>(</td> |
|
199 <td class="paramtype">void </td> |
|
200 <td class="paramname"> </td> |
|
201 <td> ) </td> |
|
202 <td width="100%"></td> |
|
203 </tr> |
|
204 </table> |
|
205 </div> |
|
206 <div class="memdoc"> |
|
207 |
|
208 <p> |
|
209 |
|
210 <p> |
|
211 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>. |
|
212 <p> |
|
213 References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>. |
|
214 <p> |
|
215 Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>. |
|
216 </div> |
|
217 </div><p> |
|
218 <a class="anchor" name="492b2140b6577220c8f6a3ef37e7fba8"></a><!-- doxytag: member="Slave.c::TestSlave_stopped" ref="492b2140b6577220c8f6a3ef37e7fba8" args="()" --> |
|
219 <div class="memitem"> |
|
220 <div class="memproto"> |
|
221 <table class="memname"> |
|
222 <tr> |
|
223 <td class="memname">void TestSlave_stopped </td> |
|
224 <td>(</td> |
|
225 <td class="paramtype">void </td> |
|
226 <td class="paramname"> </td> |
|
227 <td> ) </td> |
|
228 <td width="100%"></td> |
|
229 </tr> |
|
230 </table> |
|
231 </div> |
|
232 <div class="memdoc"> |
|
233 |
|
234 <p> |
|
235 |
|
236 <p> |
|
237 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>. |
|
238 <p> |
|
239 References <a class="el" href="TestMasterSlave_8h-source.html#l00026">eprintf</a>. |
|
240 <p> |
|
241 Referenced by <a class="el" href="TestMasterSlave_8c-source.html#l00119">main()</a>. |
|
242 </div> |
|
243 </div><p> |
|
244 <a class="anchor" name="1e047d439fd5887cc80528724fae0ca2"></a><!-- doxytag: member="Slave.c::TestSlave_storeODSubIndex" ref="1e047d439fd5887cc80528724fae0ca2" args="(UNS16 wIndex, UNS8 bSubindex)" --> |
|
245 <div class="memitem"> |
|
246 <div class="memproto"> |
|
247 <table class="memname"> |
|
248 <tr> |
|
249 <td class="memname">void TestSlave_storeODSubIndex </td> |
|
250 <td>(</td> |
|
251 <td class="paramtype">UNS16 </td> |
|
252 <td class="paramname"> <em>wIndex</em>, </td> |
|
253 </tr> |
|
254 <tr> |
|
255 <td class="paramkey"></td> |
|
256 <td></td> |
|
257 <td class="paramtype">UNS8 </td> |
|
258 <td class="paramname"> <em>bSubindex</em></td><td> </td> |
|
259 </tr> |
|
260 <tr> |
|
261 <td></td> |
|
262 <td>)</td> |
|
263 <td></td><td></td><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#l00091">91</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> |
|
279 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:23 2007 for CanFestival by |
|
280 <a href="http://www.doxygen.org/index.html"> |
|
281 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
282 </body> |
|
283 </html> |
|