Hardware Libraries  20.1
Stratix 10 SoC Hardware Manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Reset Control

Description

This functional group provides global and selective reset control for the SoC and its constituent modules.

Functions

ALT_STATUS_CODE alt_cpu_core_reset (uint32_t mask)
 
ALT_STATUS_CODE alt_cpu_por_reset (uint32_t mask)
 

Function Documentation

ALT_STATUS_CODE alt_cpu_core_reset ( uint32_t  mask)

Initiate a reset of cpu 0-3 module as indicated by reset mask. This will cause the CPU core reset signal to be asserted if that CPU is in WFI mode. The Reset Manager hardware will bring the module back out of reset after the appropriate amount of time. All fields are reset by a cold or a warm reset. This function must run in privileged mode.

Parameters
cpumask Specifies which cpu(s) to reset. Bit 0=CPU0 Bit1=CPU1 Bit2=CPU2 Bit3=CPU3
Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_cpu_por_reset ( uint32_t  mask)

Initiate a POR reset of cpu 0-3 module as indicated by reset mask. This will cause the CPU POR reset signal to be asserted if that CPU is in WFI mode. The Reset Manager hardware will bring the module back out of reset after the appropriate amount of time. All fields are only reset by a cold reset. This function must run in privileged mode.

Parameters
cpumask Specifies which cpu(s) to reset. Bit 0=CPU0 Bit1=CPU1 Bit2=CPU2 Bit3=CPU3
Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.