Nios® II Software Developer Handbook

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

15.1.41. alt_irq_enable()

Prototype

int alt_irq_enable (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_enable() function enables 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.

Return

The return value is zero.