Protecting Critical Sections in Cortex-M Bare Metal Environments
Today I will share with youthree implementations of critical section protection in Cortex-M bare metal environments. If you have worked with embedded systems and RTOS, you must be familiar with the function codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In RTOS, there are often multiple tasks (processes), and in some cases, certain special operations (such as Flash erase … Read more