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