Specifications

A call to alt_instruction_exception_register() replaces the previously registered exception handler,
if any. If handler is set to null, the instruction-related exception handler is removed.
For more information about usage, refer to the "Exception Handling" section.
Return
--
Related Information
alt_exception_cause_generated_bad_addr() on page 14-23
alt_irq_register() on page 14-43
alt_irq_disable()
Prototype
int alt_irq_disable (alt_u32 id)
Commonly Called By
C/C++ programs
Device drivers
Thread-safe
Yes.
Available from ISR
No.
Include
<priv/alt_legacy_irq.h>
Description
The alt_irq_disable() function disables a single interrupt.
This function is part of the legacy HAL interrupt API, which is deprecated. Altera recommends using the
enhanced HAL interrupt API.
For more information about using the enhanced HAL interrupt API, refer to “Nios II Interrupt Service
Routines” in the "Exception Handling" chapter.
Return
The return value is zero.
Related Information
Nios II Interrupt Service Routines on page 8-6
alt_ic_irq_enable() on page 14-34
alt_ic_irq_enabled() on page 14-31
14-36
alt_irq_disable()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback