Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.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.