|
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/Master.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="namespaces.html"><span>Namespaces</span></a></li> |
|
12 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
13 <li id="current"><a href="files.html"><span>Files</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 <h1>examples/TestMasterSlave/Master.c File Reference</h1><code>#include "<a class="el" href="Master_8h.html">Master.h</a>"</code><br> |
|
21 <code>#include "<a class="el" href="Slave_8h.html">Slave.h</a>"</code><br> |
|
22 <code>#include "<a class="el" href="TestMasterSlave_8h.html">TestMasterSlave.h</a>"</code><br> |
|
23 <table border="0" cellpadding="0" cellspacing="0"> |
|
24 <tr><td></td></tr> |
|
25 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#47eb45e75b4db150fb465fcf171ef4b4">TestMaster_heartbeatError</a> (UNS8 heartbeatID)</td></tr> |
|
27 |
|
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#e08dfb379eebaa62524fac5bba2196d5">TestMaster_initialisation</a> ()</td></tr> |
|
29 |
|
30 <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#89903ebdfe78bc9cc97e0d142da9b820">ConfigureSlaveNode</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr> |
|
31 |
|
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#030d780d48bec13bd56374f0c4be26b6">CheckSDOAndContinue</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr> |
|
33 |
|
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#8fe2bae5bb407a3a71ee5fa5ea5d617f">TestMaster_preOperational</a> ()</td></tr> |
|
35 |
|
36 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#81c297f2b4b9676e906286bf46541fc1">TestMaster_operational</a> ()</td></tr> |
|
37 |
|
38 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#897d573cafc13ac80abbc207c0ee41b0">TestMaster_stopped</a> ()</td></tr> |
|
39 |
|
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#9a8f72cab7f649481ca84ab2222dd179">TestMaster_post_sync</a> ()</td></tr> |
|
41 |
|
42 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#5e466aa03eae00c269cf20359a7ee074">TestMaster_post_TPDO</a> ()</td></tr> |
|
43 |
|
44 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
|
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">static </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#ef9c66a2e9f5ef9f6475282320a1ebe9">init_step</a> = 0</td></tr> |
|
46 |
|
47 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#14755b0ad32c861583eb69c946f3d9aa">query_result</a> = 0</td></tr> |
|
48 |
|
49 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#5ac78804c899f5179534e6f75346f23c">waiting_answer</a> = 0</td></tr> |
|
50 |
|
51 </table> |
|
52 <hr><h2>Function Documentation</h2> |
|
53 <a class="anchor" name="030d780d48bec13bd56374f0c4be26b6"></a><!-- doxytag: member="Master.c::CheckSDOAndContinue" ref="030d780d48bec13bd56374f0c4be26b6" args="(CO_Data *d, UNS8 nodeId)" --> |
|
54 <div class="memitem"> |
|
55 <div class="memproto"> |
|
56 <table class="memname"> |
|
57 <tr> |
|
58 <td class="memname">static void CheckSDOAndContinue </td> |
|
59 <td>(</td> |
|
60 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
61 <td class="paramname"> <em>d</em>, </td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td class="paramkey"></td> |
|
65 <td></td> |
|
66 <td class="paramtype">UNS8 </td> |
|
67 <td class="paramname"> <em>nodeId</em></td><td> </td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td></td> |
|
71 <td>)</td> |
|
72 <td></td><td></td><td width="100%"><code> [static]</code></td> |
|
73 </tr> |
|
74 </table> |
|
75 </div> |
|
76 <div class="memdoc"> |
|
77 |
|
78 <p> |
|
79 |
|
80 </div> |
|
81 </div><p> |
|
82 <a class="anchor" name="89903ebdfe78bc9cc97e0d142da9b820"></a><!-- doxytag: member="Master.c::ConfigureSlaveNode" ref="89903ebdfe78bc9cc97e0d142da9b820" args="(CO_Data *d, UNS8 nodeId)" --> |
|
83 <div class="memitem"> |
|
84 <div class="memproto"> |
|
85 <table class="memname"> |
|
86 <tr> |
|
87 <td class="memname">static void ConfigureSlaveNode </td> |
|
88 <td>(</td> |
|
89 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
90 <td class="paramname"> <em>d</em>, </td> |
|
91 </tr> |
|
92 <tr> |
|
93 <td class="paramkey"></td> |
|
94 <td></td> |
|
95 <td class="paramtype">UNS8 </td> |
|
96 <td class="paramname"> <em>nodeId</em></td><td> </td> |
|
97 </tr> |
|
98 <tr> |
|
99 <td></td> |
|
100 <td>)</td> |
|
101 <td></td><td></td><td width="100%"><code> [static]</code></td> |
|
102 </tr> |
|
103 </table> |
|
104 </div> |
|
105 <div class="memdoc"> |
|
106 |
|
107 <p> |
|
108 |
|
109 </div> |
|
110 </div><p> |
|
111 <a class="anchor" name="47eb45e75b4db150fb465fcf171ef4b4"></a><!-- doxytag: member="Master.c::TestMaster_heartbeatError" ref="47eb45e75b4db150fb465fcf171ef4b4" args="(UNS8 heartbeatID)" --> |
|
112 <div class="memitem"> |
|
113 <div class="memproto"> |
|
114 <table class="memname"> |
|
115 <tr> |
|
116 <td class="memname">void TestMaster_heartbeatError </td> |
|
117 <td>(</td> |
|
118 <td class="paramtype">UNS8 </td> |
|
119 <td class="paramname"> <em>heartbeatID</em> </td> |
|
120 <td> ) </td> |
|
121 <td width="100%"></td> |
|
122 </tr> |
|
123 </table> |
|
124 </div> |
|
125 <div class="memdoc"> |
|
126 |
|
127 <p> |
|
128 |
|
129 </div> |
|
130 </div><p> |
|
131 <a class="anchor" name="e08dfb379eebaa62524fac5bba2196d5"></a><!-- doxytag: member="Master.c::TestMaster_initialisation" ref="e08dfb379eebaa62524fac5bba2196d5" args="()" --> |
|
132 <div class="memitem"> |
|
133 <div class="memproto"> |
|
134 <table class="memname"> |
|
135 <tr> |
|
136 <td class="memname">void TestMaster_initialisation </td> |
|
137 <td>(</td> |
|
138 <td class="paramtype">void </td> |
|
139 <td class="paramname"> </td> |
|
140 <td> ) </td> |
|
141 <td width="100%"></td> |
|
142 </tr> |
|
143 </table> |
|
144 </div> |
|
145 <div class="memdoc"> |
|
146 |
|
147 <p> |
|
148 |
|
149 </div> |
|
150 </div><p> |
|
151 <a class="anchor" name="81c297f2b4b9676e906286bf46541fc1"></a><!-- doxytag: member="Master.c::TestMaster_operational" ref="81c297f2b4b9676e906286bf46541fc1" args="()" --> |
|
152 <div class="memitem"> |
|
153 <div class="memproto"> |
|
154 <table class="memname"> |
|
155 <tr> |
|
156 <td class="memname">void TestMaster_operational </td> |
|
157 <td>(</td> |
|
158 <td class="paramtype">void </td> |
|
159 <td class="paramname"> </td> |
|
160 <td> ) </td> |
|
161 <td width="100%"></td> |
|
162 </tr> |
|
163 </table> |
|
164 </div> |
|
165 <div class="memdoc"> |
|
166 |
|
167 <p> |
|
168 |
|
169 </div> |
|
170 </div><p> |
|
171 <a class="anchor" name="9a8f72cab7f649481ca84ab2222dd179"></a><!-- doxytag: member="Master.c::TestMaster_post_sync" ref="9a8f72cab7f649481ca84ab2222dd179" args="()" --> |
|
172 <div class="memitem"> |
|
173 <div class="memproto"> |
|
174 <table class="memname"> |
|
175 <tr> |
|
176 <td class="memname">void TestMaster_post_sync </td> |
|
177 <td>(</td> |
|
178 <td class="paramtype">void </td> |
|
179 <td class="paramname"> </td> |
|
180 <td> ) </td> |
|
181 <td width="100%"></td> |
|
182 </tr> |
|
183 </table> |
|
184 </div> |
|
185 <div class="memdoc"> |
|
186 |
|
187 <p> |
|
188 |
|
189 </div> |
|
190 </div><p> |
|
191 <a class="anchor" name="5e466aa03eae00c269cf20359a7ee074"></a><!-- doxytag: member="Master.c::TestMaster_post_TPDO" ref="5e466aa03eae00c269cf20359a7ee074" args="()" --> |
|
192 <div class="memitem"> |
|
193 <div class="memproto"> |
|
194 <table class="memname"> |
|
195 <tr> |
|
196 <td class="memname">void TestMaster_post_TPDO </td> |
|
197 <td>(</td> |
|
198 <td class="paramtype">void </td> |
|
199 <td class="paramname"> </td> |
|
200 <td> ) </td> |
|
201 <td width="100%"></td> |
|
202 </tr> |
|
203 </table> |
|
204 </div> |
|
205 <div class="memdoc"> |
|
206 |
|
207 <p> |
|
208 |
|
209 </div> |
|
210 </div><p> |
|
211 <a class="anchor" name="8fe2bae5bb407a3a71ee5fa5ea5d617f"></a><!-- doxytag: member="Master.c::TestMaster_preOperational" ref="8fe2bae5bb407a3a71ee5fa5ea5d617f" args="()" --> |
|
212 <div class="memitem"> |
|
213 <div class="memproto"> |
|
214 <table class="memname"> |
|
215 <tr> |
|
216 <td class="memname">void TestMaster_preOperational </td> |
|
217 <td>(</td> |
|
218 <td class="paramtype">void </td> |
|
219 <td class="paramname"> </td> |
|
220 <td> ) </td> |
|
221 <td width="100%"></td> |
|
222 </tr> |
|
223 </table> |
|
224 </div> |
|
225 <div class="memdoc"> |
|
226 |
|
227 <p> |
|
228 |
|
229 </div> |
|
230 </div><p> |
|
231 <a class="anchor" name="897d573cafc13ac80abbc207c0ee41b0"></a><!-- doxytag: member="Master.c::TestMaster_stopped" ref="897d573cafc13ac80abbc207c0ee41b0" args="()" --> |
|
232 <div class="memitem"> |
|
233 <div class="memproto"> |
|
234 <table class="memname"> |
|
235 <tr> |
|
236 <td class="memname">void TestMaster_stopped </td> |
|
237 <td>(</td> |
|
238 <td class="paramtype">void </td> |
|
239 <td class="paramname"> </td> |
|
240 <td> ) </td> |
|
241 <td width="100%"></td> |
|
242 </tr> |
|
243 </table> |
|
244 </div> |
|
245 <div class="memdoc"> |
|
246 |
|
247 <p> |
|
248 |
|
249 </div> |
|
250 </div><p> |
|
251 <hr><h2>Variable Documentation</h2> |
|
252 <a class="anchor" name="ef9c66a2e9f5ef9f6475282320a1ebe9"></a><!-- doxytag: member="Master.c::init_step" ref="ef9c66a2e9f5ef9f6475282320a1ebe9" args="" --> |
|
253 <div class="memitem"> |
|
254 <div class="memproto"> |
|
255 <table class="memname"> |
|
256 <tr> |
|
257 <td class="memname"><a class="el" href="Master_8c.html#ef9c66a2e9f5ef9f6475282320a1ebe9">init_step</a> = 0<code> [static]</code> </td> |
|
258 </tr> |
|
259 </table> |
|
260 </div> |
|
261 <div class="memdoc"> |
|
262 |
|
263 <p> |
|
264 |
|
265 </div> |
|
266 </div><p> |
|
267 <a class="anchor" name="14755b0ad32c861583eb69c946f3d9aa"></a><!-- doxytag: member="Master.c::query_result" ref="14755b0ad32c861583eb69c946f3d9aa" args="" --> |
|
268 <div class="memitem"> |
|
269 <div class="memproto"> |
|
270 <table class="memname"> |
|
271 <tr> |
|
272 <td class="memname">char <a class="el" href="Master_8c.html#14755b0ad32c861583eb69c946f3d9aa">query_result</a> = 0 </td> |
|
273 </tr> |
|
274 </table> |
|
275 </div> |
|
276 <div class="memdoc"> |
|
277 |
|
278 <p> |
|
279 |
|
280 </div> |
|
281 </div><p> |
|
282 <a class="anchor" name="5ac78804c899f5179534e6f75346f23c"></a><!-- doxytag: member="Master.c::waiting_answer" ref="5ac78804c899f5179534e6f75346f23c" args="" --> |
|
283 <div class="memitem"> |
|
284 <div class="memproto"> |
|
285 <table class="memname"> |
|
286 <tr> |
|
287 <td class="memname">char <a class="el" href="Master_8c.html#5ac78804c899f5179534e6f75346f23c">waiting_answer</a> = 0 </td> |
|
288 </tr> |
|
289 </table> |
|
290 </div> |
|
291 <div class="memdoc"> |
|
292 |
|
293 <p> |
|
294 |
|
295 </div> |
|
296 </div><p> |
|
297 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 15:50:45 2007 for CanFestival by |
|
298 <a href="http://www.doxygen.org/index.html"> |
|
299 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
300 </body> |
|
301 </html> |