doc/doxygen/html/timers__driver_8h.html
author etisserant
Mon, 02 Jul 2007 18:22:58 +0200
changeset 236 905677ed00f3
parent 215 f49e5a6b7804
child 240 34654679f262
permissions -rw-r--r--
Full preliminary implementation of TPDO transmit type:
- SYNC (N) (1-240)
- RTR only + SYNC (252)
- RTR only (253)
- EVENT, with timer and inhibit time (254 and 255)

User app have to call sendPDOevent(d) to eventually signal mapped data changes.
Callbacks added to 0x140N, TPDO comm parameters for on the fly timers values change.
TestMasterSlave updated.
<!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_2209bfb26110ae52d50da4cefad5e72f.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="349,8,448,32" alt="">
<area href="timer_8h.html" shape="rect" coords="232,57,301,81" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="652,181,740,205" alt="">
<area href="data_8h.html" shape="rect" coords="367,325,431,349" alt="">
<area href="def_8h.html" shape="rect" coords="668,373,724,397" alt="">
<area href="can_8h.html" shape="rect" coords="520,157,579,181" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="499,448,600,472" alt="">
<area href="objacces_8h.html" shape="rect" coords="503,205,596,229" alt="">
<area href="sdo_8h.html" shape="rect" coords="520,592,579,616" alt="">
<area href="pdo_8h.html" shape="rect" coords="520,349,579,373" alt="">
<area href="states_8h.html" shape="rect" coords="512,253,587,277" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="511,301,588,325" alt="">
<area href="sync_8h.html" shape="rect" coords="516,496,583,520" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="496,544,603,568" alt="">
<area href="config_8h.html" shape="rect" coords="799,373,873,397" 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="280,6,427,30" alt="">
<area href="drivers__win32_8cpp.html" shape="rect" coords="233,54,473,78" alt="">
<area href="timers__win32_8cpp.html" shape="rect" coords="235,102,472,126" alt="">
<area href="unix_2canfestival_8h.html" shape="rect" coords="256,150,451,174" 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#d7fee43b8a44cf8b7036853593044037">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#73d9a4eb941fb20cf6b597840510394b">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#c492d1b5ebd2d99020e72c137beda878">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#c9e1731843825eb55e7a94894e6a8ec5">StartTimerLoop</a> (<a class="el" href="timer_8h.html#f7d102e060339d3730ceae5fea03691b">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#8758484f3cebb0cd44bb247c3f23d5e3">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#3e8cb5b8159f655ee0bac1ea1d2358d4">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>, TASK_HANDLE *, void *)</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="3e8cb5b8159f655ee0bac1ea1d2358d4"></a><!-- doxytag: member="timers_driver.h::CreateReceiveTask" ref="3e8cb5b8159f655ee0bac1ea1d2358d4" 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#7ef59f941603c6680e74fc335523f17e">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="d7fee43b8a44cf8b7036853593044037"></a><!-- doxytag: member="timers_driver.h::EnterMutex" ref="d7fee43b8a44cf8b7036853593044037" 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_d7fee43b8a44cf8b7036853593044037_cgraph.png" border="0" usemap="#timers__driver_8h_d7fee43b8a44cf8b7036853593044037_cgraph_map" alt=""></center>
<map name="timers__driver_8h_d7fee43b8a44cf8b7036853593044037_cgraph_map">
<area href="classccritical__section.html#94af8f7f73229ecc82a303be7e2b0ad0" shape="rect" coords="156,6,329,30" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="73d9a4eb941fb20cf6b597840510394b"></a><!-- doxytag: member="timers_driver.h::LeaveMutex" ref="73d9a4eb941fb20cf6b597840510394b" 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_73d9a4eb941fb20cf6b597840510394b_cgraph.png" border="0" usemap="#timers__driver_8h_73d9a4eb941fb20cf6b597840510394b_cgraph_map" alt=""></center>
<map name="timers__driver_8h_73d9a4eb941fb20cf6b597840510394b_cgraph_map">
<area href="classccritical__section.html#e1f542404005a2f0696ced6c52a8ce3b" shape="rect" coords="158,6,334,30" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="c9e1731843825eb55e7a94894e6a8ec5"></a><!-- doxytag: member="timers_driver.h::StartTimerLoop" ref="c9e1731843825eb55e7a94894e6a8ec5" 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#f7d102e060339d3730ceae5fea03691b">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_c9e1731843825eb55e7a94894e6a8ec5_cgraph.png" border="0" usemap="#timers__driver_8h_c9e1731843825eb55e7a94894e6a8ec5_cgraph_map" alt=""></center>
<map name="timers__driver_8h_c9e1731843825eb55e7a94894e6a8ec5_cgraph_map">
<area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="848,27,947,51" alt="">
<area href="canOpenDriver_8c.html#02922529b60419a94afe8f369dda070b" shape="rect" coords="267,224,349,248" alt="">
<area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="845,173,949,197" alt="">
<area href="classclass__timers.html#e0066fac671c6adb997d6c075487af89" shape="rect" coords="179,272,437,296" alt="">
<area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="267,320,349,344" alt="">
<area href="classclass__timers.html#d857a63670354f41759f68d4ea29a0f5" shape="rect" coords="189,124,427,148" alt="">
<area href="classclass__timers.html#e4fe19b5b56b72ce2601d74f6519bd0b" shape="rect" coords="808,124,987,148" alt="">
<area href="classclass__timers.html#a68dd5b6225b3519b4bc2a0280683c87" shape="rect" coords="487,75,759,99" alt="">
<area href="timer_8c.html#fa75192a3238525618f8cb83004930cc" shape="rect" coords="840,75,955,99" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="8758484f3cebb0cd44bb247c3f23d5e3"></a><!-- doxytag: member="timers_driver.h::StopTimerLoop" ref="8758484f3cebb0cd44bb247c3f23d5e3" 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_8758484f3cebb0cd44bb247c3f23d5e3_cgraph.png" border="0" usemap="#timers__driver_8h_8758484f3cebb0cd44bb247c3f23d5e3_cgraph_map" alt=""></center>
<map name="timers__driver_8h_8758484f3cebb0cd44bb247c3f23d5e3_cgraph_map">
<area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="248,6,347,30" alt="">
<area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="245,54,349,78" alt="">
<area href="classclass__timers.html#a78d9f5ab159ec6b11b4dc4c8f351697" shape="rect" coords="179,102,416,126" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="c492d1b5ebd2d99020e72c137beda878"></a><!-- doxytag: member="timers_driver.h::WaitReceiveTaskEnd" ref="c492d1b5ebd2d99020e72c137beda878" 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 Fri Jun 8 08:52:07 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>