AVRTools
A Library for the AVR ATmega328 and ATmega2560 Microcontrollers
|
This class defines an object that disables all interrupts during its lifetime. Interrupt state is restored by the object's destructor when the object goes out of scope. More...
#include <InterruptUtils.h>
Public Member Functions | |
AllOff () | |
Suppress all interrupts when the object is instantiated. | |
~AllOff () | |
Re-enable interrupts, restoring the interrupt state as it was when the object was instantiated. | |
This class defines an object that disables all interrupts during its lifetime. Interrupt state is restored by the object's destructor when the object goes out of scope.