doc/doxygen/html/timers__unix_8c.html
author lbessard
Mon, 10 Dec 2007 16:46:11 +0100
changeset 337 9aab477d8a8a
parent 240 34654679f262
permissions -rw-r--r--
Bug on DCF edition fixed
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">
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    21
<a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_ef7bbe78f2bc1c31fd793635a3143fcc.html">timers_unix</a></div>
215
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">
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    32
<area href="win32_2applicfg_8h.html" shape="rect" coords="749,512,824,539" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    33
<area href="timer_8h.html" shape="rect" coords="265,512,324,539" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    34
<area href="win32_2timerscfg_8h.html" shape="rect" coords="383,803,463,829" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    35
<area href="data_8h.html" shape="rect" coords="396,512,449,539" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    36
<area href="def_8h.html" shape="rect" coords="652,765,700,792" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    37
<area href="can_8h.html" shape="rect" coords="652,664,700,691" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    38
<area href="objdictdef_8h.html" shape="rect" coords="515,613,600,640" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    39
<area href="objacces_8h.html" shape="rect" coords="519,309,596,336" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    40
<area href="sdo_8h.html" shape="rect" coords="533,816,581,843" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    41
<area href="pdo_8h.html" shape="rect" coords="532,715,583,741" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    42
<area href="states_8h.html" shape="rect" coords="527,461,588,488" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    43
<area href="lifegrd_8h.html" shape="rect" coords="524,512,591,539" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    44
<area href="sync_8h.html" shape="rect" coords="529,360,585,387" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    45
<area href="nmtMaster_8h.html" shape="rect" coords="513,411,601,437" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    46
<area href="config_8h.html" shape="rect" coords="755,765,819,792" alt="">
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
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#191df9418bfcc2c4774dc16d694c3ae9">maxval</a>(a, b)&nbsp;&nbsp;&nbsp;((a&gt;b)?a:b)</td></tr>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
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#aa3c568288a54a9398524255602bbce8">EnterMutex</a> (void)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    57
34654679f262 Udpated doxygen
etisserant
parents: 215
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#887d197b991c23bc11f626ae688abec7">LeaveMutex</a> (void)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    59
34654679f262 Udpated doxygen
etisserant
parents: 215
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#40e7943587a24eae55dd73d80a913750">timer_notify</a> (sigval_t val)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    61
34654679f262 Udpated doxygen
etisserant
parents: 215
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#607bd2711b85a87fce51334bb36bad1a">initTimer</a> (void)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    63
34654679f262 Udpated doxygen
etisserant
parents: 215
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#8d52f2db8b505e53ace5dd1c2a789d94">StopTimerLoop</a> (void)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    65
34654679f262 Udpated doxygen
etisserant
parents: 215
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#dd08f21a7c3fcbcd53a2c41b00879fdd">StartTimerLoop</a> (<a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a> init_callback)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    67
34654679f262 Udpated doxygen
etisserant
parents: 215
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#09c921f9537f26895843a3c21620855b">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> port, TASK_HANDLE *Thread, void *ReceiveLoopPtr)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    69
34654679f262 Udpated doxygen
etisserant
parents: 215
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#b21b041545f4dfc5660514fbc3c2f89c">WaitReceiveTaskEnd</a> (TASK_HANDLE Thread)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    71
34654679f262 Udpated doxygen
etisserant
parents: 215
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#7996006c628d2df030b9684d7a86acd1">setTimer</a> (TIMEVAL value)</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    73
34654679f262 Udpated doxygen
etisserant
parents: 215
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#75efe30105165658d05d871255f8c0a2">getElapsedTime</a> (void)</td></tr>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
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#16cebc4fb81e0421b9d57fcb5d7b2515">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    78
34654679f262 Udpated doxygen
etisserant
parents: 215
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#f62736ba59e8abc802e4b27965525bfa">TimerLoopThread</a></td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    80
34654679f262 Udpated doxygen
etisserant
parents: 215
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#ed17ba940066a6220122e40c59387729">last_time_set</a> = TIMEVAL_MAX</td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    82
34654679f262 Udpated doxygen
etisserant
parents: 215
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#ed3ab12fbab0a49f4643a662d72332e7">last_sig</a></td></tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    84
34654679f262 Udpated doxygen
etisserant
parents: 215
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#bfccb49fc2d68544485b740a56da0f47">timer</a></td></tr>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    89
<a class="anchor" name="191df9418bfcc2c4774dc16d694c3ae9"></a><!-- doxytag: member="timers_unix.c::maxval" ref="191df9418bfcc2c4774dc16d694c3ae9" args="(a, b)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   117
<a class="anchor" name="09c921f9537f26895843a3c21620855b"></a><!-- doxytag: member="timers_unix.c::CreateReceiveTask" ref="09c921f9537f26895843a3c21620855b" args="(CAN_PORT port, TASK_HANDLE *Thread, void *ReceiveLoopPtr)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   124
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a>&nbsp;</td>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   156
<a class="anchor" name="aa3c568288a54a9398524255602bbce8"></a><!-- doxytag: member="timers_unix.c::EnterMutex" ref="aa3c568288a54a9398524255602bbce8" args="(void)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   180
<a class="anchor" name="75efe30105165658d05d871255f8c0a2"></a><!-- doxytag: member="timers_unix.c::getElapsedTime" ref="75efe30105165658d05d871255f8c0a2" args="(void)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   204
<a class="anchor" name="607bd2711b85a87fce51334bb36bad1a"></a><!-- doxytag: member="timers_unix.c::initTimer" ref="607bd2711b85a87fce51334bb36bad1a" args="(void)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   227
Here is the call graph for this function:<p><center><img src="timers__unix_8c_607bd2711b85a87fce51334bb36bad1a_cgraph.png" border="0" usemap="#timers__unix_8c_607bd2711b85a87fce51334bb36bad1a_cgraph_map" alt=""></center>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   228
<map name="timers__unix_8c_607bd2711b85a87fce51334bb36bad1a_cgraph_map">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   229
<area href="interrupt_8c.html#a86d31d31831be20de69b1533b4acc5b" shape="rect" coords="148,5,191,32" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   230
<area href="timers__unix_8c.html#40e7943587a24eae55dd73d80a913750" shape="rect" coords="125,107,213,133" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   231
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="141,56,197,83" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   232
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="276,5,345,32" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   233
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="268,56,353,83" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   234
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="267,107,355,133" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   235
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="263,157,359,184" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   236
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="409,157,516,184" alt="">
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   241
<a class="anchor" name="887d197b991c23bc11f626ae688abec7"></a><!-- doxytag: member="timers_unix.c::LeaveMutex" ref="887d197b991c23bc11f626ae688abec7" args="(void)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   265
<a class="anchor" name="7996006c628d2df030b9684d7a86acd1"></a><!-- doxytag: member="timers_unix.c::setTimer" ref="7996006c628d2df030b9684d7a86acd1" args="(TIMEVAL value)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   287
<a class="anchor" name="dd08f21a7c3fcbcd53a2c41b00879fdd"></a><!-- doxytag: member="timers_unix.c::StartTimerLoop" ref="dd08f21a7c3fcbcd53a2c41b00879fdd" args="(TimerCallback_t init_callback)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   294
          <td class="paramtype"><a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a>&nbsp;</td>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   311
