Nios II Classic Software Developer’s Handbook

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

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