mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
94f9a56125
This fixes test failures in tests/periph_timer_short_relative_set. Note: This differs a bit from the implementation in e.g. nRF5x or STM32 in that it always briefly pauses the timer. The issue is that when running the timer can take a few ticks to actually react to the new compare target. So even if the previously written target is still in the future, the timer may not fire anyway. Pausing the timer while setting and setting the target at least one higher than the current count reliably triggers the IRQ. |
||
---|---|---|
.. | ||
include | ||
ldscripts | ||
periph | ||
vendor | ||
cpu.c | ||
doc.txt | ||
isr_qn908x.c | ||
Kconfig | ||
Kconfig.clk | ||
Makefile | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
system.c | ||
vectors.c |