RTEMS classic timers

Gedare Bloom gedare at rtems.org
Wed May 15 22:34:25 UTC 2013


git clone git://git.rtems.org/examples-v2.git
On May 15, 2013 5:34 PM, "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> 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> 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
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>
>
>
> --
>
> regards
> ---
> Matthew J Fletcher
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130515/5102a841/attachment-0001.html>


More information about the users mailing list