cancel
Showing results for 
Search instead for 
Did you mean: 

Do I need to lock interrupt on stm32?

Tobias Kruehn
Associate II
Posted on June 14, 2017 at 11:28

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.

This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0