Function stm32f407g_disc::interrupt::free
source · pub fn free<F, R>(f: F) -> Rwhere
F: FnOnce(&CriticalSection) -> R,
Expand description
Execute closure f
in an interrupt-free context.
This as also known as a “critical section”.