RTEMS classic timers

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 15 11:25:51 UTC 2013


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.



More information about the users mailing list