|
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_fc8d77725c328f9de5a130dceab5a508.html">examples</a> » <a class="el" href="dir_cb9d6d827bc8780b4808994475b6fec1.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="347,5,419,29" alt=""> |
|
30 <area href="Master_8h.html" shape="rect" coords="343,53,423,77" alt=""> |
|
31 <area href="TestMasterSlave_8h.html" shape="rect" coords="311,101,455,125" alt=""> |
|
32 <area href="TestSlave_8h.html" shape="rect" coords="509,5,608,29" alt=""> |
|
33 <area href="data_8h.html" shape="rect" coords="681,29,745,53" alt=""> |
|
34 <area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="505,53,612,77" alt=""> |
|
35 <area href="win32_2canfestival_8h.html" shape="rect" coords="505,101,612,125" alt=""> |
|
36 <area href="win32_2timerscfg_8h.html" shape="rect" coords="664,77,763,101" alt=""> |
|
37 <area href="can__driver_8h.html" shape="rect" coords="661,176,765,200" 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#da03f81a4976684fe32771da3024e487">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#58b26580ced4c123c0af29a291bbaa00">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#3b4bad40bd7f9f9e5a453ad5a0edca6d">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#a2eebd6dfb45d05dfbe7a5af67b0e16d">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#62ec5241885c4d8a0e620782e9aaa7ec">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#7ddf0673ec8de041368c7aec2edf40cd">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#b10ae2f1c6529172612a290687865585">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#0461b31d30605aa041476ae5ef4656b7">TestSlave_storeODSubIndex</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr> |
|
59 |
|
60 </table> |
|
61 <hr><h2>Function Documentation</h2> |
|
62 <a class="anchor" name="da03f81a4976684fe32771da3024e487"></a><!-- doxytag: member="Slave.c::TestSlave_heartbeatError" ref="da03f81a4976684fe32771da3024e487" 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="58b26580ced4c123c0af29a291bbaa00"></a><!-- doxytag: member="Slave.c::TestSlave_initialisation" ref="58b26580ced4c123c0af29a291bbaa00" 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="a2eebd6dfb45d05dfbe7a5af67b0e16d"></a><!-- doxytag: member="Slave.c::TestSlave_operational" ref="a2eebd6dfb45d05dfbe7a5af67b0e16d" 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="7ddf0673ec8de041368c7aec2edf40cd"></a><!-- doxytag: member="Slave.c::TestSlave_post_sync" ref="7ddf0673ec8de041368c7aec2edf40cd" 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#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="b10ae2f1c6529172612a290687865585"></a><!-- doxytag: member="Slave.c::TestSlave_post_TPDO" ref="b10ae2f1c6529172612a290687865585" 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#l00071">71</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>. |
|
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="3b4bad40bd7f9f9e5a453ad5a0edca6d"></a><!-- doxytag: member="Slave.c::TestSlave_preOperational" ref="3b4bad40bd7f9f9e5a453ad5a0edca6d" 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="62ec5241885c4d8a0e620782e9aaa7ec"></a><!-- doxytag: member="Slave.c::TestSlave_stopped" ref="62ec5241885c4d8a0e620782e9aaa7ec" 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="0461b31d30605aa041476ae5ef4656b7"></a><!-- doxytag: member="Slave.c::TestSlave_storeODSubIndex" ref="0461b31d30605aa041476ae5ef4656b7" 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#l00076">76</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 Fri Jun 8 08:51:50 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> |