pabigot wrote on Friday, July 06, 2012:
The FAQ has:
Do not use any method for disabling and enabling interrupts other than calls to portENTER_CRITICAL() and portEXIT_CRITICAL().
I’ve always found it rather confusing that many of the portX macros have taskX equivalents which are macros that do nothing but invoke the portX one. What’s the recommended practice on selecting which spelling of that functionality should be used in code? Is there any function/macro for which there’s a taskX version that is not equivalent to a portX version (if both exist)?