EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
efm32g_rmu.h File Reference

Detailed Description

EFM32G_RMU register and bit field definitions.

Version
5.1.2

License

Copyright 2017 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 Laboratories, Inc. has no obligation to support this Software. Silicon Laboratories, Inc. 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 Laboratories, Inc. 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 efm32g_rmu.h.

Go to the source code of this file.

Data Structures

struct  RMU_TypeDef
 

Macros

#define _RMU_CMD_MASK   0x00000001UL
 
#define _RMU_CMD_RCCLR_DEFAULT   0x00000000UL
 
#define _RMU_CMD_RCCLR_MASK   0x1UL
 
#define _RMU_CMD_RCCLR_SHIFT   0
 
#define _RMU_CMD_RESETVALUE   0x00000000UL
 
#define _RMU_CTRL_LOCKUPRDIS_DEFAULT   0x00000000UL
 
#define _RMU_CTRL_LOCKUPRDIS_MASK   0x1UL
 
#define _RMU_CTRL_LOCKUPRDIS_SHIFT   0
 
#define _RMU_CTRL_MASK   0x00000001UL
 
#define _RMU_CTRL_RESETVALUE   0x00000000UL
 
#define _RMU_RSTCAUSE_BODREGRST_DEFAULT   0x00000000UL
 
#define _RMU_RSTCAUSE_BODREGRST_MASK   0x4UL
 
#define _RMU_RSTCAUSE_BODREGRST_SHIFT   2
 
#define _RMU_RSTCAUSE_BODUNREGRST_DEFAULT   0x00000000UL
 
#define _RMU_RSTCAUSE_BODUNREGRST_MASK   0x2UL
 
#define _RMU_RSTCAUSE_BODUNREGRST_SHIFT   1
 
#define _RMU_RSTCAUSE_EXTRST_DEFAULT   0x00000000UL
 
#define _RMU_RSTCAUSE_EXTRST_MASK   0x8UL
 
#define _RMU_RSTCAUSE_EXTRST_SHIFT   3
 
#define _RMU_RSTCAUSE_LOCKUPRST_DEFAULT   0x00000000UL
 
#define _RMU_RSTCAUSE_LOCKUPRST_MASK   0x20UL
 
#define _RMU_RSTCAUSE_LOCKUPRST_SHIFT   5
 
#define _RMU_RSTCAUSE_MASK   0x0000007FUL
 
#define _RMU_RSTCAUSE_PORST_DEFAULT   0x00000000UL
 
#define _RMU_RSTCAUSE_PORST_MASK   0x1UL
 
#define _RMU_RSTCAUSE_PORST_SHIFT   0
 
#define _RMU_RSTCAUSE_RESETVALUE   0x00000000UL
 
#define _RMU_RSTCAUSE_SYSREQRST_DEFAULT   0x00000000UL
 
#define _RMU_RSTCAUSE_SYSREQRST_MASK   0x40UL
 
#define _RMU_RSTCAUSE_SYSREQRST_SHIFT   6
 
#define _RMU_RSTCAUSE_WDOGRST_DEFAULT   0x00000000UL
 
#define _RMU_RSTCAUSE_WDOGRST_MASK   0x10UL
 
#define _RMU_RSTCAUSE_WDOGRST_SHIFT   4
 
#define RMU_CMD_RCCLR   (0x1UL << 0)
 
#define RMU_CMD_RCCLR_DEFAULT   (_RMU_CMD_RCCLR_DEFAULT << 0)
 
#define RMU_CTRL_LOCKUPRDIS   (0x1UL << 0)
 
#define RMU_CTRL_LOCKUPRDIS_DEFAULT   (_RMU_CTRL_LOCKUPRDIS_DEFAULT << 0)
 
#define RMU_RSTCAUSE_BODREGRST   (0x1UL << 2)
 
#define RMU_RSTCAUSE_BODREGRST_DEFAULT   (_RMU_RSTCAUSE_BODREGRST_DEFAULT << 2)
 
#define RMU_RSTCAUSE_BODUNREGRST   (0x1UL << 1)
 
#define RMU_RSTCAUSE_BODUNREGRST_DEFAULT   (_RMU_RSTCAUSE_BODUNREGRST_DEFAULT << 1)
 
#define RMU_RSTCAUSE_EXTRST   (0x1UL << 3)
 
#define RMU_RSTCAUSE_EXTRST_DEFAULT   (_RMU_RSTCAUSE_EXTRST_DEFAULT << 3)
 
#define RMU_RSTCAUSE_LOCKUPRST   (0x1UL << 5)
 
#define RMU_RSTCAUSE_LOCKUPRST_DEFAULT   (_RMU_RSTCAUSE_LOCKUPRST_DEFAULT << 5)
 
#define RMU_RSTCAUSE_PORST   (0x1UL << 0)
 
#define RMU_RSTCAUSE_PORST_DEFAULT   (_RMU_RSTCAUSE_PORST_DEFAULT << 0)
 
#define RMU_RSTCAUSE_SYSREQRST   (0x1UL << 6)
 
#define RMU_RSTCAUSE_SYSREQRST_DEFAULT   (_RMU_RSTCAUSE_SYSREQRST_DEFAULT << 6)
 
#define RMU_RSTCAUSE_WDOGRST   (0x1UL << 4)
 
#define RMU_RSTCAUSE_WDOGRST_DEFAULT   (_RMU_RSTCAUSE_WDOGRST_DEFAULT << 4)