Nios® II Software Developer Handbook

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

15.1.38. alt_irq_disable()

Prototype

int alt_irq_disable (alt_u32 id)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

No.

Include

<priv/alt_legacy_irq.h>

Description

The alt_irq_disable() function disables a single interrupt.

This function is part of the legacy HAL interrupt API, which is deprecated. Intel FPGA recommends using the enhanced HAL interrupt API.

For more information about using the enhanced HAL interrupt API, refer to “ Nios® II Interrupt Service Routines” in the "Exception Handling" chapter.

Return

The return value is zero.