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/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="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>Master.c File Reference</h1><code>#include "<a class="el" href="Master_8h-source.html">Master.h</a>"</code><br>
|
|
23 |
<code>#include "<a class="el" href="Slave_8h-source.html">Slave.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 Master.c:<p><center><img src="Master_8c__incl.png" border="0" usemap="#examples/TestMasterSlave/Master.c_map" alt=""></center>
|
|
28 |
<map name="examples/TestMasterSlave/Master.c_map">
|
240
|
29 |
<area href="Master_8h.html" shape="rect" coords="297,5,364,32" alt="">
|
|
30 |
<area href="Slave_8h.html" shape="rect" coords="300,56,361,83" alt="">
|
|
31 |
<area href="TestMasterSlave_8h.html" shape="rect" coords="271,107,391,133" alt="">
|
|
32 |
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="440,5,531,32" alt="">
|
|
33 |
<area href="data_8h.html" shape="rect" coords="596,31,649,57" alt="">
|
|
34 |
<area href="TestSlave_8h.html" shape="rect" coords="444,56,527,83" alt="">
|
|
35 |
<area href="win32_2canfestival_8h.html" shape="rect" coords="441,107,529,133" alt="">
|
|
36 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="583,81,663,108" alt="">
|
|
37 |
<area href="can__driver_8h.html" shape="rect" coords="579,183,667,209" alt="">
|
215
|
38 |
</map>
|
|
39 |
|
|
40 |
<p>
|
|
41 |
<a href="Master_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>
|
240
|
44 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#ab44b8110510c170a1075227cf400caf">TestMaster_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="Master_8c.html#173d54878164bf1ef49845c8fffbf19f">TestMaster_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="Master_8c.html#9d3d58aa8fa14fe445f0fa13be678d2a">TestMaster_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="Master_8c.html#c7ed44191510ba965044b347870c4ebf">TestMaster_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="Master_8c.html#85ea45ff95b4b9520cc73920d08232a8">TestMaster_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="Master_8c.html#3f440fb00a4dddf2fde3349c2bc8b2d4">TestMaster_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="Master_8c.html#dc95bf1be3ee99722ed0cb2009c38b18">TestMaster_post_TPDO</a> ()</td></tr>
|
215
|
57 |
|
|
58 |
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
240
|
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#0e0d46aa286ab29da7165a53203e1353">query_result</a> = 0</td></tr>
|
|
60 |
|
|
61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="Master_8c.html#ba8696db9402be436133c1f4b9017a84">waiting_answer</a> = 0</td></tr>
|
215
|
62 |
|
|
63 |
</table>
|
|
64 |
<hr><h2>Function Documentation</h2>
|
240
|
65 |
<a class="anchor" name="ab44b8110510c170a1075227cf400caf"></a><!-- doxytag: member="Master.c::TestMaster_heartbeatError" ref="ab44b8110510c170a1075227cf400caf" args="(UNS8 heartbeatID)" -->
|
215
|
66 |
<div class="memitem">
|
|
67 |
<div class="memproto">
|
|
68 |
<table class="memname">
|
|
69 |
<tr>
|
|
70 |
<td class="memname">void TestMaster_heartbeatError </td>
|
|
71 |
<td>(</td>
|
|
72 |
<td class="paramtype">UNS8 </td>
|
|
73 |
<td class="paramname"> <em>heartbeatID</em> </td>
|
|
74 |
<td> ) </td>
|
|
75 |
<td width="100%"></td>
|
|
76 |
</tr>
|
|
77 |
</table>
|
|
78 |
</div>
|
|
79 |
<div class="memdoc">
|
|
80 |
|
|
81 |
<p>
|
|
82 |
|
|
83 |
<p>
|
|
84 |
Definition at line <a class="el" href="Master_8c-source.html#l00028">28</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
85 |
<p>
|
|
86 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
87 |
</div>
|
|
88 |
</div><p>
|
240
|
89 |
<a class="anchor" name="173d54878164bf1ef49845c8fffbf19f"></a><!-- doxytag: member="Master.c::TestMaster_initialisation" ref="173d54878164bf1ef49845c8fffbf19f" args="()" -->
|
215
|
90 |
<div class="memitem">
|
|
91 |
<div class="memproto">
|
|
92 |
<table class="memname">
|
|
93 |
<tr>
|
|
94 |
<td class="memname">void TestMaster_initialisation </td>
|
|
95 |
<td>(</td>
|
|
96 |
<td class="paramtype">void </td>
|
|
97 |
<td class="paramname"> </td>
|
|
98 |
<td> ) </td>
|
|
99 |
<td width="100%"></td>
|
|
100 |
</tr>
|
|
101 |
</table>
|
|
102 |
</div>
|
|
103 |
<div class="memdoc">
|
|
104 |
|
|
105 |
<p>
|
|
106 |
|
|
107 |
<p>
|
|
108 |
Definition at line <a class="el" href="Master_8c-source.html#l00038">38</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
109 |
<p>
|
|
110 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
111 |
</div>
|
|
112 |
</div><p>
|
240
|
113 |
<a class="anchor" name="c7ed44191510ba965044b347870c4ebf"></a><!-- doxytag: member="Master.c::TestMaster_operational" ref="c7ed44191510ba965044b347870c4ebf" args="()" -->
|
215
|
114 |
<div class="memitem">
|
|
115 |
<div class="memproto">
|
|
116 |
<table class="memname">
|
|
117 |
<tr>
|
|
118 |
<td class="memname">void TestMaster_operational </td>
|
|
119 |
<td>(</td>
|
|
120 |
<td class="paramtype">void </td>
|
|
121 |
<td class="paramname"> </td>
|
|
122 |
<td> ) </td>
|
|
123 |
<td width="100%"></td>
|
|
124 |
</tr>
|
|
125 |
</table>
|
|
126 |
</div>
|
|
127 |
<div class="memdoc">
|
|
128 |
|
|
129 |
<p>
|
|
130 |
|
|
131 |
<p>
|
|
132 |
Definition at line <a class="el" href="Master_8c-source.html#l00154">154</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
133 |
<p>
|
|
134 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
135 |
</div>
|
|
136 |
</div><p>
|
240
|
137 |
<a class="anchor" name="3f440fb00a4dddf2fde3349c2bc8b2d4"></a><!-- doxytag: member="Master.c::TestMaster_post_sync" ref="3f440fb00a4dddf2fde3349c2bc8b2d4" args="()" -->
|
215
|
138 |
<div class="memitem">
|
|
139 |
<div class="memproto">
|
|
140 |
<table class="memname">
|
|
141 |
<tr>
|
|
142 |
<td class="memname">void TestMaster_post_sync </td>
|
|
143 |
<td>(</td>
|
|
144 |
<td class="paramtype">void </td>
|
|
145 |
<td class="paramname"> </td>
|
|
146 |
<td> ) </td>
|
|
147 |
<td width="100%"></td>
|
|
148 |
</tr>
|
|
149 |
</table>
|
|
150 |
</div>
|
|
151 |
<div class="memdoc">
|
|
152 |
|
|
153 |
<p>
|
|
154 |
|
|
155 |
<p>
|
|
156 |
Definition at line <a class="el" href="Master_8c-source.html#l00164">164</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
157 |
<p>
|
|
158 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
159 |
</div>
|
|
160 |
</div><p>
|
240
|
161 |
<a class="anchor" name="dc95bf1be3ee99722ed0cb2009c38b18"></a><!-- doxytag: member="Master.c::TestMaster_post_TPDO" ref="dc95bf1be3ee99722ed0cb2009c38b18" args="()" -->
|
215
|
162 |
<div class="memitem">
|
|
163 |
<div class="memproto">
|
|
164 |
<table class="memname">
|
|
165 |
<tr>
|
|
166 |
<td class="memname">void TestMaster_post_TPDO </td>
|
|
167 |
<td>(</td>
|
|
168 |
<td class="paramtype">void </td>
|
|
169 |
<td class="paramname"> </td>
|
|
170 |
<td> ) </td>
|
|
171 |
<td width="100%"></td>
|
|
172 |
</tr>
|
|
173 |
</table>
|
|
174 |
</div>
|
|
175 |
<div class="memdoc">
|
|
176 |
|
|
177 |
<p>
|
|
178 |
|
|
179 |
<p>
|
240
|
180 |
Definition at line <a class="el" href="Master_8c-source.html#l00199">199</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
181 |
<p>
|
|
182 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
183 |
</div>
|
|
184 |
</div><p>
|
|
185 |
<a class="anchor" name="9d3d58aa8fa14fe445f0fa13be678d2a"></a><!-- doxytag: member="Master.c::TestMaster_preOperational" ref="9d3d58aa8fa14fe445f0fa13be678d2a" args="()" -->
|
215
|
186 |
<div class="memitem">
|
|
187 |
<div class="memproto">
|
|
188 |
<table class="memname">
|
|
189 |
<tr>
|
|
190 |
<td class="memname">void TestMaster_preOperational </td>
|
|
191 |
<td>(</td>
|
|
192 |
<td class="paramtype">void </td>
|
|
193 |
<td class="paramname"> </td>
|
|
194 |
<td> ) </td>
|
|
195 |
<td width="100%"></td>
|
|
196 |
</tr>
|
|
197 |
</table>
|
|
198 |
</div>
|
|
199 |
<div class="memdoc">
|
|
200 |
|
|
201 |
<p>
|
|
202 |
|
|
203 |
<p>
|
|
204 |
Definition at line <a class="el" href="Master_8c-source.html#l00146">146</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
205 |
<p>
|
|
206 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
207 |
</div>
|
|
208 |
</div><p>
|
240
|
209 |
<a class="anchor" name="85ea45ff95b4b9520cc73920d08232a8"></a><!-- doxytag: member="Master.c::TestMaster_stopped" ref="85ea45ff95b4b9520cc73920d08232a8" args="()" -->
|
215
|
210 |
<div class="memitem">
|
|
211 |
<div class="memproto">
|
|
212 |
<table class="memname">
|
|
213 |
<tr>
|
|
214 |
<td class="memname">void TestMaster_stopped </td>
|
|
215 |
<td>(</td>
|
|
216 |
<td class="paramtype">void </td>
|
|
217 |
<td class="paramname"> </td>
|
|
218 |
<td> ) </td>
|
|
219 |
<td width="100%"></td>
|
|
220 |
</tr>
|
|
221 |
</table>
|
|
222 |
</div>
|
|
223 |
<div class="memdoc">
|
|
224 |
|
|
225 |
<p>
|
|
226 |
|
|
227 |
<p>
|
|
228 |
Definition at line <a class="el" href="Master_8c-source.html#l00159">159</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
229 |
<p>
|
|
230 |
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
|
|
231 |
</div>
|
|
232 |
</div><p>
|
|
233 |
<hr><h2>Variable Documentation</h2>
|
240
|
234 |
<a class="anchor" name="0e0d46aa286ab29da7165a53203e1353"></a><!-- doxytag: member="Master.c::query_result" ref="0e0d46aa286ab29da7165a53203e1353" args="" -->
|
|
235 |
<div class="memitem">
|
|
236 |
<div class="memproto">
|
|
237 |
<table class="memname">
|
|
238 |
<tr>
|
|
239 |
<td class="memname">char <a class="el" href="Master_8c.html#0e0d46aa286ab29da7165a53203e1353">query_result</a> = 0 </td>
|
|
240 |
</tr>
|
|
241 |
</table>
|
|
242 |
</div>
|
|
243 |
<div class="memdoc">
|
|
244 |
|
|
245 |
<p>
|
|
246 |
|
|
247 |
<p>
|
|
248 |
Definition at line <a class="el" href="Master_8c-source.html#l00183">183</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
249 |
</div>
|
|
250 |
</div><p>
|
|
251 |
<a class="anchor" name="ba8696db9402be436133c1f4b9017a84"></a><!-- doxytag: member="Master.c::waiting_answer" ref="ba8696db9402be436133c1f4b9017a84" args="" -->
|
|
252 |
<div class="memitem">
|
|
253 |
<div class="memproto">
|
|
254 |
<table class="memname">
|
|
255 |
<tr>
|
|
256 |
<td class="memname">char <a class="el" href="Master_8c.html#ba8696db9402be436133c1f4b9017a84">waiting_answer</a> = 0 </td>
|
|
257 |
</tr>
|
|
258 |
</table>
|
|
259 |
</div>
|
|
260 |
<div class="memdoc">
|
|
261 |
|
|
262 |
<p>
|
|
263 |
|
|
264 |
<p>
|
|
265 |
Definition at line <a class="el" href="Master_8c-source.html#l00184">184</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
266 |
</div>
|
|
267 |
</div><p>
|
|
268 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:23 2007 for CanFestival by
|
215
|
269 |
<a href="http://www.doxygen.org/index.html">
|
|
270 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
271 |
</body>
|
|
272 |
</html>
|