RTEMS classic timers

Joel Sherrill Joel.Sherrill at OARcorp.com
Wed May 15 22:30:38 UTC 2013


Replace RTEMS with examples-v2 in the clone command.

Matthew J Fletcher <amimjf at gmail.com> wrote:



Hi,

Where in the git tree are examples-v2 ?


On 15 May 2013 12:44, Joel Sherrill <Joel.Sherrill at oarcorp.com<mailto:Joel.Sherrill at oarcorp.com>> wrote:
Also simple examples for inclusion in examples-v2 are appreciated. Sometimes there is nothing like seeing some working code

Sebastian Huber <sebastian.huber at embedded-brains.de<mailto:sebastian.huber at embedded-brains.de>> wrote:


Hello,

On 05/15/2013 01:16 PM, Matthew J Fletcher wrote:
> Hi,
>
> It looks like rtems_timer_fire_after() is a one time only timer, you need to
> call rtems_timer_fire_after() to generate another.

you can use rtems_timer_reset() to restart the timer in the timer service routine.

>
> The documentation does not seem to indicate that, is it possible a small update
> could be made for clarity.
>
> I wrongly presumed it was a repeating timer that would go until you cancelled
> the timer.

You can send a patch for the documentation if you want:

http://git.rtems.org/rtems/tree/doc/user/timer.t

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16<tel:%2B49%2089%20189%2047%2041-16>
Fax     : +49 89 189 47 41-09<tel:%2B49%2089%20189%2047%2041-09>
E-Mail  : sebastian.huber at embedded-brains.de<mailto:sebastian.huber at embedded-brains.de>
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-users mailing list
rtems-users at rtems.org<mailto:rtems-users at rtems.org>
http://www.rtems.org/mailman/listinfo/rtems-users

_______________________________________________
rtems-users mailing list
rtems-users at rtems.org<mailto:rtems-users at rtems.org>
http://www.rtems.org/mailman/listinfo/rtems-users



--

regards
---
Matthew J Fletcher

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130515/e9908baa/attachment-0001.html>


More information about the users mailing list