Visible to Intel only — GUID: iga1457455273257
Ixiasoft
Visible to Intel only — GUID: iga1457455273257
Ixiasoft
38.6.2. Software for VIC
If you write an interrupt handler for a system based on the VIC component, you must use the HAL enhanced interrupt API to register the handler and control its runtime environment. The enhanced interrupt API provides a number of functions for use with EICs, including the VIC. This section describes a subset of the functions in the enhanced interrupt API.
For information about the enhanced interrupt API, refer to “Interrupt Service Routines” in the Exception Handling chapter of the Nios® II Software Developer’s Handbook.
In particular, this section shows how to code a driver so that it supports both the enhanced API and the legacy API. This must include testing for the presence of the enhanced API, and conditionally calling the appropriate function.