RMU - Reset Management Unit

Description

Reset Management Unit (RMU) Peripheral API.

This module contains functions to control the RMU peripheral of Silicon Labs 32-bit MCUs and SoCs. RMU ensures correct reset operation and is responsible for connecting the different reset sources to the reset lines of the MCU or SoC.

Functions

void RMU_ResetControl (RMU_Reset_TypeDef reset, RMU_ResetMode_TypeDef mode)
 Disable/enable reset for various peripherals and signal sources.
 
void RMU_ResetCauseClear (void)
 Clear the reset cause register.
 
uint32_t RMU_ResetCauseGet (void)
 Get the cause of the last reset.
 

Macros

#define RMU_LockupResetDisable(A)   RMU_ResetControl(rmuResetLockUp, A)
 RMU_LockupResetDisable kept for backwards compatibility.
 

Enumerations

enum  RMU_ResetMode_TypeDef {
  rmuResetModeClear = 0,
  rmuResetModeSet = 1
}
 RMU reset modes.
 
enum  RMU_Reset_TypeDef {
  rmuResetBU = _RMU_CTRL_BURSTEN_MASK,
  rmuResetLockUp = _RMU_CTRL_LOCKUPRDIS_MASK
}
 RMU controlled peripheral reset control and reset source control.
 

Function Documentation

◆ RMU_ResetControl()

void RMU_ResetControl ( RMU_Reset_TypeDef  reset,
RMU_ResetMode_TypeDef  mode 
)

Disable/enable reset for various peripherals and signal sources.

Parameters
[in]resetReset types to enable/disable.s
[in]modeReset mode.

◆ RMU_ResetCauseClear()

void RMU_ResetCauseClear ( void  )

Clear the reset cause register.

This function clears all the reset cause bits of the RSTCAUSE register. The reset cause bits must be cleared by software before a new reset occurs. Otherwise, reset causes may accumulate. See RMU_ResetCauseGet().

◆ RMU_ResetCauseGet()

uint32_t RMU_ResetCauseGet ( void  )

Get the cause of the last reset.

To be useful, the reset cause must be cleared by software before a new reset occurs. Otherwise, reset causes may accumulate. See RMU_ResetCauseClear(). This function call will return the main cause for reset, which can be a bit mask (several causes) and clear away "noise".

Returns
A reset cause mask. See the reference manual for a description of the reset cause mask.

Macro Definition Documentation

◆ RMU_LockupResetDisable

#define RMU_LockupResetDisable (   A)    RMU_ResetControl(rmuResetLockUp, A)

RMU_LockupResetDisable kept for backwards compatibility.

Enumeration Type Documentation

◆ RMU_ResetMode_TypeDef

RMU reset modes.

◆ RMU_Reset_TypeDef

RMU controlled peripheral reset control and reset source control.

Enumerator
rmuResetBU 

Reset control over Backup Power domain select.

rmuResetLockUp 

Cortex lockup reset select.