esp_hal::interrupt

Function map

Source
pub unsafe fn map(_core: Cpu, interrupt: Interrupt, which: CpuInterrupt)
Expand description

Assign a peripheral interrupt to an CPU interrupt.

ยงSafety

Do not use CPU interrupts in the RESERVED_INTERRUPTS.