A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: iga1401399663823
Ixiasoft
Visible to Intel only — GUID: iga1401399663823
Ixiasoft
38.5.4. VIC API
- alt_ic_isr_register()
- alt_ic_irq_enable()
- alt_ic_irq_disable()
- alt_ic_irq_enabled()
These functions write to the register map to change the setting or read from the register map to check the status of the VIC component through a memory-mapped address.
For detailed descriptions of these functions, refer to the to the HAL API Reference chapter of the Nios® II Software Developer’s Handbook.
The table below lists the API functions specific to the VIC core and briefly describes each. Details of each function follow the table.
Table 405. Function List Name Description alt_vic_sw_interrupt_set() Sets the corresponding bit in the SW_INTERRUPT register to enable a given interrupt via software. alt_vic_sw_interrupt_clear() Clears the corresponding bit in the SW_INTERRUPT register to disable a given interrupt via software. alt_vic_sw_interrupt_status() Reads the status of the SW_INTERRUPT register for a given interrupt. alt_vic_irq_set_level() Sets the interrupt level for a given interrupt.
Section Content
alt_vic_sw_interrupt_set()
alt_vic_sw_interrupt_clear()
alt_vic_sw_interrupt_status()
alt_vic_irq_set_level()