Function esp32c2_hal::interrupt::set_priority
source · pub unsafe fn set_priority(_core: Cpu, which: CpuInterrupt, priority: Priority)
Expand description
Set the priority level of an CPU interrupt
Great care must be taken when using the vectored
feature (enabled by
default). Avoid changing the priority of interrupts 1 - 15 when
interrupt vectoring is enabled.