Function esp32c3_hal::interrupt::enable

source ·
pub fn enable(interrupt: Interrupt, level: Priority) -> Result<(), Error>
Expand description

Enables a interrupt at a given priority

Note that interrupts still need to be enabled globally for interrupts to be serviced.