Altera HWLIB  16.0
The Altera HW Manager API Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Interrupt Controller Global Interface [Secure]

Description

This group of APIs provide access, configuration, and control of the interrupt controller global functions when in the Secure state.

Functions

ALT_STATUS_CODE alt_int_global_init (void)
 
ALT_STATUS_CODE alt_int_global_uninit (void)
 
ALT_STATUS_CODE alt_int_global_enable (void)
 
ALT_STATUS_CODE alt_int_global_disable (void)
 
ALT_STATUS_CODE alt_int_global_enable_ns (void)
 
ALT_STATUS_CODE alt_int_global_disable_ns (void)
 
ALT_STATUS_CODE alt_int_global_enable_all (void)
 
ALT_STATUS_CODE alt_int_global_disable_all (void)
 

Function Documentation

ALT_STATUS_CODE alt_int_global_init ( void  )

Performs the initialization steps needed by the interrupt controller system. This should be the first API calls made when using the interrupt controller API.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_uninit ( void  )

Performs the uninitialization steps needed by the interrupt controller system.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_enable ( void  )

Enables all secure interrupt forwarding from the interrupt controller to the CPU interfaces.

The interrupt controller monitors all secure interrupt signals and forwards pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_disable ( void  )

Disables all secure interrupt forwarding from the interrupt controller to the CPU interfaces.

The interrupt controller ignores all secure interrupt signals and does not forward pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_enable_ns ( void  )

Enables all non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.

The interrupt controller monitors all non-secure interrupt signals and forwards pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_disable_ns ( void  )

Disables all non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.

The interrupt controller ignores all non-secure interrupt signals and does not forward pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_enable_all ( void  )

Enables all secure and non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.

The interrupt controller monitors all secure and non-secure interrupt signals and forwards pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_disable_all ( void  )

Disables all secure and non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.

The interrupt controller ignores all secure and non-secure interrupt signals and does not forward pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.