pub trait InterruptHandle {
    fn register(self, f: fn());
}
Expand description

A handle that can be used to configure the occupation of an interrupt.

Creating an implementor of InterruptHandle can be done using the take_nvic_interrupt or take_exception macros.

Required Methods

Configure the occupation of the interrupt associated with this InterruptHandle.

Calling register more than once for the same interrupt will panic.

Implementors