[riot-notifications] [RIOT-OS/RIOT] periph/timer: add timer_set_periodic() (#13902)

Francisco notifications at github.com
Tue May 12 11:02:21 CEST 2020

> > Or does `timer_set_periodic()` cause the timer to reset to 0 after each period?
> Only if you call it with the `TIM_FLAG_RESET_ON_MATCH` flag.

if I understand correctly without the `TIM_FLAG_RESET_ON_MATCH` then only the first interrupt will happen after the desired time, all subsequent ISR will be after a full timer cycle right?

On the other side with or without `TIM_FLAG_RESET_ON_MATCH` `timer_read` doesn't need to change IMO, what maybe should be documented is that this would conflict with the operation of a high level timer interface right?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/ce7c4043/attachment.htm>

More information about the notifications mailing list