doc/doxygen/html/timers__driver_8h.html
author etisserant
Fri, 01 Feb 2008 18:06:55 +0100
changeset 378 d2abf6c8c27b
parent 240 34654679f262
permissions -rw-r--r--
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.

Concerned callbacks :

initialisation
preOperational
operational
stopped
heartbeatError
post_sync
post_TPDO
post_SlaveBootup
storeODSubIndex
post_emcy
<!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: include/timers_driver.h 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&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
<h1>timers_driver.h File Reference</h1><code>#include &quot;<a class="el" href="win32_2timerscfg_8h-source.html">timerscfg.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="timer_8h-source.html">timer.h</a>&quot;</code><br>

<p>
Include dependency graph for timers_driver.h:<p><center><img src="timers__driver_8h__incl.png" border="0" usemap="#include/timers_driver.h_map" alt=""></center>
<map name="include/timers_driver.h_map">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="311,81,391,108" alt="">
<area href="timer_8h.html" shape="rect" coords="201,132,260,159" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="677,411,752,437" alt="">
<area href="data_8h.html" shape="rect" coords="324,309,377,336" alt="">
<area href="def_8h.html" shape="rect" coords="580,107,628,133" alt="">
<area href="can_8h.html" shape="rect" coords="580,233,628,260" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="443,132,528,159" alt="">
<area href="objacces_8h.html" shape="rect" coords="447,537,524,564" alt="">
<area href="sdo_8h.html" shape="rect" coords="461,31,509,57" alt="">
<area href="pdo_8h.html" shape="rect" coords="460,183,511,209" alt="">
<area href="states_8h.html" shape="rect" coords="455,385,516,412" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="452,436,519,463" alt="">
<area href="sync_8h.html" shape="rect" coords="457,284,513,311" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="441,335,529,361" alt="">
<area href="config_8h.html" shape="rect" coords="683,107,747,133" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="timers__driver_8h__dep__incl.png" border="0" usemap="#include/timers_driver.hdep_map" alt=""></center>
<map name="include/timers_driver.hdep_map">
<area href="unix_8c.html" shape="rect" coords="239,5,361,32" alt="">
<area href="drivers__win32_8cpp.html" shape="rect" coords="201,56,399,83" alt="">
<area href="timers__win32_8cpp.html" shape="rect" coords="203,107,397,133" alt="">
<area href="unix_2canfestival_8h.html" shape="rect" coords="220,157,380,184" alt="">
</map>

<p>
<a href="timers__driver_8h-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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__driver_8h.html#aa3c568288a54a9398524255602bbce8">EnterMutex</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__driver_8h.html#887d197b991c23bc11f626ae688abec7">LeaveMutex</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__driver_8h.html#13098034e0ff8ee9fe20d193c82ecb1b">WaitReceiveTaskEnd</a> (TASK_HANDLE)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__driver_8h.html#dd08f21a7c3fcbcd53a2c41b00879fdd">StartTimerLoop</a> (<a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a> init_callback)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__driver_8h.html#8d52f2db8b505e53ace5dd1c2a789d94">StopTimerLoop</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__driver_8h.html#1a890f533adc9b50e2a454fab1a7dc8c">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a>, TASK_HANDLE *, void *)</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="1a890f533adc9b50e2a454fab1a7dc8c"></a><!-- doxytag: member="timers_driver.h::CreateReceiveTask" ref="1a890f533adc9b50e2a454fab1a7dc8c" args="(CAN_PORT, TASK_HANDLE *, void *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CreateReceiveTask           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a>&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TASK_HANDLE *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="timers__unix_8c-source.html#l00071">71</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
</div>
</div><p>
<a class="anchor" name="aa3c568288a54a9398524255602bbce8"></a><!-- doxytag: member="timers_driver.h::EnterMutex" ref="aa3c568288a54a9398524255602bbce8" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnterMutex           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="timers__unix_8c-source.html#l00020">20</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
<p>
References <a class="el" href="timers__unix_8c-source.html#l00010">CanFestival_mutex</a>, and <a class="el" href="timers__win32_8cpp-source.html#l00049">ccritical_section::enter()</a>.
<p>
Here is the call graph for this function:<p><center><img src="timers__driver_8h_aa3c568288a54a9398524255602bbce8_cgraph.png" border="0" usemap="#timers__driver_8h_aa3c568288a54a9398524255602bbce8_cgraph_map" alt=""></center>
<map name="timers__driver_8h_aa3c568288a54a9398524255602bbce8_cgraph_map">
<area href="classccritical__section.html#17e0ee402444af5d8832a009180f5889" shape="rect" coords="140,5,281,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="887d197b991c23bc11f626ae688abec7"></a><!-- doxytag: member="timers_driver.h::LeaveMutex" ref="887d197b991c23bc11f626ae688abec7" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LeaveMutex           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="timers__unix_8c-source.html#l00025">25</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
<p>
References <a class="el" href="timers__unix_8c-source.html#l00010">CanFestival_mutex</a>, and <a class="el" href="timers__win32_8cpp-source.html#l00053">ccritical_section::leave()</a>.
<p>
Here is the call graph for this function:<p><center><img src="timers__driver_8h_887d197b991c23bc11f626ae688abec7_cgraph.png" border="0" usemap="#timers__driver_8h_887d197b991c23bc11f626ae688abec7_cgraph_map" alt=""></center>
<map name="timers__driver_8h_887d197b991c23bc11f626ae688abec7_cgraph_map">
<area href="classccritical__section.html#19dfa90f87f31c901c6e476221100724" shape="rect" coords="144,5,288,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="dd08f21a7c3fcbcd53a2c41b00879fdd"></a><!-- doxytag: member="timers_driver.h::StartTimerLoop" ref="dd08f21a7c3fcbcd53a2c41b00879fdd" args="(TimerCallback_t init_callback)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StartTimerLoop           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a>&nbsp;</td>
          <td class="paramname"> <em>init_callback</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="timers__unix_8c-source.html#l00062">62</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
