Open
Description
Please could you add some documentation describing the ATOMIC_BLOCK macro with a list of boards/architectures that support it or do not support it as the case my be? I would like to conditionally encapsulate some code within an ATOMIC_BLOCK for the systems that support it. Thank you.
#ifdef SOME_BOARDS_OR_ARCH
ATOMIC_BLOCK(ATOMIC_RESTORESTATE)
{
#endif
// Some code.
#ifdef SOME_BOARDS_OR_ARCH
}
#endif