Attribute Macro handler

Source
#[handler]
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