[−][src]Function irq::scope
pub fn scope<'env, I, F, R>(f: F) -> R where
I: Interrupt,
F: FnOnce(&Scope<'env, I>) -> R,
Creates a scope in which interrupt handlers using stack-local data can be registered.
When this function returns, all interrupts will be deregistered again.