cancel
Showing results for 
Search instead for 
Did you mean: 

ENTR_CRT_SECTION();, EXT_CRT_SECTION();

onur
Associate
Posted on September 30, 2016 at 17:34

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.h

This 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-!!!!!-keil
1 REPLY 1
Posted on September 30, 2016 at 17:41

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()

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..