EFM32 Wonder Gecko Software Documentation  efm32wg-doc-5.1.2
efm32wg_burtc.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
41 typedef struct
42 {
43  __IOM uint32_t CTRL;
44  __IOM uint32_t LPMODE;
45  __IM uint32_t CNT;
46  __IOM uint32_t COMP0;
47  __IM uint32_t TIMESTAMP;
48  __IOM uint32_t LFXOFDET;
49  __IM uint32_t STATUS;
50  __IOM uint32_t CMD;
51  __IOM uint32_t POWERDOWN;
52  __IOM uint32_t LOCK;
53  __IM uint32_t IF;
54  __IOM uint32_t IFS;
55  __IOM uint32_t IFC;
56  __IOM uint32_t IEN;
58  __IOM uint32_t FREEZE;
59  __IM uint32_t SYNCBUSY;
61  uint32_t RESERVED0[48];
62  BURTC_RET_TypeDef RET[128];
63 } BURTC_TypeDef;
65 /**************************************************************************/
70 /* Bit fields for BURTC CTRL */
71 #define _BURTC_CTRL_RESETVALUE 0x00000008UL
72 #define _BURTC_CTRL_MASK 0x000077FFUL
73 #define _BURTC_CTRL_MODE_SHIFT 0
74 #define _BURTC_CTRL_MODE_MASK 0x3UL
75 #define _BURTC_CTRL_MODE_DEFAULT 0x00000000UL
76 #define _BURTC_CTRL_MODE_DISABLE 0x00000000UL
77 #define _BURTC_CTRL_MODE_EM2EN 0x00000001UL
78 #define _BURTC_CTRL_MODE_EM3EN 0x00000002UL
79 #define _BURTC_CTRL_MODE_EM4EN 0x00000003UL
80 #define BURTC_CTRL_MODE_DEFAULT (_BURTC_CTRL_MODE_DEFAULT << 0)
81 #define BURTC_CTRL_MODE_DISABLE (_BURTC_CTRL_MODE_DISABLE << 0)
82 #define BURTC_CTRL_MODE_EM2EN (_BURTC_CTRL_MODE_EM2EN << 0)
83 #define BURTC_CTRL_MODE_EM3EN (_BURTC_CTRL_MODE_EM3EN << 0)
84 #define BURTC_CTRL_MODE_EM4EN (_BURTC_CTRL_MODE_EM4EN << 0)
85 #define BURTC_CTRL_DEBUGRUN (0x1UL << 2)
86 #define _BURTC_CTRL_DEBUGRUN_SHIFT 2
87 #define _BURTC_CTRL_DEBUGRUN_MASK 0x4UL
88 #define _BURTC_CTRL_DEBUGRUN_DEFAULT 0x00000000UL
89 #define BURTC_CTRL_DEBUGRUN_DEFAULT (_BURTC_CTRL_DEBUGRUN_DEFAULT << 2)
90 #define BURTC_CTRL_RSTEN (0x1UL << 3)
91 #define _BURTC_CTRL_RSTEN_SHIFT 3
92 #define _BURTC_CTRL_RSTEN_MASK 0x8UL
93 #define _BURTC_CTRL_RSTEN_DEFAULT 0x00000001UL
94 #define BURTC_CTRL_RSTEN_DEFAULT (_BURTC_CTRL_RSTEN_DEFAULT << 3)
95 #define BURTC_CTRL_COMP0TOP (0x1UL << 4)
96 #define _BURTC_CTRL_COMP0TOP_SHIFT 4
97 #define _BURTC_CTRL_COMP0TOP_MASK 0x10UL
98 #define _BURTC_CTRL_COMP0TOP_DEFAULT 0x00000000UL
99 #define BURTC_CTRL_COMP0TOP_DEFAULT (_BURTC_CTRL_COMP0TOP_DEFAULT << 4)
100 #define _BURTC_CTRL_LPCOMP_SHIFT 5
101 #define _BURTC_CTRL_LPCOMP_MASK 0xE0UL
102 #define _BURTC_CTRL_LPCOMP_DEFAULT 0x00000000UL
103 #define _BURTC_CTRL_LPCOMP_IGN0LSB 0x00000000UL
104 #define _BURTC_CTRL_LPCOMP_IGN1LSB 0x00000001UL
105 #define _BURTC_CTRL_LPCOMP_IGN2LSB 0x00000002UL
106 #define _BURTC_CTRL_LPCOMP_IGN3LSB 0x00000003UL
107 #define _BURTC_CTRL_LPCOMP_IGN4LSB 0x00000004UL
108 #define _BURTC_CTRL_LPCOMP_IGN5LSB 0x00000005UL
109 #define _BURTC_CTRL_LPCOMP_IGN6LSB 0x00000006UL
110 #define _BURTC_CTRL_LPCOMP_IGN7LSB 0x00000007UL
111 #define BURTC_CTRL_LPCOMP_DEFAULT (_BURTC_CTRL_LPCOMP_DEFAULT << 5)
112 #define BURTC_CTRL_LPCOMP_IGN0LSB (_BURTC_CTRL_LPCOMP_IGN0LSB << 5)
113 #define BURTC_CTRL_LPCOMP_IGN1LSB (_BURTC_CTRL_LPCOMP_IGN1LSB << 5)
114 #define BURTC_CTRL_LPCOMP_IGN2LSB (_BURTC_CTRL_LPCOMP_IGN2LSB << 5)
115 #define BURTC_CTRL_LPCOMP_IGN3LSB (_BURTC_CTRL_LPCOMP_IGN3LSB << 5)
116 #define BURTC_CTRL_LPCOMP_IGN4LSB (_BURTC_CTRL_LPCOMP_IGN4LSB << 5)
117 #define BURTC_CTRL_LPCOMP_IGN5LSB (_BURTC_CTRL_LPCOMP_IGN5LSB << 5)
118 #define BURTC_CTRL_LPCOMP_IGN6LSB (_BURTC_CTRL_LPCOMP_IGN6LSB << 5)
119 #define BURTC_CTRL_LPCOMP_IGN7LSB (_BURTC_CTRL_LPCOMP_IGN7LSB << 5)
120 #define _BURTC_CTRL_PRESC_SHIFT 8
121 #define _BURTC_CTRL_PRESC_MASK 0x700UL
122 #define _BURTC_CTRL_PRESC_DEFAULT 0x00000000UL
123 #define _BURTC_CTRL_PRESC_DIV1 0x00000000UL
124 #define _BURTC_CTRL_PRESC_DIV2 0x00000001UL
125 #define _BURTC_CTRL_PRESC_DIV4 0x00000002UL
126 #define _BURTC_CTRL_PRESC_DIV8 0x00000003UL
127 #define _BURTC_CTRL_PRESC_DIV16 0x00000004UL
128 #define _BURTC_CTRL_PRESC_DIV32 0x00000005UL
129 #define _BURTC_CTRL_PRESC_DIV64 0x00000006UL
130 #define _BURTC_CTRL_PRESC_DIV128 0x00000007UL
131 #define BURTC_CTRL_PRESC_DEFAULT (_BURTC_CTRL_PRESC_DEFAULT << 8)
132 #define BURTC_CTRL_PRESC_DIV1 (_BURTC_CTRL_PRESC_DIV1 << 8)
133 #define BURTC_CTRL_PRESC_DIV2 (_BURTC_CTRL_PRESC_DIV2 << 8)
134 #define BURTC_CTRL_PRESC_DIV4 (_BURTC_CTRL_PRESC_DIV4 << 8)
135 #define BURTC_CTRL_PRESC_DIV8 (_BURTC_CTRL_PRESC_DIV8 << 8)
136 #define BURTC_CTRL_PRESC_DIV16 (_BURTC_CTRL_PRESC_DIV16 << 8)
137 #define BURTC_CTRL_PRESC_DIV32 (_BURTC_CTRL_PRESC_DIV32 << 8)
138 #define BURTC_CTRL_PRESC_DIV64 (_BURTC_CTRL_PRESC_DIV64 << 8)
139 #define BURTC_CTRL_PRESC_DIV128 (_BURTC_CTRL_PRESC_DIV128 << 8)
140 #define _BURTC_CTRL_CLKSEL_SHIFT 12
141 #define _BURTC_CTRL_CLKSEL_MASK 0x3000UL
142 #define _BURTC_CTRL_CLKSEL_DEFAULT 0x00000000UL
143 #define _BURTC_CTRL_CLKSEL_NONE 0x00000000UL
144 #define _BURTC_CTRL_CLKSEL_LFRCO 0x00000001UL
145 #define _BURTC_CTRL_CLKSEL_LFXO 0x00000002UL
146 #define _BURTC_CTRL_CLKSEL_ULFRCO 0x00000003UL
147 #define BURTC_CTRL_CLKSEL_DEFAULT (_BURTC_CTRL_CLKSEL_DEFAULT << 12)
148 #define BURTC_CTRL_CLKSEL_NONE (_BURTC_CTRL_CLKSEL_NONE << 12)
149 #define BURTC_CTRL_CLKSEL_LFRCO (_BURTC_CTRL_CLKSEL_LFRCO << 12)
150 #define BURTC_CTRL_CLKSEL_LFXO (_BURTC_CTRL_CLKSEL_LFXO << 12)
151 #define BURTC_CTRL_CLKSEL_ULFRCO (_BURTC_CTRL_CLKSEL_ULFRCO << 12)
152 #define BURTC_CTRL_BUMODETSEN (0x1UL << 14)
153 #define _BURTC_CTRL_BUMODETSEN_SHIFT 14
154 #define _BURTC_CTRL_BUMODETSEN_MASK 0x4000UL
155 #define _BURTC_CTRL_BUMODETSEN_DEFAULT 0x00000000UL
156 #define BURTC_CTRL_BUMODETSEN_DEFAULT (_BURTC_CTRL_BUMODETSEN_DEFAULT << 14)
158 /* Bit fields for BURTC LPMODE */
159 #define _BURTC_LPMODE_RESETVALUE 0x00000000UL
160 #define _BURTC_LPMODE_MASK 0x00000003UL
161 #define _BURTC_LPMODE_LPMODE_SHIFT 0
162 #define _BURTC_LPMODE_LPMODE_MASK 0x3UL
163 #define _BURTC_LPMODE_LPMODE_DEFAULT 0x00000000UL
164 #define _BURTC_LPMODE_LPMODE_DISABLE 0x00000000UL
165 #define _BURTC_LPMODE_LPMODE_ENABLE 0x00000001UL
166 #define _BURTC_LPMODE_LPMODE_BUEN 0x00000002UL
167 #define BURTC_LPMODE_LPMODE_DEFAULT (_BURTC_LPMODE_LPMODE_DEFAULT << 0)
168 #define BURTC_LPMODE_LPMODE_DISABLE (_BURTC_LPMODE_LPMODE_DISABLE << 0)
169 #define BURTC_LPMODE_LPMODE_ENABLE (_BURTC_LPMODE_LPMODE_ENABLE << 0)
170 #define BURTC_LPMODE_LPMODE_BUEN (_BURTC_LPMODE_LPMODE_BUEN << 0)
172 /* Bit fields for BURTC CNT */
173 #define _BURTC_CNT_RESETVALUE 0x00000000UL
174 #define _BURTC_CNT_MASK 0xFFFFFFFFUL
175 #define _BURTC_CNT_CNT_SHIFT 0
176 #define _BURTC_CNT_CNT_MASK 0xFFFFFFFFUL
177 #define _BURTC_CNT_CNT_DEFAULT 0x00000000UL
178 #define BURTC_CNT_CNT_DEFAULT (_BURTC_CNT_CNT_DEFAULT << 0)
180 /* Bit fields for BURTC COMP0 */
181 #define _BURTC_COMP0_RESETVALUE 0x00000000UL
182 #define _BURTC_COMP0_MASK 0xFFFFFFFFUL
183 #define _BURTC_COMP0_COMP0_SHIFT 0
184 #define _BURTC_COMP0_COMP0_MASK 0xFFFFFFFFUL
185 #define _BURTC_COMP0_COMP0_DEFAULT 0x00000000UL
186 #define BURTC_COMP0_COMP0_DEFAULT (_BURTC_COMP0_COMP0_DEFAULT << 0)
188 /* Bit fields for BURTC TIMESTAMP */
189 #define _BURTC_TIMESTAMP_RESETVALUE 0x00000000UL
190 #define _BURTC_TIMESTAMP_MASK 0xFFFFFFFFUL
191 #define _BURTC_TIMESTAMP_TIMESTAMP_SHIFT 0
192 #define _BURTC_TIMESTAMP_TIMESTAMP_MASK 0xFFFFFFFFUL
193 #define _BURTC_TIMESTAMP_TIMESTAMP_DEFAULT 0x00000000UL
194 #define BURTC_TIMESTAMP_TIMESTAMP_DEFAULT (_BURTC_TIMESTAMP_TIMESTAMP_DEFAULT << 0)
196 /* Bit fields for BURTC LFXOFDET */
197 #define _BURTC_LFXOFDET_RESETVALUE 0x00000000UL
198 #define _BURTC_LFXOFDET_MASK 0x000001F3UL
199 #define _BURTC_LFXOFDET_OSC_SHIFT 0
200 #define _BURTC_LFXOFDET_OSC_MASK 0x3UL
201 #define _BURTC_LFXOFDET_OSC_DEFAULT 0x00000000UL
202 #define _BURTC_LFXOFDET_OSC_DISABLE 0x00000000UL
203 #define _BURTC_LFXOFDET_OSC_LFRCO 0x00000001UL
204 #define _BURTC_LFXOFDET_OSC_ULFRCO 0x00000002UL
205 #define BURTC_LFXOFDET_OSC_DEFAULT (_BURTC_LFXOFDET_OSC_DEFAULT << 0)
206 #define BURTC_LFXOFDET_OSC_DISABLE (_BURTC_LFXOFDET_OSC_DISABLE << 0)
207 #define BURTC_LFXOFDET_OSC_LFRCO (_BURTC_LFXOFDET_OSC_LFRCO << 0)
208 #define BURTC_LFXOFDET_OSC_ULFRCO (_BURTC_LFXOFDET_OSC_ULFRCO << 0)
209 #define _BURTC_LFXOFDET_TOP_SHIFT 4
210 #define _BURTC_LFXOFDET_TOP_MASK 0x1F0UL
211 #define _BURTC_LFXOFDET_TOP_DEFAULT 0x00000000UL
212 #define BURTC_LFXOFDET_TOP_DEFAULT (_BURTC_LFXOFDET_TOP_DEFAULT << 4)
214 /* Bit fields for BURTC STATUS */
215 #define _BURTC_STATUS_RESETVALUE 0x00000000UL
216 #define _BURTC_STATUS_MASK 0x00000007UL
217 #define BURTC_STATUS_LPMODEACT (0x1UL << 0)
218 #define _BURTC_STATUS_LPMODEACT_SHIFT 0
219 #define _BURTC_STATUS_LPMODEACT_MASK 0x1UL
220 #define _BURTC_STATUS_LPMODEACT_DEFAULT 0x00000000UL
221 #define BURTC_STATUS_LPMODEACT_DEFAULT (_BURTC_STATUS_LPMODEACT_DEFAULT << 0)
222 #define BURTC_STATUS_BUMODETS (0x1UL << 1)
223 #define _BURTC_STATUS_BUMODETS_SHIFT 1
224 #define _BURTC_STATUS_BUMODETS_MASK 0x2UL
225 #define _BURTC_STATUS_BUMODETS_DEFAULT 0x00000000UL
226 #define BURTC_STATUS_BUMODETS_DEFAULT (_BURTC_STATUS_BUMODETS_DEFAULT << 1)
227 #define BURTC_STATUS_RAMWERR (0x1UL << 2)
228 #define _BURTC_STATUS_RAMWERR_SHIFT 2
229 #define _BURTC_STATUS_RAMWERR_MASK 0x4UL
230 #define _BURTC_STATUS_RAMWERR_DEFAULT 0x00000000UL
231 #define BURTC_STATUS_RAMWERR_DEFAULT (_BURTC_STATUS_RAMWERR_DEFAULT << 2)
233 /* Bit fields for BURTC CMD */
234 #define _BURTC_CMD_RESETVALUE 0x00000000UL
235 #define _BURTC_CMD_MASK 0x00000001UL
236 #define BURTC_CMD_CLRSTATUS (0x1UL << 0)
237 #define _BURTC_CMD_CLRSTATUS_SHIFT 0
238 #define _BURTC_CMD_CLRSTATUS_MASK 0x1UL
239 #define _BURTC_CMD_CLRSTATUS_DEFAULT 0x00000000UL
240 #define BURTC_CMD_CLRSTATUS_DEFAULT (_BURTC_CMD_CLRSTATUS_DEFAULT << 0)
242 /* Bit fields for BURTC POWERDOWN */
243 #define _BURTC_POWERDOWN_RESETVALUE 0x00000000UL
244 #define _BURTC_POWERDOWN_MASK 0x00000001UL
245 #define BURTC_POWERDOWN_RAM (0x1UL << 0)
246 #define _BURTC_POWERDOWN_RAM_SHIFT 0
247 #define _BURTC_POWERDOWN_RAM_MASK 0x1UL
248 #define _BURTC_POWERDOWN_RAM_DEFAULT 0x00000000UL
249 #define BURTC_POWERDOWN_RAM_DEFAULT (_BURTC_POWERDOWN_RAM_DEFAULT << 0)
251 /* Bit fields for BURTC LOCK */
252 #define _BURTC_LOCK_RESETVALUE 0x00000000UL
253 #define _BURTC_LOCK_MASK 0x0000FFFFUL
254 #define _BURTC_LOCK_LOCKKEY_SHIFT 0
255 #define _BURTC_LOCK_LOCKKEY_MASK 0xFFFFUL
256 #define _BURTC_LOCK_LOCKKEY_DEFAULT 0x00000000UL
257 #define _BURTC_LOCK_LOCKKEY_LOCK 0x00000000UL
258 #define _BURTC_LOCK_LOCKKEY_UNLOCKED 0x00000000UL
259 #define _BURTC_LOCK_LOCKKEY_LOCKED 0x00000001UL
260 #define _BURTC_LOCK_LOCKKEY_UNLOCK 0x0000AEE8UL
261 #define BURTC_LOCK_LOCKKEY_DEFAULT (_BURTC_LOCK_LOCKKEY_DEFAULT << 0)
262 #define BURTC_LOCK_LOCKKEY_LOCK (_BURTC_LOCK_LOCKKEY_LOCK << 0)
263 #define BURTC_LOCK_LOCKKEY_UNLOCKED (_BURTC_LOCK_LOCKKEY_UNLOCKED << 0)
264 #define BURTC_LOCK_LOCKKEY_LOCKED (_BURTC_LOCK_LOCKKEY_LOCKED << 0)
265 #define BURTC_LOCK_LOCKKEY_UNLOCK (_BURTC_LOCK_LOCKKEY_UNLOCK << 0)
267 /* Bit fields for BURTC IF */
268 #define _BURTC_IF_RESETVALUE 0x00000000UL
269 #define _BURTC_IF_MASK 0x00000007UL
270 #define BURTC_IF_OF (0x1UL << 0)
271 #define _BURTC_IF_OF_SHIFT 0
272 #define _BURTC_IF_OF_MASK 0x1UL
273 #define _BURTC_IF_OF_DEFAULT 0x00000000UL
274 #define BURTC_IF_OF_DEFAULT (_BURTC_IF_OF_DEFAULT << 0)
275 #define BURTC_IF_COMP0 (0x1UL << 1)
276 #define _BURTC_IF_COMP0_SHIFT 1
277 #define _BURTC_IF_COMP0_MASK 0x2UL
278 #define _BURTC_IF_COMP0_DEFAULT 0x00000000UL
279 #define BURTC_IF_COMP0_DEFAULT (_BURTC_IF_COMP0_DEFAULT << 1)
280 #define BURTC_IF_LFXOFAIL (0x1UL << 2)
281 #define _BURTC_IF_LFXOFAIL_SHIFT 2
282 #define _BURTC_IF_LFXOFAIL_MASK 0x4UL
283 #define _BURTC_IF_LFXOFAIL_DEFAULT 0x00000000UL
284 #define BURTC_IF_LFXOFAIL_DEFAULT (_BURTC_IF_LFXOFAIL_DEFAULT << 2)
286 /* Bit fields for BURTC IFS */
287 #define _BURTC_IFS_RESETVALUE 0x00000000UL
288 #define _BURTC_IFS_MASK 0x00000007UL
289 #define BURTC_IFS_OF (0x1UL << 0)
290 #define _BURTC_IFS_OF_SHIFT 0
291 #define _BURTC_IFS_OF_MASK 0x1UL
292 #define _BURTC_IFS_OF_DEFAULT 0x00000000UL
293 #define BURTC_IFS_OF_DEFAULT (_BURTC_IFS_OF_DEFAULT << 0)
294 #define BURTC_IFS_COMP0 (0x1UL << 1)
295 #define _BURTC_IFS_COMP0_SHIFT 1
296 #define _BURTC_IFS_COMP0_MASK 0x2UL
297 #define _BURTC_IFS_COMP0_DEFAULT 0x00000000UL
298 #define BURTC_IFS_COMP0_DEFAULT (_BURTC_IFS_COMP0_DEFAULT << 1)
299 #define BURTC_IFS_LFXOFAIL (0x1UL << 2)
300 #define _BURTC_IFS_LFXOFAIL_SHIFT 2
301 #define _BURTC_IFS_LFXOFAIL_MASK 0x4UL
302 #define _BURTC_IFS_LFXOFAIL_DEFAULT 0x00000000UL
303 #define BURTC_IFS_LFXOFAIL_DEFAULT (_BURTC_IFS_LFXOFAIL_DEFAULT << 2)
305 /* Bit fields for BURTC IFC */
306 #define _BURTC_IFC_RESETVALUE 0x00000000UL
307 #define _BURTC_IFC_MASK 0x00000007UL
308 #define BURTC_IFC_OF (0x1UL << 0)
309 #define _BURTC_IFC_OF_SHIFT 0
310 #define _BURTC_IFC_OF_MASK 0x1UL
311 #define _BURTC_IFC_OF_DEFAULT 0x00000000UL
312 #define BURTC_IFC_OF_DEFAULT (_BURTC_IFC_OF_DEFAULT << 0)
313 #define BURTC_IFC_COMP0 (0x1UL << 1)
314 #define _BURTC_IFC_COMP0_SHIFT 1
315 #define _BURTC_IFC_COMP0_MASK 0x2UL
316 #define _BURTC_IFC_COMP0_DEFAULT 0x00000000UL
317 #define BURTC_IFC_COMP0_DEFAULT (_BURTC_IFC_COMP0_DEFAULT << 1)
318 #define BURTC_IFC_LFXOFAIL (0x1UL << 2)
319 #define _BURTC_IFC_LFXOFAIL_SHIFT 2
320 #define _BURTC_IFC_LFXOFAIL_MASK 0x4UL
321 #define _BURTC_IFC_LFXOFAIL_DEFAULT 0x00000000UL
322 #define BURTC_IFC_LFXOFAIL_DEFAULT (_BURTC_IFC_LFXOFAIL_DEFAULT << 2)
324 /* Bit fields for BURTC IEN */
325 #define _BURTC_IEN_RESETVALUE 0x00000000UL
326 #define _BURTC_IEN_MASK 0x00000007UL
327 #define BURTC_IEN_OF (0x1UL << 0)
328 #define _BURTC_IEN_OF_SHIFT 0
329 #define _BURTC_IEN_OF_MASK 0x1UL
330 #define _BURTC_IEN_OF_DEFAULT 0x00000000UL
331 #define BURTC_IEN_OF_DEFAULT (_BURTC_IEN_OF_DEFAULT << 0)
332 #define BURTC_IEN_COMP0 (0x1UL << 1)
333 #define _BURTC_IEN_COMP0_SHIFT 1
334 #define _BURTC_IEN_COMP0_MASK 0x2UL
335 #define _BURTC_IEN_COMP0_DEFAULT 0x00000000UL
336 #define BURTC_IEN_COMP0_DEFAULT (_BURTC_IEN_COMP0_DEFAULT << 1)
337 #define BURTC_IEN_LFXOFAIL (0x1UL << 2)
338 #define _BURTC_IEN_LFXOFAIL_SHIFT 2
339 #define _BURTC_IEN_LFXOFAIL_MASK 0x4UL
340 #define _BURTC_IEN_LFXOFAIL_DEFAULT 0x00000000UL
341 #define BURTC_IEN_LFXOFAIL_DEFAULT (_BURTC_IEN_LFXOFAIL_DEFAULT << 2)
343 /* Bit fields for BURTC FREEZE */
344 #define _BURTC_FREEZE_RESETVALUE 0x00000000UL
345 #define _BURTC_FREEZE_MASK 0x00000001UL
346 #define BURTC_FREEZE_REGFREEZE (0x1UL << 0)
347 #define _BURTC_FREEZE_REGFREEZE_SHIFT 0
348 #define _BURTC_FREEZE_REGFREEZE_MASK 0x1UL
349 #define _BURTC_FREEZE_REGFREEZE_DEFAULT 0x00000000UL
350 #define _BURTC_FREEZE_REGFREEZE_UPDATE 0x00000000UL
351 #define _BURTC_FREEZE_REGFREEZE_FREEZE 0x00000001UL
352 #define BURTC_FREEZE_REGFREEZE_DEFAULT (_BURTC_FREEZE_REGFREEZE_DEFAULT << 0)
353 #define BURTC_FREEZE_REGFREEZE_UPDATE (_BURTC_FREEZE_REGFREEZE_UPDATE << 0)
354 #define BURTC_FREEZE_REGFREEZE_FREEZE (_BURTC_FREEZE_REGFREEZE_FREEZE << 0)
356 /* Bit fields for BURTC SYNCBUSY */
357 #define _BURTC_SYNCBUSY_RESETVALUE 0x00000000UL
358 #define _BURTC_SYNCBUSY_MASK 0x00000003UL
359 #define BURTC_SYNCBUSY_LPMODE (0x1UL << 0)
360 #define _BURTC_SYNCBUSY_LPMODE_SHIFT 0
361 #define _BURTC_SYNCBUSY_LPMODE_MASK 0x1UL
362 #define _BURTC_SYNCBUSY_LPMODE_DEFAULT 0x00000000UL
363 #define BURTC_SYNCBUSY_LPMODE_DEFAULT (_BURTC_SYNCBUSY_LPMODE_DEFAULT << 0)
364 #define BURTC_SYNCBUSY_COMP0 (0x1UL << 1)
365 #define _BURTC_SYNCBUSY_COMP0_SHIFT 1
366 #define _BURTC_SYNCBUSY_COMP0_MASK 0x2UL
367 #define _BURTC_SYNCBUSY_COMP0_DEFAULT 0x00000000UL
368 #define BURTC_SYNCBUSY_COMP0_DEFAULT (_BURTC_SYNCBUSY_COMP0_DEFAULT << 1)
370 /* Bit fields for BURTC RET_REG */
371 #define _BURTC_RET_REG_RESETVALUE 0x00000000UL
372 #define _BURTC_RET_REG_MASK 0xFFFFFFFFUL
373 #define _BURTC_RET_REG_REG_SHIFT 0
374 #define _BURTC_RET_REG_REG_MASK 0xFFFFFFFFUL
375 #define _BURTC_RET_REG_REG_DEFAULT 0x00000000UL
376 #define BURTC_RET_REG_REG_DEFAULT (_BURTC_RET_REG_REG_DEFAULT << 0)
__IOM uint32_t LPMODE
Definition: efm32wg_burtc.h:44
__IOM uint32_t COMP0
Definition: efm32wg_burtc.h:46
__IOM uint32_t IFS
Definition: efm32wg_burtc.h:54
__IM uint32_t SYNCBUSY
Definition: efm32wg_burtc.h:59
__IOM uint32_t LOCK
Definition: efm32wg_burtc.h:52
__IOM uint32_t CTRL
Definition: efm32wg_burtc.h:43
BURTC_RET EFM32WG BURTC RET.
__IM uint32_t TIMESTAMP
Definition: efm32wg_burtc.h:47
__IOM uint32_t IFC
Definition: efm32wg_burtc.h:55
__IOM uint32_t FREEZE
Definition: efm32wg_burtc.h:58
__IOM uint32_t LFXOFDET
Definition: efm32wg_burtc.h:48
__IOM uint32_t CMD
Definition: efm32wg_burtc.h:50
__IM uint32_t CNT
Definition: efm32wg_burtc.h:45
__IOM uint32_t POWERDOWN
Definition: efm32wg_burtc.h:51
__IM uint32_t IF
Definition: efm32wg_burtc.h:53
__IOM uint32_t IEN
Definition: efm32wg_burtc.h:56
__IM uint32_t STATUS
Definition: efm32wg_burtc.h:49