2016-09-30 08:34 AM
Hello Everyone;
ENTR_CRT_SECTION();, EXT_CRT_SECTION();What is these functions ?,Which IDE used these functions ?,Do these functions are the internal library functions of the IDE ? What do these functions? (can you explain in detail.)https://github.com/jedediahfrey/STM32F4-Discovery_FW_V1.1.0_Makefiles/blob/master/FreeRTOS/FreeRTOS/Demo/CORTEX_M4F_STM32F407ZG-SK/board/arm_comm.hThis link just an example about these functions.are there keil vision too. in these functions ?I would be glad if you help me.Thank you for your interesting.Best Regards, #iar #function-usage-!!!!!-keil2016-09-30 08:41 AM
They look like Macros, for Enter and Exit Critical Section, ie a section of code that shouldn't be interrupted or have a context change, needs to complete unimpeded.
Use Google?http://www.mikrocontroller.net/attachment/192254/arm_comm.h
#define ENTR_CRT_SECTION() EntrCritSection()#define EXT_CRT_SECTION() ExtCritSection()