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">
|
215
|
3 |
<title>CanFestival: src/sync.c File Reference</title>
|
207
|
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>
|
215
|
11 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
207
|
12 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
215
|
13 |
<li><a href="dirs.html"><span>Directories</span></a></li>
|
207
|
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>
|
215
|
20 |
<div class="nav">
|
|
21 |
<a class="el" href="dir_c0a169d39c08973f879fd54f07b9e9f7.html">src</a></div>
|
|
22 |
<h1>sync.c File Reference</h1><code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br>
|
|
23 |
<code>#include "<a class="el" href="sync_8h-source.html">sync.h</a>"</code><br>
|
|
24 |
<code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br>
|
|
25 |
|
|
26 |
<p>
|
|
27 |
Include dependency graph for sync.c:<p><center><img src="sync_8c__incl.png" border="0" usemap="#src/sync.c_map" alt=""></center>
|
|
28 |
<map name="src/sync.c_map">
|
|
29 |
<area href="data_8h.html" shape="rect" coords="322,296,386,320" alt="">
|
|
30 |
<area href="sync_8h.html" shape="rect" coords="474,6,540,30" alt="">
|
|
31 |
<area href="win32_2canfestival_8h.html" shape="rect" coords="146,566,252,590" alt="">
|
|
32 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="731,396,819,420" alt="">
|
|
33 |
<area href="def_8h.html" shape="rect" coords="615,84,671,108" alt="">
|
|
34 |
<area href="can_8h.html" shape="rect" coords="478,542,536,566" alt="">
|
|
35 |
<area href="objdictdef_8h.html" shape="rect" coords="456,248,558,272" alt="">
|
|
36 |
<area href="objacces_8h.html" shape="rect" coords="460,395,554,419" alt="">
|
|
37 |
<area href="sdo_8h.html" shape="rect" coords="478,443,536,467" alt="">
|
|
38 |
<area href="pdo_8h.html" shape="rect" coords="478,152,536,176" alt="">
|
|
39 |
<area href="states_8h.html" shape="rect" coords="470,200,544,224" alt="">
|
|
40 |
<area href="lifegrd_8h.html" shape="rect" coords="468,296,546,320" alt="">
|
|
41 |
<area href="nmtMaster_8h.html" shape="rect" coords="454,104,560,128" alt="">
|
|
42 |
<area href="config_8h.html" shape="rect" coords="738,84,812,108" alt="">
|
|
43 |
<area href="timer_8h.html" shape="rect" coords="608,468,678,492" alt="">
|
|
44 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="726,543,824,567" alt="">
|
|
45 |
<area href="can__driver_8h.html" shape="rect" coords="302,566,406,590" alt="">
|
|
46 |
</map>
|
210
|
47 |
|
|
48 |
<p>
|
207
|
49 |
<a href="sync_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
50 |
<tr><td></td></tr>
|
|
51 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
215
|
52 |
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 id)</td></tr>
|
|
53 |
|
|
54 |
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, const <a class="el" href="structtd__indextable.html">indextable</a> *unsused_indextable, UNS8 unsused_bSubindex)</td></tr>
|
|
55 |
|
|
56 |
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
|
|
57 |
|
|
58 |
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
|
|
59 |
|
|
60 |
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cob_id)</td></tr>
|
|
61 |
|
|
62 |
<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> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
|
207
|
63 |
|
|
64 |
<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>
|
|
65 |
|
|
66 |
<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>
|
|
67 |
|
|
68 |
</table>
|
210
|
69 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
70 |
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
|
|
71 |
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
|
|
72 |
|
|
73 |
<p>
|
|
74 |
Definition in file <a class="el" href="sync_8c-source.html">sync.c</a>.<hr><h2>Function Documentation</h2>
|
207
|
75 |
<a class="anchor" name="a5e0cde14192eb72627526bb75c033c5"></a><!-- doxytag: member="sync.c::_post_sync" ref="a5e0cde14192eb72627526bb75c033c5" args="()" -->
|
|
76 |
<div class="memitem">
|
|
77 |
<div class="memproto">
|
|
78 |
<table class="memname">
|
|
79 |
<tr>
|
|
80 |
<td class="memname">void _post_sync </td>
|
|
81 |
<td>(</td>
|
215
|
82 |
<td class="paramtype">void </td>
|
207
|
83 |
<td class="paramname"> </td>
|
|
84 |
<td> ) </td>
|
|
85 |
<td width="100%"></td>
|
|
86 |
</tr>
|
|
87 |
</table>
|
|
88 |
</div>
|
|
89 |
<div class="memdoc">
|
|
90 |
|
|
91 |
<p>
|
|
92 |
|
|
93 |
<p>
|
210
|
94 |
Definition at line <a class="el" href="sync_8c-source.html#l00293">293</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
207
|
95 |
</div>
|
|
96 |
</div><p>
|
|
97 |
<a class="anchor" name="c4082a05eed4b4c472f4ff2f7323dd28"></a><!-- doxytag: member="sync.c::_post_TPDO" ref="c4082a05eed4b4c472f4ff2f7323dd28" args="()" -->
|
|
98 |
<div class="memitem">
|
|
99 |
<div class="memproto">
|
|
100 |
<table class="memname">
|
|
101 |
<tr>
|
|
102 |
<td class="memname">void _post_TPDO </td>
|
|
103 |
<td>(</td>
|
215
|
104 |
<td class="paramtype">void </td>
|
207
|
105 |
<td class="paramname"> </td>
|
|
106 |
<td> ) </td>
|
|
107 |
<td width="100%"></td>
|
|
108 |
</tr>
|
|
109 |
</table>
|
|
110 |
</div>
|
|
111 |
<div class="memdoc">
|
|
112 |
|
|
113 |
<p>
|
|
114 |
|
|
115 |
<p>
|
210
|
116 |
Definition at line <a class="el" href="sync_8c-source.html#l00294">294</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
207
|
117 |
</div>
|
|
118 |
</div><p>
|
|
119 |
<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)" -->
|
|
120 |
<div class="memitem">
|
|
121 |
<div class="memproto">
|
|
122 |
<table class="memname">
|
|
123 |
<tr>
|
|
124 |
<td class="memname">UNS32 OnCOB_ID_SyncUpdate </td>
|
|
125 |
<td>(</td>
|
215
|
126 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
127 |
<td class="paramname"> <em>d</em>, </td>
|
|
128 |
</tr>
|
|
129 |
<tr>
|
|
130 |
<td class="paramkey"></td>
|
|
131 |
<td></td>
|
215
|
132 |
<td class="paramtype">const <a class="el" href="structtd__indextable.html">indextable</a> * </td>
|
207
|
133 |
<td class="paramname"> <em>unsused_indextable</em>, </td>
|
|
134 |
</tr>
|
|
135 |
<tr>
|
|
136 |
<td class="paramkey"></td>
|
|
137 |
<td></td>
|
|
138 |
<td class="paramtype">UNS8 </td>
|
|
139 |
<td class="paramname"> <em>unsused_bSubindex</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>
|
210
|
151 |
This is called when Index 0x1005 is updated.<p>
|
|
152 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
153 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
154 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
155 |
<tr><td valign="top"></td><td valign="top"><em>unsused_indextable</em> </td><td></td></tr>
|
|
156 |
<tr><td valign="top"></td><td valign="top"><em>unsused_bSubindex</em> </td><td></td></tr>
|
|
157 |
</table>
|
|
158 |
</dl>
|
|
159 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
160 |
|
|
161 |
<p>
|
|
162 |
Definition at line <a class="el" href="sync_8c-source.html#l00069">69</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
163 |
<p>
|
215
|
164 |
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, and <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>.
|
210
|
165 |
<p>
|
|
166 |
Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>.
|
|
167 |
<p>
|
|
168 |
Here is the call graph for this function:<p><center><img src="sync_8c_82595787f641ab85980d83522f1158b0_cgraph.png" border="0" usemap="#sync_8c_82595787f641ab85980d83522f1158b0_cgraph_map" alt=""></center>
|
|
169 |
<map name="sync_8c_82595787f641ab85980d83522f1158b0_cgraph_map">
|
|
170 |
<area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="236,78,324,102" alt="">
|
|
171 |
<area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="374,6,587,30" alt="">
|
|
172 |
<area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="439,54,522,78" alt="">
|
|
173 |
<area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="436,102,524,126" alt="">
|
|
174 |
<area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="434,150,527,174" alt="">
|
|
175 |
<area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="635,6,747,30" alt="">
|
|
176 |
<area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="650,102,732,126" alt="">
|
|
177 |
<area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="646,150,736,174" alt="">
|
215
|
178 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="812,126,892,150" alt="">
|
|
179 |
<area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="796,174,908,198" alt="">
|
210
|
180 |
</map>
|
|
181 |
|
207
|
182 |
</div>
|
|
183 |
</div><p>
|
|
184 |
<a class="anchor" name="80cadcba23dc859db8a8d3f52789d6d1"></a><!-- doxytag: member="sync.c::proceedSYNC" ref="80cadcba23dc859db8a8d3f52789d6d1" args="(CO_Data *d, Message *m)" -->
|
|
185 |
<div class="memitem">
|
|
186 |
<div class="memproto">
|
|
187 |
<table class="memname">
|
|
188 |
<tr>
|
|
189 |
<td class="memname">UNS8 proceedSYNC </td>
|
|
190 |
<td>(</td>
|
215
|
191 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
192 |
<td class="paramname"> <em>d</em>, </td>
|
|
193 |
</tr>
|
|
194 |
<tr>
|
|
195 |
<td class="paramkey"></td>
|
|
196 |
<td></td>
|
215
|
197 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
207
|
198 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
199 |
</tr>
|
|
200 |
<tr>
|
|
201 |
<td></td>
|
|
202 |
<td>)</td>
|
|
203 |
<td></td><td></td><td width="100%"></td>
|
|
204 |
</tr>
|
|
205 |
</table>
|
|
206 |
</div>
|
|
207 |
<div class="memdoc">
|
|
208 |
|
|
209 |
<p>
|
210
|
210 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
211 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
212 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
213 |
<tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr>
|
|
214 |
</table>
|
|
215 |
</dl>
|
|
216 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
217 |
|
|
218 |
<p>
|
|
219 |
Definition at line <a class="el" href="sync_8c-source.html#l00141">141</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
220 |
<p>
|
215
|
221 |
References <a class="el" href="objdictdef_8h-source.html#l00108">td_indextable::bSubCount</a>, <a class="el" href="pdo_8c-source.html#l00430">CopyBits()</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="data_8h-source.html#l00049">struct_CO_Data::count_sync</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="objacces_8c-source.html#l00198">getODentry()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="objdictdef_8h-source.html#l00120">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00121">s_quick_index::PDO_TRS_MAP</a>, <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="data_8h-source.html#l00082">struct_CO_Data::post_sync</a>, <a class="el" href="data_8h-source.html#l00083">struct_CO_Data::post_TPDO</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00122">state10</a>, <a class="el" href="def_8h-source.html#l00123">state11</a>, <a class="el" href="def_8h-source.html#l00115">state3</a>, <a class="el" href="def_8h-source.html#l00116">state4</a>, <a class="el" href="def_8h-source.html#l00117">state5</a>, <a class="el" href="def_8h-source.html#l00119">state7</a>, <a class="el" href="def_8h-source.html#l00120">state8</a>, <a class="el" href="def_8h-source.html#l00121">state9</a>, <a class="el" href="objdictdef_8h-source.html#l00077">TRANS_SYNC_MAX</a>, <a class="el" href="objdictdef_8h-source.html#l00076">TRANS_SYNC_MIN</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
210
|
222 |
<p>
|
|
223 |
Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>, and <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>.
|
|
224 |
<p>
|
|
225 |
Here is the call graph for this function:<p><center><img src="sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph.png" border="0" usemap="#sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph_map" alt=""></center>
|
|
226 |
<map name="sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph_map">
|
|
227 |
<area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="179,6,259,30" alt="">
|
215
|
228 |
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="169,54,268,78" alt="">
|
|
229 |
<area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="177,102,260,126" alt="">
|
|
230 |
<area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="319,54,425,78" alt="">
|
210
|
231 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="476,54,644,78" alt="">
|
215
|
232 |
<area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="331,102,413,126" alt="">
|
|
233 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="520,102,600,126" alt="">
|
|
234 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="695,102,825,126" alt="">
|
210
|
235 |
</map>
|
|
236 |
|
207
|
237 |
</div>
|
|
238 |
</div><p>
|
|
239 |
<a class="anchor" name="0bcc501eb14c12365ffbaa3453905b50"></a><!-- doxytag: member="sync.c::sendSYNC" ref="0bcc501eb14c12365ffbaa3453905b50" args="(CO_Data *d, UNS32 cob_id)" -->
|
|
240 |
<div class="memitem">
|
|
241 |
<div class="memproto">
|
|
242 |
<table class="memname">
|
|
243 |
<tr>
|
|
244 |
<td class="memname">UNS8 sendSYNC </td>
|
|
245 |
<td>(</td>
|
215
|
246 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
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>cob_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>
|
210
|
265 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
266 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
267 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
268 |
<tr><td valign="top"></td><td valign="top"><em>cob_id</em> </td><td></td></tr>
|
|
269 |
</table>
|
|
270 |
</dl>
|
|
271 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
272 |
|
|
273 |
<p>
|
|
274 |
Definition at line <a class="el" href="sync_8c-source.html#l00118">118</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
275 |
<p>
|
215
|
276 |
References <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
|
210
|
277 |
<p>
|
|
278 |
Referenced by <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>.
|
|
279 |
<p>
|
|
280 |
Here is the call graph for this function:<p><center><img src="sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph.png" border="0" usemap="#sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph_map" alt=""></center>
|
|
281 |
<map name="sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph_map">
|
215
|
282 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="659,32,739,56" alt="">
|
|
283 |
<area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="146,80,258,104" alt="">
|
|
284 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="834,32,964,56" alt="">
|
|
285 |
<area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="318,104,398,128" alt="">
|
|
286 |
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="308,152,407,176" alt="">
|
|
287 |
<area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="316,56,399,80" alt="">
|
|
288 |
<area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="458,152,564,176" alt="">
|
|
289 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="615,152,783,176" alt="">
|
|
290 |
<area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="470,56,552,80" alt="">
|
210
|
291 |
</map>
|
|
292 |
|
207
|
293 |
</div>
|
|
294 |
</div><p>
|
|
295 |
<a class="anchor" name="2e0bf669f5b40dfbdda0f12a5ae3631a"></a><!-- doxytag: member="sync.c::startSYNC" ref="2e0bf669f5b40dfbdda0f12a5ae3631a" args="(CO_Data *d)" -->
|
|
296 |
<div class="memitem">
|
|
297 |
<div class="memproto">
|
|
298 |
<table class="memname">
|
|
299 |
<tr>
|
|
300 |
<td class="memname">void startSYNC </td>
|
|
301 |
<td>(</td>
|
215
|
302 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
303 |
<td class="paramname"> <em>d</em> </td>
|
|
304 |
<td> ) </td>
|
|
305 |
<td width="100%"></td>
|
|
306 |
</tr>
|
|
307 |
</table>
|
|
308 |
</div>
|
|
309 |
<div class="memdoc">
|
|
310 |
|
|
311 |
<p>
|
210
|
312 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
313 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
314 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
315 |
</table>
|
|
316 |
</dl>
|
|
317 |
|
|
318 |
<p>
|
|
319 |
Definition at line <a class="el" href="sync_8c-source.html#l00080">80</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
320 |
<p>
|
215
|
321 |
References <a class="el" href="data_8h-source.html#l00079">struct_CO_Data::COB_ID_Sync</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sync_8c-source.html#l00069">OnCOB_ID_SyncUpdate()</a>, <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>, <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>, <a class="el" href="sync_8c-source.html#l00105">stopSYNC()</a>, <a class="el" href="data_8h-source.html#l00080">struct_CO_Data::Sync_Cycle_Period</a>, <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>, <a class="el" href="data_8h-source.html#l00078">struct_CO_Data::syncTimer</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00157">US_TO_TIMEVAL</a>.
|
210
|
322 |
<p>
|
|
323 |
Referenced by <a class="el" href="sync_8c-source.html#l00069">OnCOB_ID_SyncUpdate()</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
|
|
324 |
<p>
|
|
325 |
Here is the call graph for this function:<p><center><img src="sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph.png" border="0" usemap="#sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph_map" alt=""></center>
|
|
326 |
<map name="sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph_map">
|
215
|
327 |
<area href="sync_8c.html#82595787f641ab85980d83522f1158b0" shape="rect" coords="162,6,340,30" alt="">
|
|
328 |
<area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="144,54,358,78" alt="">
|
|
329 |
<area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="210,102,292,126" alt="">
|
210
|
330 |
<area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="207,150,295,174" alt="">
|
215
|
331 |
<area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="204,198,298,222" alt="">
|
|
332 |
<area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="406,54,518,78" alt="">
|
210
|
333 |
<area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="420,150,503,174" alt="">
|
|
334 |
<area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="416,198,507,222" alt="">
|
215
|
335 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="583,162,663,186" alt="">
|
|
336 |
<area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="567,234,679,258" alt="">
|
|
337 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="730,150,860,174" alt="">
|
|
338 |
<area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="755,198,835,222" alt="">
|
|
339 |
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="746,246,844,270" alt="">
|
|
340 |
<area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="754,294,836,318" alt="">
|
210
|
341 |
</map>
|
|
342 |
|
207
|
343 |
</div>
|
|
344 |
</div><p>
|
|
345 |
<a class="anchor" name="41c47dbd59d22bf9bab6cd288cf27164"></a><!-- doxytag: member="sync.c::stopSYNC" ref="41c47dbd59d22bf9bab6cd288cf27164" args="(CO_Data *d)" -->
|
|
346 |
<div class="memitem">
|
|
347 |
<div class="memproto">
|
|
348 |
<table class="memname">
|
|
349 |
<tr>
|
|
350 |
<td class="memname">void stopSYNC </td>
|
|
351 |
<td>(</td>
|
215
|
352 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
353 |
<td class="paramname"> <em>d</em> </td>
|
|
354 |
<td> ) </td>
|
|
355 |
<td width="100%"></td>
|
|
356 |
</tr>
|
|
357 |
</table>
|
|
358 |
</div>
|
|
359 |
<div class="memdoc">
|
|
360 |
|
|
361 |
<p>
|
210
|
362 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
363 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
364 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
365 |
</table>
|
|
366 |
</dl>
|
|
367 |
|
|
368 |
<p>
|
|
369 |
Definition at line <a class="el" href="sync_8c-source.html#l00105">105</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
370 |
<p>
|
215
|
371 |
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="timer_8c-source.html#l00112">DelAlarm()</a>, and <a class="el" href="data_8h-source.html#l00078">struct_CO_Data::syncTimer</a>.
|
210
|
372 |
<p>
|
|
373 |
Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
|
|
374 |
<p>
|
|
375 |
Here is the call graph for this function:<p><center><img src="sync_8c_41c47dbd59d22bf9bab6cd288cf27164_cgraph.png" border="0" usemap="#sync_8c_41c47dbd59d22bf9bab6cd288cf27164_cgraph_map" alt=""></center>
|
|
376 |
<map name="sync_8c_41c47dbd59d22bf9bab6cd288cf27164_cgraph_map">
|
|
377 |
<area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="143,6,225,30" alt="">
|
|
378 |
</map>
|
|
379 |
|
207
|
380 |
</div>
|
|
381 |
</div><p>
|
|
382 |
<a class="anchor" name="bbcce7b549414c7bc1aa72fa66258b45"></a><!-- doxytag: member="sync.c::SyncAlarm" ref="bbcce7b549414c7bc1aa72fa66258b45" args="(CO_Data *d, UNS32 id)" -->
|
|
383 |
<div class="memitem">
|
|
384 |
<div class="memproto">
|
|
385 |
<table class="memname">
|
|
386 |
<tr>
|
|
387 |
<td class="memname">void SyncAlarm </td>
|
|
388 |
<td>(</td>
|
215
|
389 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
390 |
<td class="paramname"> <em>d</em>, </td>
|
|
391 |
</tr>
|
|
392 |
<tr>
|
|
393 |
<td class="paramkey"></td>
|
|
394 |
<td></td>
|
|
395 |
<td class="paramtype">UNS32 </td>
|
|
396 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
397 |
</tr>
|
|
398 |
<tr>
|
|
399 |
<td></td>
|
|
400 |
<td>)</td>
|
|
401 |
<td></td><td></td><td width="100%"></td>
|
|
402 |
</tr>
|
|
403 |
</table>
|
|
404 |
</div>
|
|
405 |
<div class="memdoc">
|
|
406 |
|
|
407 |
<p>
|
210
|
408 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
409 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
410 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
411 |
<tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr>
|
|
412 |
</table>
|
|
413 |
</dl>
|
|
414 |
|
|
415 |
<p>
|
|
416 |
Definition at line <a class="el" href="sync_8c-source.html#l00055">55</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
|
|
417 |
<p>
|
215
|
418 |
References <a class="el" href="data_8h-source.html#l00079">struct_CO_Data::COB_ID_Sync</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, and <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>.
|
210
|
419 |
<p>
|
|
420 |
Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>.
|
|
421 |
<p>
|
|
422 |
Here is the call graph for this function:<p><center><img src="sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph.png" border="0" usemap="#sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph_map" alt=""></center>
|
|
423 |
<map name="sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph_map">
|
215
|
424 |
<area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="150,32,240,56" alt="">
|
|
425 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="759,80,839,104" alt="">
|
|
426 |
<area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="290,80,402,104" alt="">
|
|
427 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="890,80,1020,104" alt="">
|
|
428 |
<area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="462,56,542,80" alt="">
|
|
429 |
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="452,104,551,128" alt="">
|
|
430 |
<area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="460,152,543,176" alt="">
|
|
431 |
<area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="602,104,708,128" alt="">
|
|
432 |
<area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="614,152,696,176" alt="">
|
|
433 |
</map>
|
|
434 |
|
|
435 |
</div>
|
|
436 |
</div><p>
|
|
437 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:16 2007 for CanFestival by
|
207
|
438 |
<a href="http://www.doxygen.org/index.html">
|
|
439 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
440 |
</body>
|
|
441 |
</html>
|