1 /*
2  * Copyright (c) 2019 - 2024, Nordic Semiconductor ASA
3  * 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 the copyright holder 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 THE COPYRIGHT HOLDER 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 #ifndef NRFX_CONFIG_NRF5340_NETWORK_H__
35 #define NRFX_CONFIG_NRF5340_NETWORK_H__
36 
37 #ifndef NRFX_CONFIG_H__
38 #error "This file should not be included directly. Include nrfx_config.h instead."
39 #endif
40 
41 /*
42  * The MDK provides macros for accessing the peripheral register structures
43  * by using their secure and non-secure address mappings (with the names
44  * containing the suffix _S or _NS, respectively). Because the nrfx drivers
45  * use the macros without any suffixes, you must translate the names.
46  * The following section provides configuration for the name translation.
47  */
48 #define NRF_AAR        NRF_AAR_NS
49 #define NRF_ACL        NRF_ACL_NS
50 #define NRF_CCM        NRF_CCM_NS
51 #define NRF_CLOCK      NRF_CLOCK_NS
52 #define NRF_CTI        NRF_CTI_NS
53 #define NRF_CTRLAP     NRF_CTRLAP_NS
54 #define NRF_DCNF       NRF_DCNF_NS
55 #define NRF_DPPIC      NRF_DPPIC_NS
56 #define NRF_ECB        NRF_ECB_NS
57 #define NRF_EGU0       NRF_EGU0_NS
58 #define NRF_FICR       NRF_FICR_NS
59 #define NRF_GPIOTE     NRF_GPIOTE_NS
60 #define NRF_IPC        NRF_IPC_NS
61 #define NRF_NVMC       NRF_NVMC_NS
62 #define NRF_P0         NRF_P0_NS
63 #define NRF_P1         NRF_P1_NS
64 #define NRF_POWER      NRF_POWER_NS
65 #define NRF_RADIO      NRF_RADIO_NS
66 #define NRF_RESET      NRF_RESET_NS
67 #define NRF_RNG        NRF_RNG_NS
68 #define NRF_RTC0       NRF_RTC0_NS
69 #define NRF_RTC1       NRF_RTC1_NS
70 #define NRF_SPIM0      NRF_SPIM0_NS
71 #define NRF_SPIS0      NRF_SPIS0_NS
72 #define NRF_SWI0       NRF_SWI0_NS
73 #define NRF_SWI1       NRF_SWI1_NS
74 #define NRF_SWI2       NRF_SWI2_NS
75 #define NRF_SWI3       NRF_SWI3_NS
76 #define NRF_TEMP       NRF_TEMP_NS
77 #define NRF_TIMER0     NRF_TIMER0_NS
78 #define NRF_TIMER1     NRF_TIMER1_NS
79 #define NRF_TIMER2     NRF_TIMER2_NS
80 #define NRF_TWIM0      NRF_TWIM0_NS
81 #define NRF_TWIS0      NRF_TWIS0_NS
82 #define NRF_UARTE0     NRF_UARTE0_NS
83 #define NRF_UICR       NRF_UICR_NS
84 #define NRF_VMC        NRF_VMC_NS
85 #define NRF_VREQCTRL   NRF_VREQCTRL_NS
86 #define NRF_WDT        NRF_WDT_NS
87 
88 /**
89  * @brief NRFX_DEFAULT_IRQ_PRIORITY
90  *
91  * Integer value. Minimum: 0. Maximum: 7.
92  */
93 #ifndef NRFX_DEFAULT_IRQ_PRIORITY
94 #define NRFX_DEFAULT_IRQ_PRIORITY 7
95 #endif
96 
97 /**
98  * @brief NRFX_CLOCK_ENABLED
99  *
100  * Boolean. Accepted values: 0 and 1.
101  */
102 #ifndef NRFX_CLOCK_ENABLED
103 #define NRFX_CLOCK_ENABLED 0
104 #endif
105 
106 /**
107  * @brief NRFX_CLOCK_CONFIG_LF_SRC
108  *
109  * Integer value.
110  * Supported values:
111  * - RC    = 1
112  * - XTAL  = 2
113  * - Synth = 3
114  */
115 #ifndef NRFX_CLOCK_CONFIG_LF_SRC
116 #define NRFX_CLOCK_CONFIG_LF_SRC 2
117 #endif
118 
119 /**
120  * @brief NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
121  *
122  * Boolean. Accepted values: 0 and 1.
123  */
124 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
125 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0
126 #endif
127 
128 /**
129  * @brief NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED
130  *
131  * Boolean. Accepted values: 0 and 1.
132  */
133 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED
134 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0
135 #endif
136 
137 /**
138  * @brief NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
139  *
140  * Integer value. Minimum: 0. Maximum: 7.
141  */
142 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
143 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
144 #endif
145 
146 /**
147  * @brief NRFX_CLOCK_CONFIG_LOG_ENABLED
148  *
149  * Boolean. Accepted values: 0 and 1.
150  */
151 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
152 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
153 #endif
154 
155 /**
156  * @brief NRFX_CLOCK_CONFIG_LOG_LEVEL
157  *
158  * Integer value.
159  * Supported values:
160  * - Off     = 0
161  * - Error   = 1
162  * - Warning = 2
163  * - Info    = 3
164  * - Debug   = 4
165  */
166 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
167 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
168 #endif
169 
170 /**
171  * @brief NRFX_DPPI_ENABLED
172  *
173  * Boolean. Accepted values: 0 and 1.
174  */
175 #ifndef NRFX_DPPI_ENABLED
176 #define NRFX_DPPI_ENABLED 0
177 #endif
178 
179 /**
180  * @brief NRFX_DPPI_CONFIG_LOG_ENABLED
181  *
182  * Boolean. Accepted values: 0 and 1.
183  */
184 #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED
185 #define NRFX_DPPI_CONFIG_LOG_ENABLED 0
186 #endif
187 
188 /**
189  * @brief NRFX_DPPI_CONFIG_LOG_LEVEL
190  *
191  * Integer value.
192  * Supported values:
193  * - Off     = 0
194  * - Error   = 1
195  * - Warning = 2
196  * - Info    = 3
197  * - Debug   = 4
198  */
199 #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL
200 #define NRFX_DPPI_CONFIG_LOG_LEVEL 3
201 #endif
202 
203 /**
204  * @brief NRFX_EGU_ENABLED
205  *
206  * Boolean. Accepted values: 0 and 1.
207  */
208 #ifndef NRFX_EGU_ENABLED
209 #define NRFX_EGU_ENABLED 0
210 #endif
211 
212 /**
213  * @brief NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY
214  *
215  * Integer value. Minimum: 0. Maximum: 7.
216  */
217 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY
218 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
219 #endif
220 
221 /**
222  * @brief NRFX_EGU0_ENABLED
223  *
224  * Boolean. Accepted values: 0 and 1.
225  */
226 #ifndef NRFX_EGU0_ENABLED
227 #define NRFX_EGU0_ENABLED 0
228 #endif
229 
230 /**
231  * @brief NRFX_GPIOTE_ENABLED
232  *
233  * Boolean. Accepted values: 0 and 1.
234  */
235 #ifndef NRFX_GPIOTE_ENABLED
236 #define NRFX_GPIOTE_ENABLED 0
237 #endif
238 
239 /**
240  * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY
241  *
242  * Integer value. Minimum: 0. Maximum: 7.
243  */
244 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY
245 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
246 #endif
247 
248 /**
249  * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS
250  *
251  * Integer value. Minimum: 0. Maximum: 15.
252  */
253 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS
254 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 2
255 #endif
256 
257 /**
258  * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED
259  *
260  * Boolean. Accepted values: 0 and 1.
261  */
262 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
263 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
264 #endif
265 
266 /**
267  * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL
268  *
269  * Integer value.
270  * Supported values:
271  * - Off     = 0
272  * - Error   = 1
273  * - Warning = 2
274  * - Info    = 3
275  * - Debug   = 4
276  */
277 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
278 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
279 #endif
280 
281 /**
282  * @brief NRFX_IPC_ENABLED
283  *
284  * Boolean. Accepted values: 0 and 1.
285  */
286 #ifndef NRFX_IPC_ENABLED
287 #define NRFX_IPC_ENABLED 0
288 #endif
289 
290 /**
291  * @brief NRFX_NVMC_ENABLED
292  *
293  * Boolean. Accepted values: 0 and 1.
294  */
295 #ifndef NRFX_NVMC_ENABLED
296 #define NRFX_NVMC_ENABLED 0
297 #endif
298 
299 /**
300  * @brief NRFX_POWER_ENABLED
301  *
302  * Boolean. Accepted values: 0 and 1.
303  */
304 #ifndef NRFX_POWER_ENABLED
305 #define NRFX_POWER_ENABLED 0
306 #endif
307 
308 /**
309  * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY
310  *
311  * Integer value. Minimum: 0. Maximum: 7.
312  */
313 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY
314 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
315 #endif
316 
317 /**
318  * @brief NRFX_PRS_ENABLED
319  *
320  * Boolean. Accepted values: 0 and 1.
321  */
322 #ifndef NRFX_PRS_ENABLED
323 #define NRFX_PRS_ENABLED 0
324 #endif
325 
326 /**
327  * @brief NRFX_PRS_CONFIG_LOG_ENABLED
328  *
329  * Boolean. Accepted values: 0 and 1.
330  */
331 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
332 #define NRFX_PRS_CONFIG_LOG_ENABLED 0
333 #endif
334 
335 /**
336  * @brief NRFX_PRS_CONFIG_LOG_LEVEL
337  *
338  * Integer value.
339  * Supported values:
340  * - Off     = 0
341  * - Error   = 1
342  * - Warning = 2
343  * - Info    = 3
344  * - Debug   = 4
345  */
346 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
347 #define NRFX_PRS_CONFIG_LOG_LEVEL 3
348 #endif
349 
350 /**
351  * @brief NRFX_PRS_BOX_0_ENABLED
352  *
353  * Boolean. Accepted values: 0 and 1.
354  */
355 #ifndef NRFX_PRS_BOX_0_ENABLED
356 #define NRFX_PRS_BOX_0_ENABLED 0
357 #endif
358 
359 /**
360  * @brief NRFX_RNG_ENABLED
361  *
362  * Boolean. Accepted values: 0 and 1.
363  */
364 #ifndef NRFX_RNG_ENABLED
365 #define NRFX_RNG_ENABLED 0
366 #endif
367 
368 /**
369  * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY
370  *
371  * Integer value. Minimum: 0. Maximum: 7.
372  */
373 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY
374 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
375 #endif
376 
377 /**
378  * @brief NRFX_RNG_CONFIG_LOG_ENABLED
379  *
380  * Boolean. Accepted values: 0 and 1.
381  */
382 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED
383 #define NRFX_RNG_CONFIG_LOG_ENABLED 0
384 #endif
385 
386 /**
387  * @brief NRFX_RNG_CONFIG_LOG_LEVEL
388  *
389  * Integer value.
390  * Supported values:
391  * - Off     = 0
392  * - Error   = 1
393  * - Warning = 2
394  * - Info    = 3
395  * - Debug   = 4
396  */
397 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL
398 #define NRFX_RNG_CONFIG_LOG_LEVEL 3
399 #endif
400 
401 /**
402  * @brief NRFX_RTC_ENABLED
403  *
404  * Boolean. Accepted values: 0 and 1.
405  */
406 #ifndef NRFX_RTC_ENABLED
407 #define NRFX_RTC_ENABLED 0
408 #endif
409 
410 /**
411  * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
412  *
413  * Integer value. Minimum: 0. Maximum: 7.
414  */
415 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
416 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
417 #endif
418 
419 /**
420  * @brief NRFX_RTC_CONFIG_LOG_ENABLED
421  *
422  * Boolean. Accepted values: 0 and 1.
423  */
424 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
425 #define NRFX_RTC_CONFIG_LOG_ENABLED 0
426 #endif
427 
428 /**
429  * @brief NRFX_RTC_CONFIG_LOG_LEVEL
430  *
431  * Integer value.
432  * Supported values:
433  * - Off     = 0
434  * - Error   = 1
435  * - Warning = 2
436  * - Info    = 3
437  * - Debug   = 4
438  */
439 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
440 #define NRFX_RTC_CONFIG_LOG_LEVEL 3
441 #endif
442 
443 /**
444  * @brief NRFX_RTC0_ENABLED
445  *
446  * Boolean. Accepted values: 0 and 1.
447  */
448 #ifndef NRFX_RTC0_ENABLED
449 #define NRFX_RTC0_ENABLED 0
450 #endif
451 
452 /**
453  * @brief NRFX_RTC1_ENABLED
454  *
455  * Boolean. Accepted values: 0 and 1.
456  */
457 #ifndef NRFX_RTC1_ENABLED
458 #define NRFX_RTC1_ENABLED 0
459 #endif
460 
461 /**
462  * @brief NRFX_SPIM_ENABLED
463  *
464  * Boolean. Accepted values: 0 and 1.
465  */
466 #ifndef NRFX_SPIM_ENABLED
467 #define NRFX_SPIM_ENABLED 0
468 #endif
469 
470 /**
471  * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
472  *
473  * Integer value. Minimum: 0. Maximum: 7.
474  */
475 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
476 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
477 #endif
478 
479 /**
480  * @brief NRFX_SPIM_CONFIG_LOG_ENABLED
481  *
482  * Boolean. Accepted values: 0 and 1.
483  */
484 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
485 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
486 #endif
487 
488 /**
489  * @brief NRFX_SPIM_CONFIG_LOG_LEVEL
490  *
491  * Integer value.
492  * Supported values:
493  * - Off     = 0
494  * - Error   = 1
495  * - Warning = 2
496  * - Info    = 3
497  * - Debug   = 4
498  */
499 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
500 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
501 #endif
502 
503 /**
504  * @brief NRFX_SPIM0_ENABLED
505  *
506  * Boolean. Accepted values: 0 and 1.
507  */
508 #ifndef NRFX_SPIM0_ENABLED
509 #define NRFX_SPIM0_ENABLED 0
510 #endif
511 
512 /**
513  * @brief NRFX_SPIS_ENABLED
514  *
515  * Boolean. Accepted values: 0 and 1.
516  */
517 #ifndef NRFX_SPIS_ENABLED
518 #define NRFX_SPIS_ENABLED 0
519 #endif
520 
521 /**
522  * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
523  *
524  * Integer value. Minimum: 0. Maximum: 7.
525  */
526 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
527 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
528 #endif
529 
530 /**
531  * @brief NRFX_SPIS_CONFIG_LOG_ENABLED
532  *
533  * Boolean. Accepted values: 0 and 1.
534  */
535 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
536 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
537 #endif
538 
539 /**
540  * @brief NRFX_SPIS_CONFIG_LOG_LEVEL
541  *
542  * Integer value.
543  * Supported values:
544  * - Off     = 0
545  * - Error   = 1
546  * - Warning = 2
547  * - Info    = 3
548  * - Debug   = 4
549  */
550 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
551 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
552 #endif
553 
554 /**
555  * @brief NRFX_SPIS0_ENABLED
556  *
557  * Boolean. Accepted values: 0 and 1.
558  */
559 #ifndef NRFX_SPIS0_ENABLED
560 #define NRFX_SPIS0_ENABLED 0
561 #endif
562 
563 /**
564  * @brief NRFX_SYSTICK_ENABLED
565  *
566  * Boolean. Accepted values: 0 and 1.
567  */
568 #ifndef NRFX_SYSTICK_ENABLED
569 #define NRFX_SYSTICK_ENABLED 0
570 #endif
571 
572 /**
573  * @brief NRFX_TEMP_ENABLED
574  *
575  * Boolean. Accepted values: 0 and 1.
576  */
577 #ifndef NRFX_TEMP_ENABLED
578 #define NRFX_TEMP_ENABLED 0
579 #endif
580 
581 /**
582  * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY
583  *
584  * Integer value. Minimum: 0. Maximum: 7.
585  */
586 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY
587 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
588 #endif
589 
590 /**
591  * @brief NRFX_TEMP_CONFIG_LOG_ENABLED
592  *
593  * Boolean. Accepted values: 0 and 1.
594  */
595 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED
596 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0
597 #endif
598 
599 /**
600  * @brief NRFX_TEMP_CONFIG_LOG_LEVEL
601  *
602  * Integer value.
603  * Supported values:
604  * - Off     = 0
605  * - Error   = 1
606  * - Warning = 2
607  * - Info    = 3
608  * - Debug   = 4
609  */
610 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL
611 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3
612 #endif
613 
614 /**
615  * @brief NRFX_TIMER_ENABLED
616  *
617  * Boolean. Accepted values: 0 and 1.
618  */
619 #ifndef NRFX_TIMER_ENABLED
620 #define NRFX_TIMER_ENABLED 0
621 #endif
622 
623 /**
624  * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
625  *
626  * Integer value. Minimum: 0. Maximum: 7.
627  */
628 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
629 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
630 #endif
631 
632 /**
633  * @brief NRFX_TIMER_CONFIG_LOG_ENABLED
634  *
635  * Boolean. Accepted values: 0 and 1.
636  */
637 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
638 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
639 #endif
640 
641 /**
642  * @brief NRFX_TIMER_CONFIG_LOG_LEVEL
643  *
644  * Integer value.
645  * Supported values:
646  * - Off     = 0
647  * - Error   = 1
648  * - Warning = 2
649  * - Info    = 3
650  * - Debug   = 4
651  */
652 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
653 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
654 #endif
655 
656 /**
657  * @brief NRFX_TIMER0_ENABLED
658  *
659  * Boolean. Accepted values: 0 and 1.
660  */
661 #ifndef NRFX_TIMER0_ENABLED
662 #define NRFX_TIMER0_ENABLED 0
663 #endif
664 
665 /**
666  * @brief NRFX_TIMER1_ENABLED
667  *
668  * Boolean. Accepted values: 0 and 1.
669  */
670 #ifndef NRFX_TIMER1_ENABLED
671 #define NRFX_TIMER1_ENABLED 0
672 #endif
673 
674 /**
675  * @brief NRFX_TIMER2_ENABLED
676  *
677  * Boolean. Accepted values: 0 and 1.
678  */
679 #ifndef NRFX_TIMER2_ENABLED
680 #define NRFX_TIMER2_ENABLED 0
681 #endif
682 
683 /**
684  * @brief NRFX_TWIM_ENABLED
685  *
686  * Boolean. Accepted values: 0 and 1.
687  */
688 #ifndef NRFX_TWIM_ENABLED
689 #define NRFX_TWIM_ENABLED 0
690 #endif
691 
692 /**
693  * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
694  *
695  * Integer value. Minimum: 0. Maximum: 7.
696  */
697 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
698 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
699 #endif
700 
701 /**
702  * @brief NRFX_TWIM_CONFIG_LOG_ENABLED
703  *
704  * Boolean. Accepted values: 0 and 1.
705  */
706 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
707 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
708 #endif
709 
710 /**
711  * @brief NRFX_TWIM_CONFIG_LOG_LEVEL
712  *
713  * Integer value.
714  * Supported values:
715  * - Off     = 0
716  * - Error   = 1
717  * - Warning = 2
718  * - Info    = 3
719  * - Debug   = 4
720  */
721 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
722 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
723 #endif
724 
725 /**
726  * @brief NRFX_TWIM0_ENABLED
727  *
728  * Boolean. Accepted values: 0 and 1.
729  */
730 #ifndef NRFX_TWIM0_ENABLED
731 #define NRFX_TWIM0_ENABLED 0
732 #endif
733 
734 /**
735  * @brief NRFX_TWIS_ENABLED
736  *
737  * Boolean. Accepted values: 0 and 1.
738  */
739 #ifndef NRFX_TWIS_ENABLED
740 #define NRFX_TWIS_ENABLED 0
741 #endif
742 
743 /**
744  * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
745  *
746  * Integer value. Minimum: 0. Maximum: 7.
747  */
748 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
749 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
750 #endif
751 
752 /**
753  * @brief NRFX_TWIS_CONFIG_LOG_ENABLED
754  *
755  * Boolean. Accepted values: 0 and 1.
756  */
757 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
758 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
759 #endif
760 
761 /**
762  * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once.
763  *
764  * Boolean. Accepted values: 0 and 1.
765  */
766 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
767 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
768 #endif
769 
770 /**
771  * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode.
772  *
773  * Boolean. Accepted values: 0 and 1.
774  */
775 #ifndef NRFX_TWIS_NO_SYNC_MODE
776 #define NRFX_TWIS_NO_SYNC_MODE 0
777 #endif
778 
779 /**
780  * @brief NRFX_TWIS_CONFIG_LOG_LEVEL
781  *
782  * Integer value.
783  * Supported values:
784  * - Off     = 0
785  * - Error   = 1
786  * - Warning = 2
787  * - Info    = 3
788  * - Debug   = 4
789  */
790 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
791 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
792 #endif
793 
794 /**
795  * @brief NRFX_TWIS0_ENABLED
796  *
797  * Boolean. Accepted values: 0 and 1.
798  */
799 #ifndef NRFX_TWIS0_ENABLED
800 #define NRFX_TWIS0_ENABLED 0
801 #endif
802 
803 /**
804  * @brief NRFX_UARTE_ENABLED
805  *
806  * Boolean. Accepted values: 0 and 1.
807  */
808 #ifndef NRFX_UARTE_ENABLED
809 #define NRFX_UARTE_ENABLED 0
810 #endif
811 
812 /**
813  * @brief NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG - If enabled, support for configuring GPIO pins is removed from the driver
814  *
815  * Boolean. Accepted values: 0 and 1.
816  */
817 #ifndef NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG
818 #define NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG 0
819 #endif
820 
821 /**
822  * @brief NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG - If enabled, support for configuring PSEL registers is removed from the driver
823  *
824  * Boolean. Accepted values: 0 and 1.
825  */
826 #ifndef NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG
827 #define NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG 0
828 #endif
829 
830 /**
831  * @brief NRFX_UARTE_CONFIG_TX_LINK - If enabled, driver supports linking of TX transfers.
832  *
833  * Boolean. Accepted values: 0 and 1.
834  */
835 #ifndef NRFX_UARTE_CONFIG_TX_LINK
836 #define NRFX_UARTE_CONFIG_TX_LINK 1
837 #endif
838 
839 /**
840  * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
841  *
842  * Integer value. Minimum: 0. Maximum: 7.
843  */
844 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
845 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
846 #endif
847 
848 /**
849  * @brief NRFX_UARTE_CONFIG_LOG_ENABLED
850  *
851  * Boolean. Accepted values: 0 and 1.
852  */
853 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
854 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
855 #endif
856 
857 /**
858  * @brief NRFX_UARTE_CONFIG_LOG_LEVEL
859  *
860  * Integer value.
861  * Supported values:
862  * - Off     = 0
863  * - Error   = 1
864  * - Warning = 2
865  * - Info    = 3
866  * - Debug   = 4
867  */
868 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
869 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
870 #endif
871 
872 /**
873  * @brief NRFX_UARTE0_ENABLED
874  *
875  * Boolean. Accepted values: 0 and 1.
876  */
877 #ifndef NRFX_UARTE0_ENABLED
878 #define NRFX_UARTE0_ENABLED 0
879 #endif
880 
881 /**
882  * @brief NRFX_WDT_ENABLED
883  *
884  * Boolean. Accepted values: 0 and 1.
885  */
886 #ifndef NRFX_WDT_ENABLED
887 #define NRFX_WDT_ENABLED 0
888 #endif
889 
890 /**
891  * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY
892  *
893  * Integer value. Minimum: 0. Maximum: 7.
894  */
895 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY
896 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
897 #endif
898 
899 /**
900  * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver
901  *
902  * Boolean. Accepted values: 0 and 1.
903  */
904 #ifndef NRFX_WDT_CONFIG_NO_IRQ
905 #define NRFX_WDT_CONFIG_NO_IRQ 0
906 #endif
907 
908 /**
909  * @brief NRFX_WDT_CONFIG_LOG_ENABLED
910  *
911  * Boolean. Accepted values: 0 and 1.
912  */
913 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
914 #define NRFX_WDT_CONFIG_LOG_ENABLED 0
915 #endif
916 
917 /**
918  * @brief NRFX_WDT_CONFIG_LOG_LEVEL
919  *
920  * Integer value.
921  * Supported values:
922  * - Off     = 0
923  * - Error   = 1
924  * - Warning = 2
925  * - Info    = 3
926  * - Debug   = 4
927  */
928 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
929 #define NRFX_WDT_CONFIG_LOG_LEVEL 3
930 #endif
931 
932 #endif // NRFX_CONFIG_NRF5340_NETWORK_H__
933