|
195 | 195 | <tr class="memitem:ga0d76c7505a0aa2f10af0f867843afa5a" id="r_ga0d76c7505a0aa2f10af0f867843afa5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__qtypes.html#ga131b2258b5135d0b1e3ded5ecbe309d7">qBool_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga0d76c7505a0aa2f10af0f867843afa5a">qSTimer_Expired</a> (const <a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const t)</td></tr> |
196 | 196 | <tr class="memdesc:ga0d76c7505a0aa2f10af0f867843afa5a"><td class="mdescLeft"> </td><td class="mdescRight">Non-Blocking STimer check. <br /></td></tr> |
197 | 197 | <tr class="separator:ga0d76c7505a0aa2f10af0f867843afa5a"><td class="memSeparator" colspan="2"> </td></tr> |
198 | | -<tr class="memitem:ga7b25e8ad7bb0b4e87bc07262a6f402d0" id="r_ga7b25e8ad7bb0b4e87bc07262a6f402d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__qtypes.html#ga131b2258b5135d0b1e3ded5ecbe309d7">qBool_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga7b25e8ad7bb0b4e87bc07262a6f402d0">qSTimer_FreeRun</a> (<a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const t, const <a class="el" href="group__qclock.html#gac7b81fb14df7cba7c4bc212c6226e1ec">qTime_t</a> tTime)</td></tr> |
199 | | -<tr class="memdesc:ga7b25e8ad7bb0b4e87bc07262a6f402d0"><td class="mdescLeft"> </td><td class="mdescRight">Non-Blocking STimer check with automatic arming. <br /></td></tr> |
200 | | -<tr class="separator:ga7b25e8ad7bb0b4e87bc07262a6f402d0"><td class="memSeparator" colspan="2"> </td></tr> |
| 198 | +<tr class="memitem:ga1b92c996bc230f3dd286a478935cac18" id="r_ga1b92c996bc230f3dd286a478935cac18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__qtypes.html#ga131b2258b5135d0b1e3ded5ecbe309d7">qBool_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga1b92c996bc230f3dd286a478935cac18">qSTimer_ReloadIfExpired</a> (<a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const t, const <a class="el" href="group__qclock.html#gac7b81fb14df7cba7c4bc212c6226e1ec">qTime_t</a> tTime)</td></tr> |
| 199 | +<tr class="memdesc:ga1b92c996bc230f3dd286a478935cac18"><td class="mdescLeft"> </td><td class="mdescRight">Non-Blocking STimer check with automatic arming. <br /></td></tr> |
| 200 | +<tr class="separator:ga1b92c996bc230f3dd286a478935cac18"><td class="memSeparator" colspan="2"> </td></tr> |
201 | 201 | <tr class="memitem:ga1c707ea49120d558336f5be41f4c08e5" id="r_ga1c707ea49120d558336f5be41f4c08e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__qclock.html#ga166565f14c43c0fb055b6f1f73f8b910">qClock_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga1c707ea49120d558336f5be41f4c08e5">qSTimer_Elapsed</a> (const <a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const t)</td></tr> |
202 | 202 | <tr class="memdesc:ga1c707ea49120d558336f5be41f4c08e5"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the elapsed time in epochs. <br /></td></tr> |
203 | 203 | <tr class="separator:ga1c707ea49120d558336f5be41f4c08e5"><td class="memSeparator" colspan="2"> </td></tr> |
@@ -294,68 +294,68 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga0d76c7505a0aa2f10af0f86 |
294 | 294 |
|
295 | 295 | </div> |
296 | 296 | </div> |
297 | | -<a id="ga7b25e8ad7bb0b4e87bc07262a6f402d0" name="ga7b25e8ad7bb0b4e87bc07262a6f402d0"></a> |
298 | | -<h2 class="memtitle"><span class="permalink"><a href="#ga7b25e8ad7bb0b4e87bc07262a6f402d0">◆ </a></span>qSTimer_FreeRun()</h2> |
| 297 | +<a id="ga7b1fd8123693bd8acf2a527fa0a3ef36" name="ga7b1fd8123693bd8acf2a527fa0a3ef36"></a> |
| 298 | +<h2 class="memtitle"><span class="permalink"><a href="#ga7b1fd8123693bd8acf2a527fa0a3ef36">◆ </a></span>qSTimer_Reload()</h2> |
299 | 299 |
|
300 | 300 | <div class="memitem"> |
301 | 301 | <div class="memproto"> |
302 | 302 | <table class="memname"> |
303 | 303 | <tr> |
304 | | - <td class="memname"><a class="el" href="group__qtypes.html#ga131b2258b5135d0b1e3ded5ecbe309d7">qBool_t</a> qSTimer_FreeRun </td> |
| 304 | + <td class="memname"><a class="el" href="group__qtypes.html#ga131b2258b5135d0b1e3ded5ecbe309d7">qBool_t</a> qSTimer_Reload </td> |
305 | 305 | <td>(</td> |
306 | | - <td class="paramtype"><a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const</td> <td class="paramname"><span class="paramname"><em>t</em></span>, </td> |
307 | | - </tr> |
308 | | - <tr> |
309 | | - <td class="paramkey"></td> |
| 306 | + <td class="paramtype"><a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const</td> <td class="paramname"><span class="paramname"><em>t</em></span></td><td>)</td> |
310 | 307 | <td></td> |
311 | | - <td class="paramtype">const <a class="el" href="group__qclock.html#gac7b81fb14df7cba7c4bc212c6226e1ec">qTime_t</a></td> <td class="paramname"><span class="paramname"><em>tTime</em></span> )</td> |
312 | 308 | </tr> |
313 | 309 | </table> |
314 | 310 | </div><div class="memdoc"> |
315 | 311 |
|
316 | | -<p>Non-Blocking STimer check with automatic arming. </p> |
317 | | -<p>Behavior: If disarmed, it gets armed immediately with the specified time.</p> |
318 | | -<p>If armed, the time argument is ignored and the API only checks for expiration. When the time expires, the STimer gets armed immediately taking the specified time. </p><dl class="section note"><dt>Note</dt><dd>After the STimer expiration, <a class="el" href="#ga7b25e8ad7bb0b4e87bc07262a6f402d0" title="Non-Blocking STimer check with automatic arming.">qSTimer_FreeRun()</a> re-arms the STimer </dd> |
319 | | -<dd> |
320 | | -The OS must be running before using STimers. </dd> |
321 | | -<dd> |
322 | | -The expiration time should be at least, two times greater than the clock-Tick. </dd></dl> |
| 312 | +<p>Reload the STimer with the previous specified time. </p> |
| 313 | +<dl class="section note"><dt>Note</dt><dd>STimer should be armed before this operation </dd></dl> |
323 | 314 | <dl class="params"><dt>Parameters</dt><dd> |
324 | 315 | <table class="params"> |
325 | 316 | <tr><td class="paramdir">[in]</td><td class="paramname">t</td><td>A pointer to the STimer object. </td></tr> |
326 | | - <tr><td class="paramdir">[in]</td><td class="paramname">tTime</td><td>The expiration time(Must be specified in seconds). </td></tr> |
327 | 317 | </table> |
328 | 318 | </dd> |
329 | 319 | </dl> |
330 | | -<dl class="section return"><dt>Returns</dt><dd>Returns <a class="el" href="group__qtypes.html#ga9cd31c446d7a5ead8f65aa28e4d1f2cd" title="A boolean value that represents true/success/On or High.">qTrue</a> on success, otherwise, returns <a class="el" href="group__qtypes.html#gabcfc51cee68e399f81b5c109c8e615c7" title="A boolean value that represents false/failure/Off or Low.">qFalse</a>. </dd></dl> |
331 | | -<dl class="section note"><dt>Note</dt><dd>A disarmed STimer also returns <a class="el" href="group__qtypes.html#gabcfc51cee68e399f81b5c109c8e615c7" title="A boolean value that represents false/failure/Off or Low.">qFalse</a>. </dd></dl> |
| 320 | +<dl class="section return"><dt>Returns</dt><dd>Returns qTrue on success, otherwise, returns qFalse. </dd></dl> |
332 | 321 |
|
333 | 322 | </div> |
334 | 323 | </div> |
335 | | -<a id="ga7b1fd8123693bd8acf2a527fa0a3ef36" name="ga7b1fd8123693bd8acf2a527fa0a3ef36"></a> |
336 | | -<h2 class="memtitle"><span class="permalink"><a href="#ga7b1fd8123693bd8acf2a527fa0a3ef36">◆ </a></span>qSTimer_Reload()</h2> |
| 324 | +<a id="ga1b92c996bc230f3dd286a478935cac18" name="ga1b92c996bc230f3dd286a478935cac18"></a> |
| 325 | +<h2 class="memtitle"><span class="permalink"><a href="#ga1b92c996bc230f3dd286a478935cac18">◆ </a></span>qSTimer_ReloadIfExpired()</h2> |
337 | 326 |
|
338 | 327 | <div class="memitem"> |
339 | 328 | <div class="memproto"> |
340 | 329 | <table class="memname"> |
341 | 330 | <tr> |
342 | | - <td class="memname"><a class="el" href="group__qtypes.html#ga131b2258b5135d0b1e3ded5ecbe309d7">qBool_t</a> qSTimer_Reload </td> |
| 331 | + <td class="memname"><a class="el" href="group__qtypes.html#ga131b2258b5135d0b1e3ded5ecbe309d7">qBool_t</a> qSTimer_ReloadIfExpired </td> |
343 | 332 | <td>(</td> |
344 | | - <td class="paramtype"><a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const</td> <td class="paramname"><span class="paramname"><em>t</em></span></td><td>)</td> |
| 333 | + <td class="paramtype"><a class="el" href="structq_s_timer__t.html">qSTimer_t</a> *const</td> <td class="paramname"><span class="paramname"><em>t</em></span>, </td> |
| 334 | + </tr> |
| 335 | + <tr> |
| 336 | + <td class="paramkey"></td> |
345 | 337 | <td></td> |
| 338 | + <td class="paramtype">const <a class="el" href="group__qclock.html#gac7b81fb14df7cba7c4bc212c6226e1ec">qTime_t</a></td> <td class="paramname"><span class="paramname"><em>tTime</em></span> )</td> |
346 | 339 | </tr> |
347 | 340 | </table> |
348 | 341 | </div><div class="memdoc"> |
349 | 342 |
|
350 | | -<p>Reload the STimer with the previous specified time. </p> |
351 | | -<dl class="section note"><dt>Note</dt><dd>STimer should be armed before this operation </dd></dl> |
| 343 | +<p>Non-Blocking STimer check with automatic arming. </p> |
| 344 | +<p>Behavior: If disarmed, it gets armed immediately with the specified time.</p> |
| 345 | +<p>If armed, the time argument is ignored and the API only checks for expiration. When the time expires, the STimer gets armed immediately taking the specified time. </p><dl class="section note"><dt>Note</dt><dd>After the STimer expiration, <a class="el" href="#ga1b92c996bc230f3dd286a478935cac18" title="Non-Blocking STimer check with automatic arming.">qSTimer_ReloadIfExpired()</a> re-arms the STimer </dd> |
| 346 | +<dd> |
| 347 | +The OS must be running before using STimers. </dd> |
| 348 | +<dd> |
| 349 | +The expiration time should be at least, two times greater than the clock-Tick. </dd></dl> |
352 | 350 | <dl class="params"><dt>Parameters</dt><dd> |
353 | 351 | <table class="params"> |
354 | 352 | <tr><td class="paramdir">[in]</td><td class="paramname">t</td><td>A pointer to the STimer object. </td></tr> |
| 353 | + <tr><td class="paramdir">[in]</td><td class="paramname">tTime</td><td>The expiration time(Must be specified in seconds). </td></tr> |
355 | 354 | </table> |
356 | 355 | </dd> |
357 | 356 | </dl> |
358 | | -<dl class="section return"><dt>Returns</dt><dd>Returns qTrue on success, otherwise, returns qFalse. </dd></dl> |
| 357 | +<dl class="section return"><dt>Returns</dt><dd>Returns <a class="el" href="group__qtypes.html#ga9cd31c446d7a5ead8f65aa28e4d1f2cd" title="A boolean value that represents true/success/On or High.">qTrue</a> on success, otherwise, returns <a class="el" href="group__qtypes.html#gabcfc51cee68e399f81b5c109c8e615c7" title="A boolean value that represents false/failure/Off or Low.">qFalse</a>. </dd></dl> |
| 358 | +<dl class="section note"><dt>Note</dt><dd>A disarmed STimer also returns <a class="el" href="group__qtypes.html#gabcfc51cee68e399f81b5c109c8e615c7" title="A boolean value that represents false/failure/Off or Low.">qFalse</a>. </dd></dl> |
359 | 359 |
|
360 | 360 | </div> |
361 | 361 | </div> |
|
0 commit comments