<a class="anchor" name="8d52f2db8b505e53ace5dd1c2a789d94"></a><!-- doxytag: member="timers_unix.c::StopTimerLoop" ref="8d52f2db8b505e53ace5dd1c2a789d94" args="(void)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   335
<a class="anchor" name="40e7943587a24eae55dd73d80a913750"></a><!-- doxytag: member="timers_unix.c::timer_notify" ref="40e7943587a24eae55dd73d80a913750" args="(sigval_t val)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   360
Here is the call graph for this function:<p><center><img src="timers__unix_8c_40e7943587a24eae55dd73d80a913750_cgraph.png" border="0" usemap="#timers__unix_8c_40e7943587a24eae55dd73d80a913750_cgraph_map" alt=""></center>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   361
<map name="timers__unix_8c_40e7943587a24eae55dd73d80a913750_cgraph_map">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   362
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="148,5,233,32" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   363
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="147,56,235,83" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   364
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="143,107,239,133" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   365
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="289,107,396,133" alt="">
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   370
<a class="anchor" name="b21b041545f4dfc5660514fbc3c2f89c"></a><!-- doxytag: member="timers_unix.c::WaitReceiveTaskEnd" ref="b21b041545f4dfc5660514fbc3c2f89c" args="(TASK_HANDLE Thread)" -->
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   395
<a class="anchor" name="16cebc4fb81e0421b9d57fcb5d7b2515"></a><!-- doxytag: member="timers_unix.c::CanFestival_mutex" ref="16cebc4fb81e0421b9d57fcb5d7b2515" args="" -->
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   396
<div class="memitem">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   397
<div class="memproto">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   398
      <table class="memname">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   399
        <tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   400
          <td class="memname">pthread_mutex_t <a class="el" href="timers__xeno_8c.html#7b04510000ccc2625dfec31ce1af3d95">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER          </td>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   414
<a class="anchor" name="ed3ab12fbab0a49f4643a662d72332e7"></a><!-- doxytag: member="timers_unix.c::last_sig" ref="ed3ab12fbab0a49f4643a662d72332e7" args="" -->
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   415
<div class="memitem">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   416
<div class="memproto">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   417
      <table class="memname">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   418
        <tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   419
          <td class="memname">struct timeval <a class="el" href="timers__unix_8c.html#ed3ab12fbab0a49f4643a662d72332e7">last_sig</a>          </td>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   433
<a class="anchor" name="ed17ba940066a6220122e40c59387729"></a><!-- doxytag: member="timers_unix.c::last_time_set" ref="ed17ba940066a6220122e40c59387729" args="" -->
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   434
<div class="memitem">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   435
<div class="memproto">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   436
      <table class="memname">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   437
        <tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   438
          <td class="memname">TIMEVAL <a class="el" href="timers__unix_8c.html#ed17ba940066a6220122e40c59387729">last_time_set</a> = TIMEVAL_MAX          </td>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   450
<a class="anchor" name="bfccb49fc2d68544485b740a56da0f47"></a><!-- doxytag: member="timers_unix.c::timer" ref="bfccb49fc2d68544485b740a56da0f47" args="" -->
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   451
<div class="memitem">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   452
<div class="memproto">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   453
      <table class="memname">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   454
        <tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   455
          <td class="memname">timer_t <a class="el" href="timers__unix_8c.html#bfccb49fc2d68544485b740a56da0f47">timer</a>          </td>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   469
<a class="anchor" name="f62736ba59e8abc802e4b27965525bfa"></a><!-- doxytag: member="timers_unix.c::TimerLoopThread" ref="f62736ba59e8abc802e4b27965525bfa" args="" -->
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   470
<div class="memitem">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   471
<div class="memproto">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   472
      <table class="memname">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   473
        <tr>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   474
          <td class="memname">TASK_HANDLE <a class="el" href="timers__unix_8c.html#f62736ba59e8abc802e4b27965525bfa">TimerLoopThread</a>          </td>
215
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>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   486
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:19 2007 for CanFestival by&nbsp;
215
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>