1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430
Marian Buschsieweke 49d59d166d
cpu/msp430/periph_timer: add a static_assert() for clear mask
The driver assumes that timer A and timer B have the same register
layout regarding all the features exposed by the driver. This is
backed by the MCU family datasheets for the MSP430 x1xx and the
MSP430 G2xx / F2xx MCUs (and likely more families).

The assert() is pretty limited in coverage, but more to document why
a "timer A clear" mask is used but still claiming the driver also
works for timer B. It just looks too much like a bug otherwise.
2024-04-14 16:01:58 +02:00
..
include cpu/msp430/f2xx: clean up periph_uart,periph_spi 2024-03-27 18:54:07 +01:00
kconfigs *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
ldscripts cpu/msp430: improve periph_timer 2023-12-10 09:11:23 +01:00
periph cpu/msp430/periph_timer: add a static_assert() for clear mask 2024-04-14 16:01:58 +02:00
vendor cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
clock.c sys/busy_wait: add busy wait helper 2024-01-09 19:03:15 +01:00
cpu.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
doc.txt cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
irq.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Makefile.dep cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Makefile.features cpu/msp430/f2xx: clean up periph_uart,periph_spi 2024-03-27 18:54:07 +01:00
Makefile.include cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
msp430-main.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
mspgcc-supplement.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
startup.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00