EFR32 Blue Gecko 12 Software Documentation
efr32bg12-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
efr32bg12p_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
__IOM uint32_t
CMD
;
46
__IOM uint32_t
RST
;
47
__IOM uint32_t
LOCK
;
48
}
RMU_TypeDef
;
50
/**************************************************************************/
55
/* Bit fields for RMU CTRL */
56
#define _RMU_CTRL_RESETVALUE 0x00004204UL
57
#define _RMU_CTRL_MASK 0x03007777UL
58
#define _RMU_CTRL_WDOGRMODE_SHIFT 0
59
#define _RMU_CTRL_WDOGRMODE_MASK 0x7UL
60
#define _RMU_CTRL_WDOGRMODE_DISABLED 0x00000000UL
61
#define _RMU_CTRL_WDOGRMODE_LIMITED 0x00000001UL
62
#define _RMU_CTRL_WDOGRMODE_EXTENDED 0x00000002UL
63
#define _RMU_CTRL_WDOGRMODE_DEFAULT 0x00000004UL
64
#define _RMU_CTRL_WDOGRMODE_FULL 0x00000004UL
65
#define RMU_CTRL_WDOGRMODE_DISABLED (_RMU_CTRL_WDOGRMODE_DISABLED << 0)
66
#define RMU_CTRL_WDOGRMODE_LIMITED (_RMU_CTRL_WDOGRMODE_LIMITED << 0)
67
#define RMU_CTRL_WDOGRMODE_EXTENDED (_RMU_CTRL_WDOGRMODE_EXTENDED << 0)
68
#define RMU_CTRL_WDOGRMODE_DEFAULT (_RMU_CTRL_WDOGRMODE_DEFAULT << 0)
69
#define RMU_CTRL_WDOGRMODE_FULL (_RMU_CTRL_WDOGRMODE_FULL << 0)
70
#define _RMU_CTRL_LOCKUPRMODE_SHIFT 4
71
#define _RMU_CTRL_LOCKUPRMODE_MASK 0x70UL
72
#define _RMU_CTRL_LOCKUPRMODE_DEFAULT 0x00000000UL
73
#define _RMU_CTRL_LOCKUPRMODE_DISABLED 0x00000000UL
74
#define _RMU_CTRL_LOCKUPRMODE_LIMITED 0x00000001UL
75
#define _RMU_CTRL_LOCKUPRMODE_EXTENDED 0x00000002UL
76
#define _RMU_CTRL_LOCKUPRMODE_FULL 0x00000004UL
77
#define RMU_CTRL_LOCKUPRMODE_DEFAULT (_RMU_CTRL_LOCKUPRMODE_DEFAULT << 4)
78
#define RMU_CTRL_LOCKUPRMODE_DISABLED (_RMU_CTRL_LOCKUPRMODE_DISABLED << 4)
79
#define RMU_CTRL_LOCKUPRMODE_LIMITED (_RMU_CTRL_LOCKUPRMODE_LIMITED << 4)
80
#define RMU_CTRL_LOCKUPRMODE_EXTENDED (_RMU_CTRL_LOCKUPRMODE_EXTENDED << 4)
81
#define RMU_CTRL_LOCKUPRMODE_FULL (_RMU_CTRL_LOCKUPRMODE_FULL << 4)
82
#define _RMU_CTRL_SYSRMODE_SHIFT 8
83
#define _RMU_CTRL_SYSRMODE_MASK 0x700UL
84
#define _RMU_CTRL_SYSRMODE_DISABLED 0x00000000UL
85
#define _RMU_CTRL_SYSRMODE_LIMITED 0x00000001UL
86
#define _RMU_CTRL_SYSRMODE_DEFAULT 0x00000002UL
87
#define _RMU_CTRL_SYSRMODE_EXTENDED 0x00000002UL
88
#define _RMU_CTRL_SYSRMODE_FULL 0x00000004UL
89
#define RMU_CTRL_SYSRMODE_DISABLED (_RMU_CTRL_SYSRMODE_DISABLED << 8)
90
#define RMU_CTRL_SYSRMODE_LIMITED (_RMU_CTRL_SYSRMODE_LIMITED << 8)
91
#define RMU_CTRL_SYSRMODE_DEFAULT (_RMU_CTRL_SYSRMODE_DEFAULT << 8)
92
#define RMU_CTRL_SYSRMODE_EXTENDED (_RMU_CTRL_SYSRMODE_EXTENDED << 8)
93
#define RMU_CTRL_SYSRMODE_FULL (_RMU_CTRL_SYSRMODE_FULL << 8)
94
#define _RMU_CTRL_PINRMODE_SHIFT 12
95
#define _RMU_CTRL_PINRMODE_MASK 0x7000UL
96
#define _RMU_CTRL_PINRMODE_DISABLED 0x00000000UL
97
#define _RMU_CTRL_PINRMODE_LIMITED 0x00000001UL
98
#define _RMU_CTRL_PINRMODE_EXTENDED 0x00000002UL
99
#define _RMU_CTRL_PINRMODE_DEFAULT 0x00000004UL
100
#define _RMU_CTRL_PINRMODE_FULL 0x00000004UL
101
#define RMU_CTRL_PINRMODE_DISABLED (_RMU_CTRL_PINRMODE_DISABLED << 12)
102
#define RMU_CTRL_PINRMODE_LIMITED (_RMU_CTRL_PINRMODE_LIMITED << 12)
103
#define RMU_CTRL_PINRMODE_EXTENDED (_RMU_CTRL_PINRMODE_EXTENDED << 12)
104
#define RMU_CTRL_PINRMODE_DEFAULT (_RMU_CTRL_PINRMODE_DEFAULT << 12)
105
#define RMU_CTRL_PINRMODE_FULL (_RMU_CTRL_PINRMODE_FULL << 12)
106
#define _RMU_CTRL_RESETSTATE_SHIFT 24
107
#define _RMU_CTRL_RESETSTATE_MASK 0x3000000UL
108
#define _RMU_CTRL_RESETSTATE_DEFAULT 0x00000000UL
109
#define RMU_CTRL_RESETSTATE_DEFAULT (_RMU_CTRL_RESETSTATE_DEFAULT << 24)
111
/* Bit fields for RMU RSTCAUSE */
112
#define _RMU_RSTCAUSE_RESETVALUE 0x00000000UL
113
#define _RMU_RSTCAUSE_MASK 0x00010F1DUL
114
#define RMU_RSTCAUSE_PORST (0x1UL << 0)
115
#define _RMU_RSTCAUSE_PORST_SHIFT 0
116
#define _RMU_RSTCAUSE_PORST_MASK 0x1UL
117
#define _RMU_RSTCAUSE_PORST_DEFAULT 0x00000000UL
118
#define RMU_RSTCAUSE_PORST_DEFAULT (_RMU_RSTCAUSE_PORST_DEFAULT << 0)
119
#define RMU_RSTCAUSE_AVDDBOD (0x1UL << 2)
120
#define _RMU_RSTCAUSE_AVDDBOD_SHIFT 2
121
#define _RMU_RSTCAUSE_AVDDBOD_MASK 0x4UL
122
#define _RMU_RSTCAUSE_AVDDBOD_DEFAULT 0x00000000UL
123
#define RMU_RSTCAUSE_AVDDBOD_DEFAULT (_RMU_RSTCAUSE_AVDDBOD_DEFAULT << 2)
124
#define RMU_RSTCAUSE_DVDDBOD (0x1UL << 3)
125
#define _RMU_RSTCAUSE_DVDDBOD_SHIFT 3
126
#define _RMU_RSTCAUSE_DVDDBOD_MASK 0x8UL
127
#define _RMU_RSTCAUSE_DVDDBOD_DEFAULT 0x00000000UL
128
#define RMU_RSTCAUSE_DVDDBOD_DEFAULT (_RMU_RSTCAUSE_DVDDBOD_DEFAULT << 3)
129
#define RMU_RSTCAUSE_DECBOD (0x1UL << 4)
130
#define _RMU_RSTCAUSE_DECBOD_SHIFT 4
131
#define _RMU_RSTCAUSE_DECBOD_MASK 0x10UL
132
#define _RMU_RSTCAUSE_DECBOD_DEFAULT 0x00000000UL
133
#define RMU_RSTCAUSE_DECBOD_DEFAULT (_RMU_RSTCAUSE_DECBOD_DEFAULT << 4)
134
#define RMU_RSTCAUSE_EXTRST (0x1UL << 8)
135
#define _RMU_RSTCAUSE_EXTRST_SHIFT 8
136
#define _RMU_RSTCAUSE_EXTRST_MASK 0x100UL
137
#define _RMU_RSTCAUSE_EXTRST_DEFAULT 0x00000000UL
138
#define RMU_RSTCAUSE_EXTRST_DEFAULT (_RMU_RSTCAUSE_EXTRST_DEFAULT << 8)
139
#define RMU_RSTCAUSE_LOCKUPRST (0x1UL << 9)
140
#define _RMU_RSTCAUSE_LOCKUPRST_SHIFT 9
141
#define _RMU_RSTCAUSE_LOCKUPRST_MASK 0x200UL
142
#define _RMU_RSTCAUSE_LOCKUPRST_DEFAULT 0x00000000UL
143
#define RMU_RSTCAUSE_LOCKUPRST_DEFAULT (_RMU_RSTCAUSE_LOCKUPRST_DEFAULT << 9)
144
#define RMU_RSTCAUSE_SYSREQRST (0x1UL << 10)
145
#define _RMU_RSTCAUSE_SYSREQRST_SHIFT 10
146
#define _RMU_RSTCAUSE_SYSREQRST_MASK 0x400UL
147
#define _RMU_RSTCAUSE_SYSREQRST_DEFAULT 0x00000000UL
148
#define RMU_RSTCAUSE_SYSREQRST_DEFAULT (_RMU_RSTCAUSE_SYSREQRST_DEFAULT << 10)
149
#define RMU_RSTCAUSE_WDOGRST (0x1UL << 11)
150
#define _RMU_RSTCAUSE_WDOGRST_SHIFT 11
151
#define _RMU_RSTCAUSE_WDOGRST_MASK 0x800UL
152
#define _RMU_RSTCAUSE_WDOGRST_DEFAULT 0x00000000UL
153
#define RMU_RSTCAUSE_WDOGRST_DEFAULT (_RMU_RSTCAUSE_WDOGRST_DEFAULT << 11)
154
#define RMU_RSTCAUSE_EM4RST (0x1UL << 16)
155
#define _RMU_RSTCAUSE_EM4RST_SHIFT 16
156
#define _RMU_RSTCAUSE_EM4RST_MASK 0x10000UL
157
#define _RMU_RSTCAUSE_EM4RST_DEFAULT 0x00000000UL
158
#define RMU_RSTCAUSE_EM4RST_DEFAULT (_RMU_RSTCAUSE_EM4RST_DEFAULT << 16)
160
/* Bit fields for RMU CMD */
161
#define _RMU_CMD_RESETVALUE 0x00000000UL
162
#define _RMU_CMD_MASK 0x00000001UL
163
#define RMU_CMD_RCCLR (0x1UL << 0)
164
#define _RMU_CMD_RCCLR_SHIFT 0
165
#define _RMU_CMD_RCCLR_MASK 0x1UL
166
#define _RMU_CMD_RCCLR_DEFAULT 0x00000000UL
167
#define RMU_CMD_RCCLR_DEFAULT (_RMU_CMD_RCCLR_DEFAULT << 0)
169
/* Bit fields for RMU RST */
170
#define _RMU_RST_RESETVALUE 0x00000000UL
171
#define _RMU_RST_MASK 0x00000000UL
173
/* Bit fields for RMU LOCK */
174
#define _RMU_LOCK_RESETVALUE 0x00000000UL
175
#define _RMU_LOCK_MASK 0x0000FFFFUL
176
#define _RMU_LOCK_LOCKKEY_SHIFT 0
177
#define _RMU_LOCK_LOCKKEY_MASK 0xFFFFUL
178
#define _RMU_LOCK_LOCKKEY_DEFAULT 0x00000000UL
179
#define _RMU_LOCK_LOCKKEY_LOCK 0x00000000UL
180
#define _RMU_LOCK_LOCKKEY_UNLOCKED 0x00000000UL
181
#define _RMU_LOCK_LOCKKEY_LOCKED 0x00000001UL
182
#define _RMU_LOCK_LOCKKEY_UNLOCK 0x0000E084UL
183
#define RMU_LOCK_LOCKKEY_DEFAULT (_RMU_LOCK_LOCKKEY_DEFAULT << 0)
184
#define RMU_LOCK_LOCKKEY_LOCK (_RMU_LOCK_LOCKKEY_LOCK << 0)
185
#define RMU_LOCK_LOCKKEY_UNLOCKED (_RMU_LOCK_LOCKKEY_UNLOCKED << 0)
186
#define RMU_LOCK_LOCKKEY_LOCKED (_RMU_LOCK_LOCKKEY_LOCKED << 0)
187
#define RMU_LOCK_LOCKKEY_UNLOCK (_RMU_LOCK_LOCKKEY_UNLOCK << 0)
RMU_TypeDef::RSTCAUSE
__IM uint32_t RSTCAUSE
Definition:
efr32bg12p_rmu.h:44
RMU_TypeDef::LOCK
__IOM uint32_t LOCK
Definition:
efr32bg12p_rmu.h:47
RMU_TypeDef::CMD
__IOM uint32_t CMD
Definition:
efr32bg12p_rmu.h:45
RMU_TypeDef
Definition:
efr32bg12p_rmu.h:41
RMU_TypeDef::RST
__IOM uint32_t RST
Definition:
efr32bg12p_rmu.h:46
RMU_TypeDef::CTRL
__IOM uint32_t CTRL
Definition:
efr32bg12p_rmu.h:43
platform
Device
SiliconLabs
EFR32BG12P
Include
efr32bg12p_rmu.h
Generated on Thu Mar 9 2017 20:35:00 for EFR32 Blue Gecko 12 Software Documentation by
1.8.10