16 <ul> |
16 <ul> |
17 <li><a href="files.html"><span>File List</span></a></li> |
17 <li><a href="files.html"><span>File List</span></a></li> |
18 <li><a href="globals.html"><span>Globals</span></a></li> |
18 <li><a href="globals.html"><span>Globals</span></a></li> |
19 </ul></div> |
19 </ul></div> |
20 <div class="nav"> |
20 <div class="nav"> |
21 <a class="el" href="dir_2209bfb26110ae52d50da4cefad5e72f.html">include</a> » <a class="el" href="dir_65da0ca4ab83a270e0e926b35586fa52.html">timers_xeno</a></div> |
21 <a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a> » <a class="el" href="dir_f0ad55fdd975443e6c8bf117e04b4e64.html">timers_xeno</a></div> |
22 <h1>timerscfg.h</h1><a href="timers__xeno_2timerscfg_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
22 <h1>timerscfg.h</h1><a href="timers__xeno_2timerscfg_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
23 <a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span> |
23 <a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span> |
24 <a name="l00003"></a>00003 <span class="comment"></span> |
24 <a name="l00003"></a>00003 <span class="comment"></span> |
25 <a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span> |
25 <a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span> |
26 <a name="l00005"></a>00005 <span class="comment"></span> |
26 <a name="l00005"></a>00005 <span class="comment"></span> |
49 <a name="l00028"></a>00028 <span class="preprocessor">#include <native/mutex.h></span> |
49 <a name="l00028"></a>00028 <span class="preprocessor">#include <native/mutex.h></span> |
50 <a name="l00029"></a>00029 <span class="preprocessor">#include <native/alarm.h></span> |
50 <a name="l00029"></a>00029 <span class="preprocessor">#include <native/alarm.h></span> |
51 <a name="l00030"></a>00030 |
51 <a name="l00030"></a>00030 |
52 <a name="l00031"></a>00031 <span class="comment">// Time unit : ns</span> |
52 <a name="l00031"></a>00031 <span class="comment">// Time unit : ns</span> |
53 <a name="l00032"></a>00032 <span class="comment">// Time resolution : 64bit (~584 years)</span> |
53 <a name="l00032"></a>00032 <span class="comment">// Time resolution : 64bit (~584 years)</span> |
54 <a name="l00033"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#6ae11f09e1ebf40f3562857272fab8bf">00033</a> <span class="preprocessor">#define TIMEVAL RTIME</span> |
54 <a name="l00033"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#dea5fb459bddd6fd539cdf665dd657e6">00033</a> <span class="preprocessor">#define TIMEVAL RTIME</span> |
55 <a name="l00034"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#35b2fd1a5f6b88bf3842ba3663e6f85e">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define TIMEVAL_MAX ~(RTIME)0</span> |
55 <a name="l00034"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#9b8b68779cc690a9f699155420328d0f">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define TIMEVAL_MAX ~(RTIME)0</span> |
56 <a name="l00035"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#ee85d2eeabff670269ebc2e00251ac6d">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define MS_TO_TIMEVAL(ms) (RTIME)ms*1000000</span> |
56 <a name="l00035"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#ffc50d6b8321e910d6d4821b2aecfa92">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define MS_TO_TIMEVAL(ms) (RTIME)ms*1000000</span> |
57 <a name="l00036"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#56849fe35cb6cbe17f7768a2d3af62f8">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define US_TO_TIMEVAL(us) (RTIME)us*1000</span> |
57 <a name="l00036"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#5f44d2f770d3bd711510372589f5ae9c">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define US_TO_TIMEVAL(us) (RTIME)us*1000</span> |
58 <a name="l00037"></a>00037 <span class="preprocessor"></span> |
58 <a name="l00037"></a>00037 <span class="preprocessor"></span> |
59 <a name="l00038"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#07c1b78efc83716fac9e31b9862f7e60">00038</a> <span class="preprocessor">#define TASK_HANDLE RT_TASK</span> |
59 <a name="l00038"></a><a class="code" href="timers__xeno_2timerscfg_8h.html#69c1aff70ae463b42314dc6689cb7400">00038</a> <span class="preprocessor">#define TASK_HANDLE RT_TASK</span> |
60 <a name="l00039"></a>00039 <span class="preprocessor"></span> |
60 <a name="l00039"></a>00039 <span class="preprocessor"></span> |
61 <a name="l00040"></a>00040 <span class="preprocessor">#endif</span> |
61 <a name="l00040"></a>00040 <span class="preprocessor">#endif</span> |
62 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:39 2007 for CanFestival by |
62 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:16 2007 for CanFestival by |
63 <a href="http://www.doxygen.org/index.html"> |
63 <a href="http://www.doxygen.org/index.html"> |
64 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
64 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
65 </body> |
65 </body> |
66 </html> |
66 </html> |