Visible to Intel only — GUID: iga1401399665289
Ixiasoft
Visible to Intel only — GUID: iga1401399665289
Ixiasoft
38.5.4.4. alt_vic_irq_set_level()
Prototype: | int alt_vic_irq_set_level(alt_u32 ic_id, alt_u32 irq, alt_u32 level) |
Thread-safe: | No |
Available from ISR: | No |
Include: | altera_vic_irq.h, altera_vic_regs.h |
Parameters: | ic_id—the interrupt controller identification number as defined in system.h irq—the interrupt value as defined in system.h level—the interrupt level to set |
Returns: | Returns zero if successful; otherwise non-zero for one or more of the following reasons: The value in ic_id is invalid The value in irq is invalid The value in level is invalid |
Description: | Sets the interrupt level for a single interrupt. Intel recommends setting the interrupt level only to zero to disable the interrupt or to the original value specified in your BSP. Writing any other value could violate the overlapping register set, priority level, and other design rules. Refer to the VIC BSP Design Rules for to Intel FPGA HAL Implementation section for more information. |