1 /*
2 
3 Copyright (c) 2010 - 2025, Nordic Semiconductor ASA All rights reserved.
4 
5 SPDX-License-Identifier: BSD-3-Clause
6 
7 Redistribution and use in source and binary forms, with or without
8 modification, are permitted provided that the following conditions are met:
9 
10 1. Redistributions of source code must retain the above copyright notice, this
11    list of conditions and the following disclaimer.
12 
13 2. Redistributions in binary form must reproduce the above copyright
14    notice, this list of conditions and the following disclaimer in the
15    documentation and/or other materials provided with the distribution.
16 
17 3. Neither the name of Nordic Semiconductor ASA nor the names of its
18    contributors may be used to endorse or promote products derived from this
19    software without specific prior written permission.
20 
21 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 IMPLIED WARRANTIES OF MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE
24 ARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
25 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 POSSIBILITY OF SUCH DAMAGE.
32 
33 */
34 
35 #ifndef NRF7120_ENGA_GLOBAL_H
36 #define NRF7120_ENGA_GLOBAL_H
37 
38 #ifdef __cplusplus
39     extern "C" {
40 #endif
41 
42 
43 /* ========================================= Start of section using anonymous unions ========================================= */
44 
45 #include "compiler_abstraction.h"
46 
47 #if defined (__CC_ARM)
48   #pragma push
49   #pragma anon_unions
50 #elif defined (__ICCARM__)
51   #pragma language=extended
52 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
53   #pragma clang diagnostic push
54   #pragma clang diagnostic ignored "-Wc11-extensions"
55   #pragma clang diagnostic ignored "-Wreserved-id-macro"
56   #pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
57   #pragma clang diagnostic ignored "-Wnested-anon-types"
58 #elif defined (__GNUC__)
59   /* anonymous unions are enabled by default */
60 #elif defined (__TMS470__)
61   /* anonymous unions are enabled by default */
62 #elif defined (__TASKING__)
63   #pragma warning 586
64 #elif defined (__CSMC__)
65   /* anonymous unions are enabled by default */
66 #else
67   #warning Unsupported compiler type
68 #endif
69 
70 /* =========================================================================================================================== */
71 /* ================                                  Peripheral Address Map                                  ================ */
72 /* =========================================================================================================================== */
73 
74 #define NRF_FICR_NS_BASE                  0x00FFC000UL
75 #define NRF_UICR_S_BASE                   0x00FFD000UL
76 #define NRF_SICR_S_BASE                   0x00FFE000UL
77 #define NRF_CRACENCORE_S_BASE             0x50010000UL
78 #define NRF_USBHSCORE_NS_BASE             0x40020000UL
79 #define NRF_USBHSCORE_S_BASE              0x50020000UL
80 #define NRF_SPU00_S_BASE                  0x50040000UL
81 #define NRF_MPC00_S_BASE                  0x50041000UL
82 #define NRF_DPPIC00_NS_BASE               0x40042000UL
83 #define NRF_DPPIC00_S_BASE                0x50042000UL
84 #define NRF_PPIB00_NS_BASE                0x40044000UL
85 #define NRF_PPIB00_S_BASE                 0x50044000UL
86 #define NRF_PPIB01_NS_BASE                0x40045000UL
87 #define NRF_PPIB01_S_BASE                 0x50045000UL
88 #define NRF_KMU_S_BASE                    0x50049000UL
89 #define NRF_AAR00_NS_BASE                 0x4004A000UL
90 #define NRF_CCM00_NS_BASE                 0x4004A000UL
91 #define NRF_AAR00_S_BASE                  0x5004A000UL
92 #define NRF_CCM00_S_BASE                  0x5004A000UL
93 #define NRF_ECB00_NS_BASE                 0x4004B000UL
94 #define NRF_ECB00_S_BASE                  0x5004B000UL
95 #define NRF_VPR00_NS_BASE                 0x4004C000UL
96 #define NRF_VPR00_S_BASE                  0x5004C000UL
97 #define NRF_SPIM00_NS_BASE                0x4004D000UL
98 #define NRF_UARTE00_NS_BASE               0x4004D000UL
99 #define NRF_SPIM00_S_BASE                 0x5004D000UL
100 #define NRF_UARTE00_S_BASE                0x5004D000UL
101 #define NRF_MRAMC_S_BASE                  0x5004E000UL
102 #define NRF_P2_NS_BASE                    0x40050400UL
103 #define NRF_P2_S_BASE                     0x50050400UL
104 #define NRF_CTRLAP_NS_BASE                0x40052000UL
105 #define NRF_CTRLAP_S_BASE                 0x50052000UL
106 #define NRF_TAD_NS_BASE                   0x40053000UL
107 #define NRF_TAD_S_BASE                    0x50053000UL
108 #define NRF_TIMER00_NS_BASE               0x40055000UL
109 #define NRF_TIMER00_S_BASE                0x50055000UL
110 #define NRF_EGU00_NS_BASE                 0x40058000UL
111 #define NRF_EGU00_S_BASE                  0x50058000UL
112 #define NRF_CRACEN_S_BASE                 0x50059000UL
113 #define NRF_USBHS_NS_BASE                 0x4005A000UL
114 #define NRF_USBHS_S_BASE                  0x5005A000UL
115 #define NRF_QSPI00_NS_BASE                0x4005B000UL
116 #define NRF_QSPI00_S_BASE                 0x5005B000UL
117 #define NRF_QSPI01_NS_BASE                0x4005C000UL
118 #define NRF_QSPI01_S_BASE                 0x5005C000UL
119 #define NRF_SPIM01_NS_BASE                0x4005D000UL
120 #define NRF_SPIM01_S_BASE                 0x5005D000UL
121 #define NRF_SPU10_S_BASE                  0x50080000UL
122 #define NRF_DPPIC10_NS_BASE               0x40082000UL
123 #define NRF_DPPIC10_S_BASE                0x50082000UL
124 #define NRF_PPIB10_NS_BASE                0x40083000UL
125 #define NRF_PPIB10_S_BASE                 0x50083000UL
126 #define NRF_PPIB11_NS_BASE                0x40084000UL
127 #define NRF_PPIB11_S_BASE                 0x50084000UL
128 #define NRF_TIMER10_NS_BASE               0x40085000UL
129 #define NRF_TIMER10_S_BASE                0x50085000UL
130 #define NRF_EGU10_NS_BASE                 0x40087000UL
131 #define NRF_EGU10_S_BASE                  0x50087000UL
132 #define NRF_RADIO_NS_BASE                 0x4008A000UL
133 #define NRF_RADIO_S_BASE                  0x5008A000UL
134 #define NRF_IPCT10_NS_BASE                0x4008D000UL
135 #define NRF_IPCT10_S_BASE                 0x5008D000UL
136 #define NRF_SPU20_S_BASE                  0x500C0000UL
137 #define NRF_DPPIC20_NS_BASE               0x400C2000UL
138 #define NRF_DPPIC20_S_BASE                0x500C2000UL
139 #define NRF_PPIB20_NS_BASE                0x400C3000UL
140 #define NRF_PPIB20_S_BASE                 0x500C3000UL
141 #define NRF_PPIB21_NS_BASE                0x400C4000UL
142 #define NRF_PPIB21_S_BASE                 0x500C4000UL
143 #define NRF_PPIB22_NS_BASE                0x400C5000UL
144 #define NRF_PPIB22_S_BASE                 0x500C5000UL
145 #define NRF_SPIM20_NS_BASE                0x400C6000UL
146 #define NRF_SPIS20_NS_BASE                0x400C6000UL
147 #define NRF_TWIM20_NS_BASE                0x400C6000UL
148 #define NRF_TWIS20_NS_BASE                0x400C6000UL
149 #define NRF_UARTE20_NS_BASE               0x400C6000UL
150 #define NRF_SPIM20_S_BASE                 0x500C6000UL
151 #define NRF_SPIS20_S_BASE                 0x500C6000UL
152 #define NRF_TWIM20_S_BASE                 0x500C6000UL
153 #define NRF_TWIS20_S_BASE                 0x500C6000UL
154 #define NRF_UARTE20_S_BASE                0x500C6000UL
155 #define NRF_SPIM21_NS_BASE                0x400C7000UL
156 #define NRF_SPIS21_NS_BASE                0x400C7000UL
157 #define NRF_TWIM21_NS_BASE                0x400C7000UL
158 #define NRF_TWIS21_NS_BASE                0x400C7000UL
159 #define NRF_UARTE21_NS_BASE               0x400C7000UL
160 #define NRF_SPIM21_S_BASE                 0x500C7000UL
161 #define NRF_SPIS21_S_BASE                 0x500C7000UL
162 #define NRF_TWIM21_S_BASE                 0x500C7000UL
163 #define NRF_TWIS21_S_BASE                 0x500C7000UL
164 #define NRF_UARTE21_S_BASE                0x500C7000UL
165 #define NRF_SPIM22_NS_BASE                0x400C8000UL
166 #define NRF_SPIS22_NS_BASE                0x400C8000UL
167 #define NRF_TWIM22_NS_BASE                0x400C8000UL
168 #define NRF_TWIS22_NS_BASE                0x400C8000UL
169 #define NRF_UARTE22_NS_BASE               0x400C8000UL
170 #define NRF_SPIM22_S_BASE                 0x500C8000UL
171 #define NRF_SPIS22_S_BASE                 0x500C8000UL
172 #define NRF_TWIM22_S_BASE                 0x500C8000UL
173 #define NRF_TWIS22_S_BASE                 0x500C8000UL
174 #define NRF_UARTE22_S_BASE                0x500C8000UL
175 #define NRF_EGU20_NS_BASE                 0x400C9000UL
176 #define NRF_EGU20_S_BASE                  0x500C9000UL
177 #define NRF_TIMER20_NS_BASE               0x400CA000UL
178 #define NRF_TIMER20_S_BASE                0x500CA000UL
179 #define NRF_TIMER21_NS_BASE               0x400CB000UL
180 #define NRF_TIMER21_S_BASE                0x500CB000UL
181 #define NRF_TIMER22_NS_BASE               0x400CC000UL
182 #define NRF_TIMER22_S_BASE                0x500CC000UL
183 #define NRF_TIMER23_NS_BASE               0x400CD000UL
184 #define NRF_TIMER23_S_BASE                0x500CD000UL
185 #define NRF_TIMER24_NS_BASE               0x400CE000UL
186 #define NRF_TIMER24_S_BASE                0x500CE000UL
187 #define NRF_MEMCONF_NS_BASE               0x400CF000UL
188 #define NRF_MEMCONF_S_BASE                0x500CF000UL
189 #define NRF_PDM20_NS_BASE                 0x400D0000UL
190 #define NRF_PDM20_S_BASE                  0x500D0000UL
191 #define NRF_PDM21_NS_BASE                 0x400D1000UL
192 #define NRF_PDM21_S_BASE                  0x500D1000UL
193 #define NRF_PWM20_NS_BASE                 0x400D2000UL
194 #define NRF_PWM20_S_BASE                  0x500D2000UL
195 #define NRF_PWM21_NS_BASE                 0x400D3000UL
196 #define NRF_PWM21_S_BASE                  0x500D3000UL
197 #define NRF_PWM22_NS_BASE                 0x400D4000UL
198 #define NRF_PWM22_S_BASE                  0x500D4000UL
199 #define NRF_SAADC_NS_BASE                 0x400D5000UL
200 #define NRF_SAADC_S_BASE                  0x500D5000UL
201 #define NRF_NFCT_NS_BASE                  0x400D6000UL
202 #define NRF_NFCT_S_BASE                   0x500D6000UL
203 #define NRF_TEMP_NS_BASE                  0x400D7000UL
204 #define NRF_TEMP_S_BASE                   0x500D7000UL
205 #define NRF_P1_NS_BASE                    0x400D8200UL
206 #define NRF_P3_NS_BASE                    0x400D8600UL
207 #define NRF_P4_NS_BASE                    0x400D8800UL
208 #define NRF_P1_S_BASE                     0x500D8200UL
209 #define NRF_P3_S_BASE                     0x500D8600UL
210 #define NRF_P4_S_BASE                     0x500D8800UL
211 #define NRF_GPIOTE20_NS_BASE              0x400DA000UL
212 #define NRF_GPIOTE20_S_BASE               0x500DA000UL
213 #define NRF_QDEC20_NS_BASE                0x400E0000UL
214 #define NRF_QDEC20_S_BASE                 0x500E0000UL
215 #define NRF_QDEC21_NS_BASE                0x400E1000UL
216 #define NRF_QDEC21_S_BASE                 0x500E1000UL
217 #define NRF_GRTC_NS_BASE                  0x400E2000UL
218 #define NRF_GRTC_S_BASE                   0x500E2000UL
219 #define NRF_TDM_NS_BASE                   0x400E8000UL
220 #define NRF_TDM_S_BASE                    0x500E8000UL
221 #define NRF_AUXPLL_NS_BASE                0x400EB000UL
222 #define NRF_AUXPM_NS_BASE                 0x400EB000UL
223 #define NRF_AUXPLL_S_BASE                 0x500EB000UL
224 #define NRF_AUXPM_S_BASE                  0x500EB000UL
225 #define NRF_SPIM23_NS_BASE                0x400ED000UL
226 #define NRF_SPIS23_NS_BASE                0x400ED000UL
227 #define NRF_TWIM23_NS_BASE                0x400ED000UL
228 #define NRF_TWIS23_NS_BASE                0x400ED000UL
229 #define NRF_UARTE23_NS_BASE               0x400ED000UL
230 #define NRF_SPIM23_S_BASE                 0x500ED000UL
231 #define NRF_SPIS23_S_BASE                 0x500ED000UL
232 #define NRF_TWIM23_S_BASE                 0x500ED000UL
233 #define NRF_TWIS23_S_BASE                 0x500ED000UL
234 #define NRF_UARTE23_S_BASE                0x500ED000UL
235 #define NRF_SPIM24_NS_BASE                0x400EE000UL
236 #define NRF_SPIS24_NS_BASE                0x400EE000UL
237 #define NRF_TWIM24_NS_BASE                0x400EE000UL
238 #define NRF_TWIS24_NS_BASE                0x400EE000UL
239 #define NRF_UARTE24_NS_BASE               0x400EE000UL
240 #define NRF_SPIM24_S_BASE                 0x500EE000UL
241 #define NRF_SPIS24_S_BASE                 0x500EE000UL
242 #define NRF_TWIM24_S_BASE                 0x500EE000UL
243 #define NRF_TWIS24_S_BASE                 0x500EE000UL
244 #define NRF_UARTE24_S_BASE                0x500EE000UL
245 #define NRF_TAMPC_S_BASE                  0x500EF000UL
246 #define NRF_COEXC_NS_BASE                 0x400F1000UL
247 #define NRF_COEXC_S_BASE                  0x500F1000UL
248 #define NRF_SPU30_S_BASE                  0x50100000UL
249 #define NRF_DPPIC30_NS_BASE               0x40102000UL
250 #define NRF_DPPIC30_S_BASE                0x50102000UL
251 #define NRF_PPIB30_NS_BASE                0x40103000UL
252 #define NRF_PPIB30_S_BASE                 0x50103000UL
253 #define NRF_SPIM30_NS_BASE                0x40104000UL
254 #define NRF_SPIS30_NS_BASE                0x40104000UL
255 #define NRF_TWIM30_NS_BASE                0x40104000UL
256 #define NRF_TWIS30_NS_BASE                0x40104000UL
257 #define NRF_UARTE30_NS_BASE               0x40104000UL
258 #define NRF_SPIM30_S_BASE                 0x50104000UL
259 #define NRF_SPIS30_S_BASE                 0x50104000UL
260 #define NRF_TWIM30_S_BASE                 0x50104000UL
261 #define NRF_TWIS30_S_BASE                 0x50104000UL
262 #define NRF_UARTE30_S_BASE                0x50104000UL
263 #define NRF_COMP_NS_BASE                  0x40106000UL
264 #define NRF_LPCOMP_NS_BASE                0x40106000UL
265 #define NRF_COMP_S_BASE                   0x50106000UL
266 #define NRF_LPCOMP_S_BASE                 0x50106000UL
267 #define NRF_WDT30_S_BASE                  0x50108000UL
268 #define NRF_WDT31_NS_BASE                 0x40109000UL
269 #define NRF_WDT31_S_BASE                  0x50109000UL
270 #define NRF_P0_NS_BASE                    0x4010A000UL
271 #define NRF_P0_S_BASE                     0x5010A000UL
272 #define NRF_GPIOTE30_NS_BASE              0x4010C000UL
273 #define NRF_GPIOTE30_S_BASE               0x5010C000UL
274 #define NRF_CLOCK_NS_BASE                 0x4010E000UL
275 #define NRF_POWER_NS_BASE                 0x4010E000UL
276 #define NRF_RESET_NS_BASE                 0x4010E000UL
277 #define NRF_CLOCK_S_BASE                  0x5010E000UL
278 #define NRF_POWER_S_BASE                  0x5010E000UL
279 #define NRF_RESET_S_BASE                  0x5010E000UL
280 #define NRF_GLITCHDET_S_BASE              0x50111000UL
281 #define NRF_OSCILLATORS_NS_BASE           0x40120000UL
282 #define NRF_REGULATORS_NS_BASE            0x40120000UL
283 #define NRF_OSCILLATORS_S_BASE            0x50120000UL
284 #define NRF_REGULATORS_S_BASE             0x50120000UL
285 #define NRF_VREGUSB_NS_BASE               0x40121000UL
286 #define NRF_VREGUSB_S_BASE                0x50121000UL
287 #define NRF_LFXO_NS_BASE                  0x40122000UL
288 #define NRF_LFXO_S_BASE                   0x50122000UL
289 #define NRF_LFRC_NS_BASE                  0x40123000UL
290 #define NRF_LFRC_S_BASE                   0x50123000UL
291 #define NRF_HFXO64M_NS_BASE               0x40124000UL
292 #define NRF_HFXO64M_S_BASE                0x50124000UL
293 #define NRF_VREGMRAM_NS_BASE              0x40125000UL
294 #define NRF_VREGMRAM_S_BASE               0x50125000UL
295 #define NRF_OSCRFR_NS_BASE                0x4012A000UL
296 #define NRF_OSCRFR_S_BASE                 0x5012A000UL
297 #define NRF_VDETAO1V8_NS_BASE             0x4012B000UL
298 #define NRF_VDETAO1V8_S_BASE              0x5012B000UL
299 #define NRF_VDETAO0V8_NS_BASE             0x4012C000UL
300 #define NRF_VDETAO0V8_S_BASE              0x5012C000UL
301 #define NRF_VDETIO_NS_BASE                0x4012D000UL
302 #define NRF_VDETIO_S_BASE                 0x5012D000UL
303 
304 /* =========================================================================================================================== */
305 /* ================                                  Peripheral Declaration                                  ================ */
306 /* =========================================================================================================================== */
307 
308 #define NRF_FICR_NS                       ((NRF_FICR_Type*)                     NRF_FICR_NS_BASE)
309 #define NRF_UICR_S                        ((NRF_UICR_Type*)                     NRF_UICR_S_BASE)
310 #define NRF_SICR_S                        ((NRF_SICR_Type*)                     NRF_SICR_S_BASE)
311 #define NRF_CRACENCORE_S                  ((NRF_CRACENCORE_Type*)               NRF_CRACENCORE_S_BASE)
312 #define NRF_USBHSCORE_NS                  ((NRF_USBHSCORE_Type*)                NRF_USBHSCORE_NS_BASE)
313 #define NRF_USBHSCORE_S                   ((NRF_USBHSCORE_Type*)                NRF_USBHSCORE_S_BASE)
314 #define NRF_SPU00_S                       ((NRF_SPU_Type*)                      NRF_SPU00_S_BASE)
315 #define NRF_MPC00_S                       ((NRF_MPC_Type*)                      NRF_MPC00_S_BASE)
316 #define NRF_DPPIC00_NS                    ((NRF_DPPIC_Type*)                    NRF_DPPIC00_NS_BASE)
317 #define NRF_DPPIC00_S                     ((NRF_DPPIC_Type*)                    NRF_DPPIC00_S_BASE)
318 #define NRF_PPIB00_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB00_NS_BASE)
319 #define NRF_PPIB00_S                      ((NRF_PPIB_Type*)                     NRF_PPIB00_S_BASE)
320 #define NRF_PPIB01_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB01_NS_BASE)
321 #define NRF_PPIB01_S                      ((NRF_PPIB_Type*)                     NRF_PPIB01_S_BASE)
322 #define NRF_KMU_S                         ((NRF_KMU_Type*)                      NRF_KMU_S_BASE)
323 #define NRF_AAR00_NS                      ((NRF_AAR_Type*)                      NRF_AAR00_NS_BASE)
324 #define NRF_CCM00_NS                      ((NRF_CCM_Type*)                      NRF_CCM00_NS_BASE)
325 #define NRF_AAR00_S                       ((NRF_AAR_Type*)                      NRF_AAR00_S_BASE)
326 #define NRF_CCM00_S                       ((NRF_CCM_Type*)                      NRF_CCM00_S_BASE)
327 #define NRF_ECB00_NS                      ((NRF_ECB_Type*)                      NRF_ECB00_NS_BASE)
328 #define NRF_ECB00_S                       ((NRF_ECB_Type*)                      NRF_ECB00_S_BASE)
329 #define NRF_VPR00_NS                      ((NRF_VPR_Type*)                      NRF_VPR00_NS_BASE)
330 #define NRF_VPR00_S                       ((NRF_VPR_Type*)                      NRF_VPR00_S_BASE)
331 #define NRF_SPIM00_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM00_NS_BASE)
332 #define NRF_UARTE00_NS                    ((NRF_UARTE_Type*)                    NRF_UARTE00_NS_BASE)
333 #define NRF_SPIM00_S                      ((NRF_SPIM_Type*)                     NRF_SPIM00_S_BASE)
334 #define NRF_UARTE00_S                     ((NRF_UARTE_Type*)                    NRF_UARTE00_S_BASE)
335 #define NRF_MRAMC_S                       ((NRF_MRAMC_Type*)                    NRF_MRAMC_S_BASE)
336 #define NRF_P2_NS                         ((NRF_GPIO_Type*)                     NRF_P2_NS_BASE)
337 #define NRF_P2_S                          ((NRF_GPIO_Type*)                     NRF_P2_S_BASE)
338 #define NRF_CTRLAP_NS                     ((NRF_CTRLAPPERI_Type*)               NRF_CTRLAP_NS_BASE)
339 #define NRF_CTRLAP_S                      ((NRF_CTRLAPPERI_Type*)               NRF_CTRLAP_S_BASE)
340 #define NRF_TAD_NS                        ((NRF_TAD_Type*)                      NRF_TAD_NS_BASE)
341 #define NRF_TAD_S                         ((NRF_TAD_Type*)                      NRF_TAD_S_BASE)
342 #define NRF_TIMER00_NS                    ((NRF_TIMER_Type*)                    NRF_TIMER00_NS_BASE)
343 #define NRF_TIMER00_S                     ((NRF_TIMER_Type*)                    NRF_TIMER00_S_BASE)
344 #define NRF_EGU00_NS                      ((NRF_EGU_Type*)                      NRF_EGU00_NS_BASE)
345 #define NRF_EGU00_S                       ((NRF_EGU_Type*)                      NRF_EGU00_S_BASE)
346 #define NRF_CRACEN_S                      ((NRF_CRACEN_Type*)                   NRF_CRACEN_S_BASE)
347 #define NRF_USBHS_NS                      ((NRF_USBHS_Type*)                    NRF_USBHS_NS_BASE)
348 #define NRF_USBHS_S                       ((NRF_USBHS_Type*)                    NRF_USBHS_S_BASE)
349 #define NRF_QSPI00_NS                     ((NRF_QSPI_Type*)                     NRF_QSPI00_NS_BASE)
350 #define NRF_QSPI00_S                      ((NRF_QSPI_Type*)                     NRF_QSPI00_S_BASE)
351 #define NRF_QSPI01_NS                     ((NRF_QSPI_Type*)                     NRF_QSPI01_NS_BASE)
352 #define NRF_QSPI01_S                      ((NRF_QSPI_Type*)                     NRF_QSPI01_S_BASE)
353 #define NRF_SPIM01_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM01_NS_BASE)
354 #define NRF_SPIM01_S                      ((NRF_SPIM_Type*)                     NRF_SPIM01_S_BASE)
355 #define NRF_SPU10_S                       ((NRF_SPU_Type*)                      NRF_SPU10_S_BASE)
356 #define NRF_DPPIC10_NS                    ((NRF_DPPIC_Type*)                    NRF_DPPIC10_NS_BASE)
357 #define NRF_DPPIC10_S                     ((NRF_DPPIC_Type*)                    NRF_DPPIC10_S_BASE)
358 #define NRF_PPIB10_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB10_NS_BASE)
359 #define NRF_PPIB10_S                      ((NRF_PPIB_Type*)                     NRF_PPIB10_S_BASE)
360 #define NRF_PPIB11_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB11_NS_BASE)
361 #define NRF_PPIB11_S                      ((NRF_PPIB_Type*)                     NRF_PPIB11_S_BASE)
362 #define NRF_TIMER10_NS                    ((NRF_TIMER_Type*)                    NRF_TIMER10_NS_BASE)
363 #define NRF_TIMER10_S                     ((NRF_TIMER_Type*)                    NRF_TIMER10_S_BASE)
364 #define NRF_EGU10_NS                      ((NRF_EGU_Type*)                      NRF_EGU10_NS_BASE)
365 #define NRF_EGU10_S                       ((NRF_EGU_Type*)                      NRF_EGU10_S_BASE)
366 #define NRF_RADIO_NS                      ((NRF_RADIO_Type*)                    NRF_RADIO_NS_BASE)
367 #define NRF_RADIO_S                       ((NRF_RADIO_Type*)                    NRF_RADIO_S_BASE)
368 #define NRF_IPCT10_NS                     ((NRF_IPCT_Type*)                     NRF_IPCT10_NS_BASE)
369 #define NRF_IPCT10_S                      ((NRF_IPCT_Type*)                     NRF_IPCT10_S_BASE)
370 #define NRF_SPU20_S                       ((NRF_SPU_Type*)                      NRF_SPU20_S_BASE)
371 #define NRF_DPPIC20_NS                    ((NRF_DPPIC_Type*)                    NRF_DPPIC20_NS_BASE)
372 #define NRF_DPPIC20_S                     ((NRF_DPPIC_Type*)                    NRF_DPPIC20_S_BASE)
373 #define NRF_PPIB20_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB20_NS_BASE)
374 #define NRF_PPIB20_S                      ((NRF_PPIB_Type*)                     NRF_PPIB20_S_BASE)
375 #define NRF_PPIB21_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB21_NS_BASE)
376 #define NRF_PPIB21_S                      ((NRF_PPIB_Type*)                     NRF_PPIB21_S_BASE)
377 #define NRF_PPIB22_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB22_NS_BASE)
378 #define NRF_PPIB22_S                      ((NRF_PPIB_Type*)                     NRF_PPIB22_S_BASE)
379 #define NRF_SPIM20_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM20_NS_BASE)
380 #define NRF_SPIS20_NS                     ((NRF_SPIS_Type*)                     NRF_SPIS20_NS_BASE)
381 #define NRF_TWIM20_NS                     ((NRF_TWIM_Type*)                     NRF_TWIM20_NS_BASE)
382 #define NRF_TWIS20_NS                     ((NRF_TWIS_Type*)                     NRF_TWIS20_NS_BASE)
383 #define NRF_UARTE20_NS                    ((NRF_UARTE_Type*)                    NRF_UARTE20_NS_BASE)
384 #define NRF_SPIM20_S                      ((NRF_SPIM_Type*)                     NRF_SPIM20_S_BASE)
385 #define NRF_SPIS20_S                      ((NRF_SPIS_Type*)                     NRF_SPIS20_S_BASE)
386 #define NRF_TWIM20_S                      ((NRF_TWIM_Type*)                     NRF_TWIM20_S_BASE)
387 #define NRF_TWIS20_S                      ((NRF_TWIS_Type*)                     NRF_TWIS20_S_BASE)
388 #define NRF_UARTE20_S                     ((NRF_UARTE_Type*)                    NRF_UARTE20_S_BASE)
389 #define NRF_SPIM21_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM21_NS_BASE)
390 #define NRF_SPIS21_NS                     ((NRF_SPIS_Type*)                     NRF_SPIS21_NS_BASE)
391 #define NRF_TWIM21_NS                     ((NRF_TWIM_Type*)                     NRF_TWIM21_NS_BASE)
392 #define NRF_TWIS21_NS                     ((NRF_TWIS_Type*)                     NRF_TWIS21_NS_BASE)
393 #define NRF_UARTE21_NS                    ((NRF_UARTE_Type*)                    NRF_UARTE21_NS_BASE)
394 #define NRF_SPIM21_S                      ((NRF_SPIM_Type*)                     NRF_SPIM21_S_BASE)
395 #define NRF_SPIS21_S                      ((NRF_SPIS_Type*)                     NRF_SPIS21_S_BASE)
396 #define NRF_TWIM21_S                      ((NRF_TWIM_Type*)                     NRF_TWIM21_S_BASE)
397 #define NRF_TWIS21_S                      ((NRF_TWIS_Type*)                     NRF_TWIS21_S_BASE)
398 #define NRF_UARTE21_S                     ((NRF_UARTE_Type*)                    NRF_UARTE21_S_BASE)
399 #define NRF_SPIM22_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM22_NS_BASE)
400 #define NRF_SPIS22_NS                     ((NRF_SPIS_Type*)                     NRF_SPIS22_NS_BASE)
401 #define NRF_TWIM22_NS                     ((NRF_TWIM_Type*)                     NRF_TWIM22_NS_BASE)
402 #define NRF_TWIS22_NS                     ((NRF_TWIS_Type*)                     NRF_TWIS22_NS_BASE)
403 #define NRF_UARTE22_NS                    ((NRF_UARTE_Type*)                    NRF_UARTE22_NS_BASE)
404 #define NRF_SPIM22_S                      ((NRF_SPIM_Type*)                     NRF_SPIM22_S_BASE)
405 #define NRF_SPIS22_S                      ((NRF_SPIS_Type*)                     NRF_SPIS22_S_BASE)
406 #define NRF_TWIM22_S                      ((NRF_TWIM_Type*)                     NRF_TWIM22_S_BASE)
407 #define NRF_TWIS22_S                      ((NRF_TWIS_Type*)                     NRF_TWIS22_S_BASE)
408 #define NRF_UARTE22_S                     ((NRF_UARTE_Type*)                    NRF_UARTE22_S_BASE)
409 #define NRF_EGU20_NS                      ((NRF_EGU_Type*)                      NRF_EGU20_NS_BASE)
410 #define NRF_EGU20_S                       ((NRF_EGU_Type*)                      NRF_EGU20_S_BASE)
411 #define NRF_TIMER20_NS                    ((NRF_TIMER_Type*)                    NRF_TIMER20_NS_BASE)
412 #define NRF_TIMER20_S                     ((NRF_TIMER_Type*)                    NRF_TIMER20_S_BASE)
413 #define NRF_TIMER21_NS                    ((NRF_TIMER_Type*)                    NRF_TIMER21_NS_BASE)
414 #define NRF_TIMER21_S                     ((NRF_TIMER_Type*)                    NRF_TIMER21_S_BASE)
415 #define NRF_TIMER22_NS                    ((NRF_TIMER_Type*)                    NRF_TIMER22_NS_BASE)
416 #define NRF_TIMER22_S                     ((NRF_TIMER_Type*)                    NRF_TIMER22_S_BASE)
417 #define NRF_TIMER23_NS                    ((NRF_TIMER_Type*)                    NRF_TIMER23_NS_BASE)
418 #define NRF_TIMER23_S                     ((NRF_TIMER_Type*)                    NRF_TIMER23_S_BASE)
419 #define NRF_TIMER24_NS                    ((NRF_TIMER_Type*)                    NRF_TIMER24_NS_BASE)
420 #define NRF_TIMER24_S                     ((NRF_TIMER_Type*)                    NRF_TIMER24_S_BASE)
421 #define NRF_MEMCONF_NS                    ((NRF_MEMCONF_Type*)                  NRF_MEMCONF_NS_BASE)
422 #define NRF_MEMCONF_S                     ((NRF_MEMCONF_Type*)                  NRF_MEMCONF_S_BASE)
423 #define NRF_PDM20_NS                      ((NRF_PDM_Type*)                      NRF_PDM20_NS_BASE)
424 #define NRF_PDM20_S                       ((NRF_PDM_Type*)                      NRF_PDM20_S_BASE)
425 #define NRF_PDM21_NS                      ((NRF_PDM_Type*)                      NRF_PDM21_NS_BASE)
426 #define NRF_PDM21_S                       ((NRF_PDM_Type*)                      NRF_PDM21_S_BASE)
427 #define NRF_PWM20_NS                      ((NRF_PWM_Type*)                      NRF_PWM20_NS_BASE)
428 #define NRF_PWM20_S                       ((NRF_PWM_Type*)                      NRF_PWM20_S_BASE)
429 #define NRF_PWM21_NS                      ((NRF_PWM_Type*)                      NRF_PWM21_NS_BASE)
430 #define NRF_PWM21_S                       ((NRF_PWM_Type*)                      NRF_PWM21_S_BASE)
431 #define NRF_PWM22_NS                      ((NRF_PWM_Type*)                      NRF_PWM22_NS_BASE)
432 #define NRF_PWM22_S                       ((NRF_PWM_Type*)                      NRF_PWM22_S_BASE)
433 #define NRF_SAADC_NS                      ((NRF_SAADC_Type*)                    NRF_SAADC_NS_BASE)
434 #define NRF_SAADC_S                       ((NRF_SAADC_Type*)                    NRF_SAADC_S_BASE)
435 #define NRF_NFCT_NS                       ((NRF_NFCT_Type*)                     NRF_NFCT_NS_BASE)
436 #define NRF_NFCT_S                        ((NRF_NFCT_Type*)                     NRF_NFCT_S_BASE)
437 #define NRF_TEMP_NS                       ((NRF_TEMP_Type*)                     NRF_TEMP_NS_BASE)
438 #define NRF_TEMP_S                        ((NRF_TEMP_Type*)                     NRF_TEMP_S_BASE)
439 #define NRF_P1_NS                         ((NRF_GPIO_Type*)                     NRF_P1_NS_BASE)
440 #define NRF_P3_NS                         ((NRF_GPIO_Type*)                     NRF_P3_NS_BASE)
441 #define NRF_P4_NS                         ((NRF_GPIO_Type*)                     NRF_P4_NS_BASE)
442 #define NRF_P1_S                          ((NRF_GPIO_Type*)                     NRF_P1_S_BASE)
443 #define NRF_P3_S                          ((NRF_GPIO_Type*)                     NRF_P3_S_BASE)
444 #define NRF_P4_S                          ((NRF_GPIO_Type*)                     NRF_P4_S_BASE)
445 #define NRF_GPIOTE20_NS                   ((NRF_GPIOTE_Type*)                   NRF_GPIOTE20_NS_BASE)
446 #define NRF_GPIOTE20_S                    ((NRF_GPIOTE_Type*)                   NRF_GPIOTE20_S_BASE)
447 #define NRF_QDEC20_NS                     ((NRF_QDEC_Type*)                     NRF_QDEC20_NS_BASE)
448 #define NRF_QDEC20_S                      ((NRF_QDEC_Type*)                     NRF_QDEC20_S_BASE)
449 #define NRF_QDEC21_NS                     ((NRF_QDEC_Type*)                     NRF_QDEC21_NS_BASE)
450 #define NRF_QDEC21_S                      ((NRF_QDEC_Type*)                     NRF_QDEC21_S_BASE)
451 #define NRF_GRTC_NS                       ((NRF_GRTC_Type*)                     NRF_GRTC_NS_BASE)
452 #define NRF_GRTC_S                        ((NRF_GRTC_Type*)                     NRF_GRTC_S_BASE)
453 #define NRF_TDM_NS                        ((NRF_TDM_Type*)                      NRF_TDM_NS_BASE)
454 #define NRF_TDM_S                         ((NRF_TDM_Type*)                      NRF_TDM_S_BASE)
455 #define NRF_AUXPLL_NS                     ((NRF_AUXPLL_Type*)                   NRF_AUXPLL_NS_BASE)
456 #define NRF_AUXPM_NS                      ((NRF_AUXPM_Type*)                    NRF_AUXPM_NS_BASE)
457 #define NRF_AUXPLL_S                      ((NRF_AUXPLL_Type*)                   NRF_AUXPLL_S_BASE)
458 #define NRF_AUXPM_S                       ((NRF_AUXPM_Type*)                    NRF_AUXPM_S_BASE)
459 #define NRF_SPIM23_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM23_NS_BASE)
460 #define NRF_SPIS23_NS                     ((NRF_SPIS_Type*)                     NRF_SPIS23_NS_BASE)
461 #define NRF_TWIM23_NS                     ((NRF_TWIM_Type*)                     NRF_TWIM23_NS_BASE)
462 #define NRF_TWIS23_NS                     ((NRF_TWIS_Type*)                     NRF_TWIS23_NS_BASE)
463 #define NRF_UARTE23_NS                    ((NRF_UARTE_Type*)                    NRF_UARTE23_NS_BASE)
464 #define NRF_SPIM23_S                      ((NRF_SPIM_Type*)                     NRF_SPIM23_S_BASE)
465 #define NRF_SPIS23_S                      ((NRF_SPIS_Type*)                     NRF_SPIS23_S_BASE)
466 #define NRF_TWIM23_S                      ((NRF_TWIM_Type*)                     NRF_TWIM23_S_BASE)
467 #define NRF_TWIS23_S                      ((NRF_TWIS_Type*)                     NRF_TWIS23_S_BASE)
468 #define NRF_UARTE23_S                     ((NRF_UARTE_Type*)                    NRF_UARTE23_S_BASE)
469 #define NRF_SPIM24_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM24_NS_BASE)
470 #define NRF_SPIS24_NS                     ((NRF_SPIS_Type*)                     NRF_SPIS24_NS_BASE)
471 #define NRF_TWIM24_NS                     ((NRF_TWIM_Type*)                     NRF_TWIM24_NS_BASE)
472 #define NRF_TWIS24_NS                     ((NRF_TWIS_Type*)                     NRF_TWIS24_NS_BASE)
473 #define NRF_UARTE24_NS                    ((NRF_UARTE_Type*)                    NRF_UARTE24_NS_BASE)
474 #define NRF_SPIM24_S                      ((NRF_SPIM_Type*)                     NRF_SPIM24_S_BASE)
475 #define NRF_SPIS24_S                      ((NRF_SPIS_Type*)                     NRF_SPIS24_S_BASE)
476 #define NRF_TWIM24_S                      ((NRF_TWIM_Type*)                     NRF_TWIM24_S_BASE)
477 #define NRF_TWIS24_S                      ((NRF_TWIS_Type*)                     NRF_TWIS24_S_BASE)
478 #define NRF_UARTE24_S                     ((NRF_UARTE_Type*)                    NRF_UARTE24_S_BASE)
479 #define NRF_TAMPC_S                       ((NRF_TAMPC_Type*)                    NRF_TAMPC_S_BASE)
480 #define NRF_COEXC_NS                      ((NRF_COEXC_Type*)                    NRF_COEXC_NS_BASE)
481 #define NRF_COEXC_S                       ((NRF_COEXC_Type*)                    NRF_COEXC_S_BASE)
482 #define NRF_SPU30_S                       ((NRF_SPU_Type*)                      NRF_SPU30_S_BASE)
483 #define NRF_DPPIC30_NS                    ((NRF_DPPIC_Type*)                    NRF_DPPIC30_NS_BASE)
484 #define NRF_DPPIC30_S                     ((NRF_DPPIC_Type*)                    NRF_DPPIC30_S_BASE)
485 #define NRF_PPIB30_NS                     ((NRF_PPIB_Type*)                     NRF_PPIB30_NS_BASE)
486 #define NRF_PPIB30_S                      ((NRF_PPIB_Type*)                     NRF_PPIB30_S_BASE)
487 #define NRF_SPIM30_NS                     ((NRF_SPIM_Type*)                     NRF_SPIM30_NS_BASE)
488 #define NRF_SPIS30_NS                     ((NRF_SPIS_Type*)                     NRF_SPIS30_NS_BASE)
489 #define NRF_TWIM30_NS                     ((NRF_TWIM_Type*)                     NRF_TWIM30_NS_BASE)
490 #define NRF_TWIS30_NS                     ((NRF_TWIS_Type*)                     NRF_TWIS30_NS_BASE)
491 #define NRF_UARTE30_NS                    ((NRF_UARTE_Type*)                    NRF_UARTE30_NS_BASE)
492 #define NRF_SPIM30_S                      ((NRF_SPIM_Type*)                     NRF_SPIM30_S_BASE)
493 #define NRF_SPIS30_S                      ((NRF_SPIS_Type*)                     NRF_SPIS30_S_BASE)
494 #define NRF_TWIM30_S                      ((NRF_TWIM_Type*)                     NRF_TWIM30_S_BASE)
495 #define NRF_TWIS30_S                      ((NRF_TWIS_Type*)                     NRF_TWIS30_S_BASE)
496 #define NRF_UARTE30_S                     ((NRF_UARTE_Type*)                    NRF_UARTE30_S_BASE)
497 #define NRF_COMP_NS                       ((NRF_COMP_Type*)                     NRF_COMP_NS_BASE)
498 #define NRF_LPCOMP_NS                     ((NRF_LPCOMP_Type*)                   NRF_LPCOMP_NS_BASE)
499 #define NRF_COMP_S                        ((NRF_COMP_Type*)                     NRF_COMP_S_BASE)
500 #define NRF_LPCOMP_S                      ((NRF_LPCOMP_Type*)                   NRF_LPCOMP_S_BASE)
501 #define NRF_WDT30_S                       ((NRF_WDT_Type*)                      NRF_WDT30_S_BASE)
502 #define NRF_WDT31_NS                      ((NRF_WDT_Type*)                      NRF_WDT31_NS_BASE)
503 #define NRF_WDT31_S                       ((NRF_WDT_Type*)                      NRF_WDT31_S_BASE)
504 #define NRF_P0_NS                         ((NRF_GPIO_Type*)                     NRF_P0_NS_BASE)
505 #define NRF_P0_S                          ((NRF_GPIO_Type*)                     NRF_P0_S_BASE)
506 #define NRF_GPIOTE30_NS                   ((NRF_GPIOTE_Type*)                   NRF_GPIOTE30_NS_BASE)
507 #define NRF_GPIOTE30_S                    ((NRF_GPIOTE_Type*)                   NRF_GPIOTE30_S_BASE)
508 #define NRF_CLOCK_NS                      ((NRF_CLOCK_Type*)                    NRF_CLOCK_NS_BASE)
509 #define NRF_POWER_NS                      ((NRF_POWER_Type*)                    NRF_POWER_NS_BASE)
510 #define NRF_RESET_NS                      ((NRF_RESET_Type*)                    NRF_RESET_NS_BASE)
511 #define NRF_CLOCK_S                       ((NRF_CLOCK_Type*)                    NRF_CLOCK_S_BASE)
512 #define NRF_POWER_S                       ((NRF_POWER_Type*)                    NRF_POWER_S_BASE)
513 #define NRF_RESET_S                       ((NRF_RESET_Type*)                    NRF_RESET_S_BASE)
514 #define NRF_GLITCHDET_S                   ((NRF_GLITCHDET_Type*)                NRF_GLITCHDET_S_BASE)
515 #define NRF_OSCILLATORS_NS                ((NRF_OSCILLATORS_Type*)              NRF_OSCILLATORS_NS_BASE)
516 #define NRF_REGULATORS_NS                 ((NRF_REGULATORS_Type*)               NRF_REGULATORS_NS_BASE)
517 #define NRF_OSCILLATORS_S                 ((NRF_OSCILLATORS_Type*)              NRF_OSCILLATORS_S_BASE)
518 #define NRF_REGULATORS_S                  ((NRF_REGULATORS_Type*)               NRF_REGULATORS_S_BASE)
519 #define NRF_VREGUSB_NS                    ((NRF_VREGUSB_Type*)                  NRF_VREGUSB_NS_BASE)
520 #define NRF_VREGUSB_S                     ((NRF_VREGUSB_Type*)                  NRF_VREGUSB_S_BASE)
521 #define NRF_LFXO_NS                       ((NRF_LFXO_Type*)                     NRF_LFXO_NS_BASE)
522 #define NRF_LFXO_S                        ((NRF_LFXO_Type*)                     NRF_LFXO_S_BASE)
523 #define NRF_LFRC_NS                       ((NRF_LFRC_Type*)                     NRF_LFRC_NS_BASE)
524 #define NRF_LFRC_S                        ((NRF_LFRC_Type*)                     NRF_LFRC_S_BASE)
525 #define NRF_HFXO64M_NS                    ((NRF_HFXO64M_Type*)                  NRF_HFXO64M_NS_BASE)
526 #define NRF_HFXO64M_S                     ((NRF_HFXO64M_Type*)                  NRF_HFXO64M_S_BASE)
527 #define NRF_VREGMRAM_NS                   ((NRF_VREGMRAM_Type*)                 NRF_VREGMRAM_NS_BASE)
528 #define NRF_VREGMRAM_S                    ((NRF_VREGMRAM_Type*)                 NRF_VREGMRAM_S_BASE)
529 #define NRF_OSCRFR_NS                     ((NRF_OSCRFR_Type*)                   NRF_OSCRFR_NS_BASE)
530 #define NRF_OSCRFR_S                      ((NRF_OSCRFR_Type*)                   NRF_OSCRFR_S_BASE)
531 #define NRF_VDETAO1V8_NS                  ((NRF_VDETAO1V8_Type*)                NRF_VDETAO1V8_NS_BASE)
532 #define NRF_VDETAO1V8_S                   ((NRF_VDETAO1V8_Type*)                NRF_VDETAO1V8_S_BASE)
533 #define NRF_VDETAO0V8_NS                  ((NRF_VDETAO0V8_Type*)                NRF_VDETAO0V8_NS_BASE)
534 #define NRF_VDETAO0V8_S                   ((NRF_VDETAO0V8_Type*)                NRF_VDETAO0V8_S_BASE)
535 #define NRF_VDETIO_NS                     ((NRF_VDETIO_Type*)                   NRF_VDETIO_NS_BASE)
536 #define NRF_VDETIO_S                      ((NRF_VDETIO_Type*)                   NRF_VDETIO_S_BASE)
537 
538 /* =========================================================================================================================== */
539 /* ================                                    TrustZone Remapping                                    ================ */
540 /* =========================================================================================================================== */
541 
542 #ifdef NRF_TRUSTZONE_NONSECURE                       /*!< Remap NRF_X_NS instances to NRF_X symbol for ease of use.            */
543   #define NRF_FICR                                NRF_FICR_NS
544   #define NRF_USBHSCORE                           NRF_USBHSCORE_NS
545   #define NRF_DPPIC00                             NRF_DPPIC00_NS
546   #define NRF_PPIB00                              NRF_PPIB00_NS
547   #define NRF_PPIB01                              NRF_PPIB01_NS
548   #define NRF_AAR00                               NRF_AAR00_NS
549   #define NRF_CCM00                               NRF_CCM00_NS
550   #define NRF_ECB00                               NRF_ECB00_NS
551   #define NRF_VPR00                               NRF_VPR00_NS
552   #define NRF_SPIM00                              NRF_SPIM00_NS
553   #define NRF_UARTE00                             NRF_UARTE00_NS
554   #define NRF_P2                                  NRF_P2_NS
555   #define NRF_CTRLAP                              NRF_CTRLAP_NS
556   #define NRF_TAD                                 NRF_TAD_NS
557   #define NRF_TIMER00                             NRF_TIMER00_NS
558   #define NRF_EGU00                               NRF_EGU00_NS
559   #define NRF_USBHS                               NRF_USBHS_NS
560   #define NRF_QSPI00                              NRF_QSPI00_NS
561   #define NRF_QSPI01                              NRF_QSPI01_NS
562   #define NRF_SPIM01                              NRF_SPIM01_NS
563   #define NRF_DPPIC10                             NRF_DPPIC10_NS
564   #define NRF_PPIB10                              NRF_PPIB10_NS
565   #define NRF_PPIB11                              NRF_PPIB11_NS
566   #define NRF_TIMER10                             NRF_TIMER10_NS
567   #define NRF_EGU10                               NRF_EGU10_NS
568   #define NRF_RADIO                               NRF_RADIO_NS
569   #define NRF_IPCT10                              NRF_IPCT10_NS
570   #define NRF_DPPIC20                             NRF_DPPIC20_NS
571   #define NRF_PPIB20                              NRF_PPIB20_NS
572   #define NRF_PPIB21                              NRF_PPIB21_NS
573   #define NRF_PPIB22                              NRF_PPIB22_NS
574   #define NRF_SPIM20                              NRF_SPIM20_NS
575   #define NRF_SPIS20                              NRF_SPIS20_NS
576   #define NRF_TWIM20                              NRF_TWIM20_NS
577   #define NRF_TWIS20                              NRF_TWIS20_NS
578   #define NRF_UARTE20                             NRF_UARTE20_NS
579   #define NRF_SPIM21                              NRF_SPIM21_NS
580   #define NRF_SPIS21                              NRF_SPIS21_NS
581   #define NRF_TWIM21                              NRF_TWIM21_NS
582   #define NRF_TWIS21                              NRF_TWIS21_NS
583   #define NRF_UARTE21                             NRF_UARTE21_NS
584   #define NRF_SPIM22                              NRF_SPIM22_NS
585   #define NRF_SPIS22                              NRF_SPIS22_NS
586   #define NRF_TWIM22                              NRF_TWIM22_NS
587   #define NRF_TWIS22                              NRF_TWIS22_NS
588   #define NRF_UARTE22                             NRF_UARTE22_NS
589   #define NRF_EGU20                               NRF_EGU20_NS
590   #define NRF_TIMER20                             NRF_TIMER20_NS
591   #define NRF_TIMER21                             NRF_TIMER21_NS
592   #define NRF_TIMER22                             NRF_TIMER22_NS
593   #define NRF_TIMER23                             NRF_TIMER23_NS
594   #define NRF_TIMER24                             NRF_TIMER24_NS
595   #define NRF_MEMCONF                             NRF_MEMCONF_NS
596   #define NRF_PDM20                               NRF_PDM20_NS
597   #define NRF_PDM21                               NRF_PDM21_NS
598   #define NRF_PWM20                               NRF_PWM20_NS
599   #define NRF_PWM21                               NRF_PWM21_NS
600   #define NRF_PWM22                               NRF_PWM22_NS
601   #define NRF_SAADC                               NRF_SAADC_NS
602   #define NRF_NFCT                                NRF_NFCT_NS
603   #define NRF_TEMP                                NRF_TEMP_NS
604   #define NRF_P1                                  NRF_P1_NS
605   #define NRF_P3                                  NRF_P3_NS
606   #define NRF_P4                                  NRF_P4_NS
607   #define NRF_GPIOTE20                            NRF_GPIOTE20_NS
608   #define NRF_QDEC20                              NRF_QDEC20_NS
609   #define NRF_QDEC21                              NRF_QDEC21_NS
610   #define NRF_GRTC                                NRF_GRTC_NS
611   #define NRF_TDM                                 NRF_TDM_NS
612   #define NRF_AUXPLL                              NRF_AUXPLL_NS
613   #define NRF_AUXPM                               NRF_AUXPM_NS
614   #define NRF_SPIM23                              NRF_SPIM23_NS
615   #define NRF_SPIS23                              NRF_SPIS23_NS
616   #define NRF_TWIM23                              NRF_TWIM23_NS
617   #define NRF_TWIS23                              NRF_TWIS23_NS
618   #define NRF_UARTE23                             NRF_UARTE23_NS
619   #define NRF_SPIM24                              NRF_SPIM24_NS
620   #define NRF_SPIS24                              NRF_SPIS24_NS
621   #define NRF_TWIM24                              NRF_TWIM24_NS
622   #define NRF_TWIS24                              NRF_TWIS24_NS
623   #define NRF_UARTE24                             NRF_UARTE24_NS
624   #define NRF_COEXC                               NRF_COEXC_NS
625   #define NRF_DPPIC30                             NRF_DPPIC30_NS
626   #define NRF_PPIB30                              NRF_PPIB30_NS
627   #define NRF_SPIM30                              NRF_SPIM30_NS
628   #define NRF_SPIS30                              NRF_SPIS30_NS
629   #define NRF_TWIM30                              NRF_TWIM30_NS
630   #define NRF_TWIS30                              NRF_TWIS30_NS
631   #define NRF_UARTE30                             NRF_UARTE30_NS
632   #define NRF_COMP                                NRF_COMP_NS
633   #define NRF_LPCOMP                              NRF_LPCOMP_NS
634   #define NRF_WDT31                               NRF_WDT31_NS
635   #define NRF_P0                                  NRF_P0_NS
636   #define NRF_GPIOTE30                            NRF_GPIOTE30_NS
637   #define NRF_CLOCK                               NRF_CLOCK_NS
638   #define NRF_POWER                               NRF_POWER_NS
639   #define NRF_RESET                               NRF_RESET_NS
640   #define NRF_OSCILLATORS                         NRF_OSCILLATORS_NS
641   #define NRF_REGULATORS                          NRF_REGULATORS_NS
642   #define NRF_VREGUSB                             NRF_VREGUSB_NS
643   #define NRF_LFXO                                NRF_LFXO_NS
644   #define NRF_LFRC                                NRF_LFRC_NS
645   #define NRF_HFXO64M                             NRF_HFXO64M_NS
646   #define NRF_VREGMRAM                            NRF_VREGMRAM_NS
647   #define NRF_OSCRFR                              NRF_OSCRFR_NS
648   #define NRF_VDETAO1V8                           NRF_VDETAO1V8_NS
649   #define NRF_VDETAO0V8                           NRF_VDETAO0V8_NS
650   #define NRF_VDETIO                              NRF_VDETIO_NS
651 #else                                                /*!< Remap NRF_X_S instances to NRF_X symbol for ease of use.             */
652   #define NRF_FICR                                NRF_FICR_NS
653   #define NRF_UICR                                NRF_UICR_S
654   #define NRF_SICR                                NRF_SICR_S
655   #define NRF_CRACENCORE                          NRF_CRACENCORE_S
656   #define NRF_USBHSCORE                           NRF_USBHSCORE_S
657   #define NRF_SPU00                               NRF_SPU00_S
658   #define NRF_MPC00                               NRF_MPC00_S
659   #define NRF_DPPIC00                             NRF_DPPIC00_S
660   #define NRF_PPIB00                              NRF_PPIB00_S
661   #define NRF_PPIB01                              NRF_PPIB01_S
662   #define NRF_KMU                                 NRF_KMU_S
663   #define NRF_AAR00                               NRF_AAR00_S
664   #define NRF_CCM00                               NRF_CCM00_S
665   #define NRF_ECB00                               NRF_ECB00_S
666   #define NRF_VPR00                               NRF_VPR00_S
667   #define NRF_SPIM00                              NRF_SPIM00_S
668   #define NRF_UARTE00                             NRF_UARTE00_S
669   #define NRF_MRAMC                               NRF_MRAMC_S
670   #define NRF_P2                                  NRF_P2_S
671   #define NRF_CTRLAP                              NRF_CTRLAP_S
672   #define NRF_TAD                                 NRF_TAD_S
673   #define NRF_TIMER00                             NRF_TIMER00_S
674   #define NRF_EGU00                               NRF_EGU00_S
675   #define NRF_CRACEN                              NRF_CRACEN_S
676   #define NRF_USBHS                               NRF_USBHS_S
677   #define NRF_QSPI00                              NRF_QSPI00_S
678   #define NRF_QSPI01                              NRF_QSPI01_S
679   #define NRF_SPIM01                              NRF_SPIM01_S
680   #define NRF_SPU10                               NRF_SPU10_S
681   #define NRF_DPPIC10                             NRF_DPPIC10_S
682   #define NRF_PPIB10                              NRF_PPIB10_S
683   #define NRF_PPIB11                              NRF_PPIB11_S
684   #define NRF_TIMER10                             NRF_TIMER10_S
685   #define NRF_EGU10                               NRF_EGU10_S
686   #define NRF_RADIO                               NRF_RADIO_S
687   #define NRF_IPCT10                              NRF_IPCT10_S
688   #define NRF_SPU20                               NRF_SPU20_S
689   #define NRF_DPPIC20                             NRF_DPPIC20_S
690   #define NRF_PPIB20                              NRF_PPIB20_S
691   #define NRF_PPIB21                              NRF_PPIB21_S
692   #define NRF_PPIB22                              NRF_PPIB22_S
693   #define NRF_SPIM20                              NRF_SPIM20_S
694   #define NRF_SPIS20                              NRF_SPIS20_S
695   #define NRF_TWIM20                              NRF_TWIM20_S
696   #define NRF_TWIS20                              NRF_TWIS20_S
697   #define NRF_UARTE20                             NRF_UARTE20_S
698   #define NRF_SPIM21                              NRF_SPIM21_S
699   #define NRF_SPIS21                              NRF_SPIS21_S
700   #define NRF_TWIM21                              NRF_TWIM21_S
701   #define NRF_TWIS21                              NRF_TWIS21_S
702   #define NRF_UARTE21                             NRF_UARTE21_S
703   #define NRF_SPIM22                              NRF_SPIM22_S
704   #define NRF_SPIS22                              NRF_SPIS22_S
705   #define NRF_TWIM22                              NRF_TWIM22_S
706   #define NRF_TWIS22                              NRF_TWIS22_S
707   #define NRF_UARTE22                             NRF_UARTE22_S
708   #define NRF_EGU20                               NRF_EGU20_S
709   #define NRF_TIMER20                             NRF_TIMER20_S
710   #define NRF_TIMER21                             NRF_TIMER21_S
711   #define NRF_TIMER22                             NRF_TIMER22_S
712   #define NRF_TIMER23                             NRF_TIMER23_S
713   #define NRF_TIMER24                             NRF_TIMER24_S
714   #define NRF_MEMCONF                             NRF_MEMCONF_S
715   #define NRF_PDM20                               NRF_PDM20_S
716   #define NRF_PDM21                               NRF_PDM21_S
717   #define NRF_PWM20                               NRF_PWM20_S
718   #define NRF_PWM21                               NRF_PWM21_S
719   #define NRF_PWM22                               NRF_PWM22_S
720   #define NRF_SAADC                               NRF_SAADC_S
721   #define NRF_NFCT                                NRF_NFCT_S
722   #define NRF_TEMP                                NRF_TEMP_S
723   #define NRF_P1                                  NRF_P1_S
724   #define NRF_P3                                  NRF_P3_S
725   #define NRF_P4                                  NRF_P4_S
726   #define NRF_GPIOTE20                            NRF_GPIOTE20_S
727   #define NRF_QDEC20                              NRF_QDEC20_S
728   #define NRF_QDEC21                              NRF_QDEC21_S
729   #define NRF_GRTC                                NRF_GRTC_S
730   #define NRF_TDM                                 NRF_TDM_S
731   #define NRF_AUXPLL                              NRF_AUXPLL_S
732   #define NRF_AUXPM                               NRF_AUXPM_S
733   #define NRF_SPIM23                              NRF_SPIM23_S
734   #define NRF_SPIS23                              NRF_SPIS23_S
735   #define NRF_TWIM23                              NRF_TWIM23_S
736   #define NRF_TWIS23                              NRF_TWIS23_S
737   #define NRF_UARTE23                             NRF_UARTE23_S
738   #define NRF_SPIM24                              NRF_SPIM24_S
739   #define NRF_SPIS24                              NRF_SPIS24_S
740   #define NRF_TWIM24                              NRF_TWIM24_S
741   #define NRF_TWIS24                              NRF_TWIS24_S
742   #define NRF_UARTE24                             NRF_UARTE24_S
743   #define NRF_TAMPC                               NRF_TAMPC_S
744   #define NRF_COEXC                               NRF_COEXC_S
745   #define NRF_SPU30                               NRF_SPU30_S
746   #define NRF_DPPIC30                             NRF_DPPIC30_S
747   #define NRF_PPIB30                              NRF_PPIB30_S
748   #define NRF_SPIM30                              NRF_SPIM30_S
749   #define NRF_SPIS30                              NRF_SPIS30_S
750   #define NRF_TWIM30                              NRF_TWIM30_S
751   #define NRF_TWIS30                              NRF_TWIS30_S
752   #define NRF_UARTE30                             NRF_UARTE30_S
753   #define NRF_COMP                                NRF_COMP_S
754   #define NRF_LPCOMP                              NRF_LPCOMP_S
755   #define NRF_WDT30                               NRF_WDT30_S
756   #define NRF_WDT31                               NRF_WDT31_S
757   #define NRF_P0                                  NRF_P0_S
758   #define NRF_GPIOTE30                            NRF_GPIOTE30_S
759   #define NRF_CLOCK                               NRF_CLOCK_S
760   #define NRF_POWER                               NRF_POWER_S
761   #define NRF_RESET                               NRF_RESET_S
762   #define NRF_GLITCHDET                           NRF_GLITCHDET_S
763   #define NRF_OSCILLATORS                         NRF_OSCILLATORS_S
764   #define NRF_REGULATORS                          NRF_REGULATORS_S
765   #define NRF_VREGUSB                             NRF_VREGUSB_S
766   #define NRF_LFXO                                NRF_LFXO_S
767   #define NRF_LFRC                                NRF_LFRC_S
768   #define NRF_HFXO64M                             NRF_HFXO64M_S
769   #define NRF_VREGMRAM                            NRF_VREGMRAM_S
770   #define NRF_OSCRFR                              NRF_OSCRFR_S
771   #define NRF_VDETAO1V8                           NRF_VDETAO1V8_S
772   #define NRF_VDETAO0V8                           NRF_VDETAO0V8_S
773   #define NRF_VDETIO                              NRF_VDETIO_S
774 #endif                                               /*!< NRF_TRUSTZONE_NONSECURE                                              */
775 
776 /* ========================================== End of section using anonymous unions ========================================== */
777 
778 #if defined (__CC_ARM)
779   #pragma pop
780 #elif defined (__ICCARM__)
781   /* leave anonymous unions enabled */
782 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
783   #pragma clang diagnostic pop
784 #elif defined (__GNUC__)
785   /* anonymous unions are enabled by default */
786 #elif defined (__TMS470__)
787   /* anonymous unions are enabled by default */
788 #elif defined (__TASKING__)
789   #pragma warning restore
790 #elif defined (__CSMC__)
791   /* anonymous unions are enabled by default */
792 #endif
793 
794 
795 #ifdef __cplusplus
796 }
797 #endif
798 #endif /* NRF7120_ENGA_GLOBAL_H */
799 
800