Nios® V Processor Software Developer Handbook

ID 743810
Date 10/06/2025
Public
Document Table of Contents

18.1.3.14. alt_clic_get_priority()

Prototype

alt_u8 alt_clic_get_priority(alt_u32 irq)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

No.

Available from ISR

No.

Include

<sys/alt_irq.h>

Description

Gets the priority of the CLIC platform interrupt indicated by irq.

The irq is the IRQ number, as defined in system.h, identifying the interrupt to register

Return

This function returns zero if successful, or nonzero otherwise. The function fails if irq is an invalid platform interrupt number.