Nios® V Processor Software Developer Handbook

ID 743810
Date 2/14/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

12.1.1.41. alt_irq_enable_all()

Prototype

void alt_irq_enable_all (alt_irq_context context)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

Yes.

Include

<sys/alt_irq.h>

Description

The alt_irq_enable_all() function enables the processor's interrupt feature that were previously disabled by alt_irq_disable_all(). The input argument, context, is the value returned by a previous call to alt_irq_disable_all(). Using context allows nested calls to alt_irq_disable_all() and alt_irq_enable_all(). As a result, alt_irq_enable_all() does not necessarily enable all interrupts, such as interrupts explicitly disabled by alt_ic_irq_disable().

Return

--