2017-06-14 2:28 AM
Hello,
I wondered it writing / reading 32 bit values on a stm32 controller is atomic. The actual question is:
If I have an interrupt handler which writes a uint32_t value and an application which reads the same value, do I need to lock interrupt or mutex? If reading and writing 32 bit values is atomic there would be no reason to lock.
Thank you for answers.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.