215
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>CanFestival: drivers/timers_xeno/timers_xeno.c File Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
11 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
12 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
|
13 |
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
14 |
</ul></div>
|
|
15 |
<div class="tabs">
|
|
16 |
<ul>
|
|
17 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
18 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
19 |
</ul></div>
|
|
20 |
<div class="nav">
|
240
|
21 |
<a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_fbe54e12a3ca31aa857852b30ece23ba.html">timers_xeno</a></div>
|
215
|
22 |
<h1>timers_xeno.c File Reference</h1><code>#include <stdlib.h></code><br>
|
|
23 |
<code>#include <unistd.h></code><br>
|
|
24 |
<code>#include <sys/mman.h></code><br>
|
|
25 |
<code>#include <native/task.h></code><br>
|
|
26 |
<code>#include <native/timer.h></code><br>
|
|
27 |
<code>#include <native/mutex.h></code><br>
|
|
28 |
<code>#include <native/alarm.h></code><br>
|
|
29 |
<code>#include "<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>"</code><br>
|
|
30 |
<code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br>
|
|
31 |
<code>#include "<a class="el" href="timer_8h-source.html">timer.h</a>"</code><br>
|
|
32 |
|
|
33 |
<p>
|
|
34 |
Include dependency graph for timers_xeno.c:<p><center><img src="timers__xeno_8c__incl.png" border="0" usemap="#drivers/timers_xeno/timers_xeno.c_map" alt=""></center>
|
|
35 |
<map name="drivers/timers_xeno/timers_xeno.c_map">
|
240
|
36 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="677,487,752,513" alt="">
|
|
37 |
<area href="can__driver_8h.html" shape="rect" coords="411,411,499,437" alt="">
|
|
38 |
<area href="timer_8h.html" shape="rect" coords="283,537,341,564" alt="">
|
|
39 |
<area href="can_8h.html" shape="rect" coords="564,461,612,488" alt="">
|
|
40 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="548,613,628,640" alt="">
|
|
41 |
<area href="data_8h.html" shape="rect" coords="428,512,481,539" alt="">
|
215
|
42 |
</map>
|
|
43 |
|
|
44 |
<p>
|
|
45 |
<a href="timers__xeno_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
46 |
<tr><td></td></tr>
|
|
47 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
240
|
48 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#2bf49bd85708887357bb07c133e18040">TIMERLOOP_TASK_CREATED</a> 1</td></tr>
|
215
|
49 |
|
|
50 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
51 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#7daa4eba1dc16bcf9d867b79c61a7b58">cleanup_all</a> (void)</td></tr>
|
|
52 |
|
|
53 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#8d52f2db8b505e53ace5dd1c2a789d94">StopTimerLoop</a> (void)</td></tr>
|
|
54 |
|
|
55 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#aa3c568288a54a9398524255602bbce8">EnterMutex</a> (void)</td></tr>
|
|
56 |
|
|
57 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#887d197b991c23bc11f626ae688abec7">LeaveMutex</a> (void)</td></tr>
|
|
58 |
|
|
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#cfb2e8d3c5662059b0a5d3028a538b7c">timerloop_task_proc</a> (void *arg)</td></tr>
|
|
60 |
|
|
61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#dd08f21a7c3fcbcd53a2c41b00879fdd">StartTimerLoop</a> (<a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a> init_callback)</td></tr>
|
|
62 |
|
|
63 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#2fd14b68f735eb13d95b60da047f26c6">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> fd0, TASK_HANDLE *ReceiveLoop_task, void *ReceiveLoop_task_proc)</td></tr>
|
|
64 |
|
|
65 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#b712d2cb572b9cd5f7ce99fff8922ddc">WaitReceiveTaskEnd</a> (TASK_HANDLE *Thread)</td></tr>
|
|
66 |
|
|
67 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#7996006c628d2df030b9684d7a86acd1">setTimer</a> (TIMEVAL value)</td></tr>
|
|
68 |
|
|
69 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#75efe30105165658d05d871255f8c0a2">getElapsedTime</a> (void)</td></tr>
|
215
|
70 |
|
|
71 |
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
240
|
72 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">RT_MUTEX </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#7b04510000ccc2625dfec31ce1af3d95">CanFestival_mutex</a></td></tr>
|
|
73 |
|
|
74 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">RT_TASK </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#b5326f600737761d3c937b523f3b43ff">timerloop_task</a></td></tr>
|
|
75 |
|
|
76 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">RTIME </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#f2434742606eea8e1cb738e3f168235b">last_time_read</a></td></tr>
|
|
77 |
|
|
78 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">RTIME </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#f0e3fd522984f6999b06ea83f3716afb">last_occured_alarm</a></td></tr>
|
|
79 |
|
|
80 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">RTIME </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#f567c1ed1dc6f3d12732e18e05167a86">last_alarm_set</a></td></tr>
|
|
81 |
|
|
82 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_8c.html#4c575a566e5f899b64ad7e45000607ed">stop_timer</a> = 0</td></tr>
|
215
|
83 |
|
|
84 |
</table>
|
|
85 |
<hr><h2>Define Documentation</h2>
|
240
|
86 |
<a class="anchor" name="2bf49bd85708887357bb07c133e18040"></a><!-- doxytag: member="timers_xeno.c::TIMERLOOP_TASK_CREATED" ref="2bf49bd85708887357bb07c133e18040" args="" -->
|
215
|
87 |
<div class="memitem">
|
|
88 |
<div class="memproto">
|
|
89 |
<table class="memname">
|
|
90 |
<tr>
|
|
91 |
<td class="memname">#define TIMERLOOP_TASK_CREATED 1 </td>
|
|
92 |
</tr>
|
|
93 |
</table>
|
|
94 |
</div>
|
|
95 |
<div class="memdoc">
|
|
96 |
|
|
97 |
<p>
|
|
98 |
|
|
99 |
<p>
|
|
100 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00014">14</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
101 |
</div>
|
|
102 |
</div><p>
|
|
103 |
<hr><h2>Function Documentation</h2>
|
240
|
104 |
<a class="anchor" name="7daa4eba1dc16bcf9d867b79c61a7b58"></a><!-- doxytag: member="timers_xeno.c::cleanup_all" ref="7daa4eba1dc16bcf9d867b79c61a7b58" args="(void)" -->
|
215
|
105 |
<div class="memitem">
|
|
106 |
<div class="memproto">
|
|
107 |
<table class="memname">
|
|
108 |
<tr>
|
|
109 |
<td class="memname">void cleanup_all </td>
|
|
110 |
<td>(</td>
|
|
111 |
<td class="paramtype">void </td>
|
|
112 |
<td class="paramname"> </td>
|
|
113 |
<td> ) </td>
|
|
114 |
<td width="100%"></td>
|
|
115 |
</tr>
|
|
116 |
</table>
|
|
117 |
</div>
|
|
118 |
<div class="memdoc">
|
|
119 |
|
|
120 |
<p>
|
|
121 |
|
|
122 |
<p>
|
|
123 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00024">24</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
124 |
<p>
|
|
125 |
References <a class="el" href="timers__xeno_8c-source.html#l00017">timerloop_task</a>.
|
|
126 |
<p>
|
|
127 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>.
|
|
128 |
</div>
|
|
129 |
</div><p>
|
240
|
130 |
<a class="anchor" name="2fd14b68f735eb13d95b60da047f26c6"></a><!-- doxytag: member="timers_xeno.c::CreateReceiveTask" ref="2fd14b68f735eb13d95b60da047f26c6" args="(CAN_PORT fd0, TASK_HANDLE *ReceiveLoop_task, void *ReceiveLoop_task_proc)" -->
|
215
|
131 |
<div class="memitem">
|
|
132 |
<div class="memproto">
|
|
133 |
<table class="memname">
|
|
134 |
<tr>
|
|
135 |
<td class="memname">void CreateReceiveTask </td>
|
|
136 |
<td>(</td>
|
240
|
137 |
<td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> </td>
|
215
|
138 |
<td class="paramname"> <em>fd0</em>, </td>
|
|
139 |
</tr>
|
|
140 |
<tr>
|
|
141 |
<td class="paramkey"></td>
|
|
142 |
<td></td>
|
|
143 |
<td class="paramtype">TASK_HANDLE * </td>
|
|
144 |
<td class="paramname"> <em>ReceiveLoop_task</em>, </td>
|
|
145 |
</tr>
|
|
146 |
<tr>
|
|
147 |
<td class="paramkey"></td>
|
|
148 |
<td></td>
|
|
149 |
<td class="paramtype">void * </td>
|
|
150 |
<td class="paramname"> <em>ReceiveLoop_task_proc</em></td><td> </td>
|
|
151 |
</tr>
|
|
152 |
<tr>
|
|
153 |
<td></td>
|
|
154 |
<td>)</td>
|
|
155 |
<td></td><td></td><td width="100%"></td>
|
|
156 |
</tr>
|
|
157 |
</table>
|
|
158 |
</div>
|
|
159 |
<div class="memdoc">
|
|
160 |
|
|
161 |
<p>
|
|
162 |
|
|
163 |
<p>
|
|
164 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00093">93</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
165 |
</div>
|
|
166 |
</div><p>
|
240
|
167 |
<a class="anchor" name="aa3c568288a54a9398524255602bbce8"></a><!-- doxytag: member="timers_xeno.c::EnterMutex" ref="aa3c568288a54a9398524255602bbce8" args="(void)" -->
|
215
|
168 |
<div class="memitem">
|
|
169 |
<div class="memproto">
|
|
170 |
<table class="memname">
|
|
171 |
<tr>
|
|
172 |
<td class="memname">void EnterMutex </td>
|
|
173 |
<td>(</td>
|
|
174 |
<td class="paramtype">void </td>
|
|
175 |
<td class="paramname"> </td>
|
|
176 |
<td> ) </td>
|
|
177 |
<td width="100%"></td>
|
|
178 |
</tr>
|
|
179 |
</table>
|
|
180 |
</div>
|
|
181 |
<div class="memdoc">
|
|
182 |
|
|
183 |
<p>
|
|
184 |
|
|
185 |
<p>
|
|
186 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00035">35</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
187 |
<p>
|
|
188 |
References <a class="el" href="timers__unix_8c-source.html#l00010">CanFestival_mutex</a>.
|
|
189 |
</div>
|
|
190 |
</div><p>
|
240
|
191 |
<a class="anchor" name="75efe30105165658d05d871255f8c0a2"></a><!-- doxytag: member="timers_xeno.c::getElapsedTime" ref="75efe30105165658d05d871255f8c0a2" args="(void)" -->
|
215
|
192 |
<div class="memitem">
|
|
193 |
<div class="memproto">
|
|
194 |
<table class="memname">
|
|
195 |
<tr>
|
|
196 |
<td class="memname">TIMEVAL getElapsedTime </td>
|
|
197 |
<td>(</td>
|
|
198 |
<td class="paramtype">void </td>
|
|
199 |
<td class="paramname"> </td>
|
|
200 |
<td> ) </td>
|
|
201 |
<td width="100%"></td>
|
|
202 |
</tr>
|
|
203 |
</table>
|
|
204 |
</div>
|
|
205 |
<div class="memdoc">
|
|
206 |
|
|
207 |
<p>
|
|
208 |
|
|
209 |
<p>
|
|
210 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00128">128</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
211 |
<p>
|
|
212 |
References <a class="el" href="timers__xeno_8c-source.html#l00019">last_occured_alarm</a>, and <a class="el" href="timers__xeno_8c-source.html#l00018">last_time_read</a>.
|
|
213 |
</div>
|
|
214 |
</div><p>
|
240
|
215 |
<a class="anchor" name="887d197b991c23bc11f626ae688abec7"></a><!-- doxytag: member="timers_xeno.c::LeaveMutex" ref="887d197b991c23bc11f626ae688abec7" args="(void)" -->
|
215
|
216 |
<div class="memitem">
|
|
217 |
<div class="memproto">
|
|
218 |
<table class="memname">
|
|
219 |
<tr>
|
|
220 |
<td class="memname">void LeaveMutex </td>
|
|
221 |
<td>(</td>
|
|
222 |
<td class="paramtype">void </td>
|
|
223 |
<td class="paramname"> </td>
|
|
224 |
<td> ) </td>
|
|
225 |
<td width="100%"></td>
|
|
226 |
</tr>
|
|
227 |
</table>
|
|
228 |
</div>
|
|
229 |
<div class="memdoc">
|
|
230 |
|
|
231 |
<p>
|
|
232 |
|
|
233 |
<p>
|
|
234 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00040">40</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
235 |
<p>
|
|
236 |
References <a class="el" href="timers__unix_8c-source.html#l00010">CanFestival_mutex</a>.
|
|
237 |
</div>
|
|
238 |
</div><p>
|
240
|
239 |
<a class="anchor" name="7996006c628d2df030b9684d7a86acd1"></a><!-- doxytag: member="timers_xeno.c::setTimer" ref="7996006c628d2df030b9684d7a86acd1" args="(TIMEVAL value)" -->
|
215
|
240 |
<div class="memitem">
|
|
241 |
<div class="memproto">
|
|
242 |
<table class="memname">
|
|
243 |
<tr>
|
|
244 |
<td class="memname">void setTimer </td>
|
|
245 |
<td>(</td>
|
|
246 |
<td class="paramtype">TIMEVAL </td>
|
|
247 |
<td class="paramname"> <em>value</em> </td>
|
|
248 |
<td> ) </td>
|
|
249 |
<td width="100%"></td>
|
|
250 |
</tr>
|
|
251 |
</table>
|
|
252 |
</div>
|
|
253 |
<div class="memdoc">
|
|
254 |
|
|
255 |
<p>
|
|
256 |
|
|
257 |
<p>
|
|
258 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00122">122</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
259 |
<p>
|
|
260 |
References <a class="el" href="timers__xeno_8c-source.html#l00020">last_alarm_set</a>, <a class="el" href="timers__xeno_8c-source.html#l00018">last_time_read</a>, <a class="el" href="timers__xeno_8c-source.html#l00017">timerloop_task</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00153">TIMEVAL_MAX</a>.
|
|
261 |
</div>
|
|
262 |
</div><p>
|
240
|
263 |
<a class="anchor" name="dd08f21a7c3fcbcd53a2c41b00879fdd"></a><!-- doxytag: member="timers_xeno.c::StartTimerLoop" ref="dd08f21a7c3fcbcd53a2c41b00879fdd" args="(TimerCallback_t init_callback)" -->
|
215
|
264 |
<div class="memitem">
|
|
265 |
<div class="memproto">
|
|
266 |
<table class="memname">
|
|
267 |
<tr>
|
|
268 |
<td class="memname">void StartTimerLoop </td>
|
|
269 |
<td>(</td>
|
240
|
270 |
<td class="paramtype"><a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a> </td>
|
215
|
271 |
<td class="paramname"> <em>init_callback</em> </td>
|
|
272 |
<td> ) </td>
|
|
273 |
<td width="100%"></td>
|
|
274 |
</tr>
|
|
275 |
</table>
|
|
276 |
</div>
|
|
277 |
<div class="memdoc">
|
|
278 |
|
|
279 |
<p>
|
|
280 |
|
|
281 |
<p>
|
|
282 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00060">60</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
283 |
<p>
|
|
284 |
References <a class="el" href="timers__xeno_8c-source.html#l00024">cleanup_all()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00066">getElapsedTime()</a>, <a class="el" href="timers__xeno_8c-source.html#l00020">last_alarm_set</a>, <a class="el" href="timers__xeno_8c-source.html#l00019">last_occured_alarm</a>, <a class="el" href="timers__xeno_8c-source.html#l00018">last_time_read</a>, <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>, <a class="el" href="timers__xeno_8c-source.html#l00022">stop_timer</a>, <a class="el" href="timers__xeno_8c-source.html#l00017">timerloop_task</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>.
|
|
285 |
<p>
|
240
|
286 |
Here is the call graph for this function:<p><center><img src="timers__xeno_8c_dd08f21a7c3fcbcd53a2c41b00879fdd_cgraph.png" border="0" usemap="#timers__xeno_8c_dd08f21a7c3fcbcd53a2c41b00879fdd_cgraph_map" alt=""></center>
|
|
287 |
<map name="timers__xeno_8c_dd08f21a7c3fcbcd53a2c41b00879fdd_cgraph_map">
|
|
288 |
<area href="timers__xeno_8c.html#7daa4eba1dc16bcf9d867b79c61a7b58" shape="rect" coords="185,5,268,32" alt="">
|
|
289 |
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="489,132,596,159" alt="">
|
|
290 |
<area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="191,107,263,133" alt="">
|
|
291 |
<area href="timers__xeno_8c.html#cfb2e8d3c5662059b0a5d3028a538b7c" shape="rect" coords="161,157,292,184" alt="">
|
|
292 |
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="348,107,433,133" alt="">
|
|
293 |
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="347,157,435,184" alt="">
|
|
294 |
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="343,208,439,235" alt="">
|
215
|
295 |
</map>
|
|
296 |
|
|
297 |
</div>
|
|
298 |
</div><p>
|
240
|
299 |
<a class="anchor" name="8d52f2db8b505e53ace5dd1c2a789d94"></a><!-- doxytag: member="timers_xeno.c::StopTimerLoop" ref="8d52f2db8b505e53ace5dd1c2a789d94" args="(void)" -->
|
215
|
300 |
<div class="memitem">
|
|
301 |
<div class="memproto">
|
|
302 |
<table class="memname">
|
|
303 |
<tr>
|
|
304 |
<td class="memname">void StopTimerLoop </td>
|
|
305 |
<td>(</td>
|
|
306 |
<td class="paramtype">void </td>
|
|
307 |
<td class="paramname"> </td>
|
|
308 |
<td> ) </td>
|
|
309 |
<td width="100%"></td>
|
|
310 |
</tr>
|
|
311 |
</table>
|
|
312 |
</div>
|
|
313 |
<div class="memdoc">
|
|
314 |
|
|
315 |
<p>
|
|
316 |
|
|
317 |
<p>
|
|
318 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00028">28</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
319 |
<p>
|
|
320 |
References <a class="el" href="timers__xeno_8c-source.html#l00022">stop_timer</a>, and <a class="el" href="timers__xeno_8c-source.html#l00017">timerloop_task</a>.
|
|
321 |
</div>
|
|
322 |
</div><p>
|
240
|
323 |
<a class="anchor" name="cfb2e8d3c5662059b0a5d3028a538b7c"></a><!-- doxytag: member="timers_xeno.c::timerloop_task_proc" ref="cfb2e8d3c5662059b0a5d3028a538b7c" args="(void *arg)" -->
|
215
|
324 |
<div class="memitem">
|
|
325 |
<div class="memproto">
|
|
326 |
<table class="memname">
|
|
327 |
<tr>
|
|
328 |
<td class="memname">void timerloop_task_proc </td>
|
|
329 |
<td>(</td>
|
|
330 |
<td class="paramtype">void * </td>
|
|
331 |
<td class="paramname"> <em>arg</em> </td>
|
|
332 |
<td> ) </td>
|
|
333 |
<td width="100%"></td>
|
|
334 |
</tr>
|
|
335 |
</table>
|
|
336 |
</div>
|
|
337 |
<div class="memdoc">
|
|
338 |
|
|
339 |
<p>
|
|
340 |
|
|
341 |
<p>
|
|
342 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00045">45</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
343 |
<p>
|
|
344 |
References <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="timers__xeno_8c-source.html#l00020">last_alarm_set</a>, <a class="el" href="timers__xeno_8c-source.html#l00019">last_occured_alarm</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="timers__xeno_8c-source.html#l00022">stop_timer</a>, and <a class="el" href="timer_8c-source.html#l00131">TimeDispatch()</a>.
|
|
345 |
<p>
|
|
346 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>.
|
|
347 |
<p>
|
240
|
348 |
Here is the call graph for this function:<p><center><img src="timers__xeno_8c_cfb2e8d3c5662059b0a5d3028a538b7c_cgraph.png" border="0" usemap="#timers__xeno_8c_cfb2e8d3c5662059b0a5d3028a538b7c_cgraph_map" alt=""></center>
|
|
349 |
<map name="timers__xeno_8c_cfb2e8d3c5662059b0a5d3028a538b7c_cgraph_map">
|
|
350 |
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="193,5,279,32" alt="">
|
|
351 |
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="192,56,280,83" alt="">
|
|
352 |
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="188,107,284,133" alt="">
|
|
353 |
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="335,107,441,133" alt="">
|
215
|
354 |
</map>
|
|
355 |
|
|
356 |
</div>
|
|
357 |
</div><p>
|
240
|
358 |
<a class="anchor" name="b712d2cb572b9cd5f7ce99fff8922ddc"></a><!-- doxytag: member="timers_xeno.c::WaitReceiveTaskEnd" ref="b712d2cb572b9cd5f7ce99fff8922ddc" args="(TASK_HANDLE *Thread)" -->
|
215
|
359 |
<div class="memitem">
|
|
360 |
<div class="memproto">
|
|
361 |
<table class="memname">
|
|
362 |
<tr>
|
|
363 |
<td class="memname">void WaitReceiveTaskEnd </td>
|
|
364 |
<td>(</td>
|
|
365 |
<td class="paramtype">TASK_HANDLE * </td>
|
|
366 |
<td class="paramname"> <em>Thread</em> </td>
|
|
367 |
<td> ) </td>
|
|
368 |
<td width="100%"></td>
|
|
369 |
</tr>
|
|
370 |
</table>
|
|
371 |
</div>
|
|
372 |
<div class="memdoc">
|
|
373 |
|
|
374 |
<p>
|
|
375 |
|
|
376 |
<p>
|
|
377 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00117">117</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
378 |
</div>
|
|
379 |
</div><p>
|
|
380 |
<hr><h2>Variable Documentation</h2>
|
240
|
381 |
<a class="anchor" name="7b04510000ccc2625dfec31ce1af3d95"></a><!-- doxytag: member="timers_xeno.c::CanFestival_mutex" ref="7b04510000ccc2625dfec31ce1af3d95" args="" -->
|
|
382 |
<div class="memitem">
|
|
383 |
<div class="memproto">
|
|
384 |
<table class="memname">
|
|
385 |
<tr>
|
|
386 |
<td class="memname">RT_MUTEX <a class="el" href="timers__xeno_8c.html#7b04510000ccc2625dfec31ce1af3d95">CanFestival_mutex</a> </td>
|
215
|
387 |
</tr>
|
|
388 |
</table>
|
|
389 |
</div>
|
|
390 |
<div class="memdoc">
|
|
391 |
|
|
392 |
<p>
|
|
393 |
|
|
394 |
<p>
|
|
395 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00016">16</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
396 |
</div>
|
|
397 |
</div><p>
|
240
|
398 |
<a class="anchor" name="f567c1ed1dc6f3d12732e18e05167a86"></a><!-- doxytag: member="timers_xeno.c::last_alarm_set" ref="f567c1ed1dc6f3d12732e18e05167a86" args="" -->
|
|
399 |
<div class="memitem">
|
|
400 |
<div class="memproto">
|
|
401 |
<table class="memname">
|
|
402 |
<tr>
|
|
403 |
<td class="memname">RTIME <a class="el" href="timers__xeno_8c.html#f567c1ed1dc6f3d12732e18e05167a86">last_alarm_set</a> </td>
|
215
|
404 |
</tr>
|
|
405 |
</table>
|
|
406 |
</div>
|
|
407 |
<div class="memdoc">
|
|
408 |
|
|
409 |
<p>
|
|
410 |
|
|
411 |
<p>
|
|
412 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00020">20</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
413 |
<p>
|
|
414 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00122">setTimer()</a>, <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>.
|
|
415 |
</div>
|
|
416 |
</div><p>
|
240
|
417 |
<a class="anchor" name="f0e3fd522984f6999b06ea83f3716afb"></a><!-- doxytag: member="timers_xeno.c::last_occured_alarm" ref="f0e3fd522984f6999b06ea83f3716afb" args="" -->
|
|
418 |
<div class="memitem">
|
|
419 |
<div class="memproto">
|
|
420 |
<table class="memname">
|
|
421 |
<tr>
|
|
422 |
<td class="memname">RTIME <a class="el" href="timers__xeno_8c.html#f0e3fd522984f6999b06ea83f3716afb">last_occured_alarm</a> </td>
|
215
|
423 |
</tr>
|
|
424 |
</table>
|
|
425 |
</div>
|
|
426 |
<div class="memdoc">
|
|
427 |
|
|
428 |
<p>
|
|
429 |
|
|
430 |
<p>
|
|
431 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00019">19</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
432 |
<p>
|
|
433 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00128">getElapsedTime()</a>, <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>.
|
|
434 |
</div>
|
|
435 |
</div><p>
|
240
|
436 |
<a class="anchor" name="f2434742606eea8e1cb738e3f168235b"></a><!-- doxytag: member="timers_xeno.c::last_time_read" ref="f2434742606eea8e1cb738e3f168235b" args="" -->
|
|
437 |
<div class="memitem">
|
|
438 |
<div class="memproto">
|
|
439 |
<table class="memname">
|
|
440 |
<tr>
|
|
441 |
<td class="memname">RTIME <a class="el" href="timers__xeno_8c.html#f2434742606eea8e1cb738e3f168235b">last_time_read</a> </td>
|
215
|
442 |
</tr>
|
|
443 |
</table>
|
|
444 |
</div>
|
|
445 |
<div class="memdoc">
|
|
446 |
|
|
447 |
<p>
|
|
448 |
|
|
449 |
<p>
|
|
450 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00018">18</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
451 |
<p>
|
|
452 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00128">getElapsedTime()</a>, <a class="el" href="timers__xeno_8c-source.html#l00122">setTimer()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>.
|
|
453 |
</div>
|
|
454 |
</div><p>
|
240
|
455 |
<a class="anchor" name="4c575a566e5f899b64ad7e45000607ed"></a><!-- doxytag: member="timers_xeno.c::stop_timer" ref="4c575a566e5f899b64ad7e45000607ed" args="" -->
|
|
456 |
<div class="memitem">
|
|
457 |
<div class="memproto">
|
|
458 |
<table class="memname">
|
|
459 |
<tr>
|
|
460 |
<td class="memname">char <a class="el" href="timers__xeno_8c.html#4c575a566e5f899b64ad7e45000607ed">stop_timer</a> = 0 </td>
|
215
|
461 |
</tr>
|
|
462 |
</table>
|
|
463 |
</div>
|
|
464 |
<div class="memdoc">
|
|
465 |
|
|
466 |
<p>
|
|
467 |
|
|
468 |
<p>
|
|
469 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00022">22</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
470 |
<p>
|
|
471 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>, <a class="el" href="timers__xeno_8c-source.html#l00028">StopTimerLoop()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>.
|
|
472 |
</div>
|
|
473 |
</div><p>
|
240
|
474 |
<a class="anchor" name="b5326f600737761d3c937b523f3b43ff"></a><!-- doxytag: member="timers_xeno.c::timerloop_task" ref="b5326f600737761d3c937b523f3b43ff" args="" -->
|
|
475 |
<div class="memitem">
|
|
476 |
<div class="memproto">
|
|
477 |
<table class="memname">
|
|
478 |
<tr>
|
|
479 |
<td class="memname">RT_TASK <a class="el" href="timers__xeno_8c.html#b5326f600737761d3c937b523f3b43ff">timerloop_task</a> </td>
|
215
|
480 |
</tr>
|
|
481 |
</table>
|
|
482 |
</div>
|
|
483 |
<div class="memdoc">
|
|
484 |
|
|
485 |
<p>
|
|
486 |
|
|
487 |
<p>
|
|
488 |
Definition at line <a class="el" href="timers__xeno_8c-source.html#l00017">17</a> of file <a class="el" href="timers__xeno_8c-source.html">timers_xeno.c</a>.
|
|
489 |
<p>
|
|
490 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00024">cleanup_all()</a>, <a class="el" href="timers__xeno_8c-source.html#l00122">setTimer()</a>, <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00028">StopTimerLoop()</a>.
|
|
491 |
</div>
|
|
492 |
</div><p>
|
240
|
493 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:19 2007 for CanFestival by
|
215
|
494 |
<a href="http://www.doxygen.org/index.html">
|
|
495 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
496 |
</body>
|
|
497 |
</html>
|