Function ruduino::interrupt::without_interrupts [−][src]
pub fn without_interrupts<F, T>(f: F) -> T where
F: FnOnce() -> T,
Executes a closure, disabling interrupts until its completion.
Restores interrupts after the closure has completed execution.