Nios II Classic Software Developer’s Handbook

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

14.1.40. alt_irq_disable_all()

Prototype

alt_irq_context alt_irq_disable_all (void)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

No.

Include

<sys/alt_irq.h>

Description

The alt_irq_disable_all() function disables all maskable interrupts. Nonmaskable interrupts (NMIs) are unaffected.

Return

Pass the return value as the input argument to a subsequent call to alt_irq_enable_all().