pub unsafe fn map(core: Cpu, interrupt: Interrupt, which: CpuInterrupt)
Available on crate feature
unstable
only.Expand description
Assign a peripheral interrupt to an CPU interrupt
Note: this only maps the interrupt to the CPU interrupt. The CPU interrupt still needs to be enabled afterwards
ยงSafety
Do not use CPU interrupts in the RESERVED_INTERRUPTS
.