Macro for forcing a context switch.
Macro to mark the start of a critical code region. Preemptive context switches cannot occur when in a critical region.
NOTE: This may alter the stack (depending on the portable implementation) so must be used with care!
Macro to mark the end of a critical code region. Preemptive context switches cannot occur when in a critical region.
NOTE: This may alter the stack (depending on the portable implementation) so must be used with care!
Macro to disable all maskable interrupts.
Macro to enable microcontroller interrupts.