Function cortex_m::interrupt::free[][src]

pub fn free<F, R>(f: F) -> R where
    F: FnOnce(&CriticalSection) -> R, 

Execute closure f in an interrupt-free context.

This as also known as a “critical section”.