Skip to main content

k_irq_is_pending

Function k_irq_is_pending 

Source
pub unsafe extern "C" fn k_irq_is_pending(irq: c_uint) -> bool
Expand description

@brief Get IRQ pending state.

Report whether an interrupt from source @a irq is latched in the interrupt controller and has not been serviced yet. The result is a momentary snapshot.

@kconfig_dep{CONFIG_ARCH_HAS_IRQ_PENDING_OPS}

@param irq IRQ line.

@return interrupt pending state, true or false