cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable
        Is there a possibility to determine atomic_block, if not then how better to do?   
0 Likes
Reply
2 Replies
Esteemed Contributor II

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

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

Thank you Bob!

   

Example:

   

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

0 Likes
Reply