Function esp32c2_hal::interrupt::map
source · pub unsafe fn map(_core: Cpu, interrupt: Interrupt, which: CpuInterrupt)
Expand description
Assign a peripheral interrupt to an CPU interrupt.
Great care must be taken when using the vectored
feature (enabled by
default). Avoid interrupts 1 - 15 when interrupt vectoring is enabled.