mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
289814edcf
If a timer's channel was set with a really small realtive duration from now, such that it would be missed (underflowed), the driver would stop the timer, potentially causing missed ticks. It was stopped to ensure that the channel's output-compare register could be set to the current counter value, before re-enabling the timer's counter. This is a condition that will ensure that the underflow won't happen again and the interrupt will fire, at the cost of losing some ticks for very high speed clocks. This patch replaces the logic that stopped the timer. Instead it uses a register provided by the timer hardware to trigger timer interrupts via software. |
||
---|---|---|
.. | ||
bootloader | ||
dist | ||
include | ||
kconfigs | ||
ldscripts | ||
periph | ||
stmclk | ||
vectors | ||
cpu_common.c | ||
cpu_init.c | ||
doc.txt | ||
Kconfig | ||
Makefile | ||
Makefile.cmsis | ||
Makefile.default | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
stm32_info.mk | ||
stm32_line.mk | ||
stm32_mem_lengths.mk | ||
stm32_riotboot.mk | ||
stm32.config |