handler

Attribute Macro handler 

#[handler]
Available on crate feature unstable only.
Expand description

Mark a function as an interrupt handler.

Optionally a priority can be specified, e.g. #[handler(priority = esp_hal::interrupt::Priority::Priority2)].

If no priority is given, Priority::min() is assumed