Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.1.45. alt_irq_pending ()

Prototype

void alt_irq_pending (void)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

Yes.

Include

<sys/alt_irq.h>

Description

The alt_irq_pending () function returns a bit list of the current pending interrupts. This is used by alt_irq_handler() to determine which registered interrupt handlers should be called. This routine is only available for the Nios® II internal interrupt controller.

Return

--