Skip to main content

k_irq_set_pending

Function k_irq_set_pending 

Source
pub unsafe extern "C" fn k_irq_set_pending(irq: c_uint)
Expand description

@brief Set the pending state of an IRQ.

Latch source @a irq in the interrupt controller as if the hardware had raised it. The peripheral behind @a irq knows nothing about a software-raised interrupt.

@kconfig_dep{CONFIG_ARCH_HAS_IRQ_PENDING_OPS}

@param irq IRQ line.