1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/qn908x/periph
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
..
adc.c cpu/qn908x: migrate ADC periph to ztimer 2021-12-04 17:49:57 +01:00
flexcomm.c cpu/qn908x: Add support for UART. 2020-12-03 20:53:49 +01:00
gpio_mux.c cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
gpio.c cpu/qn908x: Fix triggering GPIO IRQ. 2020-12-06 18:07:44 +00:00
i2c.c cpu/periph/i2c: update implementations to new I2C API 2021-11-29 06:35:25 +01:00
Kconfig treewide: make all modules use Kconfig ZTIMER_USEC indirection 2022-03-17 14:33:07 +01:00
Makefile cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00
rtc.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
spi.c cpu/periph_spi: update implementations to new API 2021-09-01 21:38:40 +02:00
timer.c cpu/qn908x/periph_timer: Implement timer_set() 2023-01-03 22:35:11 +01:00
uart.c cpu/qn908x: fix ENABLE_DEBUG definition 2021-01-08 14:37:33 +01:00
wdt.c cpu/qn908x: Initial minimal support for NXP QN908x CPUs. 2020-12-02 02:47:07 +00:00