[][src]Function esp32_hal::interrupt::enable_with_priority

#[link_section = ".rwtext"]pub fn enable_with_priority(
    core: Core,
    interrupt: Interrupt,
    level: InterruptLevel
) -> Result<(), Error>

Enable interrupt and set priority for a particular core

Valid levels are 1-7. Level 0 is used to disable the interrupt.

Note: CPU internal interrupts can only be set on the current core.

Note: take care when mapping multiple peripheral edge triggered interrupts to the same level: this will cause all handlers to be called.