doc/doxygen/html/timers__unix_8c.html
author nico
Fri, 08 Jun 2007 09:23:56 +0200
changeset 215 f49e5a6b7804
child 240 34654679f262
permissions -rw-r--r--
Manual and Documentation finish
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     3
<title>CanFestival: drivers/timers_unix/timers_unix.c File Reference</title>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     6
</head><body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     8
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     9
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    11
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    12
    <li id="current"><a href="files.html"><span>Files</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    13
    <li><a href="dirs.html"><span>Directories</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    14
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    15
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    16
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    19
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    20
<div class="nav">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    21
<a class="el" href="dir_d58fb241e647de6212c31ecccf9cbace.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_48aec78d2c68f8c6a53202ad028bcb76.html">timers_unix</a></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    22
<h1>timers_unix.c File Reference</h1><code>#include &lt;stdlib.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    23
<code>#include &lt;sys/time.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    24
<code>#include &lt;pthread.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    25
<code>#include &lt;signal.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    26
<code>#include &quot;<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    27
<code>#include &quot;<a class="el" href="timer_8h-source.html">timer.h</a>&quot;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    28
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    29
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    30
Include dependency graph for timers_unix.c:<p><center><img src="timers__unix_8c__incl.png" border="0" usemap="#drivers/timers_unix/timers_unix.c_map" alt=""></center>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    31
<map name="drivers/timers_unix/timers_unix.c_map">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    32
<area href="win32_2applicfg_8h.html" shape="rect" coords="745,349,833,373" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    33
<area href="timer_8h.html" shape="rect" coords="313,301,383,325" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    34
<area href="win32_2timerscfg_8h.html" shape="rect" coords="443,56,541,80" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    35
<area href="data_8h.html" shape="rect" coords="460,301,524,325" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    36
<area href="def_8h.html" shape="rect" coords="761,155,817,179" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    37
<area href="can_8h.html" shape="rect" coords="613,301,672,325" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    38
<area href="objdictdef_8h.html" shape="rect" coords="592,445,693,469" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    39
<area href="objacces_8h.html" shape="rect" coords="596,349,689,373" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    40
<area href="sdo_8h.html" shape="rect" coords="613,56,672,80" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    41
<area href="pdo_8h.html" shape="rect" coords="613,203,672,227" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    42
<area href="states_8h.html" shape="rect" coords="605,397,680,421" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    43
<area href="lifegrd_8h.html" shape="rect" coords="604,541,681,565" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    44
<area href="sync_8h.html" shape="rect" coords="609,493,676,517" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    45
<area href="nmtMaster_8h.html" shape="rect" coords="589,155,696,179" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    46
<area href="config_8h.html" shape="rect" coords="892,155,967,179" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    47
</map>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    48
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    49
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    50
<a href="timers__unix_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    51
<tr><td></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    52
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    53
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#016587a4d6fc754357c47c9df9f0bde4">maxval</a>(a, b)&nbsp;&nbsp;&nbsp;((a&gt;b)?a:b)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    54
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    55
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    56
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037">EnterMutex</a> (void)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    57
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    58
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b">LeaveMutex</a> (void)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    59
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    60
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#4cd19302f57b08fc0403a05017332735">timer_notify</a> (sigval_t val)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    61
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    62
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#02922529b60419a94afe8f369dda070b">initTimer</a> (void)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    63
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#8758484f3cebb0cd44bb247c3f23d5e3">StopTimerLoop</a> (void)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    65
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    66
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#c9e1731843825eb55e7a94894e6a8ec5">StartTimerLoop</a> (<a class="el" href="timer_8h.html#f7d102e060339d3730ceae5fea03691b">TimerCallback_t</a> init_callback)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    67
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    68
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#a3a7df911baa20b01c4374a9677a154a">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> port, TASK_HANDLE *Thread, void *ReceiveLoopPtr)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    69
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    70
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#4b2486891ee01e06e2deead4cf963727">WaitReceiveTaskEnd</a> (TASK_HANDLE Thread)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    71
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    72
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#b8d05dee70f04b5c5190ab00e84da106">setTimer</a> (TIMEVAL value)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    73
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    74
<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#4dccc204d52176bd547ab34d6858f5ba">getElapsedTime</a> (void)</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    75
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    76
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    77
<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_mutex_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#93ad8a5a5e353192bfa45ae850df337f">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    78
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    79
<tr><td class="memItemLeft" nowrap align="right" valign="top">TASK_HANDLE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#ef197e4f64855d2ac4ccbc40595d6bdd">TimerLoopThread</a></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    80
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    81
<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#9b886230a6b35bdd1532a27ee7400d10">last_time_set</a> = TIMEVAL_MAX</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    82
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    83
<tr><td class="memItemLeft" nowrap align="right" valign="top">timeval&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#bcf9307062fc6f0a7906547a892e38df">last_sig</a></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    84
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    85
<tr><td class="memItemLeft" nowrap align="right" valign="top">timer_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#1a1e2de3a80567484c9b4d4f20d5a3d0">timer</a></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    86
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    87
</table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    88
<hr><h2>Define Documentation</h2>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    89
<a class="anchor" name="016587a4d6fc754357c47c9df9f0bde4"></a><!-- doxytag: member="timers_unix.c::maxval" ref="016587a4d6fc754357c47c9df9f0bde4" args="(a, b)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    90
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    91
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    92
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    93
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    94
          <td class="memname">#define maxval          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    95
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    96
          <td class="paramtype">a,         <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    97
          <td class="paramkey"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    98
          <td></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    99
          <td class="paramtype">b&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   100
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   101
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   102
          <td width="100%">&nbsp;&nbsp;&nbsp;((a&gt;b)?a:b)</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   103
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   104
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   105
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   106
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   107
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   108
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   109
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   110
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   111
Definition at line <a class="el" href="timers__unix_8c-source.html#l00082">82</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   112
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   113
Referenced by <a class="el" href="timers__unix_8c-source.html#l00083">setTimer()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   114
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   115
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   116
<hr><h2>Function Documentation</h2>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   117
<a class="anchor" name="a3a7df911baa20b01c4374a9677a154a"></a><!-- doxytag: member="timers_unix.c::CreateReceiveTask" ref="a3a7df911baa20b01c4374a9677a154a" args="(CAN_PORT port, TASK_HANDLE *Thread, void *ReceiveLoopPtr)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   118
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   119
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   120
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   121
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   122
          <td class="memname">void CreateReceiveTask           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   123
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   124
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   125
          <td class="paramname"> <em>port</em>, </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   126
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   127
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   128
          <td class="paramkey"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   129
          <td></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   130
          <td class="paramtype">TASK_HANDLE *&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   131
          <td class="paramname"> <em>Thread</em>, </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   132
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   133
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   134
          <td class="paramkey"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   135
          <td></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   136
          <td class="paramtype">void *&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   137
          <td class="paramname"> <em>ReceiveLoopPtr</em></td><td>&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   138
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   139
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   140
          <td></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   141
          <td>)</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   142
          <td></td><td></td><td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   143
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   144
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   145
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   146
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   147
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   148
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   149
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   150
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   151
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   152
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   153
Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   154
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   155
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   156
<a class="anchor" name="d7fee43b8a44cf8b7036853593044037"></a><!-- doxytag: member="timers_unix.c::EnterMutex" ref="d7fee43b8a44cf8b7036853593044037" args="(void)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   157
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   158
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   159
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   160
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   161
          <td class="memname">void EnterMutex           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   162
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   163
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   164
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   165
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   166
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   167
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   168
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   169
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   170
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   171
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   172
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   173
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   174
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   175
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   176
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   177
Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00156">canSend()</a>, <a class="el" href="timers__unix_8c-source.html#l00062">StartTimerLoop()</a>, <a class="el" href="timers__unix_8c-source.html#l00055">StopTimerLoop()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00151">class_timers::timer_loop_thread_proc()</a>, <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   178
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   179
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   180
<a class="anchor" name="4dccc204d52176bd547ab34d6858f5ba"></a><!-- doxytag: member="timers_unix.c::getElapsedTime" ref="4dccc204d52176bd547ab34d6858f5ba" args="(void)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   181
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   182
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   183
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   184
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   185
          <td class="memname">TIMEVAL getElapsedTime           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   186
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   187
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   188
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   189
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   190
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   191
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   192
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   193
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   194
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   195
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   196
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   197
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   198
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   199
Definition at line <a class="el" href="timers__unix_8c-source.html#l00098">98</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   200
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   201
References <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   202
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   203
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   204
<a class="anchor" name="02922529b60419a94afe8f369dda070b"></a><!-- doxytag: member="timers_unix.c::initTimer" ref="02922529b60419a94afe8f369dda070b" args="(void)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   205
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   206
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   207
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   208
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   209
          <td class="memname">void initTimer           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   210
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   211
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   212
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   213
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   214
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   215
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   216
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   217
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   218
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   219
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   220
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   221
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   222
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   223
Definition at line <a class="el" href="timers__unix_8c-source.html#l00039">39</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   224
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   225
References <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>, <a class="el" href="interrupt_8c-source.html#l00049">lock()</a>, <a class="el" href="ports__def_8h-source.html#l00103">TCTL1</a>, <a class="el" href="ports__def_8h-source.html#l00107">TIE</a>, <a class="el" href="timers__unix_8c-source.html#l00018">timer</a>, <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>, <a class="el" href="ports__def_8h-source.html#l00095">TIOS</a>, <a class="el" href="ports__def_8h-source.html#l00101">TSCR1</a>, <a class="el" href="ports__def_8h-source.html#l00108">TSCR2</a>, and <a class="el" href="interrupt_8c-source.html#l00057">unlock()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   226
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   227
Here is the call graph for this function:<p><center><img src="timers__unix_8c_02922529b60419a94afe8f369dda070b_cgraph.png" border="0" usemap="#timers__unix_8c_02922529b60419a94afe8f369dda070b_cgraph_map" alt=""></center>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   228
<map name="timers__unix_8c_02922529b60419a94afe8f369dda070b_cgraph_map">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   229
<area href="interrupt_8c.html#eb99ff49b4a6d5157416f9b5bd0d9c2c" shape="rect" coords="164,6,212,30" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   230
<area href="timers__unix_8c.html#4cd19302f57b08fc0403a05017332735" shape="rect" coords="137,102,239,126" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   231
<area href="interrupt_8c.html#987ce601d6d4c8eedd68b58db3b7811a" shape="rect" coords="155,54,221,78" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   232
<area href="regs_8h.html#b1b104e72affb247e036289d0fc18ac7" shape="rect" coords="308,6,385,30" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   233
<area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="297,54,396,78" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   234
<area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="295,102,399,126" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   235
<area href="timer_8c.html#fa75192a3238525618f8cb83004930cc" shape="rect" coords="289,150,404,174" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   236
<area href="canOpenDriver_8c.html#24dbe63e88d184388542037d16a8208d" shape="rect" coords="453,150,584,174" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   237
</map>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   238
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   239
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   240
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   241
<a class="anchor" name="73d9a4eb941fb20cf6b597840510394b"></a><!-- doxytag: member="timers_unix.c::LeaveMutex" ref="73d9a4eb941fb20cf6b597840510394b" args="(void)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   242
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   243
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   244
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   245
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   246
          <td class="memname">void LeaveMutex           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   247
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   248
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   249
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   250
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   251
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   252
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   253
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   254
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   255
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   256
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   257
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   258
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   259
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   260
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   261
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   262
Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00156">canSend()</a>, <a class="el" href="timers__unix_8c-source.html#l00062">StartTimerLoop()</a>, <a class="el" href="timers__unix_8c-source.html#l00055">StopTimerLoop()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00151">class_timers::timer_loop_thread_proc()</a>, <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   263
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   264
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   265
<a class="anchor" name="b8d05dee70f04b5c5190ab00e84da106"></a><!-- doxytag: member="timers_unix.c::setTimer" ref="b8d05dee70f04b5c5190ab00e84da106" args="(TIMEVAL value)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   266
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   267
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   268
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   269
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   270
          <td class="memname">void setTimer           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   271
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   272
          <td class="paramtype">TIMEVAL&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   273
          <td class="paramname"> <em>value</em>          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   274
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   275
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   276
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   277
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   278
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   279
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   280
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   281
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   282
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   283
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   284
Definition at line <a class="el" href="timers__unix_8c-source.html#l00083">83</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   285
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   286
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   287
<a class="anchor" name="c9e1731843825eb55e7a94894e6a8ec5"></a><!-- doxytag: member="timers_unix.c::StartTimerLoop" ref="c9e1731843825eb55e7a94894e6a8ec5" args="(TimerCallback_t init_callback)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   288
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   289
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   290
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   291
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   292
          <td class="memname">void StartTimerLoop           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   293
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   294
          <td class="paramtype"><a class="el" href="timer_8h.html#f7d102e060339d3730ceae5fea03691b">TimerCallback_t</a>&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   295
          <td class="paramname"> <em>init_callback</em>          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   296
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   297
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   298
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   299
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   300
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   301
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   302
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   303
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   304
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   305
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   306
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   307
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   308
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   309
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   310
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   311
<a class="anchor" name="8758484f3cebb0cd44bb247c3f23d5e3"></a><!-- doxytag: member="timers_unix.c::StopTimerLoop" ref="8758484f3cebb0cd44bb247c3f23d5e3" args="(void)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   312
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   313
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   314
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   315
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   316
          <td class="memname">void StopTimerLoop           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   317
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   318
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   319
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   320
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   321
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   322
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   323
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   324
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   325
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   326
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   327
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   328
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   329
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   330
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   331
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   332
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   333
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   334
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   335
<a class="anchor" name="4cd19302f57b08fc0403a05017332735"></a><!-- doxytag: member="timers_unix.c::timer_notify" ref="4cd19302f57b08fc0403a05017332735" args="(sigval_t val)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   336
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   337
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   338
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   339
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   340
          <td class="memname">void timer_notify           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   341
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   342
          <td class="paramtype">sigval_t&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   343
          <td class="paramname"> <em>val</em>          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   344
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   345
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   346
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   347
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   348
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   349
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   350
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   351
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   352
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   353
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   354
Definition at line <a class="el" href="timers__unix_8c-source.html#l00030">30</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   355
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   356
References <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, and <a class="el" href="timer_8c-source.html#l00131">TimeDispatch()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   357
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   358
Referenced by <a class="el" href="timers__unix_8c-source.html#l00039">initTimer()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   359
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   360
Here is the call graph for this function:<p><center><img src="timers__unix_8c_4cd19302f57b08fc0403a05017332735_cgraph.png" border="0" usemap="#timers__unix_8c_4cd19302f57b08fc0403a05017332735_cgraph_map" alt=""></center>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   361
<map name="timers__unix_8c_4cd19302f57b08fc0403a05017332735_cgraph_map">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   362
<area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="167,6,266,30" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   363
<area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="164,54,268,78" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   364
<area href="timer_8c.html#fa75192a3238525618f8cb83004930cc" shape="rect" coords="159,102,274,126" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   365
<area href="canOpenDriver_8c.html#24dbe63e88d184388542037d16a8208d" shape="rect" coords="323,102,454,126" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   366
</map>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   367
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   368
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   369
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   370
<a class="anchor" name="4b2486891ee01e06e2deead4cf963727"></a><!-- doxytag: member="timers_unix.c::WaitReceiveTaskEnd" ref="4b2486891ee01e06e2deead4cf963727" args="(TASK_HANDLE Thread)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   371
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   372
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   373
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   374
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   375
          <td class="memname">void WaitReceiveTaskEnd           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   376
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   377
          <td class="paramtype">TASK_HANDLE&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   378
          <td class="paramname"> <em>Thread</em>          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   379
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   380
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   381
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   382
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   383
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   384
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   385
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   386
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   387
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   388
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   389
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>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   390
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   391
Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   392
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   393
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   394
<hr><h2>Variable Documentation</h2>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   395
<a class="anchor" name="93ad8a5a5e353192bfa45ae850df337f"></a><!-- doxytag: member="timers_unix.c::CanFestival_mutex" ref="93ad8a5a5e353192bfa45ae850df337f" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   396
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   397
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   398
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   399
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   400
          <td class="memname">pthread_mutex_t <a class="el" href="timers__xeno_8c.html#b6ebfe5bfc980bae026866758af3a7ff">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   401
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   402
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   403
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   404
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   405
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   406
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   407
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   408
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   409
Definition at line <a class="el" href="timers__unix_8c-source.html#l00010">10</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   410
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   411
Referenced by <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, and <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   412
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   413
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   414
<a class="anchor" name="bcf9307062fc6f0a7906547a892e38df"></a><!-- doxytag: member="timers_unix.c::last_sig" ref="bcf9307062fc6f0a7906547a892e38df" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   415
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   416
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   417
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   418
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   419
          <td class="memname">struct timeval <a class="el" href="timers__unix_8c.html#bcf9307062fc6f0a7906547a892e38df">last_sig</a>          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   420
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   421
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   422
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   423
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   424
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   425
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   426
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   427
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   428
Definition at line <a class="el" href="timers__unix_8c-source.html#l00016">16</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   429
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   430
Referenced by <a class="el" href="timers__unix_8c-source.html#l00098">getElapsedTime()</a>, <a class="el" href="timers__unix_8c-source.html#l00039">initTimer()</a>, and <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   431
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   432
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   433
<a class="anchor" name="9b886230a6b35bdd1532a27ee7400d10"></a><!-- doxytag: member="timers_unix.c::last_time_set" ref="9b886230a6b35bdd1532a27ee7400d10" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   434
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   435
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   436
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   437
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   438
          <td class="memname">TIMEVAL <a class="el" href="timers__unix_8c.html#9b886230a6b35bdd1532a27ee7400d10">last_time_set</a> = TIMEVAL_MAX          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   439
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   440
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   441
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   442
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   443
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   444
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   445
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   446
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   447
Definition at line <a class="el" href="timers__unix_8c-source.html#l00014">14</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   448
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   449
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   450
<a class="anchor" name="1a1e2de3a80567484c9b4d4f20d5a3d0"></a><!-- doxytag: member="timers_unix.c::timer" ref="1a1e2de3a80567484c9b4d4f20d5a3d0" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   451
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   452
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   453
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   454
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   455
          <td class="memname">timer_t <a class="el" href="timers__unix_8c.html#1a1e2de3a80567484c9b4d4f20d5a3d0">timer</a>          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   456
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   457
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   458
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   459
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   460
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   461
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   462
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   463
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   464
Definition at line <a class="el" href="timers__unix_8c-source.html#l00018">18</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   465
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   466
Referenced by <a class="el" href="timers__unix_8c-source.html#l00039">initTimer()</a>, <a class="el" href="timers__unix_8c-source.html#l00083">setTimer()</a>, and <a class="el" href="timers__unix_8c-source.html#l00055">StopTimerLoop()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   467
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   468
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   469
<a class="anchor" name="ef197e4f64855d2ac4ccbc40595d6bdd"></a><!-- doxytag: member="timers_unix.c::TimerLoopThread" ref="ef197e4f64855d2ac4ccbc40595d6bdd" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   470
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   471
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   472
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   473
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   474
          <td class="memname">TASK_HANDLE <a class="el" href="timers__unix_8c.html#ef197e4f64855d2ac4ccbc40595d6bdd">TimerLoopThread</a>          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   475
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   476
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   477
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   478
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   479
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   480
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   481
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   482
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   483
Definition at line <a class="el" href="timers__unix_8c-source.html#l00012">12</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   484
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   485
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   486
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:42 2007 for CanFestival by&nbsp;
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   487
<a href="http://www.doxygen.org/index.html">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   488
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   489
</body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   490
</html>