<p>
References <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00079">initTimer()</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00184">class_timers::resume_timer_thread()</a>, <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00173">class_timers::start_timer_thread()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00150">TIMEVAL</a>.
<p>
Here is the call graph for this function:<p><center><img src="timers__driver_8h_dd08f21a7c3fcbcd53a2c41b00879fdd_cgraph.png" border="0" usemap="#timers__driver_8h_dd08f21a7c3fcbcd53a2c41b00879fdd_cgraph_map" alt=""></center>
<map name="timers__driver_8h_dd08f21a7c3fcbcd53a2c41b00879fdd_cgraph_map">
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="719,12,804,39" alt="">
<area href="canOpenDriver_8c.html#607bd2711b85a87fce51334bb36bad1a" shape="rect" coords="228,215,300,241" alt="">
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="717,164,805,191" alt="">
<area href="classclass__timers.html#04b480308ab6441248d5890997740cd5" shape="rect" coords="160,265,368,292" alt="">
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="228,316,300,343" alt="">
<area href="classclass__timers.html#f126a78002e4ac8c105ae782b7a1efbf" shape="rect" coords="168,113,360,140" alt="">
<area href="classclass__timers.html#0c90706e338a7167cfd38a5e8c3e03d6" shape="rect" coords="689,113,833,140" alt="">
<area href="classclass__timers.html#e54913c9e9072df64466d314b5505bc7" shape="rect" coords="416,63,640,89" alt="">
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="713,63,809,89" alt="">
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="884,63,991,89" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="8d52f2db8b505e53ace5dd1c2a789d94"></a><!-- doxytag: member="timers_driver.h::StopTimerLoop" ref="8d52f2db8b505e53ace5dd1c2a789d94" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StopTimerLoop           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="timers__unix_8c-source.html#l00055">55</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
<p>
References <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00193">class_timers::stop_timer_thread()</a>, and <a class="el" href="timers__unix_8c-source.html#l00018">timer</a>.
<p>
Here is the call graph for this function:<p><center><img src="timers__driver_8h_8d52f2db8b505e53ace5dd1c2a789d94_cgraph.png" border="0" usemap="#timers__driver_8h_8d52f2db8b505e53ace5dd1c2a789d94_cgraph_map" alt=""></center>
<map name="timers__driver_8h_8d52f2db8b505e53ace5dd1c2a789d94_cgraph_map">
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="213,5,299,32" alt="">
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="212,56,300,83" alt="">
<area href="classclass__timers.html#afe8ebe1021bb60687f8cab05a18d34a" shape="rect" coords="160,107,352,133" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="13098034e0ff8ee9fe20d193c82ecb1b"></a><!-- doxytag: member="timers_driver.h::WaitReceiveTaskEnd" ref="13098034e0ff8ee9fe20d193c82ecb1b" args="(TASK_HANDLE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void WaitReceiveTaskEnd           </td>
          <td>(</td>
          <td class="paramtype">TASK_HANDLE&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="timers__unix_8c-source.html#l00076">76</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:35 2007 for CanFestival by&nbsp;
<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>