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">
|
|
21 |
<a class="el" href="dir_fc8d77725c328f9de5a130dceab5a508.html">examples</a> » <a class="el" href="dir_cb9d6d827bc8780b4808994475b6fec1.html">TestMasterSlave</a></div>
|
|
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">
|
|
29 |
<area href="Master_8h.html" shape="rect" coords="348,5,428,29" alt="">
|
|
30 |
<area href="Slave_8h.html" shape="rect" coords="352,53,424,77" alt="">
|
|
31 |
<area href="TestMasterSlave_8h.html" shape="rect" coords="316,101,460,125" alt="">
|
|
32 |
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="511,5,617,29" alt="">
|
|
33 |
<area href="data_8h.html" shape="rect" coords="687,29,751,53" alt="">
|
|
34 |
<area href="TestSlave_8h.html" shape="rect" coords="515,53,613,77" alt="">
|
|
35 |
<area href="win32_2canfestival_8h.html" shape="rect" coords="511,101,617,125" alt="">
|
|
36 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="669,77,768,101" alt="">
|
|
37 |
<area href="can__driver_8h.html" shape="rect" coords="667,176,771,200" alt="">
|
|
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>
|
|
44 |
<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>
|
|
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#e08dfb379eebaa62524fac5bba2196d5">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#8fe2bae5bb407a3a71ee5fa5ea5d617f">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#81c297f2b4b9676e906286bf46541fc1">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#897d573cafc13ac80abbc207c0ee41b0">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#9a8f72cab7f649481ca84ab2222dd179">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#5e466aa03eae00c269cf20359a7ee074">TestMaster_post_TPDO</a> ()</td></tr>
|
|
57 |
|
|
58 |
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
|
59 |
<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>
|
|
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#5ac78804c899f5179534e6f75346f23c">waiting_answer</a> = 0</td></tr>
|
|
62 |
|
|
63 |
</table>
|
|
64 |
<hr><h2>Function Documentation</h2>
|
|
65 |
<a class="anchor" name="47eb45e75b4db150fb465fcf171ef4b4"></a><!-- doxytag: member="Master.c::TestMaster_heartbeatError" ref="47eb45e75b4db150fb465fcf171ef4b4" args="(UNS8 heartbeatID)" -->
|
|
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>
|
|
89 |
<a class="anchor" name="e08dfb379eebaa62524fac5bba2196d5"></a><!-- doxytag: member="Master.c::TestMaster_initialisation" ref="e08dfb379eebaa62524fac5bba2196d5" args="()" -->
|
|
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>
|
|
113 |
<a class="anchor" name="81c297f2b4b9676e906286bf46541fc1"></a><!-- doxytag: member="Master.c::TestMaster_operational" ref="81c297f2b4b9676e906286bf46541fc1" args="()" -->
|
|
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>
|
|
137 |
<a class="anchor" name="9a8f72cab7f649481ca84ab2222dd179"></a><!-- doxytag: member="Master.c::TestMaster_post_sync" ref="9a8f72cab7f649481ca84ab2222dd179" args="()" -->
|
|
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>
|
|
161 |
<a class="anchor" name="5e466aa03eae00c269cf20359a7ee074"></a><!-- doxytag: member="Master.c::TestMaster_post_TPDO" ref="5e466aa03eae00c269cf20359a7ee074" args="()" -->
|
|
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>
|
|
180 |
Definition at line <a class="el" href="Master_8c-source.html#l00173">173</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="8fe2bae5bb407a3a71ee5fa5ea5d617f"></a><!-- doxytag: member="Master.c::TestMaster_preOperational" ref="8fe2bae5bb407a3a71ee5fa5ea5d617f" args="()" -->
|
|
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>
|
|
209 |
<a class="anchor" name="897d573cafc13ac80abbc207c0ee41b0"></a><!-- doxytag: member="Master.c::TestMaster_stopped" ref="897d573cafc13ac80abbc207c0ee41b0" args="()" -->
|
|
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>
|
|
234 |
<a class="anchor" name="14755b0ad32c861583eb69c946f3d9aa"></a><!-- doxytag: member="Master.c::query_result" ref="14755b0ad32c861583eb69c946f3d9aa" 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#14755b0ad32c861583eb69c946f3d9aa">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#l00170">170</a> of file <a class="el" href="Master_8c-source.html">Master.c</a>.
|
|
249 |
</div>
|
|
250 |
</div><p>
|
|
251 |
<a class="anchor" name="5ac78804c899f5179534e6f75346f23c"></a><!-- doxytag: member="Master.c::waiting_answer" ref="5ac78804c899f5179534e6f75346f23c" 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#5ac78804c899f5179534e6f75346f23c">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#l00171">171</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 Fri Jun 8 08:51:49 2007 for CanFestival by
|
|
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>
|