Visible to Intel only — GUID: mwh1416946900000
Ixiasoft
Visible to Intel only — GUID: mwh1416946900000
Ixiasoft
9.2.8. Upgrading to the Enhanced HAL Interrupt API
If you plan to use an EIC, you must upgrade your custom driver to the enhanced HAL interrupt API.
Upgrading your device driver is very simple, requiring only minor changes to some function calls.
For more information and details of the API functions, refer to the "HAL API Reference" chapter.
Legacy API Function | Enhanced API Function |
---|---|
alt_irq_register() | alt_ic_isr_register() |
alt_irq_disable() | alt_ic_irq_disable() |
alt_irq_enable() | alt_ic_irq_enable() |
If your upgraded driver might need to function in a BSP with legacy drivers, code it to support both APIs.
For more information, refer to the “Supporting Multiple Interrupt APIs” chapter.