Specifications
Available from ISR
No.
Include
<sys/alt_irq.h>
Description
The alt_ic_irq_disable() function disables a single interrupt.
The function arguments are as follows:
• ic_id is the interrupt controller identifier (ID) as defined in system.h, identifying the external
interrupt controller in the daisy chain. This argument is ignored if the external interrupt controller
interface is not implemented.
• irq is the interrupt request (IRQ) number, as defined in system.h, identifying the interrupt to enable.
• A driver for an external interrupt controller (EIC) must implement this function.
Return
This function returns zero if successful, or nonzero otherwise. The function fails if the irq parameter is
greater than the maximum interrupt port number supported by the external interrupt controller.
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_enabled() on page 14-40
• alt_irq_init() on page 14-41
• alt_irq_pending () on page 14-42
• alt_irq_register() on page 14-43
alt_ic_irq_enabled()
Prototype
int alt_ic_irq_enabled (alt_u32 ic_id, alt_u32 irq)
Commonly Called By
C/C++ programs
Device drivers
NII5V2
2015.05.14
alt_ic_irq_enabled()
14-31
HAL API Reference
Altera Corporation
Send Feedback