Reset Management Unit (RMU) Peripheral API. More...
![]() |
Defines | |
#define | RMU_LockupResetDisable(A) RMU_ResetControl(rmuResetLockUp, A) |
Enumerations | |
enum | RMU_Reset_TypeDef { rmuResetLockUp = _RMU_CTRL_LOCKUPRDIS_SHIFT } |
Functions | |
void | RMU_ResetControl (RMU_Reset_TypeDef reset, bool enable) |
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. |
Reset Management Unit (RMU) Peripheral API.
#define RMU_LockupResetDisable | ( | A | ) | RMU_ResetControl(rmuResetLockUp, A) |
enum RMU_Reset_TypeDef |
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 SW before a new reset occurs, otherwise reset causes may accumulate. See RMU_ResetCauseGet().
Definition at line 169 of file em_rmu.c.
References BITBAND_Peripheral(), EMU_Lock(), and EMU_Unlock().
uint32_t RMU_ResetCauseGet | ( | void | ) |
Get the cause of the last reset.
In order to be useful, the reset cause must be cleared by SW 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".
void RMU_ResetControl | ( | RMU_Reset_TypeDef | reset, | |
bool | enable | |||
) |
Disable/enable reset for various peripherals and signal sources.
[in] | reset | Reset types to enable/disable |
[in] | enable |
|
Definition at line 154 of file em_rmu.c.
References BITBAND_Peripheral().