pub trait InterruptRegistration {
// Required method
fn occupy(self, f: fn());
}Expand description
An interrupt registration, whose occupation can be configured.
Creating an implementor of InterruptRegistration can be done using the
take_nvic_interrupt or take_exception macros.