| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 
 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xenomai API: include/nucleus/timer.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.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main Page</span></a></li>
      <li><a href="pages.html"><span>Related Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label> <u>S</u>earch for </label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>include/nucleus/timer.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Copyright (C) 2001,2002,2003 Philippe Gerum <<a href="mailto:rpm@xenomai.org">rpm@xenomai.org</a>>.</dd></dl>
Xenomai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.<p>
Xenomai is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p>
You should have received a copy of the GNU General Public License along with Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
<p>
<p>
<div class="dynheader">
Include dependency graph for timer.h:</div>
<div class="dynsection">
<p><center><img src="include_2nucleus_2timer_8h__incl.png" border="0" usemap="#include/nucleus/timer.h_map" alt=""></center>
<map name="include/nucleus/timer.h_map">
<area shape="rect" href="timebase_8h.html" title="nucleus/timebase.h" alt="" coords="431,82,564,106"><area shape="rect" href="stat_8h-source.html" title="nucleus/stat.h" alt="" coords="320,156,424,180"><area shape="rect" href="nucleus_2queue_8h-source.html" title="nucleus/queue.h" alt="" coords="448,156,563,180"><area shape="rect" href="nucleus_2types_8h-source.html" title="nucleus/types.h" alt="" coords="316,231,428,255"><area shape="rect" href="assert_8h-source.html" title="nucleus/assert.h" alt="" coords="453,306,571,330"><area shape="rect" href="core_8h-source.html" title="nucleus/core.h" alt="" coords="543,231,649,255"><area shape="rect" href="compiler_8h-source.html" title="nucleus/compiler.h" alt="" coords="301,306,429,330"></map>
</div>
<p>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<p><center><img src="include_2nucleus_2timer_8h__dep__incl.png" border="0" usemap="#include/nucleus/timer.hdep_map" alt=""></center>
<map name="include/nucleus/timer.hdep_map">
<area shape="rect" href="include_2nucleus_2thread_8h-source.html" title="include/nucleus/thread.h" alt="" coords="2441,81,2604,105"><area shape="rect" href="pod_8c.html" title="Real-time pod services." alt="" coords="863,231,993,255"><area shape="rect" href="timebase_8c.html" title="ksrc/nucleus/timebase.c" alt="" coords="4513,231,4676,255"><area shape="rect" href="ksrc_2nucleus_2timer_8c.html" title="ksrc/nucleus/timer.c" alt="" coords="4167,231,4305,255"><area shape="rect" href="alarm_8h.html" title="This file is part of the Xenomai project." alt="" coords="1695,305,1841,329"><area shape="rect" href="include_2native_2timer_8h.html" title="This file is part of the Xenomai project." alt="" coords="121,156,265,180"><area shape="rect" href="nucleus_2pipe_8h-source.html" title="include/nucleus/pipe.h" alt="" coords="2353,156,2503,180"><area shape="rect" href="pod_8h.html" title="Real-time pod interface header." alt="" coords="2544,156,2691,180"><area shape="rect" href="ksrc_2nucleus_2heap_8c.html" title="Dynamic memory allocation services." alt="" coords="3836,231,3975,255"><area shape="rect" href="nucleus_2registry_8c.html" title="This file is part of the Xenomai project." alt="" coords="1017,231,1169,255"><area shape="rect" href="synch_8c.html" title="Thread synchronization services." alt="" coords="3999,231,4143,255"><area shape="rect" href="include_2nucleus_2registry_8h.html" title="This file is part of the Xenomai project." alt="" coords="965,156,1133,180"><area shape="rect" href="select_8h.html" title="file descriptors events multiplexing header." alt="" coords="4329,231,4489,255"><area shape="rect" href="task_8h.html" title="This file is part of the Xenomai project." alt="" coords="1635,156,1776,180"><area shape="rect" href="native_2pipe_8h.html" title="This file is part of the Xenomai project." alt="" coords="1865,305,2004,329"><area shape="rect" href="skins_2native_2module_8c.html" title="This file is part of the Xenomai project." alt="" coords="2348,380,2524,404"><area shape="rect" href="ksrc_2skins_2native_2pipe_8c.html" title="This file is part of the Xenomai project." alt="" coords="1577,380,1737,404"><area shape="rect" href="native_2syscall_8c.html" title="This file is part of the Xenomai project." alt="" coords="1847,380,2023,404"><area shape="rect" href="xenomai_8h-source.html" title="include/nucleus/xenomai.h" alt="" coords="3636,231,3812,255"><area shape="rect" href="rtdm__driver_8h.html" title="Real-Time Driver Model for Xenomai, driver API header." alt="" coords="3448,305,3619,329"><area shape="rect" href="rtdm_2internal_8h-source.html" title="ksrc/skins/rtdm/internal.h" alt="" coords="3269,380,3437,404"><area shape="rect" href="ksrc_2skins_2rtdm_2core_8c.html" title="Real-Time Driver Model for Xenomai, device operation multiplexing." alt="" coords="3447,455,3599,479"><area shape="rect" href="skins_2rtdm_2module_8c.html" title="Real-Time Driver Model for Xenomai." alt="" coords="3623,455,3791,479"><area shape="rect" href="ksrc_2nucleus_2intr_8c.html" title="Interrupt management." alt="" coords="3231,231,3359,255"><area shape="rect" href="map_8c.html" title="ksrc/nucleus/map.c" alt="" coords="2895,231,3031,255"><area shape="rect" href="select_8c.html" title="file descriptors events multiplexing." alt="" coords="3055,305,3199,329"><area shape="rect" href="shadow_8c.html" title="Real-time shadow services." alt="" coords="3055,231,3207,255"><area shape="rect" href="native_2ppd_8h.html" title="This file is part of the Xenomai project." alt="" coords="2532,231,2668,255"><area shape="rect" href="ksrc_2skins_2native_2alarm_8c.html" title="This file is part of the Xenomai project." alt="" coords="117,380,285,404"><area shape="rect" href="ksrc_2skins_2native_2heap_8c.html" title="This file is part of the Xenomai project." alt="" coords="2751,380,2913,404"><area shape="rect" href="ksrc_2skins_2native_2queue_8c.html" title="This file is part of the Xenomai project." alt="" coords="1277,380,1448,404"><area shape="rect" href="ksrc_2skins_2native_2cond_8c.html" title="This file is part of the Xenomai project." alt="" coords="1529,231,1692,255"><area shape="rect" href="ksrc_2skins_2native_2event_8c.html" title="This file is part of the Xenomai project." alt="" coords="1716,231,1884,255"><area shape="rect" href="ksrc_2skins_2native_2intr_8c.html" title="This file is part of the Xenomai project." alt="" coords="1908,231,2060,255"><area shape="rect" href="ksrc_2skins_2native_2mutex_8c.html" title="This file is part of the Xenomai project." alt="" coords="2084,231,2255,255"><area shape="rect" href="ksrc_2skins_2native_2sem_8c.html" title="This file is part of the Xenomai project." alt="" coords="1345,231,1505,255"><area shape="rect" href="ksrc_2skins_2native_2task_8c.html" title="This file is part of the Xenomai project." alt="" coords="679,231,839,255"><area shape="rect" href="ksrc_2skins_2native_2timer_8c.html" title="This file is part of the Xenomai project." alt="" coords="340,231,503,255"><area shape="rect" href="posix_2internal_8h-source.html" title="ksrc/skins/posix/internal.h" alt="" coords="4183,305,4356,329"><area shape="rect" href="drvlib_8c.html" title="Real-Time Driver Model for Xenomai, driver library." alt="" coords="3461,380,3619,404"><area shape="rect" href="device_8c.html" title="Real-Time Driver Model for Xenomai, device management." alt="" coords="3260,455,3423,479"><area shape="rect" href="ksrc_2skins_2posix_2thread_8h-source.html" title="ksrc/skins/posix/thread.h" alt="" coords="4325,380,4493,404"><area shape="rect" href="ksrc_2skins_2posix_2mutex_8h-source.html" title="ksrc/skins/posix/mutex.h" alt="" coords="4140,455,4308,479"><area shape="rect" href="sig_8h-source.html" title="ksrc/skins/posix/sig.h" alt="" coords="4511,455,4657,479"><area shape="rect" href="posix_2syscall_8c.html" title="This file is part of the Xenomai project." alt="" coords="4324,529,4495,553"><area shape="rect" href="ksrc_2skins_2posix_2sem_8h-source.html" title="ksrc/skins/posix/sem.h" alt="" coords="4332,455,4487,479"><area shape="rect" href="native_2heap_8h.html" title="This file is part of the Xenomai project." alt="" coords="2524,305,2668,329"><area shape="rect" href="misc_8h.html" title="This file is part of the Xenomai project." alt="" coords="2255,305,2399,329"><area shape="rect" href="native_2queue_8h.html" title="This file is part of the Xenomai project." alt="" coords="2079,305,2231,329"></map>
</div>
<p>
<a href="include_2nucleus_2timer_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 </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g782e10b2cd24a5c303b316375940ca15">xntimer_destroy</a> (xntimer_t *timer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Release a timer object.  <a href="group__timer.html#g782e10b2cd24a5c303b316375940ca15"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g0ad3c70bed7fe1a45b45ee0875f031ab">xntimer_start</a> (xntimer_t *timer, xnticks_t value, xnticks_t interval, xntmode_t mode)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Arm a timer.  <a href="group__timer.html#g0ad3c70bed7fe1a45b45ee0875f031ab"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g1244411df9784d63d3e2f99016d62643">xntimer_stop</a> (xntimer_t *timer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Disarm a timer.  <a href="group__timer.html#g1244411df9784d63d3e2f99016d62643"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static xnticks_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#ge87b875cf9f6831afffcfee8dabd67a8">xntimer_get_date</a> (xntimer_t *timer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the absolute expiration date.  <a href="group__timer.html#ge87b875cf9f6831afffcfee8dabd67a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static xnticks_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g00d603a038b09e436717b84975b00abf">xntimer_get_timeout</a> (xntimer_t *timer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the relative expiration date.  <a href="group__timer.html#g00d603a038b09e436717b84975b00abf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static xnticks_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#gb0d00a02bf04fdd48987d5d4efa68190">xntimer_get_interval</a> (xntimer_t *timer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the timer interval value.  <a href="group__timer.html#gb0d00a02bf04fdd48987d5d4efa68190"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g5609dd2602efe2c5b04eda28b22b9720">xntimer_get_overruns</a> (xntimer_t *timer, xnticks_t now)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the count of overruns for the last tick.  <a href="group__timer.html#g5609dd2602efe2c5b04eda28b22b9720"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g5cad677279089ef19d3710b1b6452a71">xntimer_freeze</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Freeze all timers (from every time bases).  <a href="group__timer.html#g5cad677279089ef19d3710b1b6452a71"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g26727f15ac845719913dcb703bf0c3fa">xntimer_tick_aperiodic</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Process a timer tick for the aperiodic master time base.  <a href="group__timer.html#g26727f15ac845719913dcb703bf0c3fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#g9b5391e752a8e16d89fb6a99c76bb7b1">xntimer_tick_periodic</a> (xntimer_t *timer)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Process a timer tick for a slave periodic time base.  <a href="group__timer.html#g9b5391e752a8e16d89fb6a99c76bb7b1"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jun 8 18:08:50 2008 for Xenomai API by 
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
 |