Anonymous
Not applicable
Jan 29, 2014
03:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2014
03:54 AM
Is there a possibility to determine atomic_block, if not then how better to do?
Labels
- Labels:
-
PSoC 5LP
2 Replies
Jan 29, 2014
08:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2014
08:48 AM
There are CyEntercriticalSection() and CyExitCriticalSection() both described in "System Reference Guide" accessable form Creator 3's Help-menu.
Bob
Anonymous
Not applicable
Jan 29, 2014
09:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2014
09:43 AM
Thank you Bob!
Example:
uint8 int_state;
int_state = CyEnterCriticalSection();
......
......
CyExitCriticalSection(int_state);