cortexm::support

Function atomic

Source
pub unsafe fn atomic<F, R>(f: F) -> R
where F: FnOnce() -> R,