EFR32 Blue Gecko 1 Software Documentation  efr32bg1-doc-5.1.2
em_rmu.h File Reference

Detailed Description

Reset Management Unit (RMU) peripheral API.

Version
5.1.2

License

Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file em_rmu.h.

#include "em_device.h"
#include "em_assert.h"
#include <stdbool.h>

Go to the source code of this file.

Macros

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

Enumerations

enum  RMU_Reset_TypeDef {
  rmuResetLockUp = _RMU_CTRL_LOCKUPRMODE_MASK,
  rmuResetWdog = _RMU_CTRL_WDOGRMODE_MASK,
  rmuResetCoreLockup = _RMU_CTRL_LOCKUPRMODE_MASK,
  rmuResetSys = _RMU_CTRL_SYSRMODE_MASK,
  rmuResetPin = _RMU_CTRL_PINRMODE_MASK
}
 
enum  RMU_ResetMode_TypeDef {
  rmuResetModeDisabled = _RMU_CTRL_PINRMODE_DISABLED,
  rmuResetModeLimited = _RMU_CTRL_PINRMODE_LIMITED,
  rmuResetModeExtended = _RMU_CTRL_PINRMODE_EXTENDED,
  rmuResetModeFull = _RMU_CTRL_PINRMODE_FULL
}
 

Functions

void RMU_ResetCauseClear (void)
 Clear the reset cause register. More...
 
uint32_t RMU_ResetCauseGet (void)
 Get the cause of the last reset. More...
 
void RMU_ResetControl (RMU_Reset_TypeDef reset, RMU_ResetMode_TypeDef mode)
 Disable/enable reset for various peripherals and signal sources. More...
 
__STATIC_INLINE uint32_t RMU_UserResetStateGet (void)
 Get user reset state. This state is reset only by a Power-on-reset and a pin reset. More...
 
__STATIC_INLINE void RMU_UserResetStateSet (uint32_t userState)
 Set user reset state. This state is reset only by a Power-on-reset and a pin reset. More...