EFM32 Tiny Gecko Software Documentation  efm32tg-doc-5.1.2
efm32tg_msc.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
41 typedef struct
42 {
43  __IOM uint32_t CTRL;
44  __IOM uint32_t READCTRL;
45  __IOM uint32_t WRITECTRL;
46  __IOM uint32_t WRITECMD;
47  __IOM uint32_t ADDRB;
48  uint32_t RESERVED0[1];
49  __IOM uint32_t WDATA;
50  __IM uint32_t STATUS;
51  uint32_t RESERVED1[3];
52  __IM uint32_t IF;
53  __IOM uint32_t IFS;
54  __IOM uint32_t IFC;
55  __IOM uint32_t IEN;
56  __IOM uint32_t LOCK;
57  __IOM uint32_t CMD;
58  __IM uint32_t CACHEHITS;
59  __IM uint32_t CACHEMISSES;
60  uint32_t RESERVED2[1];
61  __IOM uint32_t TIMEBASE;
62 } MSC_TypeDef;
64 /**************************************************************************/
69 /* Bit fields for MSC CTRL */
70 #define _MSC_CTRL_RESETVALUE 0x00000001UL
71 #define _MSC_CTRL_MASK 0x00000001UL
72 #define MSC_CTRL_BUSFAULT (0x1UL << 0)
73 #define _MSC_CTRL_BUSFAULT_SHIFT 0
74 #define _MSC_CTRL_BUSFAULT_MASK 0x1UL
75 #define _MSC_CTRL_BUSFAULT_GENERATE 0x00000000UL
76 #define _MSC_CTRL_BUSFAULT_DEFAULT 0x00000001UL
77 #define _MSC_CTRL_BUSFAULT_IGNORE 0x00000001UL
78 #define MSC_CTRL_BUSFAULT_GENERATE (_MSC_CTRL_BUSFAULT_GENERATE << 0)
79 #define MSC_CTRL_BUSFAULT_DEFAULT (_MSC_CTRL_BUSFAULT_DEFAULT << 0)
80 #define MSC_CTRL_BUSFAULT_IGNORE (_MSC_CTRL_BUSFAULT_IGNORE << 0)
82 /* Bit fields for MSC READCTRL */
83 #define _MSC_READCTRL_RESETVALUE 0x00000001UL
84 #define _MSC_READCTRL_MASK 0x0000003FUL
85 #define _MSC_READCTRL_MODE_SHIFT 0
86 #define _MSC_READCTRL_MODE_MASK 0x7UL
87 #define _MSC_READCTRL_MODE_WS0 0x00000000UL
88 #define _MSC_READCTRL_MODE_DEFAULT 0x00000001UL
89 #define _MSC_READCTRL_MODE_WS1 0x00000001UL
90 #define _MSC_READCTRL_MODE_WS0SCBTP 0x00000002UL
91 #define _MSC_READCTRL_MODE_WS1SCBTP 0x00000003UL
92 #define MSC_READCTRL_MODE_WS0 (_MSC_READCTRL_MODE_WS0 << 0)
93 #define MSC_READCTRL_MODE_DEFAULT (_MSC_READCTRL_MODE_DEFAULT << 0)
94 #define MSC_READCTRL_MODE_WS1 (_MSC_READCTRL_MODE_WS1 << 0)
95 #define MSC_READCTRL_MODE_WS0SCBTP (_MSC_READCTRL_MODE_WS0SCBTP << 0)
96 #define MSC_READCTRL_MODE_WS1SCBTP (_MSC_READCTRL_MODE_WS1SCBTP << 0)
97 #define MSC_READCTRL_IFCDIS (0x1UL << 3)
98 #define _MSC_READCTRL_IFCDIS_SHIFT 3
99 #define _MSC_READCTRL_IFCDIS_MASK 0x8UL
100 #define _MSC_READCTRL_IFCDIS_DEFAULT 0x00000000UL
101 #define MSC_READCTRL_IFCDIS_DEFAULT (_MSC_READCTRL_IFCDIS_DEFAULT << 3)
102 #define MSC_READCTRL_AIDIS (0x1UL << 4)
103 #define _MSC_READCTRL_AIDIS_SHIFT 4
104 #define _MSC_READCTRL_AIDIS_MASK 0x10UL
105 #define _MSC_READCTRL_AIDIS_DEFAULT 0x00000000UL
106 #define MSC_READCTRL_AIDIS_DEFAULT (_MSC_READCTRL_AIDIS_DEFAULT << 4)
107 #define MSC_READCTRL_ICCDIS (0x1UL << 5)
108 #define _MSC_READCTRL_ICCDIS_SHIFT 5
109 #define _MSC_READCTRL_ICCDIS_MASK 0x20UL
110 #define _MSC_READCTRL_ICCDIS_DEFAULT 0x00000000UL
111 #define MSC_READCTRL_ICCDIS_DEFAULT (_MSC_READCTRL_ICCDIS_DEFAULT << 5)
113 /* Bit fields for MSC WRITECTRL */
114 #define _MSC_WRITECTRL_RESETVALUE 0x00000000UL
115 #define _MSC_WRITECTRL_MASK 0x00000003UL
116 #define MSC_WRITECTRL_WREN (0x1UL << 0)
117 #define _MSC_WRITECTRL_WREN_SHIFT 0
118 #define _MSC_WRITECTRL_WREN_MASK 0x1UL
119 #define _MSC_WRITECTRL_WREN_DEFAULT 0x00000000UL
120 #define MSC_WRITECTRL_WREN_DEFAULT (_MSC_WRITECTRL_WREN_DEFAULT << 0)
121 #define MSC_WRITECTRL_IRQERASEABORT (0x1UL << 1)
122 #define _MSC_WRITECTRL_IRQERASEABORT_SHIFT 1
123 #define _MSC_WRITECTRL_IRQERASEABORT_MASK 0x2UL
124 #define _MSC_WRITECTRL_IRQERASEABORT_DEFAULT 0x00000000UL
125 #define MSC_WRITECTRL_IRQERASEABORT_DEFAULT (_MSC_WRITECTRL_IRQERASEABORT_DEFAULT << 1)
127 /* Bit fields for MSC WRITECMD */
128 #define _MSC_WRITECMD_RESETVALUE 0x00000000UL
129 #define _MSC_WRITECMD_MASK 0x0000003FUL
130 #define MSC_WRITECMD_LADDRIM (0x1UL << 0)
131 #define _MSC_WRITECMD_LADDRIM_SHIFT 0
132 #define _MSC_WRITECMD_LADDRIM_MASK 0x1UL
133 #define _MSC_WRITECMD_LADDRIM_DEFAULT 0x00000000UL
134 #define MSC_WRITECMD_LADDRIM_DEFAULT (_MSC_WRITECMD_LADDRIM_DEFAULT << 0)
135 #define MSC_WRITECMD_ERASEPAGE (0x1UL << 1)
136 #define _MSC_WRITECMD_ERASEPAGE_SHIFT 1
137 #define _MSC_WRITECMD_ERASEPAGE_MASK 0x2UL
138 #define _MSC_WRITECMD_ERASEPAGE_DEFAULT 0x00000000UL
139 #define MSC_WRITECMD_ERASEPAGE_DEFAULT (_MSC_WRITECMD_ERASEPAGE_DEFAULT << 1)
140 #define MSC_WRITECMD_WRITEEND (0x1UL << 2)
141 #define _MSC_WRITECMD_WRITEEND_SHIFT 2
142 #define _MSC_WRITECMD_WRITEEND_MASK 0x4UL
143 #define _MSC_WRITECMD_WRITEEND_DEFAULT 0x00000000UL
144 #define MSC_WRITECMD_WRITEEND_DEFAULT (_MSC_WRITECMD_WRITEEND_DEFAULT << 2)
145 #define MSC_WRITECMD_WRITEONCE (0x1UL << 3)
146 #define _MSC_WRITECMD_WRITEONCE_SHIFT 3
147 #define _MSC_WRITECMD_WRITEONCE_MASK 0x8UL
148 #define _MSC_WRITECMD_WRITEONCE_DEFAULT 0x00000000UL
149 #define MSC_WRITECMD_WRITEONCE_DEFAULT (_MSC_WRITECMD_WRITEONCE_DEFAULT << 3)
150 #define MSC_WRITECMD_WRITETRIG (0x1UL << 4)
151 #define _MSC_WRITECMD_WRITETRIG_SHIFT 4
152 #define _MSC_WRITECMD_WRITETRIG_MASK 0x10UL
153 #define _MSC_WRITECMD_WRITETRIG_DEFAULT 0x00000000UL
154 #define MSC_WRITECMD_WRITETRIG_DEFAULT (_MSC_WRITECMD_WRITETRIG_DEFAULT << 4)
155 #define MSC_WRITECMD_ERASEABORT (0x1UL << 5)
156 #define _MSC_WRITECMD_ERASEABORT_SHIFT 5
157 #define _MSC_WRITECMD_ERASEABORT_MASK 0x20UL
158 #define _MSC_WRITECMD_ERASEABORT_DEFAULT 0x00000000UL
159 #define MSC_WRITECMD_ERASEABORT_DEFAULT (_MSC_WRITECMD_ERASEABORT_DEFAULT << 5)
161 /* Bit fields for MSC ADDRB */
162 #define _MSC_ADDRB_RESETVALUE 0x00000000UL
163 #define _MSC_ADDRB_MASK 0xFFFFFFFFUL
164 #define _MSC_ADDRB_ADDRB_SHIFT 0
165 #define _MSC_ADDRB_ADDRB_MASK 0xFFFFFFFFUL
166 #define _MSC_ADDRB_ADDRB_DEFAULT 0x00000000UL
167 #define MSC_ADDRB_ADDRB_DEFAULT (_MSC_ADDRB_ADDRB_DEFAULT << 0)
169 /* Bit fields for MSC WDATA */
170 #define _MSC_WDATA_RESETVALUE 0x00000000UL
171 #define _MSC_WDATA_MASK 0xFFFFFFFFUL
172 #define _MSC_WDATA_WDATA_SHIFT 0
173 #define _MSC_WDATA_WDATA_MASK 0xFFFFFFFFUL
174 #define _MSC_WDATA_WDATA_DEFAULT 0x00000000UL
175 #define MSC_WDATA_WDATA_DEFAULT (_MSC_WDATA_WDATA_DEFAULT << 0)
177 /* Bit fields for MSC STATUS */
178 #define _MSC_STATUS_RESETVALUE 0x00000008UL
179 #define _MSC_STATUS_MASK 0x0000007FUL
180 #define MSC_STATUS_BUSY (0x1UL << 0)
181 #define _MSC_STATUS_BUSY_SHIFT 0
182 #define _MSC_STATUS_BUSY_MASK 0x1UL
183 #define _MSC_STATUS_BUSY_DEFAULT 0x00000000UL
184 #define MSC_STATUS_BUSY_DEFAULT (_MSC_STATUS_BUSY_DEFAULT << 0)
185 #define MSC_STATUS_LOCKED (0x1UL << 1)
186 #define _MSC_STATUS_LOCKED_SHIFT 1
187 #define _MSC_STATUS_LOCKED_MASK 0x2UL
188 #define _MSC_STATUS_LOCKED_DEFAULT 0x00000000UL
189 #define MSC_STATUS_LOCKED_DEFAULT (_MSC_STATUS_LOCKED_DEFAULT << 1)
190 #define MSC_STATUS_INVADDR (0x1UL << 2)
191 #define _MSC_STATUS_INVADDR_SHIFT 2
192 #define _MSC_STATUS_INVADDR_MASK 0x4UL
193 #define _MSC_STATUS_INVADDR_DEFAULT 0x00000000UL
194 #define MSC_STATUS_INVADDR_DEFAULT (_MSC_STATUS_INVADDR_DEFAULT << 2)
195 #define MSC_STATUS_WDATAREADY (0x1UL << 3)
196 #define _MSC_STATUS_WDATAREADY_SHIFT 3
197 #define _MSC_STATUS_WDATAREADY_MASK 0x8UL
198 #define _MSC_STATUS_WDATAREADY_DEFAULT 0x00000001UL
199 #define MSC_STATUS_WDATAREADY_DEFAULT (_MSC_STATUS_WDATAREADY_DEFAULT << 3)
200 #define MSC_STATUS_WORDTIMEOUT (0x1UL << 4)
201 #define _MSC_STATUS_WORDTIMEOUT_SHIFT 4
202 #define _MSC_STATUS_WORDTIMEOUT_MASK 0x10UL
203 #define _MSC_STATUS_WORDTIMEOUT_DEFAULT 0x00000000UL
204 #define MSC_STATUS_WORDTIMEOUT_DEFAULT (_MSC_STATUS_WORDTIMEOUT_DEFAULT << 4)
205 #define MSC_STATUS_ERASEABORTED (0x1UL << 5)
206 #define _MSC_STATUS_ERASEABORTED_SHIFT 5
207 #define _MSC_STATUS_ERASEABORTED_MASK 0x20UL
208 #define _MSC_STATUS_ERASEABORTED_DEFAULT 0x00000000UL
209 #define MSC_STATUS_ERASEABORTED_DEFAULT (_MSC_STATUS_ERASEABORTED_DEFAULT << 5)
210 #define MSC_STATUS_PCRUNNING (0x1UL << 6)
211 #define _MSC_STATUS_PCRUNNING_SHIFT 6
212 #define _MSC_STATUS_PCRUNNING_MASK 0x40UL
213 #define _MSC_STATUS_PCRUNNING_DEFAULT 0x00000000UL
214 #define MSC_STATUS_PCRUNNING_DEFAULT (_MSC_STATUS_PCRUNNING_DEFAULT << 6)
216 /* Bit fields for MSC IF */
217 #define _MSC_IF_RESETVALUE 0x00000000UL
218 #define _MSC_IF_MASK 0x0000000FUL
219 #define MSC_IF_ERASE (0x1UL << 0)
220 #define _MSC_IF_ERASE_SHIFT 0
221 #define _MSC_IF_ERASE_MASK 0x1UL
222 #define _MSC_IF_ERASE_DEFAULT 0x00000000UL
223 #define MSC_IF_ERASE_DEFAULT (_MSC_IF_ERASE_DEFAULT << 0)
224 #define MSC_IF_WRITE (0x1UL << 1)
225 #define _MSC_IF_WRITE_SHIFT 1
226 #define _MSC_IF_WRITE_MASK 0x2UL
227 #define _MSC_IF_WRITE_DEFAULT 0x00000000UL
228 #define MSC_IF_WRITE_DEFAULT (_MSC_IF_WRITE_DEFAULT << 1)
229 #define MSC_IF_CHOF (0x1UL << 2)
230 #define _MSC_IF_CHOF_SHIFT 2
231 #define _MSC_IF_CHOF_MASK 0x4UL
232 #define _MSC_IF_CHOF_DEFAULT 0x00000000UL
233 #define MSC_IF_CHOF_DEFAULT (_MSC_IF_CHOF_DEFAULT << 2)
234 #define MSC_IF_CMOF (0x1UL << 3)
235 #define _MSC_IF_CMOF_SHIFT 3
236 #define _MSC_IF_CMOF_MASK 0x8UL
237 #define _MSC_IF_CMOF_DEFAULT 0x00000000UL
238 #define MSC_IF_CMOF_DEFAULT (_MSC_IF_CMOF_DEFAULT << 3)
240 /* Bit fields for MSC IFS */
241 #define _MSC_IFS_RESETVALUE 0x00000000UL
242 #define _MSC_IFS_MASK 0x0000000FUL
243 #define MSC_IFS_ERASE (0x1UL << 0)
244 #define _MSC_IFS_ERASE_SHIFT 0
245 #define _MSC_IFS_ERASE_MASK 0x1UL
246 #define _MSC_IFS_ERASE_DEFAULT 0x00000000UL
247 #define MSC_IFS_ERASE_DEFAULT (_MSC_IFS_ERASE_DEFAULT << 0)
248 #define MSC_IFS_WRITE (0x1UL << 1)
249 #define _MSC_IFS_WRITE_SHIFT 1
250 #define _MSC_IFS_WRITE_MASK 0x2UL
251 #define _MSC_IFS_WRITE_DEFAULT 0x00000000UL
252 #define MSC_IFS_WRITE_DEFAULT (_MSC_IFS_WRITE_DEFAULT << 1)
253 #define MSC_IFS_CHOF (0x1UL << 2)
254 #define _MSC_IFS_CHOF_SHIFT 2
255 #define _MSC_IFS_CHOF_MASK 0x4UL
256 #define _MSC_IFS_CHOF_DEFAULT 0x00000000UL
257 #define MSC_IFS_CHOF_DEFAULT (_MSC_IFS_CHOF_DEFAULT << 2)
258 #define MSC_IFS_CMOF (0x1UL << 3)
259 #define _MSC_IFS_CMOF_SHIFT 3
260 #define _MSC_IFS_CMOF_MASK 0x8UL
261 #define _MSC_IFS_CMOF_DEFAULT 0x00000000UL
262 #define MSC_IFS_CMOF_DEFAULT (_MSC_IFS_CMOF_DEFAULT << 3)
264 /* Bit fields for MSC IFC */
265 #define _MSC_IFC_RESETVALUE 0x00000000UL
266 #define _MSC_IFC_MASK 0x0000000FUL
267 #define MSC_IFC_ERASE (0x1UL << 0)
268 #define _MSC_IFC_ERASE_SHIFT 0
269 #define _MSC_IFC_ERASE_MASK 0x1UL
270 #define _MSC_IFC_ERASE_DEFAULT 0x00000000UL
271 #define MSC_IFC_ERASE_DEFAULT (_MSC_IFC_ERASE_DEFAULT << 0)
272 #define MSC_IFC_WRITE (0x1UL << 1)
273 #define _MSC_IFC_WRITE_SHIFT 1
274 #define _MSC_IFC_WRITE_MASK 0x2UL
275 #define _MSC_IFC_WRITE_DEFAULT 0x00000000UL
276 #define MSC_IFC_WRITE_DEFAULT (_MSC_IFC_WRITE_DEFAULT << 1)
277 #define MSC_IFC_CHOF (0x1UL << 2)
278 #define _MSC_IFC_CHOF_SHIFT 2
279 #define _MSC_IFC_CHOF_MASK 0x4UL
280 #define _MSC_IFC_CHOF_DEFAULT 0x00000000UL
281 #define MSC_IFC_CHOF_DEFAULT (_MSC_IFC_CHOF_DEFAULT << 2)
282 #define MSC_IFC_CMOF (0x1UL << 3)
283 #define _MSC_IFC_CMOF_SHIFT 3
284 #define _MSC_IFC_CMOF_MASK 0x8UL
285 #define _MSC_IFC_CMOF_DEFAULT 0x00000000UL
286 #define MSC_IFC_CMOF_DEFAULT (_MSC_IFC_CMOF_DEFAULT << 3)
288 /* Bit fields for MSC IEN */
289 #define _MSC_IEN_RESETVALUE 0x00000000UL
290 #define _MSC_IEN_MASK 0x0000000FUL
291 #define MSC_IEN_ERASE (0x1UL << 0)
292 #define _MSC_IEN_ERASE_SHIFT 0
293 #define _MSC_IEN_ERASE_MASK 0x1UL
294 #define _MSC_IEN_ERASE_DEFAULT 0x00000000UL
295 #define MSC_IEN_ERASE_DEFAULT (_MSC_IEN_ERASE_DEFAULT << 0)
296 #define MSC_IEN_WRITE (0x1UL << 1)
297 #define _MSC_IEN_WRITE_SHIFT 1
298 #define _MSC_IEN_WRITE_MASK 0x2UL
299 #define _MSC_IEN_WRITE_DEFAULT 0x00000000UL
300 #define MSC_IEN_WRITE_DEFAULT (_MSC_IEN_WRITE_DEFAULT << 1)
301 #define MSC_IEN_CHOF (0x1UL << 2)
302 #define _MSC_IEN_CHOF_SHIFT 2
303 #define _MSC_IEN_CHOF_MASK 0x4UL
304 #define _MSC_IEN_CHOF_DEFAULT 0x00000000UL
305 #define MSC_IEN_CHOF_DEFAULT (_MSC_IEN_CHOF_DEFAULT << 2)
306 #define MSC_IEN_CMOF (0x1UL << 3)
307 #define _MSC_IEN_CMOF_SHIFT 3
308 #define _MSC_IEN_CMOF_MASK 0x8UL
309 #define _MSC_IEN_CMOF_DEFAULT 0x00000000UL
310 #define MSC_IEN_CMOF_DEFAULT (_MSC_IEN_CMOF_DEFAULT << 3)
312 /* Bit fields for MSC LOCK */
313 #define _MSC_LOCK_RESETVALUE 0x00000000UL
314 #define _MSC_LOCK_MASK 0x0000FFFFUL
315 #define _MSC_LOCK_LOCKKEY_SHIFT 0
316 #define _MSC_LOCK_LOCKKEY_MASK 0xFFFFUL
317 #define _MSC_LOCK_LOCKKEY_DEFAULT 0x00000000UL
318 #define _MSC_LOCK_LOCKKEY_LOCK 0x00000000UL
319 #define _MSC_LOCK_LOCKKEY_UNLOCKED 0x00000000UL
320 #define _MSC_LOCK_LOCKKEY_LOCKED 0x00000001UL
321 #define _MSC_LOCK_LOCKKEY_UNLOCK 0x00001B71UL
322 #define MSC_LOCK_LOCKKEY_DEFAULT (_MSC_LOCK_LOCKKEY_DEFAULT << 0)
323 #define MSC_LOCK_LOCKKEY_LOCK (_MSC_LOCK_LOCKKEY_LOCK << 0)
324 #define MSC_LOCK_LOCKKEY_UNLOCKED (_MSC_LOCK_LOCKKEY_UNLOCKED << 0)
325 #define MSC_LOCK_LOCKKEY_LOCKED (_MSC_LOCK_LOCKKEY_LOCKED << 0)
326 #define MSC_LOCK_LOCKKEY_UNLOCK (_MSC_LOCK_LOCKKEY_UNLOCK << 0)
328 /* Bit fields for MSC CMD */
329 #define _MSC_CMD_RESETVALUE 0x00000000UL
330 #define _MSC_CMD_MASK 0x00000007UL
331 #define MSC_CMD_INVCACHE (0x1UL << 0)
332 #define _MSC_CMD_INVCACHE_SHIFT 0
333 #define _MSC_CMD_INVCACHE_MASK 0x1UL
334 #define _MSC_CMD_INVCACHE_DEFAULT 0x00000000UL
335 #define MSC_CMD_INVCACHE_DEFAULT (_MSC_CMD_INVCACHE_DEFAULT << 0)
336 #define MSC_CMD_STARTPC (0x1UL << 1)
337 #define _MSC_CMD_STARTPC_SHIFT 1
338 #define _MSC_CMD_STARTPC_MASK 0x2UL
339 #define _MSC_CMD_STARTPC_DEFAULT 0x00000000UL
340 #define MSC_CMD_STARTPC_DEFAULT (_MSC_CMD_STARTPC_DEFAULT << 1)
341 #define MSC_CMD_STOPPC (0x1UL << 2)
342 #define _MSC_CMD_STOPPC_SHIFT 2
343 #define _MSC_CMD_STOPPC_MASK 0x4UL
344 #define _MSC_CMD_STOPPC_DEFAULT 0x00000000UL
345 #define MSC_CMD_STOPPC_DEFAULT (_MSC_CMD_STOPPC_DEFAULT << 2)
347 /* Bit fields for MSC CACHEHITS */
348 #define _MSC_CACHEHITS_RESETVALUE 0x00000000UL
349 #define _MSC_CACHEHITS_MASK 0x000FFFFFUL
350 #define _MSC_CACHEHITS_CACHEHITS_SHIFT 0
351 #define _MSC_CACHEHITS_CACHEHITS_MASK 0xFFFFFUL
352 #define _MSC_CACHEHITS_CACHEHITS_DEFAULT 0x00000000UL
353 #define MSC_CACHEHITS_CACHEHITS_DEFAULT (_MSC_CACHEHITS_CACHEHITS_DEFAULT << 0)
355 /* Bit fields for MSC CACHEMISSES */
356 #define _MSC_CACHEMISSES_RESETVALUE 0x00000000UL
357 #define _MSC_CACHEMISSES_MASK 0x000FFFFFUL
358 #define _MSC_CACHEMISSES_CACHEMISSES_SHIFT 0
359 #define _MSC_CACHEMISSES_CACHEMISSES_MASK 0xFFFFFUL
360 #define _MSC_CACHEMISSES_CACHEMISSES_DEFAULT 0x00000000UL
361 #define MSC_CACHEMISSES_CACHEMISSES_DEFAULT (_MSC_CACHEMISSES_CACHEMISSES_DEFAULT << 0)
363 /* Bit fields for MSC TIMEBASE */
364 #define _MSC_TIMEBASE_RESETVALUE 0x00000010UL
365 #define _MSC_TIMEBASE_MASK 0x0001003FUL
366 #define _MSC_TIMEBASE_BASE_SHIFT 0
367 #define _MSC_TIMEBASE_BASE_MASK 0x3FUL
368 #define _MSC_TIMEBASE_BASE_DEFAULT 0x00000010UL
369 #define MSC_TIMEBASE_BASE_DEFAULT (_MSC_TIMEBASE_BASE_DEFAULT << 0)
370 #define MSC_TIMEBASE_PERIOD (0x1UL << 16)
371 #define _MSC_TIMEBASE_PERIOD_SHIFT 16
372 #define _MSC_TIMEBASE_PERIOD_MASK 0x10000UL
373 #define _MSC_TIMEBASE_PERIOD_DEFAULT 0x00000000UL
374 #define _MSC_TIMEBASE_PERIOD_1US 0x00000000UL
375 #define _MSC_TIMEBASE_PERIOD_5US 0x00000001UL
376 #define MSC_TIMEBASE_PERIOD_DEFAULT (_MSC_TIMEBASE_PERIOD_DEFAULT << 16)
377 #define MSC_TIMEBASE_PERIOD_1US (_MSC_TIMEBASE_PERIOD_1US << 16)
378 #define MSC_TIMEBASE_PERIOD_5US (_MSC_TIMEBASE_PERIOD_5US << 16)
__IM uint32_t CACHEHITS
Definition: efm32tg_msc.h:58
__IOM uint32_t LOCK
Definition: efm32tg_msc.h:56
__IOM uint32_t IEN
Definition: efm32tg_msc.h:55
__IM uint32_t STATUS
Definition: efm32tg_msc.h:50
__IOM uint32_t WDATA
Definition: efm32tg_msc.h:49
__IOM uint32_t TIMEBASE
Definition: efm32tg_msc.h:61
__IOM uint32_t READCTRL
Definition: efm32tg_msc.h:44
__IOM uint32_t IFC
Definition: efm32tg_msc.h:54
__IOM uint32_t ADDRB
Definition: efm32tg_msc.h:47
__IM uint32_t CACHEMISSES
Definition: efm32tg_msc.h:59
__IOM uint32_t IFS
Definition: efm32tg_msc.h:53
__IOM uint32_t WRITECTRL
Definition: efm32tg_msc.h:45
__IOM uint32_t CMD
Definition: efm32tg_msc.h:57
__IOM uint32_t CTRL
Definition: efm32tg_msc.h:43
__IM uint32_t IF
Definition: efm32tg_msc.h:52
__IOM uint32_t WRITECMD
Definition: efm32tg_msc.h:46