Nios II Classic Software Developer’s Handbook

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

14.1.42. 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 all interrupts 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_irq_disable().

Return

--