EZR32 Happy Gecko Software Documentation
ezr32hg-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
ezr32hg_rmu.h
Go to the documentation of this file.
1
/**************************************************************************/
32
/**************************************************************************/
36
/**************************************************************************/
41
typedef
struct
42
{
43
__IOM uint32_t
CTRL
;
44
__IM uint32_t
RSTCAUSE
;
45
__OM uint32_t
CMD
;
46
}
RMU_TypeDef
;
48
/**************************************************************************/
53
/* Bit fields for RMU CTRL */
54
#define _RMU_CTRL_RESETVALUE 0x00000000UL
55
#define _RMU_CTRL_MASK 0x00000001UL
56
#define RMU_CTRL_LOCKUPRDIS (0x1UL << 0)
57
#define _RMU_CTRL_LOCKUPRDIS_SHIFT 0
58
#define _RMU_CTRL_LOCKUPRDIS_MASK 0x1UL
59
#define _RMU_CTRL_LOCKUPRDIS_DEFAULT 0x00000000UL
60
#define RMU_CTRL_LOCKUPRDIS_DEFAULT (_RMU_CTRL_LOCKUPRDIS_DEFAULT << 0)
62
/* Bit fields for RMU RSTCAUSE */
63
#define _RMU_RSTCAUSE_RESETVALUE 0x00000000UL
64
#define _RMU_RSTCAUSE_MASK 0x000007FFUL
65
#define RMU_RSTCAUSE_PORST (0x1UL << 0)
66
#define _RMU_RSTCAUSE_PORST_SHIFT 0
67
#define _RMU_RSTCAUSE_PORST_MASK 0x1UL
68
#define _RMU_RSTCAUSE_PORST_DEFAULT 0x00000000UL
69
#define RMU_RSTCAUSE_PORST_DEFAULT (_RMU_RSTCAUSE_PORST_DEFAULT << 0)
70
#define RMU_RSTCAUSE_BODUNREGRST (0x1UL << 1)
71
#define _RMU_RSTCAUSE_BODUNREGRST_SHIFT 1
72
#define _RMU_RSTCAUSE_BODUNREGRST_MASK 0x2UL
73
#define _RMU_RSTCAUSE_BODUNREGRST_DEFAULT 0x00000000UL
74
#define RMU_RSTCAUSE_BODUNREGRST_DEFAULT (_RMU_RSTCAUSE_BODUNREGRST_DEFAULT << 1)
75
#define RMU_RSTCAUSE_BODREGRST (0x1UL << 2)
76
#define _RMU_RSTCAUSE_BODREGRST_SHIFT 2
77
#define _RMU_RSTCAUSE_BODREGRST_MASK 0x4UL
78
#define _RMU_RSTCAUSE_BODREGRST_DEFAULT 0x00000000UL
79
#define RMU_RSTCAUSE_BODREGRST_DEFAULT (_RMU_RSTCAUSE_BODREGRST_DEFAULT << 2)
80
#define RMU_RSTCAUSE_EXTRST (0x1UL << 3)
81
#define _RMU_RSTCAUSE_EXTRST_SHIFT 3
82
#define _RMU_RSTCAUSE_EXTRST_MASK 0x8UL
83
#define _RMU_RSTCAUSE_EXTRST_DEFAULT 0x00000000UL
84
#define RMU_RSTCAUSE_EXTRST_DEFAULT (_RMU_RSTCAUSE_EXTRST_DEFAULT << 3)
85
#define RMU_RSTCAUSE_WDOGRST (0x1UL << 4)
86
#define _RMU_RSTCAUSE_WDOGRST_SHIFT 4
87
#define _RMU_RSTCAUSE_WDOGRST_MASK 0x10UL
88
#define _RMU_RSTCAUSE_WDOGRST_DEFAULT 0x00000000UL
89
#define RMU_RSTCAUSE_WDOGRST_DEFAULT (_RMU_RSTCAUSE_WDOGRST_DEFAULT << 4)
90
#define RMU_RSTCAUSE_LOCKUPRST (0x1UL << 5)
91
#define _RMU_RSTCAUSE_LOCKUPRST_SHIFT 5
92
#define _RMU_RSTCAUSE_LOCKUPRST_MASK 0x20UL
93
#define _RMU_RSTCAUSE_LOCKUPRST_DEFAULT 0x00000000UL
94
#define RMU_RSTCAUSE_LOCKUPRST_DEFAULT (_RMU_RSTCAUSE_LOCKUPRST_DEFAULT << 5)
95
#define RMU_RSTCAUSE_SYSREQRST (0x1UL << 6)
96
#define _RMU_RSTCAUSE_SYSREQRST_SHIFT 6
97
#define _RMU_RSTCAUSE_SYSREQRST_MASK 0x40UL
98
#define _RMU_RSTCAUSE_SYSREQRST_DEFAULT 0x00000000UL
99
#define RMU_RSTCAUSE_SYSREQRST_DEFAULT (_RMU_RSTCAUSE_SYSREQRST_DEFAULT << 6)
100
#define RMU_RSTCAUSE_EM4RST (0x1UL << 7)
101
#define _RMU_RSTCAUSE_EM4RST_SHIFT 7
102
#define _RMU_RSTCAUSE_EM4RST_MASK 0x80UL
103
#define _RMU_RSTCAUSE_EM4RST_DEFAULT 0x00000000UL
104
#define RMU_RSTCAUSE_EM4RST_DEFAULT (_RMU_RSTCAUSE_EM4RST_DEFAULT << 7)
105
#define RMU_RSTCAUSE_EM4WURST (0x1UL << 8)
106
#define _RMU_RSTCAUSE_EM4WURST_SHIFT 8
107
#define _RMU_RSTCAUSE_EM4WURST_MASK 0x100UL
108
#define _RMU_RSTCAUSE_EM4WURST_DEFAULT 0x00000000UL
109
#define RMU_RSTCAUSE_EM4WURST_DEFAULT (_RMU_RSTCAUSE_EM4WURST_DEFAULT << 8)
110
#define RMU_RSTCAUSE_BODAVDD0 (0x1UL << 9)
111
#define _RMU_RSTCAUSE_BODAVDD0_SHIFT 9
112
#define _RMU_RSTCAUSE_BODAVDD0_MASK 0x200UL
113
#define _RMU_RSTCAUSE_BODAVDD0_DEFAULT 0x00000000UL
114
#define RMU_RSTCAUSE_BODAVDD0_DEFAULT (_RMU_RSTCAUSE_BODAVDD0_DEFAULT << 9)
115
#define RMU_RSTCAUSE_BODAVDD1 (0x1UL << 10)
116
#define _RMU_RSTCAUSE_BODAVDD1_SHIFT 10
117
#define _RMU_RSTCAUSE_BODAVDD1_MASK 0x400UL
118
#define _RMU_RSTCAUSE_BODAVDD1_DEFAULT 0x00000000UL
119
#define RMU_RSTCAUSE_BODAVDD1_DEFAULT (_RMU_RSTCAUSE_BODAVDD1_DEFAULT << 10)
121
/* Bit fields for RMU CMD */
122
#define _RMU_CMD_RESETVALUE 0x00000000UL
123
#define _RMU_CMD_MASK 0x00000001UL
124
#define RMU_CMD_RCCLR (0x1UL << 0)
125
#define _RMU_CMD_RCCLR_SHIFT 0
126
#define _RMU_CMD_RCCLR_MASK 0x1UL
127
#define _RMU_CMD_RCCLR_DEFAULT 0x00000000UL
128
#define RMU_CMD_RCCLR_DEFAULT (_RMU_CMD_RCCLR_DEFAULT << 0)
RMU_TypeDef::RSTCAUSE
__IM uint32_t RSTCAUSE
Definition:
ezr32hg_rmu.h:44
RMU_TypeDef
Definition:
ezr32hg_rmu.h:41
RMU_TypeDef::CTRL
__IOM uint32_t CTRL
Definition:
ezr32hg_rmu.h:43
RMU_TypeDef::CMD
__OM uint32_t CMD
Definition:
ezr32hg_rmu.h:45
platform
Device
SiliconLabs
EZR32HG
Include
ezr32hg_rmu.h
Generated on Thu Mar 9 2017 20:45:25 for EZR32 Happy Gecko Software Documentation by
1.8.10