modm API documentation
|
#include <modm/architecture/interface/atomic_lock.hpp>
Opposite to atomic::Lock
Use this class to create a block of code with interrupts enabled inside a locked block.
Most of the time you won't need this class. But on some rare times it is useful. The modm::Scheduler is an example for that.