Trait InterruptRegistration

Source
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.

Required Methods§

Source

fn occupy(self, f: fn())

Occupy this registration with f.

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

Implementors§