Hardware Libraries  20.1
Arria 10 SoC Hardware Manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Interrupt Utility Functions [Secure]

Description

This group of APIs provide utilities to query the system properties.

Functions

uint32_t alt_int_util_cpu_count (void)
 
uint32_t alt_int_util_int_count (void)
 
alt_int_cpu_target_t alt_int_util_cpu_current (void)
 

Function Documentation

uint32_t alt_int_util_cpu_count ( void  )

Gets the number of CPUs in the system.

Returns
The CPU count of the system.
uint32_t alt_int_util_int_count ( void  )

Gets the number of supported interrupts in the system.

Returns
The supported interrupt count of the system.
alt_int_cpu_target_t alt_int_util_cpu_current ( void  )

Gets the CPU indentifier of the current CPU interface.

Returns
The set of CPUs representing the current CPU interface.