1 /*
2  * Copyright (c) 2020 - 2023, Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef NRFX_CONFIG_NRF52820_H__
8 #define NRFX_CONFIG_NRF52820_H__
9 
10 #ifndef NRFX_CONFIG_H__
11 #error "This file should not be included directly. Include nrfx_config.h instead."
12 #endif
13 
14 
15 /**
16  * @brief NRFX_DEFAULT_IRQ_PRIORITY
17  *
18  * Integer value. Minimum: 0 Maximum: 7
19  */
20 #ifndef NRFX_DEFAULT_IRQ_PRIORITY
21 #define NRFX_DEFAULT_IRQ_PRIORITY 7
22 #endif
23 
24 /**
25  * @brief NRFX_CLOCK_ENABLED
26  *
27  * Boolean. Accepted values 0 and 1.
28  */
29 #ifndef NRFX_CLOCK_ENABLED
30 #define NRFX_CLOCK_ENABLED 0
31 #endif
32 
33 /**
34  * @brief NRFX_CLOCK_CONFIG_LF_SRC
35  *
36  * Integer value.
37  * Supported values:
38  * - RC    = 0
39  * - XTAL  = 1
40  * - Synth = 2
41  * - External Low Swing  = 131073
42  * - External Full Swing = 196609
43  */
44 #ifndef NRFX_CLOCK_CONFIG_LF_SRC
45 #define NRFX_CLOCK_CONFIG_LF_SRC 1
46 #endif
47 
48 /**
49  * @brief NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
50  *
51  * Boolean. Accepted values 0 and 1.
52  */
53 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
54 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0
55 #endif
56 
57 /**
58  * @brief NRFX_CLOCK_CONFIG_CT_ENABLED
59  *
60  * Boolean. Accepted values 0 and 1.
61  */
62 #ifndef NRFX_CLOCK_CONFIG_CT_ENABLED
63 #define NRFX_CLOCK_CONFIG_CT_ENABLED 0
64 #endif
65 
66 /**
67  * @brief NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED
68  *
69  * Boolean. Accepted values 0 and 1.
70  */
71 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED
72 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0
73 #endif
74 
75 /**
76  * @brief NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
77  *
78  * Integer value. Minimum: 0 Maximum: 7
79  */
80 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
81 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
82 #endif
83 
84 /**
85  * @brief NRFX_CLOCK_CONFIG_LOG_ENABLED
86  *
87  * Boolean. Accepted values 0 and 1.
88  */
89 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
90 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
91 #endif
92 
93 /**
94  * @brief NRFX_CLOCK_CONFIG_LOG_LEVEL
95  *
96  * Integer value.
97  * Supported values:
98  * - Off     = 0
99  * - Error   = 1
100  * - Warning = 2
101  * - Info    = 3
102  * - Debug   = 4
103  */
104 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
105 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
106 #endif
107 
108 /**
109  * @brief NRFX_COMP_ENABLED
110  *
111  * Boolean. Accepted values 0 and 1.
112  */
113 #ifndef NRFX_COMP_ENABLED
114 #define NRFX_COMP_ENABLED 0
115 #endif
116 
117 /**
118  * @brief NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY
119  *
120  * Integer value. Minimum: 0 Maximum: 7
121  */
122 #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY
123 #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
124 #endif
125 
126 /**
127  * @brief NRFX_COMP_CONFIG_LOG_ENABLED
128  *
129  * Boolean. Accepted values 0 and 1.
130  */
131 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED
132 #define NRFX_COMP_CONFIG_LOG_ENABLED 0
133 #endif
134 
135 /**
136  * @brief NRFX_COMP_CONFIG_LOG_LEVEL
137  *
138  * Integer value.
139  * Supported values:
140  * - Off     = 0
141  * - Error   = 1
142  * - Warning = 2
143  * - Info    = 3
144  * - Debug   = 4
145  */
146 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL
147 #define NRFX_COMP_CONFIG_LOG_LEVEL 3
148 #endif
149 
150 /**
151  * @brief NRFX_EGU_ENABLED
152  *
153  * Boolean. Accepted values 0 and 1.
154  */
155 #ifndef NRFX_EGU_ENABLED
156 #define NRFX_EGU_ENABLED 0
157 #endif
158 
159 /**
160  * @brief NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY
161  *
162  * Integer value. Minimum: 0 Maximum: 7
163  */
164 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY
165 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
166 #endif
167 
168 /**
169  * @brief NRFX_EGU0_ENABLED
170  *
171  * Boolean. Accepted values 0 and 1.
172  */
173 #ifndef NRFX_EGU0_ENABLED
174 #define NRFX_EGU0_ENABLED 0
175 #endif
176 
177 /**
178  * @brief NRFX_EGU1_ENABLED
179  *
180  * Boolean. Accepted values 0 and 1.
181  */
182 #ifndef NRFX_EGU1_ENABLED
183 #define NRFX_EGU1_ENABLED 0
184 #endif
185 
186 /**
187  * @brief NRFX_EGU2_ENABLED
188  *
189  * Boolean. Accepted values 0 and 1.
190  */
191 #ifndef NRFX_EGU2_ENABLED
192 #define NRFX_EGU2_ENABLED 0
193 #endif
194 
195 /**
196  * @brief NRFX_EGU3_ENABLED
197  *
198  * Boolean. Accepted values 0 and 1.
199  */
200 #ifndef NRFX_EGU3_ENABLED
201 #define NRFX_EGU3_ENABLED 0
202 #endif
203 
204 /**
205  * @brief NRFX_EGU4_ENABLED
206  *
207  * Boolean. Accepted values 0 and 1.
208  */
209 #ifndef NRFX_EGU4_ENABLED
210 #define NRFX_EGU4_ENABLED 0
211 #endif
212 
213 /**
214  * @brief NRFX_EGU5_ENABLED
215  *
216  * Boolean. Accepted values 0 and 1.
217  */
218 #ifndef NRFX_EGU5_ENABLED
219 #define NRFX_EGU5_ENABLED 0
220 #endif
221 
222 /**
223  * @brief NRFX_GPIOTE_ENABLED
224  *
225  * Boolean. Accepted values 0 and 1.
226  */
227 #ifndef NRFX_GPIOTE_ENABLED
228 #define NRFX_GPIOTE_ENABLED 0
229 #endif
230 
231 /**
232  * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY
233  *
234  * Integer value. Minimum: 0 Maximum: 7
235  */
236 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY
237 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
238 #endif
239 
240 /**
241  * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS
242  *
243  * Integer value. Minimum: 0 Maximum: 15
244  */
245 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS
246 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 1
247 #endif
248 
249 /**
250  * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED
251  *
252  * Boolean. Accepted values 0 and 1.
253  */
254 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
255 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
256 #endif
257 
258 /**
259  * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL
260  *
261  * Integer value.
262  * Supported values:
263  * - Off     = 0
264  * - Error   = 1
265  * - Warning = 2
266  * - Info    = 3
267  * - Debug   = 4
268  */
269 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
270 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
271 #endif
272 
273 /**
274  * @brief NRFX_NVMC_ENABLED
275  *
276  * Boolean. Accepted values 0 and 1.
277  */
278 #ifndef NRFX_NVMC_ENABLED
279 #define NRFX_NVMC_ENABLED 0
280 #endif
281 
282 /**
283  * @brief NRFX_POWER_ENABLED
284  *
285  * Boolean. Accepted values 0 and 1.
286  */
287 #ifndef NRFX_POWER_ENABLED
288 #define NRFX_POWER_ENABLED 0
289 #endif
290 
291 /**
292  * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY
293  *
294  * Integer value. Minimum: 0 Maximum: 7
295  */
296 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY
297 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
298 #endif
299 
300 /**
301  * @brief NRFX_PPI_ENABLED
302  *
303  * Boolean. Accepted values 0 and 1.
304  */
305 #ifndef NRFX_PPI_ENABLED
306 #define NRFX_PPI_ENABLED 0
307 #endif
308 
309 /**
310  * @brief NRFX_PPI_CONFIG_LOG_ENABLED
311  *
312  * Boolean. Accepted values 0 and 1.
313  */
314 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED
315 #define NRFX_PPI_CONFIG_LOG_ENABLED 0
316 #endif
317 
318 /**
319  * @brief NRFX_PPI_CONFIG_LOG_LEVEL
320  *
321  * Integer value.
322  * Supported values:
323  * - Off     = 0
324  * - Error   = 1
325  * - Warning = 2
326  * - Info    = 3
327  * - Debug   = 4
328  */
329 #ifndef NRFX_PPI_CONFIG_LOG_LEVEL
330 #define NRFX_PPI_CONFIG_LOG_LEVEL 3
331 #endif
332 
333 /**
334  * @brief NRFX_PRS_ENABLED
335  *
336  * Boolean. Accepted values 0 and 1.
337  */
338 #ifndef NRFX_PRS_ENABLED
339 #define NRFX_PRS_ENABLED 0
340 #endif
341 
342 /**
343  * @brief NRFX_PRS_CONFIG_LOG_ENABLED
344  *
345  * Boolean. Accepted values 0 and 1.
346  */
347 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
348 #define NRFX_PRS_CONFIG_LOG_ENABLED 0
349 #endif
350 
351 /**
352  * @brief NRFX_PRS_CONFIG_LOG_LEVEL
353  *
354  * Integer value.
355  * Supported values:
356  * - Off     = 0
357  * - Error   = 1
358  * - Warning = 2
359  * - Info    = 3
360  * - Debug   = 4
361  */
362 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
363 #define NRFX_PRS_CONFIG_LOG_LEVEL 3
364 #endif
365 
366 /**
367  * @brief NRFX_PRS_BOX_0_ENABLED
368  *
369  * Boolean. Accepted values 0 and 1.
370  */
371 #ifndef NRFX_PRS_BOX_0_ENABLED
372 #define NRFX_PRS_BOX_0_ENABLED 0
373 #endif
374 
375 /**
376  * @brief NRFX_PRS_BOX_1_ENABLED
377  *
378  * Boolean. Accepted values 0 and 1.
379  */
380 #ifndef NRFX_PRS_BOX_1_ENABLED
381 #define NRFX_PRS_BOX_1_ENABLED 0
382 #endif
383 
384 /**
385  * @brief NRFX_PRS_BOX_2_ENABLED
386  *
387  * Boolean. Accepted values 0 and 1.
388  */
389 #ifndef NRFX_PRS_BOX_2_ENABLED
390 #define NRFX_PRS_BOX_2_ENABLED 0
391 #endif
392 
393 /**
394  * @brief NRFX_PRS_BOX_4_ENABLED
395  *
396  * Boolean. Accepted values 0 and 1.
397  */
398 #ifndef NRFX_PRS_BOX_4_ENABLED
399 #define NRFX_PRS_BOX_4_ENABLED 0
400 #endif
401 
402 /**
403  * @brief NRFX_QDEC_ENABLED
404  *
405  * Boolean. Accepted values 0 and 1.
406  */
407 #ifndef NRFX_QDEC_ENABLED
408 #define NRFX_QDEC_ENABLED 0
409 #endif
410 
411 /**
412  * @brief NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY
413  *
414  * Integer value. Minimum: 0 Maximum: 7
415  */
416 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY
417 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
418 #endif
419 
420 /**
421  * @brief NRFX_QDEC_CONFIG_LOG_ENABLED
422  *
423  * Boolean. Accepted values 0 and 1.
424  */
425 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
426 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
427 #endif
428 
429 /**
430  * @brief NRFX_QDEC_CONFIG_LOG_LEVEL
431  *
432  * Integer value.
433  * Supported values:
434  * - Off     = 0
435  * - Error   = 1
436  * - Warning = 2
437  * - Info    = 3
438  * - Debug   = 4
439  */
440 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
441 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
442 #endif
443 
444 /**
445  * @brief NRFX_RNG_ENABLED
446  *
447  * Boolean. Accepted values 0 and 1.
448  */
449 #ifndef NRFX_RNG_ENABLED
450 #define NRFX_RNG_ENABLED 0
451 #endif
452 
453 /**
454  * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY
455  *
456  * Integer value. Minimum: 0 Maximum: 7
457  */
458 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY
459 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
460 #endif
461 
462 /**
463  * @brief NRFX_RNG_CONFIG_LOG_ENABLED
464  *
465  * Boolean. Accepted values 0 and 1.
466  */
467 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED
468 #define NRFX_RNG_CONFIG_LOG_ENABLED 0
469 #endif
470 
471 /**
472  * @brief NRFX_RNG_CONFIG_LOG_LEVEL
473  *
474  * Integer value.
475  * Supported values:
476  * - Off     = 0
477  * - Error   = 1
478  * - Warning = 2
479  * - Info    = 3
480  * - Debug   = 4
481  */
482 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL
483 #define NRFX_RNG_CONFIG_LOG_LEVEL 3
484 #endif
485 
486 /**
487  * @brief NRFX_RTC_ENABLED
488  *
489  * Boolean. Accepted values 0 and 1.
490  */
491 #ifndef NRFX_RTC_ENABLED
492 #define NRFX_RTC_ENABLED 0
493 #endif
494 
495 /**
496  * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
497  *
498  * Integer value. Minimum: 0 Maximum: 7
499  */
500 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
501 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
502 #endif
503 
504 /**
505  * @brief NRFX_RTC_CONFIG_LOG_ENABLED
506  *
507  * Boolean. Accepted values 0 and 1.
508  */
509 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
510 #define NRFX_RTC_CONFIG_LOG_ENABLED 0
511 #endif
512 
513 /**
514  * @brief NRFX_RTC_CONFIG_LOG_LEVEL
515  *
516  * Integer value.
517  * Supported values:
518  * - Off     = 0
519  * - Error   = 1
520  * - Warning = 2
521  * - Info    = 3
522  * - Debug   = 4
523  */
524 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
525 #define NRFX_RTC_CONFIG_LOG_LEVEL 3
526 #endif
527 
528 /**
529  * @brief NRFX_RTC0_ENABLED
530  *
531  * Boolean. Accepted values 0 and 1.
532  */
533 #ifndef NRFX_RTC0_ENABLED
534 #define NRFX_RTC0_ENABLED 0
535 #endif
536 
537 /**
538  * @brief NRFX_RTC1_ENABLED
539  *
540  * Boolean. Accepted values 0 and 1.
541  */
542 #ifndef NRFX_RTC1_ENABLED
543 #define NRFX_RTC1_ENABLED 0
544 #endif
545 
546 /**
547  * @brief NRFX_SPI_ENABLED
548  *
549  * Boolean. Accepted values 0 and 1.
550  */
551 #ifndef NRFX_SPI_ENABLED
552 #define NRFX_SPI_ENABLED 0
553 #endif
554 
555 /**
556  * @brief NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY
557  *
558  * Integer value. Minimum: 0 Maximum: 7
559  */
560 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY
561 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
562 #endif
563 
564 /**
565  * @brief NRFX_SPI_CONFIG_LOG_ENABLED
566  *
567  * Boolean. Accepted values 0 and 1.
568  */
569 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED
570 #define NRFX_SPI_CONFIG_LOG_ENABLED 0
571 #endif
572 
573 /**
574  * @brief NRFX_SPI_CONFIG_LOG_LEVEL
575  *
576  * Integer value.
577  * Supported values:
578  * - Off     = 0
579  * - Error   = 1
580  * - Warning = 2
581  * - Info    = 3
582  * - Debug   = 4
583  */
584 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL
585 #define NRFX_SPI_CONFIG_LOG_LEVEL 3
586 #endif
587 
588 /**
589  * @brief NRFX_SPI0_ENABLED
590  *
591  * Boolean. Accepted values 0 and 1.
592  */
593 #ifndef NRFX_SPI0_ENABLED
594 #define NRFX_SPI0_ENABLED 0
595 #endif
596 
597 /**
598  * @brief NRFX_SPI1_ENABLED
599  *
600  * Boolean. Accepted values 0 and 1.
601  */
602 #ifndef NRFX_SPI1_ENABLED
603 #define NRFX_SPI1_ENABLED 0
604 #endif
605 
606 /**
607  * @brief NRFX_SPIM_ENABLED
608  *
609  * Boolean. Accepted values 0 and 1.
610  */
611 #ifndef NRFX_SPIM_ENABLED
612 #define NRFX_SPIM_ENABLED 0
613 #endif
614 
615 /**
616  * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
617  *
618  * Integer value. Minimum: 0 Maximum: 7
619  */
620 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
621 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
622 #endif
623 
624 /**
625  * @brief NRFX_SPIM_CONFIG_LOG_ENABLED
626  *
627  * Boolean. Accepted values 0 and 1.
628  */
629 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
630 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
631 #endif
632 
633 /**
634  * @brief NRFX_SPIM_CONFIG_LOG_LEVEL
635  *
636  * Integer value.
637  * Supported values:
638  * - Off     = 0
639  * - Error   = 1
640  * - Warning = 2
641  * - Info    = 3
642  * - Debug   = 4
643  */
644 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
645 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
646 #endif
647 
648 /**
649  * @brief NRFX_SPIM0_ENABLED
650  *
651  * Boolean. Accepted values 0 and 1.
652  */
653 #ifndef NRFX_SPIM0_ENABLED
654 #define NRFX_SPIM0_ENABLED 0
655 #endif
656 
657 /**
658  * @brief NRFX_SPIM1_ENABLED
659  *
660  * Boolean. Accepted values 0 and 1.
661  */
662 #ifndef NRFX_SPIM1_ENABLED
663 #define NRFX_SPIM1_ENABLED 0
664 #endif
665 
666 /**
667  * @brief NRFX_SPIS_ENABLED
668  *
669  * Boolean. Accepted values 0 and 1.
670  */
671 #ifndef NRFX_SPIS_ENABLED
672 #define NRFX_SPIS_ENABLED 0
673 #endif
674 
675 /**
676  * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
677  *
678  * Integer value. Minimum: 0 Maximum: 7
679  */
680 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
681 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
682 #endif
683 
684 /**
685  * @brief NRFX_SPIS_CONFIG_LOG_ENABLED
686  *
687  * Boolean. Accepted values 0 and 1.
688  */
689 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
690 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
691 #endif
692 
693 /**
694  * @brief NRFX_SPIS_CONFIG_LOG_LEVEL
695  *
696  * Integer value.
697  * Supported values:
698  * - Off     = 0
699  * - Error   = 1
700  * - Warning = 2
701  * - Info    = 3
702  * - Debug   = 4
703  */
704 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
705 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
706 #endif
707 
708 /**
709  * @brief NRFX_SPIS0_ENABLED
710  *
711  * Boolean. Accepted values 0 and 1.
712  */
713 #ifndef NRFX_SPIS0_ENABLED
714 #define NRFX_SPIS0_ENABLED 0
715 #endif
716 
717 /**
718  * @brief NRFX_SPIS1_ENABLED
719  *
720  * Boolean. Accepted values 0 and 1.
721  */
722 #ifndef NRFX_SPIS1_ENABLED
723 #define NRFX_SPIS1_ENABLED 0
724 #endif
725 
726 /**
727  * @brief NRFX_SYSTICK_ENABLED
728  *
729  * Boolean. Accepted values 0 and 1.
730  */
731 #ifndef NRFX_SYSTICK_ENABLED
732 #define NRFX_SYSTICK_ENABLED 0
733 #endif
734 
735 /**
736  * @brief NRFX_TEMP_ENABLED
737  *
738  * Boolean. Accepted values 0 and 1.
739  */
740 #ifndef NRFX_TEMP_ENABLED
741 #define NRFX_TEMP_ENABLED 0
742 #endif
743 
744 /**
745  * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY
746  *
747  * Integer value. Minimum: 0 Maximum: 7
748  */
749 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY
750 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
751 #endif
752 
753 /**
754  * @brief NRFX_TEMP_CONFIG_LOG_ENABLED
755  *
756  * Boolean. Accepted values 0 and 1.
757  */
758 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED
759 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0
760 #endif
761 
762 /**
763  * @brief NRFX_TEMP_CONFIG_LOG_LEVEL
764  *
765  * Integer value.
766  * Supported values:
767  * - Off     = 0
768  * - Error   = 1
769  * - Warning = 2
770  * - Info    = 3
771  * - Debug   = 4
772  */
773 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL
774 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3
775 #endif
776 
777 /**
778  * @brief NRFX_TIMER_ENABLED
779  *
780  * Boolean. Accepted values 0 and 1.
781  */
782 #ifndef NRFX_TIMER_ENABLED
783 #define NRFX_TIMER_ENABLED 0
784 #endif
785 
786 /**
787  * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
788  *
789  * Integer value. Minimum: 0 Maximum: 7
790  */
791 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
792 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
793 #endif
794 
795 /**
796  * @brief NRFX_TIMER_CONFIG_LOG_ENABLED
797  *
798  * Boolean. Accepted values 0 and 1.
799  */
800 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
801 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
802 #endif
803 
804 /**
805  * @brief NRFX_TIMER_CONFIG_LOG_LEVEL
806  *
807  * Integer value.
808  * Supported values:
809  * - Off     = 0
810  * - Error   = 1
811  * - Warning = 2
812  * - Info    = 3
813  * - Debug   = 4
814  */
815 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
816 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
817 #endif
818 
819 /**
820  * @brief NRFX_TIMER0_ENABLED
821  *
822  * Boolean. Accepted values 0 and 1.
823  */
824 #ifndef NRFX_TIMER0_ENABLED
825 #define NRFX_TIMER0_ENABLED 0
826 #endif
827 
828 /**
829  * @brief NRFX_TIMER1_ENABLED
830  *
831  * Boolean. Accepted values 0 and 1.
832  */
833 #ifndef NRFX_TIMER1_ENABLED
834 #define NRFX_TIMER1_ENABLED 0
835 #endif
836 
837 /**
838  * @brief NRFX_TIMER2_ENABLED
839  *
840  * Boolean. Accepted values 0 and 1.
841  */
842 #ifndef NRFX_TIMER2_ENABLED
843 #define NRFX_TIMER2_ENABLED 0
844 #endif
845 
846 /**
847  * @brief NRFX_TIMER3_ENABLED
848  *
849  * Boolean. Accepted values 0 and 1.
850  */
851 #ifndef NRFX_TIMER3_ENABLED
852 #define NRFX_TIMER3_ENABLED 0
853 #endif
854 
855 /**
856  * @brief NRFX_TWI_ENABLED
857  *
858  * Boolean. Accepted values 0 and 1.
859  */
860 #ifndef NRFX_TWI_ENABLED
861 #define NRFX_TWI_ENABLED 0
862 #endif
863 
864 /**
865  * @brief NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
866  *
867  * Integer value. Minimum: 0 Maximum: 7
868  */
869 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
870 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
871 #endif
872 
873 /**
874  * @brief NRFX_TWI_CONFIG_LOG_ENABLED
875  *
876  * Boolean. Accepted values 0 and 1.
877  */
878 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED
879 #define NRFX_TWI_CONFIG_LOG_ENABLED 0
880 #endif
881 
882 /**
883  * @brief NRFX_TWI_CONFIG_LOG_LEVEL
884  *
885  * Integer value.
886  * Supported values:
887  * - Off     = 0
888  * - Error   = 1
889  * - Warning = 2
890  * - Info    = 3
891  * - Debug   = 4
892  */
893 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL
894 #define NRFX_TWI_CONFIG_LOG_LEVEL 3
895 #endif
896 
897 /**
898  * @brief NRFX_TWI0_ENABLED
899  *
900  * Boolean. Accepted values 0 and 1.
901  */
902 #ifndef NRFX_TWI0_ENABLED
903 #define NRFX_TWI0_ENABLED 0
904 #endif
905 
906 /**
907  * @brief NRFX_TWI1_ENABLED
908  *
909  * Boolean. Accepted values 0 and 1.
910  */
911 #ifndef NRFX_TWI1_ENABLED
912 #define NRFX_TWI1_ENABLED 0
913 #endif
914 
915 /**
916  * @brief NRFX_TWIM_ENABLED
917  *
918  * Boolean. Accepted values 0 and 1.
919  */
920 #ifndef NRFX_TWIM_ENABLED
921 #define NRFX_TWIM_ENABLED 0
922 #endif
923 
924 /**
925  * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
926  *
927  * Integer value. Minimum: 0 Maximum: 7
928  */
929 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
930 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
931 #endif
932 
933 /**
934  * @brief NRFX_TWIM_CONFIG_LOG_ENABLED
935  *
936  * Boolean. Accepted values 0 and 1.
937  */
938 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
939 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
940 #endif
941 
942 /**
943  * @brief NRFX_TWIM_CONFIG_LOG_LEVEL
944  *
945  * Integer value.
946  * Supported values:
947  * - Off     = 0
948  * - Error   = 1
949  * - Warning = 2
950  * - Info    = 3
951  * - Debug   = 4
952  */
953 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
954 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
955 #endif
956 
957 /**
958  * @brief NRFX_TWIM0_ENABLED
959  *
960  * Boolean. Accepted values 0 and 1.
961  */
962 #ifndef NRFX_TWIM0_ENABLED
963 #define NRFX_TWIM0_ENABLED 0
964 #endif
965 
966 /**
967  * @brief NRFX_TWIM1_ENABLED
968  *
969  * Boolean. Accepted values 0 and 1.
970  */
971 #ifndef NRFX_TWIM1_ENABLED
972 #define NRFX_TWIM1_ENABLED 0
973 #endif
974 
975 /**
976  * @brief NRFX_TWIS_ENABLED
977  *
978  * Boolean. Accepted values 0 and 1.
979  */
980 #ifndef NRFX_TWIS_ENABLED
981 #define NRFX_TWIS_ENABLED 0
982 #endif
983 
984 /**
985  * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
986  *
987  * Integer value. Minimum: 0 Maximum: 7
988  */
989 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
990 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
991 #endif
992 
993 /**
994  * @brief NRFX_TWIS_CONFIG_LOG_ENABLED
995  *
996  * Boolean. Accepted values 0 and 1.
997  */
998 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
999 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
1000 #endif
1001 
1002 /**
1003  * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized
1004  * only once.
1005  *
1006  * Boolean. Accepted values 0 and 1.
1007  */
1008 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
1009 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
1010 #endif
1011 
1012 /**
1013  * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode.
1014  *
1015  * Boolean. Accepted values 0 and 1.
1016  */
1017 #ifndef NRFX_TWIS_NO_SYNC_MODE
1018 #define NRFX_TWIS_NO_SYNC_MODE 0
1019 #endif
1020 
1021 /**
1022  * @brief NRFX_TWIS_CONFIG_LOG_LEVEL
1023  *
1024  * Integer value.
1025  * Supported values:
1026  * - Off     = 0
1027  * - Error   = 1
1028  * - Warning = 2
1029  * - Info    = 3
1030  * - Debug   = 4
1031  */
1032 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
1033 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
1034 #endif
1035 
1036 /**
1037  * @brief NRFX_TWIS0_ENABLED
1038  *
1039  * Boolean. Accepted values 0 and 1.
1040  */
1041 #ifndef NRFX_TWIS0_ENABLED
1042 #define NRFX_TWIS0_ENABLED 0
1043 #endif
1044 
1045 /**
1046  * @brief NRFX_TWIS1_ENABLED
1047  *
1048  * Boolean. Accepted values 0 and 1.
1049  */
1050 #ifndef NRFX_TWIS1_ENABLED
1051 #define NRFX_TWIS1_ENABLED 0
1052 #endif
1053 
1054 /**
1055  * @brief NRFX_UART_ENABLED
1056  *
1057  * Boolean. Accepted values 0 and 1.
1058  */
1059 #ifndef NRFX_UART_ENABLED
1060 #define NRFX_UART_ENABLED 0
1061 #endif
1062 
1063 /**
1064  * @brief NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
1065  *
1066  * Integer value. Minimum: 0 Maximum: 7
1067  */
1068 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
1069 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
1070 #endif
1071 
1072 /**
1073  * @brief NRFX_UART_CONFIG_LOG_ENABLED
1074  *
1075  * Boolean. Accepted values 0 and 1.
1076  */
1077 #ifndef NRFX_UART_CONFIG_LOG_ENABLED
1078 #define NRFX_UART_CONFIG_LOG_ENABLED 0
1079 #endif
1080 
1081 /**
1082  * @brief NRFX_UART_CONFIG_LOG_LEVEL
1083  *
1084  * Integer value.
1085  * Supported values:
1086  * - Off     = 0
1087  * - Error   = 1
1088  * - Warning = 2
1089  * - Info    = 3
1090  * - Debug   = 4
1091  */
1092 #ifndef NRFX_UART_CONFIG_LOG_LEVEL
1093 #define NRFX_UART_CONFIG_LOG_LEVEL 3
1094 #endif
1095 
1096 /**
1097  * @brief NRFX_UART0_ENABLED
1098  *
1099  * Boolean. Accepted values 0 and 1.
1100  */
1101 #ifndef NRFX_UART0_ENABLED
1102 #define NRFX_UART0_ENABLED 0
1103 #endif
1104 
1105 /**
1106  * @brief NRFX_UARTE_ENABLED
1107  *
1108  * Boolean. Accepted values 0 and 1.
1109  */
1110 #ifndef NRFX_UARTE_ENABLED
1111 #define NRFX_UARTE_ENABLED 0
1112 #endif
1113 
1114 /**
1115  * @brief NRFX_UARTE_RX_FIFO_FLUSH_WORKAROUND_MAGIC_BYTE
1116  *
1117  * Integer value. Minimum: 0. Maximum: 255.
1118  */
1119 #ifndef NRFX_UARTE_RX_FIFO_FLUSH_WORKAROUND_MAGIC_BYTE
1120 #define NRFX_UARTE_RX_FIFO_FLUSH_WORKAROUND_MAGIC_BYTE 171
1121 #endif
1122 
1123 /**
1124  * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
1125  *
1126  * Integer value. Minimum: 0 Maximum: 7
1127  */
1128 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
1129 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
1130 #endif
1131 
1132 /**
1133  * @brief NRFX_UARTE_CONFIG_LOG_ENABLED
1134  *
1135  * Boolean. Accepted values 0 and 1.
1136  */
1137 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
1138 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
1139 #endif
1140 
1141 /**
1142  * @brief NRFX_UARTE_CONFIG_LOG_LEVEL
1143  *
1144  * Integer value.
1145  * Supported values:
1146  * - Off     = 0
1147  * - Error   = 1
1148  * - Warning = 2
1149  * - Info    = 3
1150  * - Debug   = 4
1151  */
1152 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
1153 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
1154 #endif
1155 
1156 /**
1157  * @brief NRFX_UARTE0_ENABLED
1158  *
1159  * Boolean. Accepted values 0 and 1.
1160  */
1161 #ifndef NRFX_UARTE0_ENABLED
1162 #define NRFX_UARTE0_ENABLED 0
1163 #endif
1164 
1165 /**
1166  * @brief NRFX_USBD_ENABLED
1167  *
1168  * Boolean. Accepted values 0 and 1.
1169  */
1170 #ifndef NRFX_USBD_ENABLED
1171 #define NRFX_USBD_ENABLED 0
1172 #endif
1173 
1174 /**
1175  * @brief NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY
1176  *
1177  * Integer value. Minimum: 0 Maximum: 7
1178  */
1179 #ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY
1180 #define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
1181 #endif
1182 
1183 /**
1184  * @brief NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
1185  *
1186  * Boolean. Accepted values 0 and 1.
1187  */
1188 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
1189 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
1190 #endif
1191 
1192 /**
1193  * @brief NRFX_USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when
1194  * no data is ready.
1195  *
1196  * Boolean. Accepted values 0 and 1.
1197  */
1198 #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP
1199 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
1200 #endif
1201 
1202 /**
1203  * @brief NRFX_USBD_CONFIG_LOG_ENABLED
1204  *
1205  * Boolean. Accepted values 0 and 1.
1206  */
1207 #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
1208 #define NRFX_USBD_CONFIG_LOG_ENABLED 0
1209 #endif
1210 
1211 /**
1212  * @brief NRFX_USBD_CONFIG_LOG_LEVEL
1213  *
1214  * Integer value.
1215  * Supported values:
1216  * - Off     = 0
1217  * - Error   = 1
1218  * - Warning = 2
1219  * - Info    = 3
1220  * - Debug   = 4
1221  */
1222 #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
1223 #define NRFX_USBD_CONFIG_LOG_LEVEL 3
1224 #endif
1225 
1226 /**
1227  * @brief NRFX_WDT_ENABLED
1228  *
1229  * Boolean. Accepted values 0 and 1.
1230  */
1231 #ifndef NRFX_WDT_ENABLED
1232 #define NRFX_WDT_ENABLED 0
1233 #endif
1234 
1235 /**
1236  * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY
1237  *
1238  * Integer value. Minimum: 0 Maximum: 7
1239  */
1240 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY
1241 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
1242 #endif
1243 
1244 /**
1245  * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver
1246  *
1247  * Boolean. Accepted values 0 and 1.
1248  */
1249 #ifndef NRFX_WDT_CONFIG_NO_IRQ
1250 #define NRFX_WDT_CONFIG_NO_IRQ 0
1251 #endif
1252 
1253 /**
1254  * @brief NRFX_WDT_CONFIG_LOG_ENABLED
1255  *
1256  * Boolean. Accepted values 0 and 1.
1257  */
1258 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
1259 #define NRFX_WDT_CONFIG_LOG_ENABLED 0
1260 #endif
1261 
1262 /**
1263  * @brief NRFX_WDT_CONFIG_LOG_LEVEL
1264  *
1265  * Integer value.
1266  * Supported values:
1267  * - Off     = 0
1268  * - Error   = 1
1269  * - Warning = 2
1270  * - Info    = 3
1271  * - Debug   = 4
1272  */
1273 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
1274 #define NRFX_WDT_CONFIG_LOG_LEVEL 3
1275 #endif
1276 
1277 #endif // NRFX_CONFIG_NRF52820_H__
1278