Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Hello everyone, I am Pi Zi Heng, a serious technical enthusiast. Today, I will share with you three implementations of critical section protection in Cortex-M bare metal environment. Friends who have worked with embedded systems and RTOS must be familiar with the function codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In RTOS, there is often multi-tasking (process) handling, … Read more

Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Today, Pi Zi Heng will share with you the three implementations of critical section protection in Cortex-M bare metal. Those who have worked with embedded systems and RTOS are likely familiar with the function codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In RTOS, multi-tasking (process) handling often occurs, and in some situations, certain special operations (such as Flash … Read more

Implementing Critical Section Protection in Cortex-M Bare Metal

Implementing Critical Section Protection in Cortex-M Bare Metal

Source | Pi Zi Heng Embedded Today, I will share with you three implementations of critical section protection in Cortex-M bare metal environments. Friends who have worked with embedded systems and RTOS are probably very familiar with the functionality codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In an RTOS, there are often multi-task (process) handling situations where certain … Read more