207
|
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: /home/epimerde/documents/tc11/CanFestival-3/src/sync.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 id="current"><a href="files.html"><span>Files</span></a></li>
|
|
12 |
</ul></div>
|
|
13 |
<div class="tabs">
|
|
14 |
<ul>
|
|
15 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
16 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
17 |
</ul></div>
|
|
18 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/src/sync.c File Reference</h1><code>#include "data.h"</code><br>
|
|
19 |
<code>#include "sync.h"</code><br>
|
|
20 |
<code>#include "canfestival.h"</code><br>
|
|
21 |
|
|
22 |
<p>
|
|
23 |
<a href="sync_8c-source.html">Go to the source code of this file.</a><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="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45">SyncAlarm</a> (CO_Data *d, UNS32 id)</td></tr>
|
|
27 |
|
|
28 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#82595787f641ab85980d83522f1158b0">OnCOB_ID_SyncUpdate</a> (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)</td></tr>
|
|
29 |
|
|
30 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a">startSYNC</a> (CO_Data *d)</td></tr>
|
|
31 |
|
|
32 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164">stopSYNC</a> (CO_Data *d)</td></tr>
|
|
33 |
|
|
34 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50">sendSYNC</a> (CO_Data *d, UNS32 cob_id)</td></tr>
|
|
35 |
|
|
36 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1">proceedSYNC</a> (CO_Data *d, Message *m)</td></tr>
|
|
37 |
|
|
38 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a5e0cde14192eb72627526bb75c033c5">_post_sync</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="sync_8c.html#c4082a05eed4b4c472f4ff2f7323dd28">_post_TPDO</a> ()</td></tr>
|
|
41 |
|
|
42 |
</table>
|
|
43 |
<hr><h2>Function Documentation</h2>
|
|
44 |
<a class="anchor" name="a5e0cde14192eb72627526bb75c033c5"></a><!-- doxytag: member="sync.c::_post_sync" ref="a5e0cde14192eb72627526bb75c033c5" args="()" -->
|
|
45 |
<div class="memitem">
|
|
46 |
<div class="memproto">
|
|
47 |
<table class="memname">
|
|
48 |
<tr>
|
|
49 |
<td class="memname">void _post_sync </td>
|
|
50 |
<td>(</td>
|
|
51 |
<td class="paramname"> </td>
|
|
52 |
<td> ) </td>
|
|
53 |
<td width="100%"></td>
|
|
54 |
</tr>
|
|
55 |
</table>
|
|
56 |
</div>
|
|
57 |
<div class="memdoc">
|
|
58 |
|
|
59 |
<p>
|
|
60 |
|
|
61 |
<p>
|
|
62 |
Definition at line <a class="el" href="sync_8c-source.html#l00245">245</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
63 |
</div>
|
|
64 |
</div><p>
|
|
65 |
<a class="anchor" name="c4082a05eed4b4c472f4ff2f7323dd28"></a><!-- doxytag: member="sync.c::_post_TPDO" ref="c4082a05eed4b4c472f4ff2f7323dd28" args="()" -->
|
|
66 |
<div class="memitem">
|
|
67 |
<div class="memproto">
|
|
68 |
<table class="memname">
|
|
69 |
<tr>
|
|
70 |
<td class="memname">void _post_TPDO </td>
|
|
71 |
<td>(</td>
|
|
72 |
<td class="paramname"> </td>
|
|
73 |
<td> ) </td>
|
|
74 |
<td width="100%"></td>
|
|
75 |
</tr>
|
|
76 |
</table>
|
|
77 |
</div>
|
|
78 |
<div class="memdoc">
|
|
79 |
|
|
80 |
<p>
|
|
81 |
|
|
82 |
<p>
|
|
83 |
Definition at line <a class="el" href="sync_8c-source.html#l00246">246</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
84 |
</div>
|
|
85 |
</div><p>
|
|
86 |
<a class="anchor" name="82595787f641ab85980d83522f1158b0"></a><!-- doxytag: member="sync.c::OnCOB_ID_SyncUpdate" ref="82595787f641ab85980d83522f1158b0" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" -->
|
|
87 |
<div class="memitem">
|
|
88 |
<div class="memproto">
|
|
89 |
<table class="memname">
|
|
90 |
<tr>
|
|
91 |
<td class="memname">UNS32 OnCOB_ID_SyncUpdate </td>
|
|
92 |
<td>(</td>
|
|
93 |
<td class="paramtype">CO_Data * </td>
|
|
94 |
<td class="paramname"> <em>d</em>, </td>
|
|
95 |
</tr>
|
|
96 |
<tr>
|
|
97 |
<td class="paramkey"></td>
|
|
98 |
<td></td>
|
|
99 |
<td class="paramtype">const indextable * </td>
|
|
100 |
<td class="paramname"> <em>unsused_indextable</em>, </td>
|
|
101 |
</tr>
|
|
102 |
<tr>
|
|
103 |
<td class="paramkey"></td>
|
|
104 |
<td></td>
|
|
105 |
<td class="paramtype">UNS8 </td>
|
|
106 |
<td class="paramname"> <em>unsused_bSubindex</em></td><td> </td>
|
|
107 |
</tr>
|
|
108 |
<tr>
|
|
109 |
<td></td>
|
|
110 |
<td>)</td>
|
|
111 |
<td></td><td></td><td width="100%"></td>
|
|
112 |
</tr>
|
|
113 |
</table>
|
|
114 |
</div>
|
|
115 |
<div class="memdoc">
|
|
116 |
|
|
117 |
<p>
|
|
118 |
|
|
119 |
<p>
|
|
120 |
Definition at line <a class="el" href="sync_8c-source.html#l00043">43</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
121 |
<p>
|
|
122 |
References <a class="el" href="sync_8c-source.html#l00050">startSYNC()</a>.
|
|
123 |
</div>
|
|
124 |
</div><p>
|
|
125 |
<a class="anchor" name="80cadcba23dc859db8a8d3f52789d6d1"></a><!-- doxytag: member="sync.c::proceedSYNC" ref="80cadcba23dc859db8a8d3f52789d6d1" args="(CO_Data *d, Message *m)" -->
|
|
126 |
<div class="memitem">
|
|
127 |
<div class="memproto">
|
|
128 |
<table class="memname">
|
|
129 |
<tr>
|
|
130 |
<td class="memname">UNS8 proceedSYNC </td>
|
|
131 |
<td>(</td>
|
|
132 |
<td class="paramtype">CO_Data * </td>
|
|
133 |
<td class="paramname"> <em>d</em>, </td>
|
|
134 |
</tr>
|
|
135 |
<tr>
|
|
136 |
<td class="paramkey"></td>
|
|
137 |
<td></td>
|
|
138 |
<td class="paramtype">Message * </td>
|
|
139 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
140 |
</tr>
|
|
141 |
<tr>
|
|
142 |
<td></td>
|
|
143 |
<td>)</td>
|
|
144 |
<td></td><td></td><td width="100%"></td>
|
|
145 |
</tr>
|
|
146 |
</table>
|
|
147 |
</div>
|
|
148 |
<div class="memdoc">
|
|
149 |
|
|
150 |
<p>
|
|
151 |
|
|
152 |
<p>
|
|
153 |
Definition at line <a class="el" href="sync_8c-source.html#l00093">93</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
154 |
<p>
|
|
155 |
References <a class="el" href="pdo_8c-source.html#l00376">CopyBits()</a>, <a class="el" href="objacces_8c-source.html#l00145">getODentry()</a>, and <a class="el" href="pdo_8c-source.html#l00061">PDOmGR()</a>.
|
|
156 |
</div>
|
|
157 |
</div><p>
|
|
158 |
<a class="anchor" name="0bcc501eb14c12365ffbaa3453905b50"></a><!-- doxytag: member="sync.c::sendSYNC" ref="0bcc501eb14c12365ffbaa3453905b50" args="(CO_Data *d, UNS32 cob_id)" -->
|
|
159 |
<div class="memitem">
|
|
160 |
<div class="memproto">
|
|
161 |
<table class="memname">
|
|
162 |
<tr>
|
|
163 |
<td class="memname">UNS8 sendSYNC </td>
|
|
164 |
<td>(</td>
|
|
165 |
<td class="paramtype">CO_Data * </td>
|
|
166 |
<td class="paramname"> <em>d</em>, </td>
|
|
167 |
</tr>
|
|
168 |
<tr>
|
|
169 |
<td class="paramkey"></td>
|
|
170 |
<td></td>
|
|
171 |
<td class="paramtype">UNS32 </td>
|
|
172 |
<td class="paramname"> <em>cob_id</em></td><td> </td>
|
|
173 |
</tr>
|
|
174 |
<tr>
|
|
175 |
<td></td>
|
|
176 |
<td>)</td>
|
|
177 |
<td></td><td></td><td width="100%"></td>
|
|
178 |
</tr>
|
|
179 |
</table>
|
|
180 |
</div>
|
|
181 |
<div class="memdoc">
|
|
182 |
|
|
183 |
<p>
|
|
184 |
|
|
185 |
<p>
|
|
186 |
Definition at line <a class="el" href="sync_8c-source.html#l00077">77</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
187 |
<p>
|
|
188 |
References <a class="el" href="sync_8c-source.html#l00093">proceedSYNC()</a>.
|
|
189 |
</div>
|
|
190 |
</div><p>
|
|
191 |
<a class="anchor" name="2e0bf669f5b40dfbdda0f12a5ae3631a"></a><!-- doxytag: member="sync.c::startSYNC" ref="2e0bf669f5b40dfbdda0f12a5ae3631a" args="(CO_Data *d)" -->
|
|
192 |
<div class="memitem">
|
|
193 |
<div class="memproto">
|
|
194 |
<table class="memname">
|
|
195 |
<tr>
|
|
196 |
<td class="memname">void startSYNC </td>
|
|
197 |
<td>(</td>
|
|
198 |
<td class="paramtype">CO_Data * </td>
|
|
199 |
<td class="paramname"> <em>d</em> </td>
|
|
200 |
<td> ) </td>
|
|
201 |
<td width="100%"></td>
|
|
202 |
</tr>
|
|
203 |
</table>
|
|
204 |
</div>
|
|
205 |
<div class="memdoc">
|
|
206 |
|
|
207 |
<p>
|
|
208 |
|
|
209 |
<p>
|
|
210 |
Definition at line <a class="el" href="sync_8c-source.html#l00050">50</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
211 |
<p>
|
|
212 |
References <a class="el" href="sync_8c-source.html#l00043">OnCOB_ID_SyncUpdate()</a>, <a class="el" href="objacces_8c-source.html#l00297">RegisterSetODentryCallBack()</a>, <a class="el" href="timer_8c-source.html#l00038">SetAlarm()</a>, <a class="el" href="sync_8c-source.html#l00071">stopSYNC()</a>, and <a class="el" href="sync_8c-source.html#l00036">SyncAlarm()</a>.
|
|
213 |
</div>
|
|
214 |
</div><p>
|
|
215 |
<a class="anchor" name="41c47dbd59d22bf9bab6cd288cf27164"></a><!-- doxytag: member="sync.c::stopSYNC" ref="41c47dbd59d22bf9bab6cd288cf27164" args="(CO_Data *d)" -->
|
|
216 |
<div class="memitem">
|
|
217 |
<div class="memproto">
|
|
218 |
<table class="memname">
|
|
219 |
<tr>
|
|
220 |
<td class="memname">void stopSYNC </td>
|
|
221 |
<td>(</td>
|
|
222 |
<td class="paramtype">CO_Data * </td>
|
|
223 |
<td class="paramname"> <em>d</em> </td>
|
|
224 |
<td> ) </td>
|
|
225 |
<td width="100%"></td>
|
|
226 |
</tr>
|
|
227 |
</table>
|
|
228 |
</div>
|
|
229 |
<div class="memdoc">
|
|
230 |
|
|
231 |
<p>
|
|
232 |
|
|
233 |
<p>
|
|
234 |
Definition at line <a class="el" href="sync_8c-source.html#l00071">71</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
235 |
<p>
|
|
236 |
References <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>.
|
|
237 |
</div>
|
|
238 |
</div><p>
|
|
239 |
<a class="anchor" name="bbcce7b549414c7bc1aa72fa66258b45"></a><!-- doxytag: member="sync.c::SyncAlarm" ref="bbcce7b549414c7bc1aa72fa66258b45" args="(CO_Data *d, UNS32 id)" -->
|
|
240 |
<div class="memitem">
|
|
241 |
<div class="memproto">
|
|
242 |
<table class="memname">
|
|
243 |
<tr>
|
|
244 |
<td class="memname">void SyncAlarm </td>
|
|
245 |
<td>(</td>
|
|
246 |
<td class="paramtype">CO_Data * </td>
|
|
247 |
<td class="paramname"> <em>d</em>, </td>
|
|
248 |
</tr>
|
|
249 |
<tr>
|
|
250 |
<td class="paramkey"></td>
|
|
251 |
<td></td>
|
|
252 |
<td class="paramtype">UNS32 </td>
|
|
253 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
254 |
</tr>
|
|
255 |
<tr>
|
|
256 |
<td></td>
|
|
257 |
<td>)</td>
|
|
258 |
<td></td><td></td><td width="100%"></td>
|
|
259 |
</tr>
|
|
260 |
</table>
|
|
261 |
</div>
|
|
262 |
<div class="memdoc">
|
|
263 |
|
|
264 |
<p>
|
|
265 |
|
|
266 |
<p>
|
|
267 |
Definition at line <a class="el" href="sync_8c-source.html#l00036">36</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
268 |
<p>
|
|
269 |
References <a class="el" href="sync_8c-source.html#l00077">sendSYNC()</a>.
|
|
270 |
</div>
|
|
271 |
</div><p>
|
|
272 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by
|
|
273 |
<a href="http://www.doxygen.org/index.html">
|
|
274 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
275 |
</body>
|
|
276 |
</html>
|