Trait cortex_m_interrupt::InterruptHandle
source · [−]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
sourcefn register(self, f: fn())
fn register(self, f: fn())
Configure the occupation of the interrupt associated with this InterruptHandle
.
Calling register
more than once for the same interrupt will panic.