1 /**
2  * \file
3  *
4  * \brief Component description for DSU
5  *
6  * Copyright (c) 2018 Microchip Technology Inc.
7  *
8  * \asf_license_start
9  *
10  * \page License
11  *
12  * SPDX-License-Identifier: Apache-2.0
13  *
14  * Licensed under the Apache License, Version 2.0 (the "License"); you may
15  * not use this file except in compliance with the License.
16  * You may obtain a copy of the Licence at
17  *
18  * http://www.apache.org/licenses/LICENSE-2.0
19  *
20  * Unless required by applicable law or agreed to in writing, software
21  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
22  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23  * See the License for the specific language governing permissions and
24  * limitations under the License.
25  *
26  * \asf_license_stop
27  *
28  */
29 
30 #ifndef _SAMR34_DSU_COMPONENT_
31 #define _SAMR34_DSU_COMPONENT_
32 
33 /* ========================================================================== */
34 /**  SOFTWARE API DEFINITION FOR DSU */
35 /* ========================================================================== */
36 /** \addtogroup SAMR34_DSU Device Service Unit */
37 /*@{*/
38 
39 #define DSU_U2209
40 #define REV_DSU                     0x250
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;          /*!< bit:      0  Software Reset                     */
47     uint8_t  :1;               /*!< bit:      1  Reserved                           */
48     uint8_t  CRC:1;            /*!< bit:      2  32-bit Cyclic Redundancy Code      */
49     uint8_t  MBIST:1;          /*!< bit:      3  Memory built-in self-test          */
50     uint8_t  CE:1;             /*!< bit:      4  Chip-Erase                         */
51     uint8_t  :1;               /*!< bit:      5  Reserved                           */
52     uint8_t  ARR:1;            /*!< bit:      6  Auxiliary Row Read                 */
53     uint8_t  SMSA:1;           /*!< bit:      7  Start Memory Stream Access         */
54   } bit;                       /*!< Structure used for bit  access                  */
55   uint8_t reg;                 /*!< Type      used for register access              */
56 } DSU_CTRL_Type;
57 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
58 
59 #define DSU_CTRL_OFFSET             0x0000       /**< \brief (DSU_CTRL offset) Control */
60 #define DSU_CTRL_RESETVALUE         _U_(0x00)    /**< \brief (DSU_CTRL reset_value) Control */
61 
62 #define DSU_CTRL_SWRST_Pos          0            /**< \brief (DSU_CTRL) Software Reset */
63 #define DSU_CTRL_SWRST              (_U_(0x1) << DSU_CTRL_SWRST_Pos)
64 #define DSU_CTRL_CRC_Pos            2            /**< \brief (DSU_CTRL) 32-bit Cyclic Redundancy Code */
65 #define DSU_CTRL_CRC                (_U_(0x1) << DSU_CTRL_CRC_Pos)
66 #define DSU_CTRL_MBIST_Pos          3            /**< \brief (DSU_CTRL) Memory built-in self-test */
67 #define DSU_CTRL_MBIST              (_U_(0x1) << DSU_CTRL_MBIST_Pos)
68 #define DSU_CTRL_CE_Pos             4            /**< \brief (DSU_CTRL) Chip-Erase */
69 #define DSU_CTRL_CE                 (_U_(0x1) << DSU_CTRL_CE_Pos)
70 #define DSU_CTRL_ARR_Pos            6            /**< \brief (DSU_CTRL) Auxiliary Row Read */
71 #define DSU_CTRL_ARR                (_U_(0x1) << DSU_CTRL_ARR_Pos)
72 #define DSU_CTRL_SMSA_Pos           7            /**< \brief (DSU_CTRL) Start Memory Stream Access */
73 #define DSU_CTRL_SMSA               (_U_(0x1) << DSU_CTRL_SMSA_Pos)
74 #define DSU_CTRL_MASK               _U_(0xDD)    /**< \brief (DSU_CTRL) MASK Register */
75 
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;           /*!< bit:      0  Done                               */
81     uint8_t  CRSTEXT:1;        /*!< bit:      1  CPU Reset Phase Extension          */
82     uint8_t  BERR:1;           /*!< bit:      2  Bus Error                          */
83     uint8_t  FAIL:1;           /*!< bit:      3  Failure                            */
84     uint8_t  PERR:1;           /*!< bit:      4  Protection Error                   */
85     uint8_t  :3;               /*!< bit:  5.. 7  Reserved                           */
86   } bit;                       /*!< Structure used for bit  access                  */
87   uint8_t reg;                 /*!< Type      used for register access              */
88 } DSU_STATUSA_Type;
89 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
90 
91 #define DSU_STATUSA_OFFSET          0x0001       /**< \brief (DSU_STATUSA offset) Status A */
92 #define DSU_STATUSA_RESETVALUE      _U_(0x00)    /**< \brief (DSU_STATUSA reset_value) Status A */
93 
94 #define DSU_STATUSA_DONE_Pos        0            /**< \brief (DSU_STATUSA) Done */
95 #define DSU_STATUSA_DONE            (_U_(0x1) << DSU_STATUSA_DONE_Pos)
96 #define DSU_STATUSA_CRSTEXT_Pos     1            /**< \brief (DSU_STATUSA) CPU Reset Phase Extension */
97 #define DSU_STATUSA_CRSTEXT         (_U_(0x1) << DSU_STATUSA_CRSTEXT_Pos)
98 #define DSU_STATUSA_BERR_Pos        2            /**< \brief (DSU_STATUSA) Bus Error */
99 #define DSU_STATUSA_BERR            (_U_(0x1) << DSU_STATUSA_BERR_Pos)
100 #define DSU_STATUSA_FAIL_Pos        3            /**< \brief (DSU_STATUSA) Failure */
101 #define DSU_STATUSA_FAIL            (_U_(0x1) << DSU_STATUSA_FAIL_Pos)
102 #define DSU_STATUSA_PERR_Pos        4            /**< \brief (DSU_STATUSA) Protection Error */
103 #define DSU_STATUSA_PERR            (_U_(0x1) << DSU_STATUSA_PERR_Pos)
104 #define DSU_STATUSA_MASK            _U_(0x1F)    /**< \brief (DSU_STATUSA) MASK Register */
105 
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;           /*!< bit:      0  Protected                          */
111     uint8_t  DBGPRES:1;        /*!< bit:      1  Debugger Present                   */
112     uint8_t  DCCD0:1;          /*!< bit:      2  Debug Communication Channel 0 Dirty */
113     uint8_t  DCCD1:1;          /*!< bit:      3  Debug Communication Channel 1 Dirty */
114     uint8_t  HPE:1;            /*!< bit:      4  Hot-Plugging Enable                */
115     uint8_t  :3;               /*!< bit:  5.. 7  Reserved                           */
116   } bit;                       /*!< Structure used for bit  access                  */
117   struct {
118     uint8_t  :2;               /*!< bit:  0.. 1  Reserved                           */
119     uint8_t  DCCD:2;           /*!< bit:  2.. 3  Debug Communication Channel x Dirty */
120     uint8_t  :4;               /*!< bit:  4.. 7  Reserved                           */
121   } vec;                       /*!< Structure used for vec  access                  */
122   uint8_t reg;                 /*!< Type      used for register access              */
123 } DSU_STATUSB_Type;
124 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
125 
126 #define DSU_STATUSB_OFFSET          0x0002       /**< \brief (DSU_STATUSB offset) Status B */
127 #define DSU_STATUSB_RESETVALUE      _U_(0x00)    /**< \brief (DSU_STATUSB reset_value) Status B */
128 
129 #define DSU_STATUSB_PROT_Pos        0            /**< \brief (DSU_STATUSB) Protected */
130 #define DSU_STATUSB_PROT            (_U_(0x1) << DSU_STATUSB_PROT_Pos)
131 #define DSU_STATUSB_DBGPRES_Pos     1            /**< \brief (DSU_STATUSB) Debugger Present */
132 #define DSU_STATUSB_DBGPRES         (_U_(0x1) << DSU_STATUSB_DBGPRES_Pos)
133 #define DSU_STATUSB_DCCD0_Pos       2            /**< \brief (DSU_STATUSB) Debug Communication Channel 0 Dirty */
134 #define DSU_STATUSB_DCCD0           (_U_(1) << DSU_STATUSB_DCCD0_Pos)
135 #define DSU_STATUSB_DCCD1_Pos       3            /**< \brief (DSU_STATUSB) Debug Communication Channel 1 Dirty */
136 #define DSU_STATUSB_DCCD1           (_U_(1) << DSU_STATUSB_DCCD1_Pos)
137 #define DSU_STATUSB_DCCD_Pos        2            /**< \brief (DSU_STATUSB) Debug Communication Channel x Dirty */
138 #define DSU_STATUSB_DCCD_Msk        (_U_(0x3) << DSU_STATUSB_DCCD_Pos)
139 #define DSU_STATUSB_DCCD(value)     (DSU_STATUSB_DCCD_Msk & ((value) << DSU_STATUSB_DCCD_Pos))
140 #define DSU_STATUSB_HPE_Pos         4            /**< \brief (DSU_STATUSB) Hot-Plugging Enable */
141 #define DSU_STATUSB_HPE             (_U_(0x1) << DSU_STATUSB_HPE_Pos)
142 #define DSU_STATUSB_MASK            _U_(0x1F)    /**< \brief (DSU_STATUSB) MASK Register */
143 
144 /* -------- DSU_ADDR : (DSU Offset: 0x0004) (R/W 32) Address -------- */
145 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
146 typedef union {
147   struct {
148     uint32_t AMOD:2;           /*!< bit:  0.. 1  Access Mode                        */
149     uint32_t ADDR:30;          /*!< bit:  2..31  Address                            */
150   } bit;                       /*!< Structure used for bit  access                  */
151   uint32_t reg;                /*!< Type      used for register access              */
152 } DSU_ADDR_Type;
153 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
154 
155 #define DSU_ADDR_OFFSET             0x0004       /**< \brief (DSU_ADDR offset) Address */
156 #define DSU_ADDR_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_ADDR reset_value) Address */
157 
158 #define DSU_ADDR_AMOD_Pos           0            /**< \brief (DSU_ADDR) Access Mode */
159 #define DSU_ADDR_AMOD_Msk           (_U_(0x3) << DSU_ADDR_AMOD_Pos)
160 #define DSU_ADDR_AMOD(value)        (DSU_ADDR_AMOD_Msk & ((value) << DSU_ADDR_AMOD_Pos))
161 #define DSU_ADDR_ADDR_Pos           2            /**< \brief (DSU_ADDR) Address */
162 #define DSU_ADDR_ADDR_Msk           (_U_(0x3FFFFFFF) << DSU_ADDR_ADDR_Pos)
163 #define DSU_ADDR_ADDR(value)        (DSU_ADDR_ADDR_Msk & ((value) << DSU_ADDR_ADDR_Pos))
164 #define DSU_ADDR_MASK               _U_(0xFFFFFFFF) /**< \brief (DSU_ADDR) MASK Register */
165 
166 /* -------- DSU_LENGTH : (DSU Offset: 0x0008) (R/W 32) Length -------- */
167 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
168 typedef union {
169   struct {
170     uint32_t :2;               /*!< bit:  0.. 1  Reserved                           */
171     uint32_t LENGTH:30;        /*!< bit:  2..31  Length                             */
172   } bit;                       /*!< Structure used for bit  access                  */
173   uint32_t reg;                /*!< Type      used for register access              */
174 } DSU_LENGTH_Type;
175 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
176 
177 #define DSU_LENGTH_OFFSET           0x0008       /**< \brief (DSU_LENGTH offset) Length */
178 #define DSU_LENGTH_RESETVALUE       _U_(0x00000000) /**< \brief (DSU_LENGTH reset_value) Length */
179 
180 #define DSU_LENGTH_LENGTH_Pos       2            /**< \brief (DSU_LENGTH) Length */
181 #define DSU_LENGTH_LENGTH_Msk       (_U_(0x3FFFFFFF) << DSU_LENGTH_LENGTH_Pos)
182 #define DSU_LENGTH_LENGTH(value)    (DSU_LENGTH_LENGTH_Msk & ((value) << DSU_LENGTH_LENGTH_Pos))
183 #define DSU_LENGTH_MASK             _U_(0xFFFFFFFC) /**< \brief (DSU_LENGTH) MASK Register */
184 
185 /* -------- DSU_DATA : (DSU Offset: 0x000C) (R/W 32) Data -------- */
186 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
187 typedef union {
188   struct {
189     uint32_t DATA:32;          /*!< bit:  0..31  Data                               */
190   } bit;                       /*!< Structure used for bit  access                  */
191   uint32_t reg;                /*!< Type      used for register access              */
192 } DSU_DATA_Type;
193 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
194 
195 #define DSU_DATA_OFFSET             0x000C       /**< \brief (DSU_DATA offset) Data */
196 #define DSU_DATA_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_DATA reset_value) Data */
197 
198 #define DSU_DATA_DATA_Pos           0            /**< \brief (DSU_DATA) Data */
199 #define DSU_DATA_DATA_Msk           (_U_(0xFFFFFFFF) << DSU_DATA_DATA_Pos)
200 #define DSU_DATA_DATA(value)        (DSU_DATA_DATA_Msk & ((value) << DSU_DATA_DATA_Pos))
201 #define DSU_DATA_MASK               _U_(0xFFFFFFFF) /**< \brief (DSU_DATA) MASK Register */
202 
203 /* -------- DSU_DCC : (DSU Offset: 0x0010) (R/W 32) Debug Communication Channel n -------- */
204 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
205 typedef union {
206   struct {
207     uint32_t DATA:32;          /*!< bit:  0..31  Data                               */
208   } bit;                       /*!< Structure used for bit  access                  */
209   uint32_t reg;                /*!< Type      used for register access              */
210 } DSU_DCC_Type;
211 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
212 
213 #define DSU_DCC_OFFSET              0x0010       /**< \brief (DSU_DCC offset) Debug Communication Channel n */
214 #define DSU_DCC_RESETVALUE          _U_(0x00000000) /**< \brief (DSU_DCC reset_value) Debug Communication Channel n */
215 
216 #define DSU_DCC_DATA_Pos            0            /**< \brief (DSU_DCC) Data */
217 #define DSU_DCC_DATA_Msk            (_U_(0xFFFFFFFF) << DSU_DCC_DATA_Pos)
218 #define DSU_DCC_DATA(value)         (DSU_DCC_DATA_Msk & ((value) << DSU_DCC_DATA_Pos))
219 #define DSU_DCC_MASK                _U_(0xFFFFFFFF) /**< \brief (DSU_DCC) MASK Register */
220 
221 /* -------- DSU_DID : (DSU Offset: 0x0018) (R/  32) Device Identification -------- */
222 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
223 typedef union {
224   struct {
225     uint32_t DEVSEL:8;         /*!< bit:  0.. 7  Device Select                      */
226     uint32_t REVISION:4;       /*!< bit:  8..11  Revision Number                    */
227     uint32_t DIE:4;            /*!< bit: 12..15  Die Number                         */
228     uint32_t SERIES:6;         /*!< bit: 16..21  Series                             */
229     uint32_t :1;               /*!< bit:     22  Reserved                           */
230     uint32_t FAMILY:5;         /*!< bit: 23..27  Family                             */
231     uint32_t PROCESSOR:4;      /*!< bit: 28..31  Processor                          */
232   } bit;                       /*!< Structure used for bit  access                  */
233   uint32_t reg;                /*!< Type      used for register access              */
234 } DSU_DID_Type;
235 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
236 
237 #define DSU_DID_OFFSET              0x0018       /**< \brief (DSU_DID offset) Device Identification */
238 
239 #define DSU_DID_DEVSEL_Pos          0            /**< \brief (DSU_DID) Device Select */
240 #define DSU_DID_DEVSEL_Msk          (_U_(0xFF) << DSU_DID_DEVSEL_Pos)
241 #define DSU_DID_DEVSEL(value)       (DSU_DID_DEVSEL_Msk & ((value) << DSU_DID_DEVSEL_Pos))
242 #define DSU_DID_REVISION_Pos        8            /**< \brief (DSU_DID) Revision Number */
243 #define DSU_DID_REVISION_Msk        (_U_(0xF) << DSU_DID_REVISION_Pos)
244 #define DSU_DID_REVISION(value)     (DSU_DID_REVISION_Msk & ((value) << DSU_DID_REVISION_Pos))
245 #define DSU_DID_DIE_Pos             12           /**< \brief (DSU_DID) Die Number */
246 #define DSU_DID_DIE_Msk             (_U_(0xF) << DSU_DID_DIE_Pos)
247 #define DSU_DID_DIE(value)          (DSU_DID_DIE_Msk & ((value) << DSU_DID_DIE_Pos))
248 #define DSU_DID_SERIES_Pos          16           /**< \brief (DSU_DID) Series */
249 #define DSU_DID_SERIES_Msk          (_U_(0x3F) << DSU_DID_SERIES_Pos)
250 #define DSU_DID_SERIES(value)       (DSU_DID_SERIES_Msk & ((value) << DSU_DID_SERIES_Pos))
251 #define   DSU_DID_SERIES_0_Val            _U_(0x0)   /**< \brief (DSU_DID) Cortex-M0+ processor, basic feature set */
252 #define   DSU_DID_SERIES_1_Val            _U_(0x1)   /**< \brief (DSU_DID) Cortex-M0+ processor, USB */
253 #define DSU_DID_SERIES_0            (DSU_DID_SERIES_0_Val          << DSU_DID_SERIES_Pos)
254 #define DSU_DID_SERIES_1            (DSU_DID_SERIES_1_Val          << DSU_DID_SERIES_Pos)
255 #define DSU_DID_FAMILY_Pos          23           /**< \brief (DSU_DID) Family */
256 #define DSU_DID_FAMILY_Msk          (_U_(0x1F) << DSU_DID_FAMILY_Pos)
257 #define DSU_DID_FAMILY(value)       (DSU_DID_FAMILY_Msk & ((value) << DSU_DID_FAMILY_Pos))
258 #define   DSU_DID_FAMILY_0_Val            _U_(0x0)   /**< \brief (DSU_DID) General purpose microcontroller */
259 #define   DSU_DID_FAMILY_1_Val            _U_(0x1)   /**< \brief (DSU_DID) PicoPower */
260 #define DSU_DID_FAMILY_0            (DSU_DID_FAMILY_0_Val          << DSU_DID_FAMILY_Pos)
261 #define DSU_DID_FAMILY_1            (DSU_DID_FAMILY_1_Val          << DSU_DID_FAMILY_Pos)
262 #define DSU_DID_PROCESSOR_Pos       28           /**< \brief (DSU_DID) Processor */
263 #define DSU_DID_PROCESSOR_Msk       (_U_(0xF) << DSU_DID_PROCESSOR_Pos)
264 #define DSU_DID_PROCESSOR(value)    (DSU_DID_PROCESSOR_Msk & ((value) << DSU_DID_PROCESSOR_Pos))
265 #define   DSU_DID_PROCESSOR_0_Val         _U_(0x0)   /**< \brief (DSU_DID) Cortex-M0 */
266 #define   DSU_DID_PROCESSOR_1_Val         _U_(0x1)   /**< \brief (DSU_DID) Cortex-M0+ */
267 #define   DSU_DID_PROCESSOR_2_Val         _U_(0x2)   /**< \brief (DSU_DID) Cortex-M3 */
268 #define   DSU_DID_PROCESSOR_3_Val         _U_(0x3)   /**< \brief (DSU_DID) Cortex-M4 */
269 #define DSU_DID_PROCESSOR_0         (DSU_DID_PROCESSOR_0_Val       << DSU_DID_PROCESSOR_Pos)
270 #define DSU_DID_PROCESSOR_1         (DSU_DID_PROCESSOR_1_Val       << DSU_DID_PROCESSOR_Pos)
271 #define DSU_DID_PROCESSOR_2         (DSU_DID_PROCESSOR_2_Val       << DSU_DID_PROCESSOR_Pos)
272 #define DSU_DID_PROCESSOR_3         (DSU_DID_PROCESSOR_3_Val       << DSU_DID_PROCESSOR_Pos)
273 #define DSU_DID_MASK                _U_(0xFFBFFFFF) /**< \brief (DSU_DID) MASK Register */
274 
275 /* -------- DSU_DCFG : (DSU Offset: 0x00F0) (R/W 32) Device Configuration -------- */
276 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
277 typedef union {
278   struct {
279     uint32_t DCFG:32;          /*!< bit:  0..31  Device Configuration               */
280   } bit;                       /*!< Structure used for bit  access                  */
281   uint32_t reg;                /*!< Type      used for register access              */
282 } DSU_DCFG_Type;
283 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
284 
285 #define DSU_DCFG_OFFSET             0x00F0       /**< \brief (DSU_DCFG offset) Device Configuration */
286 #define DSU_DCFG_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_DCFG reset_value) Device Configuration */
287 
288 #define DSU_DCFG_DCFG_Pos           0            /**< \brief (DSU_DCFG) Device Configuration */
289 #define DSU_DCFG_DCFG_Msk           (_U_(0xFFFFFFFF) << DSU_DCFG_DCFG_Pos)
290 #define DSU_DCFG_DCFG(value)        (DSU_DCFG_DCFG_Msk & ((value) << DSU_DCFG_DCFG_Pos))
291 #define DSU_DCFG_MASK               _U_(0xFFFFFFFF) /**< \brief (DSU_DCFG) MASK Register */
292 
293 /* -------- DSU_ENTRY0 : (DSU Offset: 0x1000) (R/  32) Coresight ROM Table Entry 0 -------- */
294 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
295 typedef union {
296   struct {
297     uint32_t EPRES:1;          /*!< bit:      0  Entry Present                      */
298     uint32_t FMT:1;            /*!< bit:      1  Format                             */
299     uint32_t :10;              /*!< bit:  2..11  Reserved                           */
300     uint32_t ADDOFF:20;        /*!< bit: 12..31  Address Offset                     */
301   } bit;                       /*!< Structure used for bit  access                  */
302   uint32_t reg;                /*!< Type      used for register access              */
303 } DSU_ENTRY0_Type;
304 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
305 
306 #define DSU_ENTRY0_OFFSET           0x1000       /**< \brief (DSU_ENTRY0 offset) Coresight ROM Table Entry 0 */
307 #define DSU_ENTRY0_RESETVALUE       _U_(0x9F0FC002) /**< \brief (DSU_ENTRY0 reset_value) Coresight ROM Table Entry 0 */
308 
309 #define DSU_ENTRY0_EPRES_Pos        0            /**< \brief (DSU_ENTRY0) Entry Present */
310 #define DSU_ENTRY0_EPRES            (_U_(0x1) << DSU_ENTRY0_EPRES_Pos)
311 #define DSU_ENTRY0_FMT_Pos          1            /**< \brief (DSU_ENTRY0) Format */
312 #define DSU_ENTRY0_FMT              (_U_(0x1) << DSU_ENTRY0_FMT_Pos)
313 #define DSU_ENTRY0_ADDOFF_Pos       12           /**< \brief (DSU_ENTRY0) Address Offset */
314 #define DSU_ENTRY0_ADDOFF_Msk       (_U_(0xFFFFF) << DSU_ENTRY0_ADDOFF_Pos)
315 #define DSU_ENTRY0_ADDOFF(value)    (DSU_ENTRY0_ADDOFF_Msk & ((value) << DSU_ENTRY0_ADDOFF_Pos))
316 #define DSU_ENTRY0_MASK             _U_(0xFFFFF003) /**< \brief (DSU_ENTRY0) MASK Register */
317 
318 /* -------- DSU_ENTRY1 : (DSU Offset: 0x1004) (R/  32) Coresight ROM Table Entry 1 -------- */
319 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
320 typedef union {
321   uint32_t reg;                /*!< Type      used for register access              */
322 } DSU_ENTRY1_Type;
323 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
324 
325 #define DSU_ENTRY1_OFFSET           0x1004       /**< \brief (DSU_ENTRY1 offset) Coresight ROM Table Entry 1 */
326 #define DSU_ENTRY1_RESETVALUE       _U_(0x00003002) /**< \brief (DSU_ENTRY1 reset_value) Coresight ROM Table Entry 1 */
327 #define DSU_ENTRY1_MASK             _U_(0xFFFFFFFF) /**< \brief (DSU_ENTRY1) MASK Register */
328 
329 /* -------- DSU_END : (DSU Offset: 0x1008) (R/  32) Coresight ROM Table End -------- */
330 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
331 typedef union {
332   struct {
333     uint32_t END:32;           /*!< bit:  0..31  End Marker                         */
334   } bit;                       /*!< Structure used for bit  access                  */
335   uint32_t reg;                /*!< Type      used for register access              */
336 } DSU_END_Type;
337 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
338 
339 #define DSU_END_OFFSET              0x1008       /**< \brief (DSU_END offset) Coresight ROM Table End */
340 #define DSU_END_RESETVALUE          _U_(0x00000000) /**< \brief (DSU_END reset_value) Coresight ROM Table End */
341 
342 #define DSU_END_END_Pos             0            /**< \brief (DSU_END) End Marker */
343 #define DSU_END_END_Msk             (_U_(0xFFFFFFFF) << DSU_END_END_Pos)
344 #define DSU_END_END(value)          (DSU_END_END_Msk & ((value) << DSU_END_END_Pos))
345 #define DSU_END_MASK                _U_(0xFFFFFFFF) /**< \brief (DSU_END) MASK Register */
346 
347 /* -------- DSU_MEMTYPE : (DSU Offset: 0x1FCC) (R/  32) Coresight ROM Table Memory Type -------- */
348 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
349 typedef union {
350   struct {
351     uint32_t SMEMP:1;          /*!< bit:      0  System Memory Present              */
352     uint32_t :31;              /*!< bit:  1..31  Reserved                           */
353   } bit;                       /*!< Structure used for bit  access                  */
354   uint32_t reg;                /*!< Type      used for register access              */
355 } DSU_MEMTYPE_Type;
356 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
357 
358 #define DSU_MEMTYPE_OFFSET          0x1FCC       /**< \brief (DSU_MEMTYPE offset) Coresight ROM Table Memory Type */
359 #define DSU_MEMTYPE_RESETVALUE      _U_(0x00000000) /**< \brief (DSU_MEMTYPE reset_value) Coresight ROM Table Memory Type */
360 
361 #define DSU_MEMTYPE_SMEMP_Pos       0            /**< \brief (DSU_MEMTYPE) System Memory Present */
362 #define DSU_MEMTYPE_SMEMP           (_U_(0x1) << DSU_MEMTYPE_SMEMP_Pos)
363 #define DSU_MEMTYPE_MASK            _U_(0x00000001) /**< \brief (DSU_MEMTYPE) MASK Register */
364 
365 /* -------- DSU_PID4 : (DSU Offset: 0x1FD0) (R/  32) Peripheral Identification 4 -------- */
366 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
367 typedef union {
368   struct {
369     uint32_t JEPCC:4;          /*!< bit:  0.. 3  JEP-106 Continuation Code          */
370     uint32_t FKBC:4;           /*!< bit:  4.. 7  4KB count                          */
371     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
372   } bit;                       /*!< Structure used for bit  access                  */
373   uint32_t reg;                /*!< Type      used for register access              */
374 } DSU_PID4_Type;
375 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
376 
377 #define DSU_PID4_OFFSET             0x1FD0       /**< \brief (DSU_PID4 offset) Peripheral Identification 4 */
378 #define DSU_PID4_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_PID4 reset_value) Peripheral Identification 4 */
379 
380 #define DSU_PID4_JEPCC_Pos          0            /**< \brief (DSU_PID4) JEP-106 Continuation Code */
381 #define DSU_PID4_JEPCC_Msk          (_U_(0xF) << DSU_PID4_JEPCC_Pos)
382 #define DSU_PID4_JEPCC(value)       (DSU_PID4_JEPCC_Msk & ((value) << DSU_PID4_JEPCC_Pos))
383 #define DSU_PID4_FKBC_Pos           4            /**< \brief (DSU_PID4) 4KB count */
384 #define DSU_PID4_FKBC_Msk           (_U_(0xF) << DSU_PID4_FKBC_Pos)
385 #define DSU_PID4_FKBC(value)        (DSU_PID4_FKBC_Msk & ((value) << DSU_PID4_FKBC_Pos))
386 #define DSU_PID4_MASK               _U_(0x000000FF) /**< \brief (DSU_PID4) MASK Register */
387 
388 /* -------- DSU_PID5 : (DSU Offset: 0x1FD4) (R/  32) Peripheral Identification 5 -------- */
389 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
390 typedef union {
391   uint32_t reg;                /*!< Type      used for register access              */
392 } DSU_PID5_Type;
393 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
394 
395 #define DSU_PID5_OFFSET             0x1FD4       /**< \brief (DSU_PID5 offset) Peripheral Identification 5 */
396 #define DSU_PID5_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_PID5 reset_value) Peripheral Identification 5 */
397 #define DSU_PID5_MASK               _U_(0x00000000) /**< \brief (DSU_PID5) MASK Register */
398 
399 /* -------- DSU_PID6 : (DSU Offset: 0x1FD8) (R/  32) Peripheral Identification 6 -------- */
400 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
401 typedef union {
402   uint32_t reg;                /*!< Type      used for register access              */
403 } DSU_PID6_Type;
404 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
405 
406 #define DSU_PID6_OFFSET             0x1FD8       /**< \brief (DSU_PID6 offset) Peripheral Identification 6 */
407 #define DSU_PID6_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_PID6 reset_value) Peripheral Identification 6 */
408 #define DSU_PID6_MASK               _U_(0x00000000) /**< \brief (DSU_PID6) MASK Register */
409 
410 /* -------- DSU_PID7 : (DSU Offset: 0x1FDC) (R/  32) Peripheral Identification 7 -------- */
411 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
412 typedef union {
413   uint32_t reg;                /*!< Type      used for register access              */
414 } DSU_PID7_Type;
415 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
416 
417 #define DSU_PID7_OFFSET             0x1FDC       /**< \brief (DSU_PID7 offset) Peripheral Identification 7 */
418 #define DSU_PID7_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_PID7 reset_value) Peripheral Identification 7 */
419 #define DSU_PID7_MASK               _U_(0x00000000) /**< \brief (DSU_PID7) MASK Register */
420 
421 /* -------- DSU_PID0 : (DSU Offset: 0x1FE0) (R/  32) Peripheral Identification 0 -------- */
422 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
423 typedef union {
424   struct {
425     uint32_t PARTNBL:8;        /*!< bit:  0.. 7  Part Number Low                    */
426     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
427   } bit;                       /*!< Structure used for bit  access                  */
428   uint32_t reg;                /*!< Type      used for register access              */
429 } DSU_PID0_Type;
430 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
431 
432 #define DSU_PID0_OFFSET             0x1FE0       /**< \brief (DSU_PID0 offset) Peripheral Identification 0 */
433 #define DSU_PID0_RESETVALUE         _U_(0x000000D0) /**< \brief (DSU_PID0 reset_value) Peripheral Identification 0 */
434 
435 #define DSU_PID0_PARTNBL_Pos        0            /**< \brief (DSU_PID0) Part Number Low */
436 #define DSU_PID0_PARTNBL_Msk        (_U_(0xFF) << DSU_PID0_PARTNBL_Pos)
437 #define DSU_PID0_PARTNBL(value)     (DSU_PID0_PARTNBL_Msk & ((value) << DSU_PID0_PARTNBL_Pos))
438 #define DSU_PID0_MASK               _U_(0x000000FF) /**< \brief (DSU_PID0) MASK Register */
439 
440 /* -------- DSU_PID1 : (DSU Offset: 0x1FE4) (R/  32) Peripheral Identification 1 -------- */
441 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
442 typedef union {
443   struct {
444     uint32_t PARTNBH:4;        /*!< bit:  0.. 3  Part Number High                   */
445     uint32_t JEPIDCL:4;        /*!< bit:  4.. 7  Low part of the JEP-106 Identity Code */
446     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
447   } bit;                       /*!< Structure used for bit  access                  */
448   uint32_t reg;                /*!< Type      used for register access              */
449 } DSU_PID1_Type;
450 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
451 
452 #define DSU_PID1_OFFSET             0x1FE4       /**< \brief (DSU_PID1 offset) Peripheral Identification 1 */
453 #define DSU_PID1_RESETVALUE         _U_(0x000000FC) /**< \brief (DSU_PID1 reset_value) Peripheral Identification 1 */
454 
455 #define DSU_PID1_PARTNBH_Pos        0            /**< \brief (DSU_PID1) Part Number High */
456 #define DSU_PID1_PARTNBH_Msk        (_U_(0xF) << DSU_PID1_PARTNBH_Pos)
457 #define DSU_PID1_PARTNBH(value)     (DSU_PID1_PARTNBH_Msk & ((value) << DSU_PID1_PARTNBH_Pos))
458 #define DSU_PID1_JEPIDCL_Pos        4            /**< \brief (DSU_PID1) Low part of the JEP-106 Identity Code */
459 #define DSU_PID1_JEPIDCL_Msk        (_U_(0xF) << DSU_PID1_JEPIDCL_Pos)
460 #define DSU_PID1_JEPIDCL(value)     (DSU_PID1_JEPIDCL_Msk & ((value) << DSU_PID1_JEPIDCL_Pos))
461 #define DSU_PID1_MASK               _U_(0x000000FF) /**< \brief (DSU_PID1) MASK Register */
462 
463 /* -------- DSU_PID2 : (DSU Offset: 0x1FE8) (R/  32) Peripheral Identification 2 -------- */
464 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
465 typedef union {
466   struct {
467     uint32_t JEPIDCH:3;        /*!< bit:  0.. 2  JEP-106 Identity Code High         */
468     uint32_t JEPU:1;           /*!< bit:      3  JEP-106 Identity Code is used      */
469     uint32_t REVISION:4;       /*!< bit:  4.. 7  Revision Number                    */
470     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
471   } bit;                       /*!< Structure used for bit  access                  */
472   uint32_t reg;                /*!< Type      used for register access              */
473 } DSU_PID2_Type;
474 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
475 
476 #define DSU_PID2_OFFSET             0x1FE8       /**< \brief (DSU_PID2 offset) Peripheral Identification 2 */
477 #define DSU_PID2_RESETVALUE         _U_(0x00000009) /**< \brief (DSU_PID2 reset_value) Peripheral Identification 2 */
478 
479 #define DSU_PID2_JEPIDCH_Pos        0            /**< \brief (DSU_PID2) JEP-106 Identity Code High */
480 #define DSU_PID2_JEPIDCH_Msk        (_U_(0x7) << DSU_PID2_JEPIDCH_Pos)
481 #define DSU_PID2_JEPIDCH(value)     (DSU_PID2_JEPIDCH_Msk & ((value) << DSU_PID2_JEPIDCH_Pos))
482 #define DSU_PID2_JEPU_Pos           3            /**< \brief (DSU_PID2) JEP-106 Identity Code is used */
483 #define DSU_PID2_JEPU               (_U_(0x1) << DSU_PID2_JEPU_Pos)
484 #define DSU_PID2_REVISION_Pos       4            /**< \brief (DSU_PID2) Revision Number */
485 #define DSU_PID2_REVISION_Msk       (_U_(0xF) << DSU_PID2_REVISION_Pos)
486 #define DSU_PID2_REVISION(value)    (DSU_PID2_REVISION_Msk & ((value) << DSU_PID2_REVISION_Pos))
487 #define DSU_PID2_MASK               _U_(0x000000FF) /**< \brief (DSU_PID2) MASK Register */
488 
489 /* -------- DSU_PID3 : (DSU Offset: 0x1FEC) (R/  32) Peripheral Identification 3 -------- */
490 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
491 typedef union {
492   struct {
493     uint32_t CUSMOD:4;         /*!< bit:  0.. 3  ARM CUSMOD                         */
494     uint32_t REVAND:4;         /*!< bit:  4.. 7  Revision Number                    */
495     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
496   } bit;                       /*!< Structure used for bit  access                  */
497   uint32_t reg;                /*!< Type      used for register access              */
498 } DSU_PID3_Type;
499 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
500 
501 #define DSU_PID3_OFFSET             0x1FEC       /**< \brief (DSU_PID3 offset) Peripheral Identification 3 */
502 #define DSU_PID3_RESETVALUE         _U_(0x00000000) /**< \brief (DSU_PID3 reset_value) Peripheral Identification 3 */
503 
504 #define DSU_PID3_CUSMOD_Pos         0            /**< \brief (DSU_PID3) ARM CUSMOD */
505 #define DSU_PID3_CUSMOD_Msk         (_U_(0xF) << DSU_PID3_CUSMOD_Pos)
506 #define DSU_PID3_CUSMOD(value)      (DSU_PID3_CUSMOD_Msk & ((value) << DSU_PID3_CUSMOD_Pos))
507 #define DSU_PID3_REVAND_Pos         4            /**< \brief (DSU_PID3) Revision Number */
508 #define DSU_PID3_REVAND_Msk         (_U_(0xF) << DSU_PID3_REVAND_Pos)
509 #define DSU_PID3_REVAND(value)      (DSU_PID3_REVAND_Msk & ((value) << DSU_PID3_REVAND_Pos))
510 #define DSU_PID3_MASK               _U_(0x000000FF) /**< \brief (DSU_PID3) MASK Register */
511 
512 /* -------- DSU_CID0 : (DSU Offset: 0x1FF0) (R/  32) Component Identification 0 -------- */
513 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
514 typedef union {
515   struct {
516     uint32_t PREAMBLEB0:8;     /*!< bit:  0.. 7  Preamble Byte 0                    */
517     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
518   } bit;                       /*!< Structure used for bit  access                  */
519   uint32_t reg;                /*!< Type      used for register access              */
520 } DSU_CID0_Type;
521 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
522 
523 #define DSU_CID0_OFFSET             0x1FF0       /**< \brief (DSU_CID0 offset) Component Identification 0 */
524 #define DSU_CID0_RESETVALUE         _U_(0x0000000D) /**< \brief (DSU_CID0 reset_value) Component Identification 0 */
525 
526 #define DSU_CID0_PREAMBLEB0_Pos     0            /**< \brief (DSU_CID0) Preamble Byte 0 */
527 #define DSU_CID0_PREAMBLEB0_Msk     (_U_(0xFF) << DSU_CID0_PREAMBLEB0_Pos)
528 #define DSU_CID0_PREAMBLEB0(value)  (DSU_CID0_PREAMBLEB0_Msk & ((value) << DSU_CID0_PREAMBLEB0_Pos))
529 #define DSU_CID0_MASK               _U_(0x000000FF) /**< \brief (DSU_CID0) MASK Register */
530 
531 /* -------- DSU_CID1 : (DSU Offset: 0x1FF4) (R/  32) Component Identification 1 -------- */
532 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
533 typedef union {
534   struct {
535     uint32_t PREAMBLE:4;       /*!< bit:  0.. 3  Preamble                           */
536     uint32_t CCLASS:4;         /*!< bit:  4.. 7  Component Class                    */
537     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
538   } bit;                       /*!< Structure used for bit  access                  */
539   uint32_t reg;                /*!< Type      used for register access              */
540 } DSU_CID1_Type;
541 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
542 
543 #define DSU_CID1_OFFSET             0x1FF4       /**< \brief (DSU_CID1 offset) Component Identification 1 */
544 #define DSU_CID1_RESETVALUE         _U_(0x00000010) /**< \brief (DSU_CID1 reset_value) Component Identification 1 */
545 
546 #define DSU_CID1_PREAMBLE_Pos       0            /**< \brief (DSU_CID1) Preamble */
547 #define DSU_CID1_PREAMBLE_Msk       (_U_(0xF) << DSU_CID1_PREAMBLE_Pos)
548 #define DSU_CID1_PREAMBLE(value)    (DSU_CID1_PREAMBLE_Msk & ((value) << DSU_CID1_PREAMBLE_Pos))
549 #define DSU_CID1_CCLASS_Pos         4            /**< \brief (DSU_CID1) Component Class */
550 #define DSU_CID1_CCLASS_Msk         (_U_(0xF) << DSU_CID1_CCLASS_Pos)
551 #define DSU_CID1_CCLASS(value)      (DSU_CID1_CCLASS_Msk & ((value) << DSU_CID1_CCLASS_Pos))
552 #define DSU_CID1_MASK               _U_(0x000000FF) /**< \brief (DSU_CID1) MASK Register */
553 
554 /* -------- DSU_CID2 : (DSU Offset: 0x1FF8) (R/  32) Component Identification 2 -------- */
555 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
556 typedef union {
557   struct {
558     uint32_t PREAMBLEB2:8;     /*!< bit:  0.. 7  Preamble Byte 2                    */
559     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
560   } bit;                       /*!< Structure used for bit  access                  */
561   uint32_t reg;                /*!< Type      used for register access              */
562 } DSU_CID2_Type;
563 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
564 
565 #define DSU_CID2_OFFSET             0x1FF8       /**< \brief (DSU_CID2 offset) Component Identification 2 */
566 #define DSU_CID2_RESETVALUE         _U_(0x00000005) /**< \brief (DSU_CID2 reset_value) Component Identification 2 */
567 
568 #define DSU_CID2_PREAMBLEB2_Pos     0            /**< \brief (DSU_CID2) Preamble Byte 2 */
569 #define DSU_CID2_PREAMBLEB2_Msk     (_U_(0xFF) << DSU_CID2_PREAMBLEB2_Pos)
570 #define DSU_CID2_PREAMBLEB2(value)  (DSU_CID2_PREAMBLEB2_Msk & ((value) << DSU_CID2_PREAMBLEB2_Pos))
571 #define DSU_CID2_MASK               _U_(0x000000FF) /**< \brief (DSU_CID2) MASK Register */
572 
573 /* -------- DSU_CID3 : (DSU Offset: 0x1FFC) (R/  32) Component Identification 3 -------- */
574 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
575 typedef union {
576   struct {
577     uint32_t PREAMBLEB3:8;     /*!< bit:  0.. 7  Preamble Byte 3                    */
578     uint32_t :24;              /*!< bit:  8..31  Reserved                           */
579   } bit;                       /*!< Structure used for bit  access                  */
580   uint32_t reg;                /*!< Type      used for register access              */
581 } DSU_CID3_Type;
582 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
583 
584 #define DSU_CID3_OFFSET             0x1FFC       /**< \brief (DSU_CID3 offset) Component Identification 3 */
585 #define DSU_CID3_RESETVALUE         _U_(0x000000B1) /**< \brief (DSU_CID3 reset_value) Component Identification 3 */
586 
587 #define DSU_CID3_PREAMBLEB3_Pos     0            /**< \brief (DSU_CID3) Preamble Byte 3 */
588 #define DSU_CID3_PREAMBLEB3_Msk     (_U_(0xFF) << DSU_CID3_PREAMBLEB3_Pos)
589 #define DSU_CID3_PREAMBLEB3(value)  (DSU_CID3_PREAMBLEB3_Msk & ((value) << DSU_CID3_PREAMBLEB3_Pos))
590 #define DSU_CID3_MASK               _U_(0x000000FF) /**< \brief (DSU_CID3) MASK Register */
591 
592 /** \brief DSU hardware registers */
593 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
594 typedef struct {
595   __O  DSU_CTRL_Type             CTRL;        /**< \brief Offset: 0x0000 ( /W  8) Control */
596   __IO DSU_STATUSA_Type          STATUSA;     /**< \brief Offset: 0x0001 (R/W  8) Status A */
597   __I  DSU_STATUSB_Type          STATUSB;     /**< \brief Offset: 0x0002 (R/   8) Status B */
598        RoReg8                    Reserved1[0x1];
599   __IO DSU_ADDR_Type             ADDR;        /**< \brief Offset: 0x0004 (R/W 32) Address */
600   __IO DSU_LENGTH_Type           LENGTH;      /**< \brief Offset: 0x0008 (R/W 32) Length */
601   __IO DSU_DATA_Type             DATA;        /**< \brief Offset: 0x000C (R/W 32) Data */
602   __IO DSU_DCC_Type              DCC[2];      /**< \brief Offset: 0x0010 (R/W 32) Debug Communication Channel n */
603   __I  DSU_DID_Type              DID;         /**< \brief Offset: 0x0018 (R/  32) Device Identification */
604        RoReg8                    Reserved2[0xD4];
605   __IO DSU_DCFG_Type             DCFG[2];     /**< \brief Offset: 0x00F0 (R/W 32) Device Configuration */
606        RoReg8                    Reserved3[0xF08];
607   __I  DSU_ENTRY0_Type           ENTRY0;      /**< \brief Offset: 0x1000 (R/  32) Coresight ROM Table Entry 0 */
608   __I  DSU_ENTRY1_Type           ENTRY1;      /**< \brief Offset: 0x1004 (R/  32) Coresight ROM Table Entry 1 */
609   __I  DSU_END_Type              END;         /**< \brief Offset: 0x1008 (R/  32) Coresight ROM Table End */
610        RoReg8                    Reserved4[0xFC0];
611   __I  DSU_MEMTYPE_Type          MEMTYPE;     /**< \brief Offset: 0x1FCC (R/  32) Coresight ROM Table Memory Type */
612   __I  DSU_PID4_Type             PID4;        /**< \brief Offset: 0x1FD0 (R/  32) Peripheral Identification 4 */
613   __I  DSU_PID5_Type             PID5;        /**< \brief Offset: 0x1FD4 (R/  32) Peripheral Identification 5 */
614   __I  DSU_PID6_Type             PID6;        /**< \brief Offset: 0x1FD8 (R/  32) Peripheral Identification 6 */
615   __I  DSU_PID7_Type             PID7;        /**< \brief Offset: 0x1FDC (R/  32) Peripheral Identification 7 */
616   __I  DSU_PID0_Type             PID0;        /**< \brief Offset: 0x1FE0 (R/  32) Peripheral Identification 0 */
617   __I  DSU_PID1_Type             PID1;        /**< \brief Offset: 0x1FE4 (R/  32) Peripheral Identification 1 */
618   __I  DSU_PID2_Type             PID2;        /**< \brief Offset: 0x1FE8 (R/  32) Peripheral Identification 2 */
619   __I  DSU_PID3_Type             PID3;        /**< \brief Offset: 0x1FEC (R/  32) Peripheral Identification 3 */
620   __I  DSU_CID0_Type             CID0;        /**< \brief Offset: 0x1FF0 (R/  32) Component Identification 0 */
621   __I  DSU_CID1_Type             CID1;        /**< \brief Offset: 0x1FF4 (R/  32) Component Identification 1 */
622   __I  DSU_CID2_Type             CID2;        /**< \brief Offset: 0x1FF8 (R/  32) Component Identification 2 */
623   __I  DSU_CID3_Type             CID3;        /**< \brief Offset: 0x1FFC (R/  32) Component Identification 3 */
624 } Dsu;
625 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
626 
627 /*@}*/
628 
629 #endif /* _SAMR34_DSU_COMPONENT_ */
630