Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

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

--