Skip to main content

k_irq_clear_pending

Function k_irq_clear_pending 

Source
pub unsafe extern "C" fn k_irq_clear_pending(irq: u32)
Expand description

@brief Clear the pending state of an IRQ.

Discard a latched, not yet serviced interrupt from source @a irq. Only the controller’s latched state is affected: a level-triggered line still asserted by the peripheral pends again immediately.

@kconfig_dep{CONFIG_ARCH_HAS_IRQ_PENDING_OPS}

@param irq IRQ line.