1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/qn908x/include
Marian Buschsieweke 94f9a56125
cpu/qn908x/periph_timer: Implement timer_set()
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.
2023-01-03 22:35:11 +01:00
..
vendor cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
cpu_conf.h cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
flexcomm.h cpu/qn908x: Add support for UART. 2020-12-03 20:53:49 +01:00
gpio_mux.h cpu/qn908x: Implement blocking SPI support. 2021-01-31 16:27:20 +00:00
periph_cpu.h cpu/qn908x/periph_timer: Implement timer_set() 2023-01-03 22:35:11 +01:00
vectors_qn908x.h cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00