Function esp32c3_hal::interrupt::set_kind
source · [−]pub fn set_kind(_core: Cpu, which: CpuInterrupt, kind: InterruptKind)Expand description
Set the interrupt kind (i.e. level or edge) of an CPU interrupt
This is safe to call when the vectored feature is enabled. The vectored
interrupt handler will take care of clearing edge interrupt bits.