Dario Nieuwenhuis 0c6b5fc3f1 stm32/timer: correct interrupt clearing.
SR is "write 0 to clear". Using `.modify()` is wrong since it will accidentally
clear interrupts that happened between the read and write.

Correct way is to write all ones except zero in the bit we want to clear. It's also faster.
2026-01-13 16:20:16 +01:00
..
2025-12-05 14:28:47 +01:00
2025-12-19 12:29:50 +01:00
2025-12-15 09:32:46 +01:00
2025-12-19 12:29:50 +01:00
2025-12-19 12:29:50 +01:00
2026-01-04 17:36:38 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2025-11-25 11:18:01 +08:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-04 16:26:19 +01:00
2026-01-10 10:01:43 -08:00
2026-01-10 10:01:43 -08:00
2026-01-10 10:01:43 -08:00
2026-01-10 10:01:43 -08:00