atomic_block

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        Is there a possibility to determine atomic_block, if not then how better to do?   
0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There are CyEntercriticalSection() and CyExitCriticalSection() both described in "System Reference Guide" accessable form Creator 3's Help-menu.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Thank you Bob!

   

Example:

   

uint8 int_state;
int_state = CyEnterCriticalSection();
......
......
CyExitCriticalSection(int_state);

0 Likes