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