RTEMS classic timers
Joel Sherrill
Joel.Sherrill at OARcorp.com
Wed May 15 11:44:57 UTC 2013
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> 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
Fax : +49 89 189 47 41-09
E-Mail : 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
http://www.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list