[−][src]Macro irq::handler
Defines a closure-based interrupt handler that can use stack-local data.
This is a convenience macro that creates a &mut Handler
variable that can be
passed to Scope::register
.
Examples
let mut i = 0; handler!(my_handler = || i += 1);