SAME54P20A Test Project
dsu.h
Go to the documentation of this file.
1 
30 #ifndef _SAME54_DSU_COMPONENT_
31 #define _SAME54_DSU_COMPONENT_
32 
33 /* ========================================================================== */
35 /* ========================================================================== */
38 
39 #define DSU_U2410
40 #define REV_DSU 0x100
41 
42 /* -------- DSU_CTRL : (DSU Offset: 0x0000) ( /W 8) Control -------- */
43 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
44 typedef union {
45  struct {
46  uint8_t SWRST:1;
47  uint8_t :1;
48  uint8_t CRC:1;
49  uint8_t MBIST:1;
50  uint8_t CE:1;
51  uint8_t :1;
52  uint8_t ARR:1;
53  uint8_t SMSA:1;
54  } bit;
55  uint8_t reg;
57 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
58 
59 #define DSU_CTRL_OFFSET 0x0000
60 #define DSU_CTRL_RESETVALUE _U_(0x00)
62 #define DSU_CTRL_SWRST_Pos 0
63 #define DSU_CTRL_SWRST (_U_(0x1) << DSU_CTRL_SWRST_Pos)
64 #define DSU_CTRL_CRC_Pos 2
65 #define DSU_CTRL_CRC (_U_(0x1) << DSU_CTRL_CRC_Pos)
66 #define DSU_CTRL_MBIST_Pos 3
67 #define DSU_CTRL_MBIST (_U_(0x1) << DSU_CTRL_MBIST_Pos)
68 #define DSU_CTRL_CE_Pos 4
69 #define DSU_CTRL_CE (_U_(0x1) << DSU_CTRL_CE_Pos)
70 #define DSU_CTRL_ARR_Pos 6
71 #define DSU_CTRL_ARR (_U_(0x1) << DSU_CTRL_ARR_Pos)
72 #define DSU_CTRL_SMSA_Pos 7
73 #define DSU_CTRL_SMSA (_U_(0x1) << DSU_CTRL_SMSA_Pos)
74 #define DSU_CTRL_MASK _U_(0xDD)
76 /* -------- DSU_STATUSA : (DSU Offset: 0x0001) (R/W 8) Status A -------- */
77 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
78 typedef union {
79  struct {
80  uint8_t DONE:1;
81  uint8_t CRSTEXT:1;
82  uint8_t BERR:1;
83  uint8_t FAIL:1;
84  uint8_t PERR:1;
85  uint8_t :3;
86  } bit;
87  uint8_t reg;
89 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
90 
91 #define DSU_STATUSA_OFFSET 0x0001
92 #define DSU_STATUSA_RESETVALUE _U_(0x00)
94 #define DSU_STATUSA_DONE_Pos 0
95 #define DSU_STATUSA_DONE (_U_(0x1) << DSU_STATUSA_DONE_Pos)
96 #define DSU_STATUSA_CRSTEXT_Pos 1
97 #define DSU_STATUSA_CRSTEXT (_U_(0x1) << DSU_STATUSA_CRSTEXT_Pos)
98 #define DSU_STATUSA_BERR_Pos 2
99 #define DSU_STATUSA_BERR (_U_(0x1) << DSU_STATUSA_BERR_Pos)
100 #define DSU_STATUSA_FAIL_Pos 3
101 #define DSU_STATUSA_FAIL (_U_(0x1) << DSU_STATUSA_FAIL_Pos)
102 #define DSU_STATUSA_PERR_Pos 4
103 #define DSU_STATUSA_PERR (_U_(0x1) << DSU_STATUSA_PERR_Pos)
104 #define DSU_STATUSA_MASK _U_(0x1F)
106 /* -------- DSU_STATUSB : (DSU Offset: 0x0002) (R/ 8) Status B -------- */
107 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
108 typedef union {
109  struct {
110  uint8_t PROT:1;
111  uint8_t DBGPRES:1;
112  uint8_t DCCD0:1;
113  uint8_t DCCD1:1;
114  uint8_t HPE:1;
115  uint8_t CELCK:1;
116  uint8_t :2;
117  } bit;
118  struct {
119  uint8_t :2;
120  uint8_t DCCD:2;
121  uint8_t :4;
122  } vec;
123  uint8_t reg;
125 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
126 
127 #define DSU_STATUSB_OFFSET 0x0002
128 #define DSU_STATUSB_RESETVALUE _U_(0x00)
130 #define DSU_STATUSB_PROT_Pos 0
131 #define DSU_STATUSB_PROT (_U_(0x1) << DSU_STATUSB_PROT_Pos)
132 #define DSU_STATUSB_DBGPRES_Pos 1
133 #define DSU_STATUSB_DBGPRES (_U_(0x1) << DSU_STATUSB_DBGPRES_Pos)
134 #define DSU_STATUSB_DCCD0_Pos 2
135 #define DSU_STATUSB_DCCD0 (_U_(1) << DSU_STATUSB_DCCD0_Pos)
136 #define DSU_STATUSB_DCCD1_Pos 3
137 #define DSU_STATUSB_DCCD1 (_U_(1) << DSU_STATUSB_DCCD1_Pos)
138 #define DSU_STATUSB_DCCD_Pos 2
139 #define DSU_STATUSB_DCCD_Msk (_U_(0x3) << DSU_STATUSB_DCCD_Pos)
140 #define DSU_STATUSB_DCCD(value) (DSU_STATUSB_DCCD_Msk & ((value) << DSU_STATUSB_DCCD_Pos))
141 #define DSU_STATUSB_HPE_Pos 4
142 #define DSU_STATUSB_HPE (_U_(0x1) << DSU_STATUSB_HPE_Pos)
143 #define DSU_STATUSB_CELCK_Pos 5
144 #define DSU_STATUSB_CELCK (_U_(0x1) << DSU_STATUSB_CELCK_Pos)
145 #define DSU_STATUSB_MASK _U_(0x3F)
147 /* -------- DSU_ADDR : (DSU Offset: 0x0004) (R/W 32) Address -------- */
148 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
149 typedef union {
150  struct {
151  uint32_t AMOD:2;
152  uint32_t ADDR:30;
153  } bit;
154  uint32_t reg;
155 } DSU_ADDR_Type;
156 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
157 
158 #define DSU_ADDR_OFFSET 0x0004
159 #define DSU_ADDR_RESETVALUE _U_(0x00000000)
161 #define DSU_ADDR_AMOD_Pos 0
162 #define DSU_ADDR_AMOD_Msk (_U_(0x3) << DSU_ADDR_AMOD_Pos)
163 #define DSU_ADDR_AMOD(value) (DSU_ADDR_AMOD_Msk & ((value) << DSU_ADDR_AMOD_Pos))
164 #define DSU_ADDR_ADDR_Pos 2
165 #define DSU_ADDR_ADDR_Msk (_U_(0x3FFFFFFF) << DSU_ADDR_ADDR_Pos)
166 #define DSU_ADDR_ADDR(value) (DSU_ADDR_ADDR_Msk & ((value) << DSU_ADDR_ADDR_Pos))
167 #define DSU_ADDR_MASK _U_(0xFFFFFFFF)
169 /* -------- DSU_LENGTH : (DSU Offset: 0x0008) (R/W 32) Length -------- */
170 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
171 typedef union {
172  struct {
173  uint32_t :2;
174  uint32_t LENGTH:30;
175  } bit;
176  uint32_t reg;
178 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
179 
180 #define DSU_LENGTH_OFFSET 0x0008
181 #define DSU_LENGTH_RESETVALUE _U_(0x00000000)
183 #define DSU_LENGTH_LENGTH_Pos 2
184 #define DSU_LENGTH_LENGTH_Msk (_U_(0x3FFFFFFF) << DSU_LENGTH_LENGTH_Pos)
185 #define DSU_LENGTH_LENGTH(value) (DSU_LENGTH_LENGTH_Msk & ((value) << DSU_LENGTH_LENGTH_Pos))
186 #define DSU_LENGTH_MASK _U_(0xFFFFFFFC)
188 /* -------- DSU_DATA : (DSU Offset: 0x000C) (R/W 32) Data -------- */
189 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
190 typedef union {
191  struct {
192  uint32_t DATA:32;
193  } bit;
194  uint32_t reg;
195 } DSU_DATA_Type;
196 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
197 
198 #define DSU_DATA_OFFSET 0x000C
199 #define DSU_DATA_RESETVALUE _U_(0x00000000)
201 #define DSU_DATA_DATA_Pos 0
202 #define DSU_DATA_DATA_Msk (_U_(0xFFFFFFFF) << DSU_DATA_DATA_Pos)
203 #define DSU_DATA_DATA(value) (DSU_DATA_DATA_Msk & ((value) << DSU_DATA_DATA_Pos))
204 #define DSU_DATA_MASK _U_(0xFFFFFFFF)
206 /* -------- DSU_DCC : (DSU Offset: 0x0010) (R/W 32) Debug Communication Channel n -------- */
207 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
208 typedef union {
209  struct {
210  uint32_t DATA:32;
211  } bit;
212  uint32_t reg;
213 } DSU_DCC_Type;
214 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
215 
216 #define DSU_DCC_OFFSET 0x0010
217 #define DSU_DCC_RESETVALUE _U_(0x00000000)
219 #define DSU_DCC_DATA_Pos 0
220 #define DSU_DCC_DATA_Msk (_U_(0xFFFFFFFF) << DSU_DCC_DATA_Pos)
221 #define DSU_DCC_DATA(value) (DSU_DCC_DATA_Msk & ((value) << DSU_DCC_DATA_Pos))
222 #define DSU_DCC_MASK _U_(0xFFFFFFFF)
224 /* -------- DSU_DID : (DSU Offset: 0x0018) (R/ 32) Device Identification -------- */
225 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
226 typedef union {
227  struct {
228  uint32_t DEVSEL:8;
229  uint32_t REVISION:4;
230  uint32_t DIE:4;
231  uint32_t SERIES:6;
232  uint32_t :1;
233  uint32_t FAMILY:5;
234  uint32_t PROCESSOR:4;
235  } bit;
236  uint32_t reg;
237 } DSU_DID_Type;
238 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
239 
240 #define DSU_DID_OFFSET 0x0018
242 #define DSU_DID_DEVSEL_Pos 0
243 #define DSU_DID_DEVSEL_Msk (_U_(0xFF) << DSU_DID_DEVSEL_Pos)
244 #define DSU_DID_DEVSEL(value) (DSU_DID_DEVSEL_Msk & ((value) << DSU_DID_DEVSEL_Pos))
245 #define DSU_DID_REVISION_Pos 8
246 #define DSU_DID_REVISION_Msk (_U_(0xF) << DSU_DID_REVISION_Pos)
247 #define DSU_DID_REVISION(value) (DSU_DID_REVISION_Msk & ((value) << DSU_DID_REVISION_Pos))
248 #define DSU_DID_DIE_Pos 12
249 #define DSU_DID_DIE_Msk (_U_(0xF) << DSU_DID_DIE_Pos)
250 #define DSU_DID_DIE(value) (DSU_DID_DIE_Msk & ((value) << DSU_DID_DIE_Pos))
251 #define DSU_DID_SERIES_Pos 16
252 #define DSU_DID_SERIES_Msk (_U_(0x3F) << DSU_DID_SERIES_Pos)
253 #define DSU_DID_SERIES(value) (DSU_DID_SERIES_Msk & ((value) << DSU_DID_SERIES_Pos))
254 #define DSU_DID_SERIES_0_Val _U_(0x0)
255 #define DSU_DID_SERIES_1_Val _U_(0x1)
256 #define DSU_DID_SERIES_0 (DSU_DID_SERIES_0_Val << DSU_DID_SERIES_Pos)
257 #define DSU_DID_SERIES_1 (DSU_DID_SERIES_1_Val << DSU_DID_SERIES_Pos)
258 #define DSU_DID_FAMILY_Pos 23
259 #define DSU_DID_FAMILY_Msk (_U_(0x1F) << DSU_DID_FAMILY_Pos)
260 #define DSU_DID_FAMILY(value) (DSU_DID_FAMILY_Msk & ((value) << DSU_DID_FAMILY_Pos))
261 #define DSU_DID_FAMILY_0_Val _U_(0x0)
262 #define DSU_DID_FAMILY_1_Val _U_(0x1)
263 #define DSU_DID_FAMILY_0 (DSU_DID_FAMILY_0_Val << DSU_DID_FAMILY_Pos)
264 #define DSU_DID_FAMILY_1 (DSU_DID_FAMILY_1_Val << DSU_DID_FAMILY_Pos)
265 #define DSU_DID_PROCESSOR_Pos 28
266 #define DSU_DID_PROCESSOR_Msk (_U_(0xF) << DSU_DID_PROCESSOR_Pos)
267 #define DSU_DID_PROCESSOR(value) (DSU_DID_PROCESSOR_Msk & ((value) << DSU_DID_PROCESSOR_Pos))
268 #define DSU_DID_PROCESSOR_CM0P_Val _U_(0x1)
269 #define DSU_DID_PROCESSOR_CM23_Val _U_(0x2)
270 #define DSU_DID_PROCESSOR_CM3_Val _U_(0x3)
271 #define DSU_DID_PROCESSOR_CM4_Val _U_(0x5)
272 #define DSU_DID_PROCESSOR_CM4F_Val _U_(0x6)
273 #define DSU_DID_PROCESSOR_CM33_Val _U_(0x7)
274 #define DSU_DID_PROCESSOR_CM0P (DSU_DID_PROCESSOR_CM0P_Val << DSU_DID_PROCESSOR_Pos)
275 #define DSU_DID_PROCESSOR_CM23 (DSU_DID_PROCESSOR_CM23_Val << DSU_DID_PROCESSOR_Pos)
276 #define DSU_DID_PROCESSOR_CM3 (DSU_DID_PROCESSOR_CM3_Val << DSU_DID_PROCESSOR_Pos)
277 #define DSU_DID_PROCESSOR_CM4 (DSU_DID_PROCESSOR_CM4_Val << DSU_DID_PROCESSOR_Pos)
278 #define DSU_DID_PROCESSOR_CM4F (DSU_DID_PROCESSOR_CM4F_Val << DSU_DID_PROCESSOR_Pos)
279 #define DSU_DID_PROCESSOR_CM33 (DSU_DID_PROCESSOR_CM33_Val << DSU_DID_PROCESSOR_Pos)
280 #define DSU_DID_MASK _U_(0xFFBFFFFF)
282 /* -------- DSU_CFG : (DSU Offset: 0x001C) (R/W 32) Configuration -------- */
283 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
284 typedef union {
285  struct {
286  uint32_t LQOS:2;
287  uint32_t DCCDMALEVEL:2;
288  uint32_t ETBRAMEN:1;
289  uint32_t :27;
290  } bit;
291  uint32_t reg;
292 } DSU_CFG_Type;
293 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
294 
295 #define DSU_CFG_OFFSET 0x001C
296 #define DSU_CFG_RESETVALUE _U_(0x00000002)
298 #define DSU_CFG_LQOS_Pos 0
299 #define DSU_CFG_LQOS_Msk (_U_(0x3) << DSU_CFG_LQOS_Pos)
300 #define DSU_CFG_LQOS(value) (DSU_CFG_LQOS_Msk & ((value) << DSU_CFG_LQOS_Pos))
301 #define DSU_CFG_DCCDMALEVEL_Pos 2
302 #define DSU_CFG_DCCDMALEVEL_Msk (_U_(0x3) << DSU_CFG_DCCDMALEVEL_Pos)
303 #define DSU_CFG_DCCDMALEVEL(value) (DSU_CFG_DCCDMALEVEL_Msk & ((value) << DSU_CFG_DCCDMALEVEL_Pos))
304 #define DSU_CFG_DCCDMALEVEL_EMPTY_Val _U_(0x0)
305 #define DSU_CFG_DCCDMALEVEL_FULL_Val _U_(0x1)
306 #define DSU_CFG_DCCDMALEVEL_EMPTY (DSU_CFG_DCCDMALEVEL_EMPTY_Val << DSU_CFG_DCCDMALEVEL_Pos)
307 #define DSU_CFG_DCCDMALEVEL_FULL (DSU_CFG_DCCDMALEVEL_FULL_Val << DSU_CFG_DCCDMALEVEL_Pos)
308 #define DSU_CFG_ETBRAMEN_Pos 4
309 #define DSU_CFG_ETBRAMEN (_U_(0x1) << DSU_CFG_ETBRAMEN_Pos)
310 #define DSU_CFG_MASK _U_(0x0000001F)
312 /* -------- DSU_ENTRY0 : (DSU Offset: 0x1000) (R/ 32) CoreSight ROM Table Entry 0 -------- */
313 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
314 typedef union {
315  struct {
316  uint32_t EPRES:1;
317  uint32_t FMT:1;
318  uint32_t :10;
319  uint32_t ADDOFF:20;
320  } bit;
321  uint32_t reg;
323 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
324 
325 #define DSU_ENTRY0_OFFSET 0x1000
326 #define DSU_ENTRY0_RESETVALUE _U_(0x9F0FC002)
328 #define DSU_ENTRY0_EPRES_Pos 0
329 #define DSU_ENTRY0_EPRES (_U_(0x1) << DSU_ENTRY0_EPRES_Pos)
330 #define DSU_ENTRY0_FMT_Pos 1
331 #define DSU_ENTRY0_FMT (_U_(0x1) << DSU_ENTRY0_FMT_Pos)
332 #define DSU_ENTRY0_ADDOFF_Pos 12
333 #define DSU_ENTRY0_ADDOFF_Msk (_U_(0xFFFFF) << DSU_ENTRY0_ADDOFF_Pos)
334 #define DSU_ENTRY0_ADDOFF(value) (DSU_ENTRY0_ADDOFF_Msk & ((value) << DSU_ENTRY0_ADDOFF_Pos))
335 #define DSU_ENTRY0_MASK _U_(0xFFFFF003)
337 /* -------- DSU_ENTRY1 : (DSU Offset: 0x1004) (R/ 32) CoreSight ROM Table Entry 1 -------- */
338 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
339 typedef union {
340  uint32_t reg;
342 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
343 
344 #define DSU_ENTRY1_OFFSET 0x1004
345 #define DSU_ENTRY1_RESETVALUE _U_(0x00000000)
346 #define DSU_ENTRY1_MASK _U_(0xFFFFFFFF)
348 /* -------- DSU_END : (DSU Offset: 0x1008) (R/ 32) CoreSight ROM Table End -------- */
349 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
350 typedef union {
351  struct {
352  uint32_t END:32;
353  } bit;
354  uint32_t reg;
355 } DSU_END_Type;
356 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
357 
358 #define DSU_END_OFFSET 0x1008
359 #define DSU_END_RESETVALUE _U_(0x00000000)
361 #define DSU_END_END_Pos 0
362 #define DSU_END_END_Msk (_U_(0xFFFFFFFF) << DSU_END_END_Pos)
363 #define DSU_END_END(value) (DSU_END_END_Msk & ((value) << DSU_END_END_Pos))
364 #define DSU_END_MASK _U_(0xFFFFFFFF)
366 /* -------- DSU_MEMTYPE : (DSU Offset: 0x1FCC) (R/ 32) CoreSight ROM Table Memory Type -------- */
367 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
368 typedef union {
369  struct {
370  uint32_t SMEMP:1;
371  uint32_t :31;
372  } bit;
373  uint32_t reg;
375 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
376 
377 #define DSU_MEMTYPE_OFFSET 0x1FCC
378 #define DSU_MEMTYPE_RESETVALUE _U_(0x00000000)
380 #define DSU_MEMTYPE_SMEMP_Pos 0
381 #define DSU_MEMTYPE_SMEMP (_U_(0x1) << DSU_MEMTYPE_SMEMP_Pos)
382 #define DSU_MEMTYPE_MASK _U_(0x00000001)
384 /* -------- DSU_PID4 : (DSU Offset: 0x1FD0) (R/ 32) Peripheral Identification 4 -------- */
385 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
386 typedef union {
387  struct {
388  uint32_t JEPCC:4;
389  uint32_t FKBC:4;
390  uint32_t :24;
391  } bit;
392  uint32_t reg;
393 } DSU_PID4_Type;
394 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
395 
396 #define DSU_PID4_OFFSET 0x1FD0
397 #define DSU_PID4_RESETVALUE _U_(0x00000000)
399 #define DSU_PID4_JEPCC_Pos 0
400 #define DSU_PID4_JEPCC_Msk (_U_(0xF) << DSU_PID4_JEPCC_Pos)
401 #define DSU_PID4_JEPCC(value) (DSU_PID4_JEPCC_Msk & ((value) << DSU_PID4_JEPCC_Pos))
402 #define DSU_PID4_FKBC_Pos 4
403 #define DSU_PID4_FKBC_Msk (_U_(0xF) << DSU_PID4_FKBC_Pos)
404 #define DSU_PID4_FKBC(value) (DSU_PID4_FKBC_Msk & ((value) << DSU_PID4_FKBC_Pos))
405 #define DSU_PID4_MASK _U_(0x000000FF)
407 /* -------- DSU_PID5 : (DSU Offset: 0x1FD4) (R/ 32) Peripheral Identification 5 -------- */
408 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
409 typedef union {
410  uint32_t reg;
411 } DSU_PID5_Type;
412 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
413 
414 #define DSU_PID5_OFFSET 0x1FD4
415 #define DSU_PID5_RESETVALUE _U_(0x00000000)
416 #define DSU_PID5_MASK _U_(0x00000000)
418 /* -------- DSU_PID6 : (DSU Offset: 0x1FD8) (R/ 32) Peripheral Identification 6 -------- */
419 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
420 typedef union {
421  uint32_t reg;
422 } DSU_PID6_Type;
423 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
424 
425 #define DSU_PID6_OFFSET 0x1FD8
426 #define DSU_PID6_RESETVALUE _U_(0x00000000)
427 #define DSU_PID6_MASK _U_(0x00000000)
429 /* -------- DSU_PID7 : (DSU Offset: 0x1FDC) (R/ 32) Peripheral Identification 7 -------- */
430 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
431 typedef union {
432  uint32_t reg;
433 } DSU_PID7_Type;
434 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
435 
436 #define DSU_PID7_OFFSET 0x1FDC
437 #define DSU_PID7_RESETVALUE _U_(0x00000000)
438 #define DSU_PID7_MASK _U_(0x00000000)
440 /* -------- DSU_PID0 : (DSU Offset: 0x1FE0) (R/ 32) Peripheral Identification 0 -------- */
441 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
442 typedef union {
443  struct {
444  uint32_t PARTNBL:8;
445  uint32_t :24;
446  } bit;
447  uint32_t reg;
448 } DSU_PID0_Type;
449 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
450 
451 #define DSU_PID0_OFFSET 0x1FE0
452 #define DSU_PID0_RESETVALUE _U_(0x000000D0)
454 #define DSU_PID0_PARTNBL_Pos 0
455 #define DSU_PID0_PARTNBL_Msk (_U_(0xFF) << DSU_PID0_PARTNBL_Pos)
456 #define DSU_PID0_PARTNBL(value) (DSU_PID0_PARTNBL_Msk & ((value) << DSU_PID0_PARTNBL_Pos))
457 #define DSU_PID0_MASK _U_(0x000000FF)
459 /* -------- DSU_PID1 : (DSU Offset: 0x1FE4) (R/ 32) Peripheral Identification 1 -------- */
460 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
461 typedef union {
462  struct {
463  uint32_t PARTNBH:4;
464  uint32_t JEPIDCL:4;
465  uint32_t :24;
466  } bit;
467  uint32_t reg;
468 } DSU_PID1_Type;
469 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
470 
471 #define DSU_PID1_OFFSET 0x1FE4
472 #define DSU_PID1_RESETVALUE _U_(0x000000FC)
474 #define DSU_PID1_PARTNBH_Pos 0
475 #define DSU_PID1_PARTNBH_Msk (_U_(0xF) << DSU_PID1_PARTNBH_Pos)
476 #define DSU_PID1_PARTNBH(value) (DSU_PID1_PARTNBH_Msk & ((value) << DSU_PID1_PARTNBH_Pos))
477 #define DSU_PID1_JEPIDCL_Pos 4
478 #define DSU_PID1_JEPIDCL_Msk (_U_(0xF) << DSU_PID1_JEPIDCL_Pos)
479 #define DSU_PID1_JEPIDCL(value) (DSU_PID1_JEPIDCL_Msk & ((value) << DSU_PID1_JEPIDCL_Pos))
480 #define DSU_PID1_MASK _U_(0x000000FF)
482 /* -------- DSU_PID2 : (DSU Offset: 0x1FE8) (R/ 32) Peripheral Identification 2 -------- */
483 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
484 typedef union {
485  struct {
486  uint32_t JEPIDCH:3;
487  uint32_t JEPU:1;
488  uint32_t REVISION:4;
489  uint32_t :24;
490  } bit;
491  uint32_t reg;
492 } DSU_PID2_Type;
493 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
494 
495 #define DSU_PID2_OFFSET 0x1FE8
496 #define DSU_PID2_RESETVALUE _U_(0x00000009)
498 #define DSU_PID2_JEPIDCH_Pos 0
499 #define DSU_PID2_JEPIDCH_Msk (_U_(0x7) << DSU_PID2_JEPIDCH_Pos)
500 #define DSU_PID2_JEPIDCH(value) (DSU_PID2_JEPIDCH_Msk & ((value) << DSU_PID2_JEPIDCH_Pos))
501 #define DSU_PID2_JEPU_Pos 3
502 #define DSU_PID2_JEPU (_U_(0x1) << DSU_PID2_JEPU_Pos)
503 #define DSU_PID2_REVISION_Pos 4
504 #define DSU_PID2_REVISION_Msk (_U_(0xF) << DSU_PID2_REVISION_Pos)
505 #define DSU_PID2_REVISION(value) (DSU_PID2_REVISION_Msk & ((value) << DSU_PID2_REVISION_Pos))
506 #define DSU_PID2_MASK _U_(0x000000FF)
508 /* -------- DSU_PID3 : (DSU Offset: 0x1FEC) (R/ 32) Peripheral Identification 3 -------- */
509 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
510 typedef union {
511  struct {
512  uint32_t CUSMOD:4;
513  uint32_t REVAND:4;
514  uint32_t :24;
515  } bit;
516  uint32_t reg;
517 } DSU_PID3_Type;
518 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
519 
520 #define DSU_PID3_OFFSET 0x1FEC
521 #define DSU_PID3_RESETVALUE _U_(0x00000000)
523 #define DSU_PID3_CUSMOD_Pos 0
524 #define DSU_PID3_CUSMOD_Msk (_U_(0xF) << DSU_PID3_CUSMOD_Pos)
525 #define DSU_PID3_CUSMOD(value) (DSU_PID3_CUSMOD_Msk & ((value) << DSU_PID3_CUSMOD_Pos))
526 #define DSU_PID3_REVAND_Pos 4
527 #define DSU_PID3_REVAND_Msk (_U_(0xF) << DSU_PID3_REVAND_Pos)
528 #define DSU_PID3_REVAND(value) (DSU_PID3_REVAND_Msk & ((value) << DSU_PID3_REVAND_Pos))
529 #define DSU_PID3_MASK _U_(0x000000FF)
531 /* -------- DSU_CID0 : (DSU Offset: 0x1FF0) (R/ 32) Component Identification 0 -------- */
532 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
533 typedef union {
534  struct {
535  uint32_t PREAMBLEB0:8;
536  uint32_t :24;
537  } bit;
538  uint32_t reg;
539 } DSU_CID0_Type;
540 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
541 
542 #define DSU_CID0_OFFSET 0x1FF0
543 #define DSU_CID0_RESETVALUE _U_(0x0000000D)
545 #define DSU_CID0_PREAMBLEB0_Pos 0
546 #define DSU_CID0_PREAMBLEB0_Msk (_U_(0xFF) << DSU_CID0_PREAMBLEB0_Pos)
547 #define DSU_CID0_PREAMBLEB0(value) (DSU_CID0_PREAMBLEB0_Msk & ((value) << DSU_CID0_PREAMBLEB0_Pos))
548 #define DSU_CID0_MASK _U_(0x000000FF)
550 /* -------- DSU_CID1 : (DSU Offset: 0x1FF4) (R/ 32) Component Identification 1 -------- */
551 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
552 typedef union {
553  struct {
554  uint32_t PREAMBLE:4;
555  uint32_t CCLASS:4;
556  uint32_t :24;
557  } bit;
558  uint32_t reg;
559 } DSU_CID1_Type;
560 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
561 
562 #define DSU_CID1_OFFSET 0x1FF4
563 #define DSU_CID1_RESETVALUE _U_(0x00000010)
565 #define DSU_CID1_PREAMBLE_Pos 0
566 #define DSU_CID1_PREAMBLE_Msk (_U_(0xF) << DSU_CID1_PREAMBLE_Pos)
567 #define DSU_CID1_PREAMBLE(value) (DSU_CID1_PREAMBLE_Msk & ((value) << DSU_CID1_PREAMBLE_Pos))
568 #define DSU_CID1_CCLASS_Pos 4
569 #define DSU_CID1_CCLASS_Msk (_U_(0xF) << DSU_CID1_CCLASS_Pos)
570 #define DSU_CID1_CCLASS(value) (DSU_CID1_CCLASS_Msk & ((value) << DSU_CID1_CCLASS_Pos))
571 #define DSU_CID1_MASK _U_(0x000000FF)
573 /* -------- DSU_CID2 : (DSU Offset: 0x1FF8) (R/ 32) Component Identification 2 -------- */
574 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
575 typedef union {
576  struct {
577  uint32_t PREAMBLEB2:8;
578  uint32_t :24;
579  } bit;
580  uint32_t reg;
581 } DSU_CID2_Type;
582 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
583 
584 #define DSU_CID2_OFFSET 0x1FF8
585 #define DSU_CID2_RESETVALUE _U_(0x00000005)
587 #define DSU_CID2_PREAMBLEB2_Pos 0
588 #define DSU_CID2_PREAMBLEB2_Msk (_U_(0xFF) << DSU_CID2_PREAMBLEB2_Pos)
589 #define DSU_CID2_PREAMBLEB2(value) (DSU_CID2_PREAMBLEB2_Msk & ((value) << DSU_CID2_PREAMBLEB2_Pos))
590 #define DSU_CID2_MASK _U_(0x000000FF)
592 /* -------- DSU_CID3 : (DSU Offset: 0x1FFC) (R/ 32) Component Identification 3 -------- */
593 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
594 typedef union {
595  struct {
596  uint32_t PREAMBLEB3:8;
597  uint32_t :24;
598  } bit;
599  uint32_t reg;
600 } DSU_CID3_Type;
601 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
602 
603 #define DSU_CID3_OFFSET 0x1FFC
604 #define DSU_CID3_RESETVALUE _U_(0x000000B1)
606 #define DSU_CID3_PREAMBLEB3_Pos 0
607 #define DSU_CID3_PREAMBLEB3_Msk (_U_(0xFF) << DSU_CID3_PREAMBLEB3_Pos)
608 #define DSU_CID3_PREAMBLEB3(value) (DSU_CID3_PREAMBLEB3_Msk & ((value) << DSU_CID3_PREAMBLEB3_Pos))
609 #define DSU_CID3_MASK _U_(0x000000FF)
612 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
613 typedef struct {
617  RoReg8 Reserved1[0x1];
621  __IO DSU_DCC_Type DCC[2];
624  RoReg8 Reserved2[0xFE0];
628  RoReg8 Reserved3[0xFC0];
642 } Dsu;
643 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
644 
647 #endif /* _SAME54_DSU_COMPONENT_ */
DSU_DATA_Type::DATA
uint32_t DATA
Definition: dsu.h:192
DSU_CID3_Type
Definition: dsu.h:594
DSU_ADDR_Type::ADDR
uint32_t ADDR
Definition: dsu.h:152
DSU_PID1_Type::JEPIDCL
uint32_t JEPIDCL
Definition: dsu.h:464
Dsu::CID2
__I DSU_CID2_Type CID2
Offset: 0x1FF8 (R/ 32) Component Identification 2.
Definition: dsu.h:640
DSU_STATUSA_Type::BERR
uint8_t BERR
Definition: dsu.h:82
DSU_PID3_Type
Definition: dsu.h:510
Dsu::PID2
__I DSU_PID2_Type PID2
Offset: 0x1FE8 (R/ 32) Peripheral Identification 2.
Definition: dsu.h:636
DSU_CID1_Type::CCLASS
uint32_t CCLASS
Definition: dsu.h:555
DSU_ENTRY0_Type
Definition: dsu.h:314
DSU_PID3_Type::REVAND
uint32_t REVAND
Definition: dsu.h:513
DSU_CID0_Type
Definition: dsu.h:533
DSU_PID3_Type::reg
uint32_t reg
Definition: dsu.h:516
DSU_CTRL_Type::reg
uint8_t reg
Definition: dsu.h:55
Dsu::PID3
__I DSU_PID3_Type PID3
Offset: 0x1FEC (R/ 32) Peripheral Identification 3.
Definition: dsu.h:637
DSU_DID_Type::DIE
uint32_t DIE
Definition: dsu.h:230
DSU_PID0_Type
Definition: dsu.h:442
DSU_ADDR_Type::reg
uint32_t reg
Definition: dsu.h:154
DSU_CID2_Type::reg
uint32_t reg
Definition: dsu.h:580
DSU_MEMTYPE_Type::reg
uint32_t reg
Definition: dsu.h:373
DSU_CTRL_Type::CRC
uint8_t CRC
Definition: dsu.h:48
Dsu::STATUSB
__I DSU_STATUSB_Type STATUSB
Offset: 0x0002 (R/ 8) Status B.
Definition: dsu.h:616
Dsu::LENGTH
__IO DSU_LENGTH_Type LENGTH
Offset: 0x0008 (R/W 32) Length.
Definition: dsu.h:619
DSU_END_Type::END
uint32_t END
Definition: dsu.h:352
Dsu::ADDR
__IO DSU_ADDR_Type ADDR
Offset: 0x0004 (R/W 32) Address.
Definition: dsu.h:618
DSU_CID3_Type::reg
uint32_t reg
Definition: dsu.h:599
DSU_DID_Type::DEVSEL
uint32_t DEVSEL
Definition: dsu.h:228
Dsu::PID5
__I DSU_PID5_Type PID5
Offset: 0x1FD4 (R/ 32) Peripheral Identification 5.
Definition: dsu.h:631
DSU_ENTRY0_Type::FMT
uint32_t FMT
Definition: dsu.h:317
DSU_PID7_Type
Definition: dsu.h:431
Dsu::PID7
__I DSU_PID7_Type PID7
Offset: 0x1FDC (R/ 32) Peripheral Identification 7.
Definition: dsu.h:633
DSU_CID2_Type::PREAMBLEB2
uint32_t PREAMBLEB2
Definition: dsu.h:577
Dsu::CTRL
__O DSU_CTRL_Type CTRL
Offset: 0x0000 ( /W 8) Control.
Definition: dsu.h:614
DSU_PID6_Type::reg
uint32_t reg
Definition: dsu.h:421
DSU_PID5_Type::reg
uint32_t reg
Definition: dsu.h:410
DSU_PID4_Type::FKBC
uint32_t FKBC
Definition: dsu.h:389
Dsu::ENTRY1
__I DSU_ENTRY1_Type ENTRY1
Offset: 0x1004 (R/ 32) CoreSight ROM Table Entry 1.
Definition: dsu.h:626
Dsu::PID0
__I DSU_PID0_Type PID0
Offset: 0x1FE0 (R/ 32) Peripheral Identification 0.
Definition: dsu.h:634
DSU_CID2_Type
Definition: dsu.h:575
DSU_CTRL_Type::ARR
uint8_t ARR
Definition: dsu.h:52
Dsu::CID1
__I DSU_CID1_Type CID1
Offset: 0x1FF4 (R/ 32) Component Identification 1.
Definition: dsu.h:639
DSU_PID2_Type::JEPU
uint32_t JEPU
Definition: dsu.h:487
DSU_PID2_Type
Definition: dsu.h:484
DSU_DCC_Type::reg
uint32_t reg
Definition: dsu.h:212
DSU_PID1_Type::PARTNBH
uint32_t PARTNBH
Definition: dsu.h:463
Dsu::DATA
__IO DSU_DATA_Type DATA
Offset: 0x000C (R/W 32) Data.
Definition: dsu.h:620
DSU_ENTRY0_Type::EPRES
uint32_t EPRES
Definition: dsu.h:316
DSU_STATUSB_Type::PROT
uint8_t PROT
Definition: dsu.h:110
Dsu::PID4
__I DSU_PID4_Type PID4
Offset: 0x1FD0 (R/ 32) Peripheral Identification 4.
Definition: dsu.h:630
DSU_STATUSA_Type::reg
uint8_t reg
Definition: dsu.h:87
DSU_PID6_Type
Definition: dsu.h:420
DSU_PID4_Type::JEPCC
uint32_t JEPCC
Definition: dsu.h:388
DSU_ENTRY1_Type
Definition: dsu.h:339
DSU_CTRL_Type::SMSA
uint8_t SMSA
Definition: dsu.h:53
DSU_PID0_Type::reg
uint32_t reg
Definition: dsu.h:447
DSU_CID3_Type::PREAMBLEB3
uint32_t PREAMBLEB3
Definition: dsu.h:596
DSU_CFG_Type::DCCDMALEVEL
uint32_t DCCDMALEVEL
Definition: dsu.h:287
DSU_PID2_Type::reg
uint32_t reg
Definition: dsu.h:491
Dsu::END
__I DSU_END_Type END
Offset: 0x1008 (R/ 32) CoreSight ROM Table End.
Definition: dsu.h:627
DSU_ADDR_Type
Definition: dsu.h:149
DSU_LENGTH_Type::reg
uint32_t reg
Definition: dsu.h:176
DSU_ENTRY0_Type::ADDOFF
uint32_t ADDOFF
Definition: dsu.h:319
DSU_STATUSB_Type::CELCK
uint8_t CELCK
Definition: dsu.h:115
DSU_CFG_Type::ETBRAMEN
uint32_t ETBRAMEN
Definition: dsu.h:288
DSU_PID5_Type
Definition: dsu.h:409
Dsu::ENTRY0
__I DSU_ENTRY0_Type ENTRY0
Offset: 0x1000 (R/ 32) CoreSight ROM Table Entry 0.
Definition: dsu.h:625
DSU_PID2_Type::JEPIDCH
uint32_t JEPIDCH
Definition: dsu.h:486
DSU_CID0_Type::PREAMBLEB0
uint32_t PREAMBLEB0
Definition: dsu.h:535
DSU_STATUSB_Type::DBGPRES
uint8_t DBGPRES
Definition: dsu.h:111
DSU_STATUSA_Type::FAIL
uint8_t FAIL
Definition: dsu.h:83
DSU_LENGTH_Type::LENGTH
uint32_t LENGTH
Definition: dsu.h:174
DSU_ADDR_Type::AMOD
uint32_t AMOD
Definition: dsu.h:151
DSU_DID_Type::SERIES
uint32_t SERIES
Definition: dsu.h:231
Dsu::MEMTYPE
__I DSU_MEMTYPE_Type MEMTYPE
Offset: 0x1FCC (R/ 32) CoreSight ROM Table Memory Type.
Definition: dsu.h:629
DSU_MEMTYPE_Type
Definition: dsu.h:368
DSU_DCC_Type::DATA
uint32_t DATA
Definition: dsu.h:210
DSU_ENTRY0_Type::reg
uint32_t reg
Definition: dsu.h:321
DSU_STATUSB_Type::DCCD
uint8_t DCCD
Definition: dsu.h:120
DSU_DID_Type
Definition: dsu.h:226
DSU_DATA_Type
Definition: dsu.h:190
Dsu::PID6
__I DSU_PID6_Type PID6
Offset: 0x1FD8 (R/ 32) Peripheral Identification 6.
Definition: dsu.h:632
DSU_PID4_Type
Definition: dsu.h:386
DSU_CID1_Type::PREAMBLE
uint32_t PREAMBLE
Definition: dsu.h:554
DSU_PID0_Type::PARTNBL
uint32_t PARTNBL
Definition: dsu.h:444
DSU_PID2_Type::REVISION
uint32_t REVISION
Definition: dsu.h:488
DSU_STATUSB_Type
Definition: dsu.h:108
DSU_CTRL_Type::CE
uint8_t CE
Definition: dsu.h:50
DSU_PID3_Type::CUSMOD
uint32_t CUSMOD
Definition: dsu.h:512
DSU_PID7_Type::reg
uint32_t reg
Definition: dsu.h:432
DSU_STATUSB_Type::reg
uint8_t reg
Definition: dsu.h:123
DSU_LENGTH_Type
Definition: dsu.h:171
DSU_CFG_Type
Definition: dsu.h:284
DSU_DATA_Type::reg
uint32_t reg
Definition: dsu.h:194
DSU_DID_Type::REVISION
uint32_t REVISION
Definition: dsu.h:229
DSU_STATUSA_Type
Definition: dsu.h:78
DSU_PID1_Type::reg
uint32_t reg
Definition: dsu.h:467
DSU_STATUSA_Type::PERR
uint8_t PERR
Definition: dsu.h:84
DSU_CTRL_Type
Definition: dsu.h:44
DSU_CID0_Type::reg
uint32_t reg
Definition: dsu.h:538
DSU_DCC_Type
Definition: dsu.h:208
DSU_CFG_Type::reg
uint32_t reg
Definition: dsu.h:291
DSU_STATUSB_Type::HPE
uint8_t HPE
Definition: dsu.h:114
RoReg8
volatile const uint8_t RoReg8
Definition: same54n19a.h:53
DSU_ENTRY1_Type::reg
uint32_t reg
Definition: dsu.h:340
DSU_PID4_Type::reg
uint32_t reg
Definition: dsu.h:392
DSU_CFG_Type::LQOS
uint32_t LQOS
Definition: dsu.h:286
DSU_DID_Type::reg
uint32_t reg
Definition: dsu.h:236
DSU_CID1_Type
Definition: dsu.h:552
Dsu
DSU hardware registers.
Definition: dsu.h:613
DSU_CTRL_Type::SWRST
uint8_t SWRST
Definition: dsu.h:46
Dsu::PID1
__I DSU_PID1_Type PID1
Offset: 0x1FE4 (R/ 32) Peripheral Identification 1.
Definition: dsu.h:635
Dsu::CID3
__I DSU_CID3_Type CID3
Offset: 0x1FFC (R/ 32) Component Identification 3.
Definition: dsu.h:641
DSU_PID1_Type
Definition: dsu.h:461
DSU_STATUSB_Type::DCCD1
uint8_t DCCD1
Definition: dsu.h:113
DSU_DID_Type::FAMILY
uint32_t FAMILY
Definition: dsu.h:233
DSU_STATUSB_Type::DCCD0
uint8_t DCCD0
Definition: dsu.h:112
DSU_CID1_Type::reg
uint32_t reg
Definition: dsu.h:558
DSU_END_Type
Definition: dsu.h:350
Dsu::STATUSA
__IO DSU_STATUSA_Type STATUSA
Offset: 0x0001 (R/W 8) Status A.
Definition: dsu.h:615
DSU_STATUSA_Type::DONE
uint8_t DONE
Definition: dsu.h:80
Dsu::CID0
__I DSU_CID0_Type CID0
Offset: 0x1FF0 (R/ 32) Component Identification 0.
Definition: dsu.h:638
Dsu::DID
__I DSU_DID_Type DID
Offset: 0x0018 (R/ 32) Device Identification.
Definition: dsu.h:622
DSU_STATUSA_Type::CRSTEXT
uint8_t CRSTEXT
Definition: dsu.h:81
DSU_MEMTYPE_Type::SMEMP
uint32_t SMEMP
Definition: dsu.h:370
DSU_DID_Type::PROCESSOR
uint32_t PROCESSOR
Definition: dsu.h:234
DSU_CTRL_Type::MBIST
uint8_t MBIST
Definition: dsu.h:49
DSU_END_Type::reg
uint32_t reg
Definition: dsu.h:354
Dsu::CFG
__IO DSU_CFG_Type CFG
Offset: 0x001C (R/W 32) Configuration.
Definition: dsu.h:623