Specifications
Thread-safe
Yes.
Available from ISR
Yes.
Include
<sys/alt_irq.h>
Description
Determines whether maskable exceptions (status.PIE) are enabled.
For more information about using the enhanced HAL interrupt API, refer to “Nios II Interrupt Service
Routines” in the "Exception Handling" chapter.
Return
Returns zero if interrupts are disabled, and non-zero otherwise.
Related Information
• alt_ic_irq_enable() on page 14-34
• alt_ic_irq_enabled() on page 14-31
• alt_ic_isr_register() on page 14-32
• alt_irq_cpu_enable_interrupts () on page 14-37
• alt_irq_disable() on page 14-36
• alt_irq_disable_all() on page 14-38
• alt_irq_enable() on page 14-39
• alt_irq_enable_all() on page 14-39
• alt_irq_init() on page 14-41
• alt_irq_pending () on page 14-42
• alt_irq_register() on page 14-43
alt_irq_init()
Prototype
void alt_irq_init (void* base)
Commonly Called By
C/C++ programs
Device drivers
Thread-safe
Yes.
NII5V2
2015.05.14
alt_irq_init()
14-41
HAL API Reference
Altera Corporation
Send Feedback