[riot-notifications] [RIOT-OS/RIOT] periph/timer: add timer_set_periodic() (#13902)
notifications at github.com
Tue May 12 11:22:47 CEST 2020
> 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?
Yes, I didn't want to enforce that you could only use the first channel in this mode.
One could imagine setting `TIM_FLAG_RESET_ON_MATCH` on channel 1 and then using channel 0 as a half-way interrupt.
> maybe should be documented is that this would conflict with the operation of a high level timer interface right?
Yea this assumes there is only one user of the timer - but you shouldn't mess with the hardware timer used by e.g. xtimer either.
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...
More information about the notifications