As I know, in FreeRTOS, these are two methods taskENTER_CRITICAL() and taskEXIT_CRITICAL() which are used to enter and exit the critical section. Is there any wrapper for these two methods in the CMSIS API?
Just like the osKernelStart() is the CMSIS API to wrap the vTaskStartScheduler() in the FreeRTOS.