rtic/rtic-monotonics/src
Finomnis 3dfef74a4c
[monotonics] Fix STM32 read-modify-write race condition (#984)
* Fix stm32 read-modify-write problem

The `SR` register for STM32 clears when writing a zero to a bit.
Therefore, all registers that should not be cleared need to be `1`.

`modify` here caused a read-modify-write error that could clear
unrelated flags.

* Add changelog

* Make initialization more deterministic

* Update changelog

* Beautification in comments

---------

Co-authored-by: Martin Stumpf <martin.stumpf@vected.de>
2024-10-23 19:28:42 +00:00
..
nrf Breaking change: portable-atomic (#922) 2024-06-23 06:45:49 +00:00
esp32c3.rs Update support/example for ESP32-C3 to use latest versions of dependencies (#975) 2024-10-16 19:29:51 +00:00
imxrt.rs Breaking change: portable-atomic (#922) 2024-06-23 06:45:49 +00:00
lib.rs rtic-monotonics: Improve docs on interrupt priority 2024-10-23 20:57:42 +02:00
nrf.rs rtic-monotonics: Add some docs 2023-04-15 19:19:49 +02:00
rp235x.rs Feature/rp235x (#970) 2024-09-29 04:19:37 +00:00
rp2040.rs Fix STM32 Monotonic for peripherals with only two Clock Compare modules (#960) 2024-07-05 16:19:51 +00:00
stm32.rs [monotonics] Fix STM32 read-modify-write race condition (#984) 2024-10-23 19:28:42 +00:00
systick.rs Fix for system_monotonic macro with 1 argument (#978) 2024-09-18 13:15:17 +00:00