Resolved! STM32L4 CRITICAL SECTION
I use the following code to create critical section. Is it correct?I use the __get_PRIMASK() and __set_PRIMASK(primask_bit) from exemple codes. Why are they needed? Why disable is not sufficient?Must I enable the IRQ after or is it done in the __set_...