1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/sam3/periph
Marian Buschsieweke 63caa45746
cpu/sam3: assert valid freq in timer_init()
The API of timer_init() expects callers to know what frequencies are
supported and only use valid frequencies. So let's add an `assert()`
to aid debugging if the app uses an invalid.
2023-09-15 12:58:31 +02:00
..
adc.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
cpuid.c many typo fixes 2019-11-23 22:39:07 +01:00
dac.c cpu, sam3: fix periph/dac poweron 2017-11-13 12:03:05 +01:00
gpio.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
hwrng.c doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pwm.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
rtt.c cpu/sam3/periph_rtt: fix rtt_get_alarm() 2021-03-30 14:49:11 +02:00
spi.c cpu/periph_spi: update implementations to new API 2021-09-01 21:38:40 +02:00
timer.c cpu/sam3: assert valid freq in timer_init() 2023-09-15 12:58:31 +02:00
uart.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00