Some fixes suggested by Luis Jim?nez, plus some minor enhancements in DCF.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: src/sync.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="dir_0aa10e4f705947227e11e7ccb081fbe4.html">src</a></div>
<h1>sync.c File Reference</h1><code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br>
<code>#include "<a class="el" href="sync_8h-source.html">sync.h</a>"</code><br>
<code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br>
<p>
Include dependency graph for sync.c:<p><center><img src="sync_8c__incl.png" border="0" usemap="#src/sync.c_map" alt=""></center>
<map name="src/sync.c_map">
<area href="data_8h.html" shape="rect" coords="267,360,320,387" alt="">
<area href="sync_8h.html" shape="rect" coords="385,5,441,32" alt="">
<area href="win32_2canfestival_8h.html" shape="rect" coords="129,512,217,539" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="620,360,695,387" alt="">
<area href="def_8h.html" shape="rect" coords="513,81,561,108" alt="">
<area href="can_8h.html" shape="rect" coords="513,259,561,285" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="371,107,456,133" alt="">
<area href="objacces_8h.html" shape="rect" coords="375,309,452,336" alt="">
<area href="sdo_8h.html" shape="rect" coords="389,613,437,640" alt="">
<area href="pdo_8h.html" shape="rect" coords="388,208,439,235" alt="">
<area href="states_8h.html" shape="rect" coords="383,360,444,387" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="380,461,447,488" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="369,411,457,437" alt="">
<area href="config_8h.html" shape="rect" coords="625,81,689,108" alt="">
<area href="timer_8h.html" shape="rect" coords="508,588,567,615" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="617,613,697,640" alt="">
<area href="can__driver_8h.html" shape="rect" coords="369,512,457,539" alt="">
</map>
<p>
<a href="sync_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#4f6067ef03a5c85e07ddd817dd8d948f">SyncAlarm</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 id)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#9bcb477ec78154d3d0d0c9bb60392224">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>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9">startSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4">stopSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e">sendSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cob_id)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197">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>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#4361c24679b77c8c1466f0357fabaa6d">_post_sync</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#8098c6d131b8c2b779a8e06070c818da">_post_TPDO</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
<p>
Definition in file <a class="el" href="sync_8c-source.html">sync.c</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="4361c24679b77c8c1466f0357fabaa6d"></a><!-- doxytag: member="sync.c::_post_sync" ref="4361c24679b77c8c1466f0357fabaa6d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void _post_sync </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sync_8c-source.html#l00164">164</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
</div>
</div><p>
<a class="anchor" name="8098c6d131b8c2b779a8e06070c818da"></a><!-- doxytag: member="sync.c::_post_TPDO" ref="8098c6d131b8c2b779a8e06070c818da" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void _post_TPDO </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sync_8c-source.html#l00165">165</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
</div>
</div><p>
<a class="anchor" name="9bcb477ec78154d3d0d0c9bb60392224"></a><!-- doxytag: member="sync.c::OnCOB_ID_SyncUpdate" ref="9bcb477ec78154d3d0d0c9bb60392224" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 OnCOB_ID_SyncUpdate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structtd__indextable.html">indextable</a> * </td>
<td class="paramname"> <em>unsused_indextable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>unsused_bSubindex</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This is called when Index 0x1005 is updated.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>unsused_indextable</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>unsused_bSubindex</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>.
<p>
Here is the call graph for this function:<p><center><img src="sync_8c_9bcb477ec78154d3d0d0c9bb60392224_cgraph.png" border="0" usemap="#sync_8c_9bcb477ec78154d3d0d0c9bb60392224_cgraph_map" alt=""></center>
<map name="sync_8c_9bcb477ec78154d3d0d0c9bb60392224_cgraph_map">
<area href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9" shape="rect" coords="211,81,291,108" alt="">
<area href="objacces_8c.html#9a512a966532e40f35d3a4201bf54ead" shape="rect" coords="339,5,517,32" alt="">
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="392,56,464,83" alt="">
<area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="389,107,467,133" alt="">
<area href="sync_8c.html#4f6067ef03a5c85e07ddd817dd8d948f" shape="rect" coords="387,157,469,184" alt="">
<area href="objacces_8c.html#b2839d53051e322c12605c1d7f3dc4e5" shape="rect" coords="567,5,660,32" alt="">
<area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="576,107,651,133" alt="">
<area href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e" shape="rect" coords="573,157,653,184" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="725,132,792,159" alt="">
<area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="709,183,808,209" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="89ae8cfbfc53c26248d5d91f689c7197"></a><!-- doxytag: member="sync.c::proceedSYNC" ref="89ae8cfbfc53c26248d5d91f689c7197" args="(CO_Data *d, Message *m)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 proceedSYNC </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
<td class="paramname"> <em>m</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
References <a class="el" href="pdo_8c-source.html#l00442">_sendPDOevent()</a>, <a class="el" href="states_8h-source.html#l00055">s_state_communication::csPDO</a>, <a class="el" href="data_8h-source.html#l00062">struct_CO_Data::CurrentCommunicationState</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</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>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="sync_8c_89ae8cfbfc53c26248d5d91f689c7197_cgraph.png" border="0" usemap="#sync_8c_89ae8cfbfc53c26248d5d91f689c7197_cgraph_map" alt=""></center>
<map name="sync_8c_89ae8cfbfc53c26248d5d91f689c7197_cgraph_map">
<area href="pdo_8c.html#fbf33713253ccf33f9277e31c78a6cb5" shape="rect" coords="153,208,260,235" alt="">
<area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="348,56,423,83" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="352,107,419,133" alt="">
<area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="348,157,423,184" alt="">
<area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="313,208,457,235" alt="">
<area href="pdo_8c.html#adf6445208b9af9b11f66f66a5d1f1f9" shape="rect" coords="311,259,460,285" alt="">
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="349,309,421,336" alt="">
<area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="529,5,601,32" alt="">
<area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="524,56,607,83" alt="">
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="669,56,760,83" alt="">
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="809,56,948,83" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="509,107,621,133" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="9d242846e77a0792d2db7a455c4b955e"></a><!-- doxytag: member="sync.c::sendSYNC" ref="9d242846e77a0792d2db7a455c4b955e" args="(CO_Data *d, UNS32 cob_id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 sendSYNC </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS32 </td>
<td class="paramname"> <em>cob_id</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>cob_id</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
References <a class="el" href="data_8h-source.html#l00087">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>.
<p>
Referenced by <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>.
<p>
Here is the call graph for this function:<p><center><img src="sync_8c_9d242846e77a0792d2db7a455c4b955e_cgraph.png" border="0" usemap="#sync_8c_9d242846e77a0792d2db7a455c4b955e_cgraph_map" alt=""></center>
<map name="sync_8c_9d242846e77a0792d2db7a455c4b955e_cgraph_map">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="483,5,549,32" alt="">
<area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="136,107,235,133" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="640,5,752,32" alt="">
<area href="pdo_8c.html#fbf33713253ccf33f9277e31c78a6cb5" shape="rect" coords="284,157,391,184" alt="">
<area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="479,56,553,83" alt="">
<area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="479,107,553,133" alt="">
<area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="444,157,588,184" alt="">
<area href="pdo_8c.html#adf6445208b9af9b11f66f66a5d1f1f9" shape="rect" coords="441,208,591,235" alt="">
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="480,259,552,285" alt="">
<area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="660,56,732,83" alt="">
<area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="655,107,737,133" alt="">
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="800,107,891,133" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="4a5d93c6c2b82b6449519b1143437ee9"></a><!-- doxytag: member="sync.c::startSYNC" ref="4a5d93c6c2b82b6449519b1143437ee9" args="(CO_Data *d)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void startSYNC </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
</table>
</dl>
<p>
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>.
<p>
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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="sync_8c_4a5d93c6c2b82b6449519b1143437ee9_cgraph.png" border="0" usemap="#sync_8c_4a5d93c6c2b82b6449519b1143437ee9_cgraph_map" alt=""></center>
<map name="sync_8c_4a5d93c6c2b82b6449519b1143437ee9_cgraph_map">
<area href="sync_8c.html#9bcb477ec78154d3d0d0c9bb60392224" shape="rect" coords="144,5,301,32" alt="">
<area href="objacces_8c.html#9a512a966532e40f35d3a4201bf54ead" shape="rect" coords="133,56,312,83" alt="">
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="187,107,259,133" alt="">
<area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="184,157,261,184" alt="">
<area href="sync_8c.html#4f6067ef03a5c85e07ddd817dd8d948f" shape="rect" coords="181,208,264,235" alt="">
<area href="objacces_8c.html#b2839d53051e322c12605c1d7f3dc4e5" shape="rect" coords="361,56,455,83" alt="">
<area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="371,157,445,184" alt="">
<area href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e" shape="rect" coords="368,208,448,235" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="520,183,587,209" alt="">
<area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="504,233,603,260" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="3b95ed533faac10bd1f2eabc649e92f4"></a><!-- doxytag: member="sync.c::stopSYNC" ref="3b95ed533faac10bd1f2eabc649e92f4" args="(CO_Data *d)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void stopSYNC </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
</table>
</dl>
<p>
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>.
<p>
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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="sync_8c_3b95ed533faac10bd1f2eabc649e92f4_cgraph.png" border="0" usemap="#sync_8c_3b95ed533faac10bd1f2eabc649e92f4_cgraph_map" alt=""></center>
<map name="sync_8c_3b95ed533faac10bd1f2eabc649e92f4_cgraph_map">
<area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="133,5,208,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="4f6067ef03a5c85e07ddd817dd8d948f"></a><!-- doxytag: member="sync.c::SyncAlarm" ref="4f6067ef03a5c85e07ddd817dd8d948f" args="(CO_Data *d, UNS32 id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SyncAlarm </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS32 </td>
<td class="paramname"> <em>id</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr>
</table>
</dl>
<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>.
<p>
Here is the call graph for this function:<p><center><img src="sync_8c_4f6067ef03a5c85e07ddd817dd8d948f_cgraph.png" border="0" usemap="#sync_8c_4f6067ef03a5c85e07ddd817dd8d948f_cgraph_map" alt=""></center>
<map name="sync_8c_4f6067ef03a5c85e07ddd817dd8d948f_cgraph_map">
<area href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e" shape="rect" coords="137,69,217,96" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="613,5,680,32" alt="">
<area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="267,107,365,133" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="771,5,883,32" alt="">
<area href="pdo_8c.html#fbf33713253ccf33f9277e31c78a6cb5" shape="rect" coords="415,157,521,184" alt="">
<area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="609,56,684,83" alt="">
<area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="609,107,684,133" alt="">
<area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="575,157,719,184" alt="">
<area href="pdo_8c.html#adf6445208b9af9b11f66f66a5d1f1f9" shape="rect" coords="572,208,721,235" alt="">
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="611,259,683,285" alt="">
<area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="791,56,863,83" alt="">
<area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="785,107,868,133" alt="">
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="931,107,1021,133" alt="">
</map>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:42 2007 for CanFestival by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>