Timer usage

Joel Sherrill joel at rtems.org
Wed Apr 18 14:10:06 UTC 2018


On Wed, Apr 18, 2018 at 9:06 AM, Matthew J Fletcher <amimjf at gmail.com>
wrote:

> Hi,
>
> I might give it a go,.. is https://git.rtems.org/
> rtems-docs/tree/c-user/timer_manager.rst the correct source file ?
>

Exactly.

>
> then follow https://devel.rtems.org/wiki/Developer/Git/Users#
> CreatingaPatch
>

Yes.

The toolset used is Sphinx and there are instructions for installing them.
If on a
Redhat/Fedora/CentOS releases, be warned they do not package it correctly so
you need to get it from upstream.

But you shouldn't have to do much formatting. :)

Thanks for taking a shot at it.

--joel

>
>
> On 18 April 2018 at 14:40, Joel Sherrill <joel at rtems.org> wrote:
>
>>
>>
>> On Wed, Apr 18, 2018 at 8:25 AM, Matthew J Fletcher <amimjf at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I notice that the rtems timer routines only take an inital timer fire
>>> period (or an absolute time), and dont specify a re-schedule period.
>>>
>>> It looks like one would use rtems_timer_reset() to re-trigger the timer
>>> based on its inital fire period and rountine, but there is no mention of
>>> the argument being re-passed,.. so i presume that if you wish to pass the
>>> same argument again, you need to call rtems_timer_fire_after() re-passing
>>> all the arguments ?
>>>
>>
>> It will have the same arguments. If you have a patch for the
>> documentation, please post it.
>>
>> --joel
>>
>>
>>>
>>>
>>> --
>>>
>>> regards
>>> ---
>>> Matthew J Fletcher
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>>
>>
>>
>
>
> --
>
> regards
> ---
> Matthew J Fletcher
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180418/43710ec8/attachment.html>


More information about the users mailing list