1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/qn908x
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
..
include cpu/qn908x/periph_timer: Implement timer_set() 2023-01-03 22:35:11 +01:00
ldscripts cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
periph cpu/qn908x/periph_timer: Implement timer_set() 2023-01-03 22:35:11 +01:00
vendor cpu/qn908x: model Kconfig 2021-11-29 13:56:43 +01:00
cpu.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
doc.txt cpu/qn908x: Implement blocking SPI support. 2021-01-31 16:27:20 +00:00
isr_qn908x.c cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
Kconfig cpu/qn908x: model Kconfig 2021-11-29 13:56:43 +01:00
Kconfig.clk cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
Makefile cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
Makefile.dep cpu/qn908x: migrate ADC periph to ztimer 2021-12-04 17:49:57 +01:00
Makefile.features cpu/qn908x: Implement blocking SPI support. 2021-01-31 16:27:20 +00:00
Makefile.include cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
system.c cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
vectors.c cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00