Altera HWLIB  16.0
The Altera HW Manager API Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
FPGA Manager Interrupt Control

Description

The functions in this group provide management of interrupts originating from the FPGA Manager.

The following interrupt request (IRQ) signal is sourced from the FPGA Manager:

Functions

ALT_STATUS_CODE alt_fpga_man_irq_disable (ALT_FPGA_MON_STATUS_t mon_stat_mask)
 
ALT_STATUS_CODE alt_fpga_man_irq_enable (ALT_FPGA_MON_STATUS_t mon_stat_mask)
 

Function Documentation

ALT_STATUS_CODE alt_fpga_man_irq_disable ( ALT_FPGA_MON_STATUS_t  mon_stat_mask)

Disable the fpga_man_IRQ interrupt signal source monitor status condition(s).

This function disables one or more of the monitor status conditions as contributors to the fpga_man_IRQ interrupt signal state.

NOTE: A set bit for a monitor status condition in the mask value does not have the effect of enabling it as a contributor to the fpga_man_IRQ interrupt signal state. The function alt_fpga_man_irq_enable() is used to enable monitor status source condition(s).

Parameters
mon_stat_maskSpecifies the monitor status conditions to disable as interrupt source contributors. mon_stat_mask is a mask of logically OR'ed ALT_FPGA_MON_STATUS_t values that designate the monitor status conditions to disable.
Return values
ALT_E_SUCCESSSuccessful status.
ALT_E_BAD_ARGThe mon_stat_mask argument contains an unknown monitor status value.
ALT_STATUS_CODE alt_fpga_man_irq_enable ( ALT_FPGA_MON_STATUS_t  mon_stat_mask)

Enable the fpga_man_IRQ interrupt signal source monitor status condition(s).

This function enables one or more of the monitor status conditions as contributors to the fpga_man_IRQ interrupt signal state.

NOTE: A cleared bit for any monitor status condition in the mask value does not have the effect of disabling it as a contributor to the fpga_man_IRQ interrupt signal state. The function alt_fpga_man_irq_disable() is used to disable monitor status source condition(s).

Parameters
mon_stat_maskSpecifies the monitor status conditions to enable as interrupt source contributors. mon_stat_mask is a mask of logically OR'ed ALT_FPGA_MON_STATUS_t values that designate the monitor conditions to enable.
Return values
ALT_E_SUCCESSSuccessful status.
ALT_E_BAD_ARGThe mon_stat_mask argument contains an unknown monitor status value.