This functional group provides global and selective reset control for the SoC and its constituent modules.
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
-
cpu | mask Specifies which cpu(s) to reset. Bit 0=CPU0 Bit1=CPU1 Bit2=CPU2 Bit3=CPU3 |
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The 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
-
cpu | mask Specifies which cpu(s) to reset. Bit 0=CPU0 Bit1=CPU1 Bit2=CPU2 Bit3=CPU3 |
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |