Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.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().