Cortex-M0 Atomic/integral access

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by JoWi on Wed May 14 01:02:13 MST 2014
I am currently mirgrating from 8051 to M0.

For simple IRQ<->UserSoftware comunication the 8051 had 1-bit flags. What is the smallest way (without disabling IRQs) to replace this on the M0 or do I have to use 32-bit ints?

Thanks, Jo