1 #ifndef NRFX_CONFIG_H__
2 #define NRFX_CONFIG_H__
3 
4 // <<< Use Configuration Wizard in Context Menu >>>\n
5 
6 // <h> nRF_Drivers
7 
8 // <e> NRFX_ADC_ENABLED - nrfx_adc - ADC peripheral driver
9 //==========================================================
10 #ifndef NRFX_ADC_ENABLED
11 #define NRFX_ADC_ENABLED 1
12 #endif
13 // <o> NRFX_ADC_CONFIG_IRQ_PRIORITY  - Interrupt priority
14 
15 // <0=> 0 (highest)
16 // <1=> 1
17 // <2=> 2
18 // <3=> 3
19 
20 #ifndef NRFX_ADC_CONFIG_IRQ_PRIORITY
21 #define NRFX_ADC_CONFIG_IRQ_PRIORITY 3
22 #endif
23 
24 // <e> NRFX_ADC_CONFIG_LOG_ENABLED - Enables logging in the module.
25 //==========================================================
26 #ifndef NRFX_ADC_CONFIG_LOG_ENABLED
27 #define NRFX_ADC_CONFIG_LOG_ENABLED 0
28 #endif
29 // <o> NRFX_ADC_CONFIG_LOG_LEVEL  - Default Severity level
30 
31 // <0=> Off
32 // <1=> Error
33 // <2=> Warning
34 // <3=> Info
35 // <4=> Debug
36 
37 #ifndef NRFX_ADC_CONFIG_LOG_LEVEL
38 #define NRFX_ADC_CONFIG_LOG_LEVEL 3
39 #endif
40 
41 // <o> NRFX_ADC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
42 
43 // <0=> Default
44 // <1=> Black
45 // <2=> Red
46 // <3=> Green
47 // <4=> Yellow
48 // <5=> Blue
49 // <6=> Magenta
50 // <7=> Cyan
51 // <8=> White
52 
53 #ifndef NRFX_ADC_CONFIG_INFO_COLOR
54 #define NRFX_ADC_CONFIG_INFO_COLOR 0
55 #endif
56 
57 // <o> NRFX_ADC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
58 
59 // <0=> Default
60 // <1=> Black
61 // <2=> Red
62 // <3=> Green
63 // <4=> Yellow
64 // <5=> Blue
65 // <6=> Magenta
66 // <7=> Cyan
67 // <8=> White
68 
69 #ifndef NRFX_ADC_CONFIG_DEBUG_COLOR
70 #define NRFX_ADC_CONFIG_DEBUG_COLOR 0
71 #endif
72 
73 // </e>
74 
75 // </e>
76 
77 // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
78 //==========================================================
79 #ifndef NRFX_CLOCK_ENABLED
80 #define NRFX_CLOCK_ENABLED 1
81 #endif
82 // <o> NRFX_CLOCK_CONFIG_LF_SRC  - LF Clock Source
83 
84 // <0=> RC
85 // <1=> XTAL
86 // <2=> Synth
87 
88 #ifndef NRFX_CLOCK_CONFIG_LF_SRC
89 #define NRFX_CLOCK_CONFIG_LF_SRC 1
90 #endif
91 
92 // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY  - Interrupt priority
93 
94 // <0=> 0 (highest)
95 // <1=> 1
96 // <2=> 2
97 // <3=> 3
98 
99 #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
100 #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 3
101 #endif
102 
103 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
104 //==========================================================
105 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
106 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
107 #endif
108 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL  - Default Severity level
109 
110 // <0=> Off
111 // <1=> Error
112 // <2=> Warning
113 // <3=> Info
114 // <4=> Debug
115 
116 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
117 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
118 #endif
119 
120 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR  - ANSI escape code prefix.
121 
122 // <0=> Default
123 // <1=> Black
124 // <2=> Red
125 // <3=> Green
126 // <4=> Yellow
127 // <5=> Blue
128 // <6=> Magenta
129 // <7=> Cyan
130 // <8=> White
131 
132 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
133 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
134 #endif
135 
136 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
137 
138 // <0=> Default
139 // <1=> Black
140 // <2=> Red
141 // <3=> Green
142 // <4=> Yellow
143 // <5=> Blue
144 // <6=> Magenta
145 // <7=> Cyan
146 // <8=> White
147 
148 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
149 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
150 #endif
151 
152 // </e>
153 
154 // </e>
155 
156 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
157 //==========================================================
158 #ifndef NRFX_GPIOTE_ENABLED
159 #define NRFX_GPIOTE_ENABLED 1
160 #endif
161 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
162 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
163 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
164 #endif
165 
166 // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY  - Interrupt priority
167 
168 // <0=> 0 (highest)
169 // <1=> 1
170 // <2=> 2
171 // <3=> 3
172 
173 #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
174 #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 3
175 #endif
176 
177 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
178 //==========================================================
179 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
180 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
181 #endif
182 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL  - Default Severity level
183 
184 // <0=> Off
185 // <1=> Error
186 // <2=> Warning
187 // <3=> Info
188 // <4=> Debug
189 
190 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
191 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
192 #endif
193 
194 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
195 
196 // <0=> Default
197 // <1=> Black
198 // <2=> Red
199 // <3=> Green
200 // <4=> Yellow
201 // <5=> Blue
202 // <6=> Magenta
203 // <7=> Cyan
204 // <8=> White
205 
206 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
207 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
208 #endif
209 
210 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
211 
212 // <0=> Default
213 // <1=> Black
214 // <2=> Red
215 // <3=> Green
216 // <4=> Yellow
217 // <5=> Blue
218 // <6=> Magenta
219 // <7=> Cyan
220 // <8=> White
221 
222 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
223 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
224 #endif
225 
226 // </e>
227 
228 // </e>
229 
230 // <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
231 //==========================================================
232 #ifndef NRFX_LPCOMP_ENABLED
233 #define NRFX_LPCOMP_ENABLED 1
234 #endif
235 // <o> NRFX_LPCOMP_CONFIG_REFERENCE  - Reference voltage
236 
237 // <0=> Supply 1/8
238 // <1=> Supply 2/8
239 // <2=> Supply 3/8
240 // <3=> Supply 4/8
241 // <4=> Supply 5/8
242 // <5=> Supply 6/8
243 // <6=> Supply 7/8
244 // <8=> Supply 1/16 (nRF52)
245 // <9=> Supply 3/16 (nRF52)
246 // <10=> Supply 5/16 (nRF52)
247 // <11=> Supply 7/16 (nRF52)
248 // <12=> Supply 9/16 (nRF52)
249 // <13=> Supply 11/16 (nRF52)
250 // <14=> Supply 13/16 (nRF52)
251 // <15=> Supply 15/16 (nRF52)
252 // <7=> External Ref 0
253 // <65543=> External Ref 1
254 
255 #ifndef NRFX_LPCOMP_CONFIG_REFERENCE
256 #define NRFX_LPCOMP_CONFIG_REFERENCE 3
257 #endif
258 
259 // <o> NRFX_LPCOMP_CONFIG_DETECTION  - Detection
260 
261 // <0=> Crossing
262 // <1=> Up
263 // <2=> Down
264 
265 #ifndef NRFX_LPCOMP_CONFIG_DETECTION
266 #define NRFX_LPCOMP_CONFIG_DETECTION 2
267 #endif
268 
269 // <o> NRFX_LPCOMP_CONFIG_INPUT  - Analog input
270 
271 // <0=> 0
272 // <1=> 1
273 // <2=> 2
274 // <3=> 3
275 // <4=> 4
276 // <5=> 5
277 // <6=> 6
278 // <7=> 7
279 
280 #ifndef NRFX_LPCOMP_CONFIG_INPUT
281 #define NRFX_LPCOMP_CONFIG_INPUT 0
282 #endif
283 
284 // <q> NRFX_LPCOMP_CONFIG_HYST  - Hysteresis
285 
286 
287 #ifndef NRFX_LPCOMP_CONFIG_HYST
288 #define NRFX_LPCOMP_CONFIG_HYST 0
289 #endif
290 
291 // <o> NRFX_LPCOMP_CONFIG_IRQ_PRIORITY  - Interrupt priority
292 
293 // <0=> 0 (highest)
294 // <1=> 1
295 // <2=> 2
296 // <3=> 3
297 
298 #ifndef NRFX_LPCOMP_CONFIG_IRQ_PRIORITY
299 #define NRFX_LPCOMP_CONFIG_IRQ_PRIORITY 3
300 #endif
301 
302 // <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
303 //==========================================================
304 #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED
305 #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0
306 #endif
307 // <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL  - Default Severity level
308 
309 // <0=> Off
310 // <1=> Error
311 // <2=> Warning
312 // <3=> Info
313 // <4=> Debug
314 
315 #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL
316 #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3
317 #endif
318 
319 // <o> NRFX_LPCOMP_CONFIG_INFO_COLOR  - ANSI escape code prefix.
320 
321 // <0=> Default
322 // <1=> Black
323 // <2=> Red
324 // <3=> Green
325 // <4=> Yellow
326 // <5=> Blue
327 // <6=> Magenta
328 // <7=> Cyan
329 // <8=> White
330 
331 #ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR
332 #define NRFX_LPCOMP_CONFIG_INFO_COLOR 0
333 #endif
334 
335 // <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
336 
337 // <0=> Default
338 // <1=> Black
339 // <2=> Red
340 // <3=> Green
341 // <4=> Yellow
342 // <5=> Blue
343 // <6=> Magenta
344 // <7=> Cyan
345 // <8=> White
346 
347 #ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR
348 #define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0
349 #endif
350 
351 // </e>
352 
353 // </e>
354 
355 // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
356 //==========================================================
357 #ifndef NRFX_POWER_ENABLED
358 #define NRFX_POWER_ENABLED 1
359 #endif
360 // <o> NRFX_POWER_CONFIG_IRQ_PRIORITY  - Interrupt priority
361 
362 // <0=> 0 (highest)
363 // <1=> 1
364 // <2=> 2
365 // <3=> 3
366 
367 #ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY
368 #define NRFX_POWER_CONFIG_IRQ_PRIORITY 3
369 #endif
370 
371 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN  - The default configuration of main DCDC regulator
372 
373 
374 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
375 
376 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN
377 #define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0
378 #endif
379 
380 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCENHV  - The default configuration of High Voltage DCDC regulator
381 
382 
383 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
384 
385 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCENHV
386 #define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0
387 #endif
388 
389 // </e>
390 
391 // <e> NRFX_PPI_ENABLED - nrfx_ppi - PPI peripheral allocator
392 //==========================================================
393 #ifndef NRFX_PPI_ENABLED
394 #define NRFX_PPI_ENABLED 1
395 #endif
396 // <e> NRFX_PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
397 //==========================================================
398 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED
399 #define NRFX_PPI_CONFIG_LOG_ENABLED 0
400 #endif
401 // <o> NRFX_PPI_CONFIG_LOG_LEVEL  - Default Severity level
402 
403 // <0=> Off
404 // <1=> Error
405 // <2=> Warning
406 // <3=> Info
407 // <4=> Debug
408 
409 #ifndef NRFX_PPI_CONFIG_LOG_LEVEL
410 #define NRFX_PPI_CONFIG_LOG_LEVEL 3
411 #endif
412 
413 // <o> NRFX_PPI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
414 
415 // <0=> Default
416 // <1=> Black
417 // <2=> Red
418 // <3=> Green
419 // <4=> Yellow
420 // <5=> Blue
421 // <6=> Magenta
422 // <7=> Cyan
423 // <8=> White
424 
425 #ifndef NRFX_PPI_CONFIG_INFO_COLOR
426 #define NRFX_PPI_CONFIG_INFO_COLOR 0
427 #endif
428 
429 // <o> NRFX_PPI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
430 
431 // <0=> Default
432 // <1=> Black
433 // <2=> Red
434 // <3=> Green
435 // <4=> Yellow
436 // <5=> Blue
437 // <6=> Magenta
438 // <7=> Cyan
439 // <8=> White
440 
441 #ifndef NRFX_PPI_CONFIG_DEBUG_COLOR
442 #define NRFX_PPI_CONFIG_DEBUG_COLOR 0
443 #endif
444 
445 // </e>
446 
447 // </e>
448 
449 // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module
450 //==========================================================
451 #ifndef NRFX_PRS_ENABLED
452 #define NRFX_PRS_ENABLED 1
453 #endif
454 // <q> NRFX_PRS_BOX_0_ENABLED  - Enables box 0 in the module.
455 
456 
457 #ifndef NRFX_PRS_BOX_0_ENABLED
458 #define NRFX_PRS_BOX_0_ENABLED 1
459 #endif
460 
461 // <q> NRFX_PRS_BOX_1_ENABLED  - Enables box 1 in the module.
462 
463 
464 #ifndef NRFX_PRS_BOX_1_ENABLED
465 #define NRFX_PRS_BOX_1_ENABLED 1
466 #endif
467 
468 // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
469 //==========================================================
470 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
471 #define NRFX_PRS_CONFIG_LOG_ENABLED 0
472 #endif
473 // <o> NRFX_PRS_CONFIG_LOG_LEVEL  - Default Severity level
474 
475 // <0=> Off
476 // <1=> Error
477 // <2=> Warning
478 // <3=> Info
479 // <4=> Debug
480 
481 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
482 #define NRFX_PRS_CONFIG_LOG_LEVEL 3
483 #endif
484 
485 // <o> NRFX_PRS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
486 
487 // <0=> Default
488 // <1=> Black
489 // <2=> Red
490 // <3=> Green
491 // <4=> Yellow
492 // <5=> Blue
493 // <6=> Magenta
494 // <7=> Cyan
495 // <8=> White
496 
497 #ifndef NRFX_PRS_CONFIG_INFO_COLOR
498 #define NRFX_PRS_CONFIG_INFO_COLOR 0
499 #endif
500 
501 // <o> NRFX_PRS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
502 
503 // <0=> Default
504 // <1=> Black
505 // <2=> Red
506 // <3=> Green
507 // <4=> Yellow
508 // <5=> Blue
509 // <6=> Magenta
510 // <7=> Cyan
511 // <8=> White
512 
513 #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
514 #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
515 #endif
516 
517 // </e>
518 
519 // </e>
520 
521 // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
522 //==========================================================
523 #ifndef NRFX_QDEC_ENABLED
524 #define NRFX_QDEC_ENABLED 1
525 #endif
526 // <o> NRFX_QDEC_CONFIG_REPORTPER  - Report period
527 
528 // <0=> 10 Samples
529 // <1=> 40 Samples
530 // <2=> 80 Samples
531 // <3=> 120 Samples
532 // <4=> 160 Samples
533 // <5=> 200 Samples
534 // <6=> 240 Samples
535 // <7=> 280 Samples
536 
537 #ifndef NRFX_QDEC_CONFIG_REPORTPER
538 #define NRFX_QDEC_CONFIG_REPORTPER 0
539 #endif
540 
541 // <o> NRFX_QDEC_CONFIG_SAMPLEPER  - Sample period
542 
543 // <0=> 128 us
544 // <1=> 256 us
545 // <2=> 512 us
546 // <3=> 1024 us
547 // <4=> 2048 us
548 // <5=> 4096 us
549 // <6=> 8192 us
550 // <7=> 16384 us
551 
552 #ifndef NRFX_QDEC_CONFIG_SAMPLEPER
553 #define NRFX_QDEC_CONFIG_SAMPLEPER 7
554 #endif
555 
556 // <o> NRFX_QDEC_CONFIG_PIO_A - A pin  <0-31>
557 
558 
559 #ifndef NRFX_QDEC_CONFIG_PIO_A
560 #define NRFX_QDEC_CONFIG_PIO_A 31
561 #endif
562 
563 // <o> NRFX_QDEC_CONFIG_PIO_B - B pin  <0-31>
564 
565 
566 #ifndef NRFX_QDEC_CONFIG_PIO_B
567 #define NRFX_QDEC_CONFIG_PIO_B 31
568 #endif
569 
570 // <o> NRFX_QDEC_CONFIG_PIO_LED - LED pin  <0-31>
571 
572 
573 #ifndef NRFX_QDEC_CONFIG_PIO_LED
574 #define NRFX_QDEC_CONFIG_PIO_LED 31
575 #endif
576 
577 // <o> NRFX_QDEC_CONFIG_LEDPRE - LED pre
578 #ifndef NRFX_QDEC_CONFIG_LEDPRE
579 #define NRFX_QDEC_CONFIG_LEDPRE 511
580 #endif
581 
582 // <o> NRFX_QDEC_CONFIG_LEDPOL  - LED polarity
583 
584 // <0=> Active low
585 // <1=> Active high
586 
587 #ifndef NRFX_QDEC_CONFIG_LEDPOL
588 #define NRFX_QDEC_CONFIG_LEDPOL 1
589 #endif
590 
591 // <q> NRFX_QDEC_CONFIG_DBFEN  - Debouncing enable
592 
593 
594 #ifndef NRFX_QDEC_CONFIG_DBFEN
595 #define NRFX_QDEC_CONFIG_DBFEN 0
596 #endif
597 
598 // <q> NRFX_QDEC_CONFIG_SAMPLE_INTEN  - Sample ready interrupt enable
599 
600 
601 #ifndef NRFX_QDEC_CONFIG_SAMPLE_INTEN
602 #define NRFX_QDEC_CONFIG_SAMPLE_INTEN 0
603 #endif
604 
605 // <o> NRFX_QDEC_CONFIG_IRQ_PRIORITY  - Interrupt priority
606 
607 // <0=> 0 (highest)
608 // <1=> 1
609 // <2=> 2
610 // <3=> 3
611 
612 #ifndef NRFX_QDEC_CONFIG_IRQ_PRIORITY
613 #define NRFX_QDEC_CONFIG_IRQ_PRIORITY 3
614 #endif
615 
616 // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
617 //==========================================================
618 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
619 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
620 #endif
621 // <o> NRFX_QDEC_CONFIG_LOG_LEVEL  - Default Severity level
622 
623 // <0=> Off
624 // <1=> Error
625 // <2=> Warning
626 // <3=> Info
627 // <4=> Debug
628 
629 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
630 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
631 #endif
632 
633 // <o> NRFX_QDEC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
634 
635 // <0=> Default
636 // <1=> Black
637 // <2=> Red
638 // <3=> Green
639 // <4=> Yellow
640 // <5=> Blue
641 // <6=> Magenta
642 // <7=> Cyan
643 // <8=> White
644 
645 #ifndef NRFX_QDEC_CONFIG_INFO_COLOR
646 #define NRFX_QDEC_CONFIG_INFO_COLOR 0
647 #endif
648 
649 // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
650 
651 // <0=> Default
652 // <1=> Black
653 // <2=> Red
654 // <3=> Green
655 // <4=> Yellow
656 // <5=> Blue
657 // <6=> Magenta
658 // <7=> Cyan
659 // <8=> White
660 
661 #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
662 #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
663 #endif
664 
665 // </e>
666 
667 // </e>
668 
669 // <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver
670 //==========================================================
671 #ifndef NRFX_RNG_ENABLED
672 #define NRFX_RNG_ENABLED 1
673 #endif
674 // <q> NRFX_RNG_CONFIG_ERROR_CORRECTION  - Error correction
675 
676 
677 #ifndef NRFX_RNG_CONFIG_ERROR_CORRECTION
678 #define NRFX_RNG_CONFIG_ERROR_CORRECTION 1
679 #endif
680 
681 // <o> NRFX_RNG_CONFIG_IRQ_PRIORITY  - Interrupt priority
682 
683 // <0=> 0 (highest)
684 // <1=> 1
685 // <2=> 2
686 // <3=> 3
687 
688 #ifndef NRFX_RNG_CONFIG_IRQ_PRIORITY
689 #define NRFX_RNG_CONFIG_IRQ_PRIORITY 3
690 #endif
691 
692 // <e> NRFX_RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
693 //==========================================================
694 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED
695 #define NRFX_RNG_CONFIG_LOG_ENABLED 0
696 #endif
697 // <o> NRFX_RNG_CONFIG_LOG_LEVEL  - Default Severity level
698 
699 // <0=> Off
700 // <1=> Error
701 // <2=> Warning
702 // <3=> Info
703 // <4=> Debug
704 
705 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL
706 #define NRFX_RNG_CONFIG_LOG_LEVEL 3
707 #endif
708 
709 // <o> NRFX_RNG_CONFIG_INFO_COLOR  - ANSI escape code prefix.
710 
711 // <0=> Default
712 // <1=> Black
713 // <2=> Red
714 // <3=> Green
715 // <4=> Yellow
716 // <5=> Blue
717 // <6=> Magenta
718 // <7=> Cyan
719 // <8=> White
720 
721 #ifndef NRFX_RNG_CONFIG_INFO_COLOR
722 #define NRFX_RNG_CONFIG_INFO_COLOR 0
723 #endif
724 
725 // <o> NRFX_RNG_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
726 
727 // <0=> Default
728 // <1=> Black
729 // <2=> Red
730 // <3=> Green
731 // <4=> Yellow
732 // <5=> Blue
733 // <6=> Magenta
734 // <7=> Cyan
735 // <8=> White
736 
737 #ifndef NRFX_RNG_CONFIG_DEBUG_COLOR
738 #define NRFX_RNG_CONFIG_DEBUG_COLOR 0
739 #endif
740 
741 // </e>
742 
743 // </e>
744 
745 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver
746 //==========================================================
747 #ifndef NRFX_RTC_ENABLED
748 #define NRFX_RTC_ENABLED 1
749 #endif
750 // <q> NRFX_RTC0_ENABLED  - Enable RTC0 instance
751 
752 
753 #ifndef NRFX_RTC0_ENABLED
754 #define NRFX_RTC0_ENABLED 1
755 #endif
756 
757 // <q> NRFX_RTC1_ENABLED  - Enable RTC1 instance
758 
759 
760 #ifndef NRFX_RTC1_ENABLED
761 #define NRFX_RTC1_ENABLED 1
762 #endif
763 
764 // <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
765 #ifndef NRFX_RTC_MAXIMUM_LATENCY_US
766 #define NRFX_RTC_MAXIMUM_LATENCY_US 2000
767 #endif
768 
769 // <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency  <16-32768>
770 
771 
772 #ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
773 #define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768
774 #endif
775 
776 // <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE  - Ensures safe compare event triggering
777 
778 
779 #ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
780 #define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
781 #endif
782 
783 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
784 
785 // <0=> 0 (highest)
786 // <1=> 1
787 // <2=> 2
788 // <3=> 3
789 
790 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
791 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 3
792 #endif
793 
794 // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
795 //==========================================================
796 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
797 #define NRFX_RTC_CONFIG_LOG_ENABLED 0
798 #endif
799 // <o> NRFX_RTC_CONFIG_LOG_LEVEL  - Default Severity level
800 
801 // <0=> Off
802 // <1=> Error
803 // <2=> Warning
804 // <3=> Info
805 // <4=> Debug
806 
807 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
808 #define NRFX_RTC_CONFIG_LOG_LEVEL 3
809 #endif
810 
811 // <o> NRFX_RTC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
812 
813 // <0=> Default
814 // <1=> Black
815 // <2=> Red
816 // <3=> Green
817 // <4=> Yellow
818 // <5=> Blue
819 // <6=> Magenta
820 // <7=> Cyan
821 // <8=> White
822 
823 #ifndef NRFX_RTC_CONFIG_INFO_COLOR
824 #define NRFX_RTC_CONFIG_INFO_COLOR 0
825 #endif
826 
827 // <o> NRFX_RTC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
828 
829 // <0=> Default
830 // <1=> Black
831 // <2=> Red
832 // <3=> Green
833 // <4=> Yellow
834 // <5=> Blue
835 // <6=> Magenta
836 // <7=> Cyan
837 // <8=> White
838 
839 #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
840 #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
841 #endif
842 
843 // </e>
844 
845 // </e>
846 
847 // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver
848 //==========================================================
849 #ifndef NRFX_SPIS_ENABLED
850 #define NRFX_SPIS_ENABLED 1
851 #endif
852 // <q> NRFX_SPIS1_ENABLED  - Enable SPIS1 instance
853 
854 
855 #ifndef NRFX_SPIS1_ENABLED
856 #define NRFX_SPIS1_ENABLED 1
857 #endif
858 
859 // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
860 
861 // <0=> 0 (highest)
862 // <1=> 1
863 // <2=> 2
864 // <3=> 3
865 
866 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
867 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 3
868 #endif
869 
870 // <o> NRFX_SPIS_DEFAULT_DEF - SPIS default DEF character  <0-255>
871 
872 
873 #ifndef NRFX_SPIS_DEFAULT_DEF
874 #define NRFX_SPIS_DEFAULT_DEF 255
875 #endif
876 
877 // <o> NRFX_SPIS_DEFAULT_ORC - SPIS default ORC character  <0-255>
878 
879 
880 #ifndef NRFX_SPIS_DEFAULT_ORC
881 #define NRFX_SPIS_DEFAULT_ORC 255
882 #endif
883 
884 // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
885 //==========================================================
886 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
887 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
888 #endif
889 // <o> NRFX_SPIS_CONFIG_LOG_LEVEL  - Default Severity level
890 
891 // <0=> Off
892 // <1=> Error
893 // <2=> Warning
894 // <3=> Info
895 // <4=> Debug
896 
897 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
898 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
899 #endif
900 
901 // <o> NRFX_SPIS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
902 
903 // <0=> Default
904 // <1=> Black
905 // <2=> Red
906 // <3=> Green
907 // <4=> Yellow
908 // <5=> Blue
909 // <6=> Magenta
910 // <7=> Cyan
911 // <8=> White
912 
913 #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
914 #define NRFX_SPIS_CONFIG_INFO_COLOR 0
915 #endif
916 
917 // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
918 
919 // <0=> Default
920 // <1=> Black
921 // <2=> Red
922 // <3=> Green
923 // <4=> Yellow
924 // <5=> Blue
925 // <6=> Magenta
926 // <7=> Cyan
927 // <8=> White
928 
929 #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
930 #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
931 #endif
932 
933 // </e>
934 
935 // </e>
936 
937 // <e> NRFX_SPI_ENABLED - nrfx_spi - SPI peripheral driver
938 //==========================================================
939 #ifndef NRFX_SPI_ENABLED
940 #define NRFX_SPI_ENABLED 1
941 #endif
942 // <q> NRFX_SPI0_ENABLED  - Enable SPI0 instance
943 
944 
945 #ifndef NRFX_SPI0_ENABLED
946 #define NRFX_SPI0_ENABLED 1
947 #endif
948 
949 // <q> NRFX_SPI1_ENABLED  - Enable SPI1 instance
950 
951 
952 #ifndef NRFX_SPI1_ENABLED
953 #define NRFX_SPI1_ENABLED 1
954 #endif
955 
956 // <o> NRFX_SPI_MISO_PULL_CFG  - MISO pin pull configuration.
957 
958 // <0=> NRF_GPIO_PIN_NOPULL
959 // <1=> NRF_GPIO_PIN_PULLDOWN
960 // <3=> NRF_GPIO_PIN_PULLUP
961 
962 #ifndef NRFX_SPI_MISO_PULL_CFG
963 #define NRFX_SPI_MISO_PULL_CFG 1
964 #endif
965 
966 // <o> NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
967 
968 // <0=> 0 (highest)
969 // <1=> 1
970 // <2=> 2
971 // <3=> 3
972 
973 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY
974 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 3
975 #endif
976 
977 // <e> NRFX_SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
978 //==========================================================
979 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED
980 #define NRFX_SPI_CONFIG_LOG_ENABLED 0
981 #endif
982 // <o> NRFX_SPI_CONFIG_LOG_LEVEL  - Default Severity level
983 
984 // <0=> Off
985 // <1=> Error
986 // <2=> Warning
987 // <3=> Info
988 // <4=> Debug
989 
990 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL
991 #define NRFX_SPI_CONFIG_LOG_LEVEL 3
992 #endif
993 
994 // <o> NRFX_SPI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
995 
996 // <0=> Default
997 // <1=> Black
998 // <2=> Red
999 // <3=> Green
1000 // <4=> Yellow
1001 // <5=> Blue
1002 // <6=> Magenta
1003 // <7=> Cyan
1004 // <8=> White
1005 
1006 #ifndef NRFX_SPI_CONFIG_INFO_COLOR
1007 #define NRFX_SPI_CONFIG_INFO_COLOR 0
1008 #endif
1009 
1010 // <o> NRFX_SPI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1011 
1012 // <0=> Default
1013 // <1=> Black
1014 // <2=> Red
1015 // <3=> Green
1016 // <4=> Yellow
1017 // <5=> Blue
1018 // <6=> Magenta
1019 // <7=> Cyan
1020 // <8=> White
1021 
1022 #ifndef NRFX_SPI_CONFIG_DEBUG_COLOR
1023 #define NRFX_SPI_CONFIG_DEBUG_COLOR 0
1024 #endif
1025 
1026 // </e>
1027 
1028 // </e>
1029 
1030 // <e> NRFX_SWI_ENABLED - nrfx_swi - SWI/EGU peripheral allocator
1031 //==========================================================
1032 #ifndef NRFX_SWI_ENABLED
1033 #define NRFX_SWI_ENABLED 1
1034 #endif
1035 // <q> NRFX_SWI0_DISABLED  - Exclude SWI0 from being utilized by the driver
1036 
1037 
1038 #ifndef NRFX_SWI0_DISABLED
1039 #define NRFX_SWI0_DISABLED 0
1040 #endif
1041 
1042 // <q> NRFX_SWI1_DISABLED  - Exclude SWI1 from being utilized by the driver
1043 
1044 
1045 #ifndef NRFX_SWI1_DISABLED
1046 #define NRFX_SWI1_DISABLED 0
1047 #endif
1048 
1049 // <q> NRFX_SWI2_DISABLED  - Exclude SWI2 from being utilized by the driver
1050 
1051 
1052 #ifndef NRFX_SWI2_DISABLED
1053 #define NRFX_SWI2_DISABLED 0
1054 #endif
1055 
1056 // <q> NRFX_SWI3_DISABLED  - Exclude SWI3 from being utilized by the driver
1057 
1058 
1059 #ifndef NRFX_SWI3_DISABLED
1060 #define NRFX_SWI3_DISABLED 0
1061 #endif
1062 
1063 // <q> NRFX_SWI4_DISABLED  - Exclude SWI4 from being utilized by the driver
1064 
1065 
1066 #ifndef NRFX_SWI4_DISABLED
1067 #define NRFX_SWI4_DISABLED 0
1068 #endif
1069 
1070 // <q> NRFX_SWI5_DISABLED  - Exclude SWI5 from being utilized by the driver
1071 
1072 
1073 #ifndef NRFX_SWI5_DISABLED
1074 #define NRFX_SWI5_DISABLED 0
1075 #endif
1076 
1077 // <e> NRFX_SWI_CONFIG_LOG_ENABLED - Enables logging in the module.
1078 //==========================================================
1079 #ifndef NRFX_SWI_CONFIG_LOG_ENABLED
1080 #define NRFX_SWI_CONFIG_LOG_ENABLED 0
1081 #endif
1082 // <o> NRFX_SWI_CONFIG_LOG_LEVEL  - Default Severity level
1083 
1084 // <0=> Off
1085 // <1=> Error
1086 // <2=> Warning
1087 // <3=> Info
1088 // <4=> Debug
1089 
1090 #ifndef NRFX_SWI_CONFIG_LOG_LEVEL
1091 #define NRFX_SWI_CONFIG_LOG_LEVEL 3
1092 #endif
1093 
1094 // <o> NRFX_SWI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1095 
1096 // <0=> Default
1097 // <1=> Black
1098 // <2=> Red
1099 // <3=> Green
1100 // <4=> Yellow
1101 // <5=> Blue
1102 // <6=> Magenta
1103 // <7=> Cyan
1104 // <8=> White
1105 
1106 #ifndef NRFX_SWI_CONFIG_INFO_COLOR
1107 #define NRFX_SWI_CONFIG_INFO_COLOR 0
1108 #endif
1109 
1110 // <o> NRFX_SWI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1111 
1112 // <0=> Default
1113 // <1=> Black
1114 // <2=> Red
1115 // <3=> Green
1116 // <4=> Yellow
1117 // <5=> Blue
1118 // <6=> Magenta
1119 // <7=> Cyan
1120 // <8=> White
1121 
1122 #ifndef NRFX_SWI_CONFIG_DEBUG_COLOR
1123 #define NRFX_SWI_CONFIG_DEBUG_COLOR 0
1124 #endif
1125 
1126 // </e>
1127 
1128 // </e>
1129 
1130 // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver
1131 //==========================================================
1132 #ifndef NRFX_TIMER_ENABLED
1133 #define NRFX_TIMER_ENABLED 1
1134 #endif
1135 // <q> NRFX_TIMER0_ENABLED  - Enable TIMER0 instance
1136 
1137 
1138 #ifndef NRFX_TIMER0_ENABLED
1139 #define NRFX_TIMER0_ENABLED 1
1140 #endif
1141 
1142 // <q> NRFX_TIMER1_ENABLED  - Enable TIMER1 instance
1143 
1144 
1145 #ifndef NRFX_TIMER1_ENABLED
1146 #define NRFX_TIMER1_ENABLED 1
1147 #endif
1148 
1149 // <q> NRFX_TIMER2_ENABLED  - Enable TIMER2 instance
1150 
1151 
1152 #ifndef NRFX_TIMER2_ENABLED
1153 #define NRFX_TIMER2_ENABLED 1
1154 #endif
1155 
1156 // <o> NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY  - Timer frequency if in Timer mode
1157 
1158 // <0=> 16 MHz
1159 // <1=> 8 MHz
1160 // <2=> 4 MHz
1161 // <3=> 2 MHz
1162 // <4=> 1 MHz
1163 // <5=> 500 kHz
1164 // <6=> 250 kHz
1165 // <7=> 125 kHz
1166 // <8=> 62.5 kHz
1167 // <9=> 31.25 kHz
1168 
1169 #ifndef NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY
1170 #define NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 0
1171 #endif
1172 
1173 // <o> NRFX_TIMER_DEFAULT_CONFIG_MODE  - Timer mode or operation
1174 
1175 // <0=> Timer
1176 // <1=> Counter
1177 
1178 #ifndef NRFX_TIMER_DEFAULT_CONFIG_MODE
1179 #define NRFX_TIMER_DEFAULT_CONFIG_MODE 0
1180 #endif
1181 
1182 // <o> NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH  - Timer counter bit width
1183 
1184 // <0=> 16 bit
1185 // <1=> 8 bit
1186 // <2=> 24 bit
1187 // <3=> 32 bit
1188 
1189 #ifndef NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH
1190 #define NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
1191 #endif
1192 
1193 // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1194 
1195 // <0=> 0 (highest)
1196 // <1=> 1
1197 // <2=> 2
1198 // <3=> 3
1199 
1200 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
1201 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 3
1202 #endif
1203 
1204 // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
1205 //==========================================================
1206 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
1207 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
1208 #endif
1209 // <o> NRFX_TIMER_CONFIG_LOG_LEVEL  - Default Severity level
1210 
1211 // <0=> Off
1212 // <1=> Error
1213 // <2=> Warning
1214 // <3=> Info
1215 // <4=> Debug
1216 
1217 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
1218 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
1219 #endif
1220 
1221 // <o> NRFX_TIMER_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1222 
1223 // <0=> Default
1224 // <1=> Black
1225 // <2=> Red
1226 // <3=> Green
1227 // <4=> Yellow
1228 // <5=> Blue
1229 // <6=> Magenta
1230 // <7=> Cyan
1231 // <8=> White
1232 
1233 #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
1234 #define NRFX_TIMER_CONFIG_INFO_COLOR 0
1235 #endif
1236 
1237 // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1238 
1239 // <0=> Default
1240 // <1=> Black
1241 // <2=> Red
1242 // <3=> Green
1243 // <4=> Yellow
1244 // <5=> Blue
1245 // <6=> Magenta
1246 // <7=> Cyan
1247 // <8=> White
1248 
1249 #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
1250 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
1251 #endif
1252 
1253 // </e>
1254 
1255 // </e>
1256 
1257 // <e> NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver
1258 //==========================================================
1259 #ifndef NRFX_TWI_ENABLED
1260 #define NRFX_TWI_ENABLED 1
1261 #endif
1262 // <q> NRFX_TWI0_ENABLED  - Enable TWI0 instance
1263 
1264 
1265 #ifndef NRFX_TWI0_ENABLED
1266 #define NRFX_TWI0_ENABLED 1
1267 #endif
1268 
1269 // <q> NRFX_TWI1_ENABLED  - Enable TWI1 instance
1270 
1271 
1272 #ifndef NRFX_TWI1_ENABLED
1273 #define NRFX_TWI1_ENABLED 1
1274 #endif
1275 
1276 // <o> NRFX_TWI_DEFAULT_CONFIG_FREQUENCY  - Frequency
1277 
1278 // <26738688=> 100k
1279 // <67108864=> 250k
1280 // <104857600=> 400k
1281 
1282 #ifndef NRFX_TWI_DEFAULT_CONFIG_FREQUENCY
1283 #define NRFX_TWI_DEFAULT_CONFIG_FREQUENCY 26738688
1284 #endif
1285 
1286 // <q> NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT  - Enables bus holding after uninit
1287 
1288 
1289 #ifndef NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
1290 #define NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
1291 #endif
1292 
1293 // <o> NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1294 
1295 // <0=> 0 (highest)
1296 // <1=> 1
1297 // <2=> 2
1298 // <3=> 3
1299 
1300 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
1301 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 3
1302 #endif
1303 
1304 // <e> NRFX_TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
1305 //==========================================================
1306 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED
1307 #define NRFX_TWI_CONFIG_LOG_ENABLED 0
1308 #endif
1309 // <o> NRFX_TWI_CONFIG_LOG_LEVEL  - Default Severity level
1310 
1311 // <0=> Off
1312 // <1=> Error
1313 // <2=> Warning
1314 // <3=> Info
1315 // <4=> Debug
1316 
1317 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL
1318 #define NRFX_TWI_CONFIG_LOG_LEVEL 3
1319 #endif
1320 
1321 // <o> NRFX_TWI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1322 
1323 // <0=> Default
1324 // <1=> Black
1325 // <2=> Red
1326 // <3=> Green
1327 // <4=> Yellow
1328 // <5=> Blue
1329 // <6=> Magenta
1330 // <7=> Cyan
1331 // <8=> White
1332 
1333 #ifndef NRFX_TWI_CONFIG_INFO_COLOR
1334 #define NRFX_TWI_CONFIG_INFO_COLOR 0
1335 #endif
1336 
1337 // <o> NRFX_TWI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1338 
1339 // <0=> Default
1340 // <1=> Black
1341 // <2=> Red
1342 // <3=> Green
1343 // <4=> Yellow
1344 // <5=> Blue
1345 // <6=> Magenta
1346 // <7=> Cyan
1347 // <8=> White
1348 
1349 #ifndef NRFX_TWI_CONFIG_DEBUG_COLOR
1350 #define NRFX_TWI_CONFIG_DEBUG_COLOR 0
1351 #endif
1352 
1353 // </e>
1354 
1355 // </e>
1356 
1357 // <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
1358 //==========================================================
1359 #ifndef NRFX_UART_ENABLED
1360 #define NRFX_UART_ENABLED 1
1361 #endif
1362 // <o> NRFX_UART0_ENABLED - Enable UART0 instance
1363 #ifndef NRFX_UART0_ENABLED
1364 #define NRFX_UART0_ENABLED 1
1365 #endif
1366 
1367 // <o> NRFX_UART_DEFAULT_CONFIG_HWFC  - Hardware Flow Control
1368 
1369 // <0=> Disabled
1370 // <1=> Enabled
1371 
1372 #ifndef NRFX_UART_DEFAULT_CONFIG_HWFC
1373 #define NRFX_UART_DEFAULT_CONFIG_HWFC 0
1374 #endif
1375 
1376 // <o> NRFX_UART_DEFAULT_CONFIG_PARITY  - Parity
1377 
1378 // <0=> Excluded
1379 // <14=> Included
1380 
1381 #ifndef NRFX_UART_DEFAULT_CONFIG_PARITY
1382 #define NRFX_UART_DEFAULT_CONFIG_PARITY 0
1383 #endif
1384 
1385 // <o> NRFX_UART_DEFAULT_CONFIG_BAUDRATE  - Default Baudrate
1386 
1387 // <323584=> 1200 baud
1388 // <643072=> 2400 baud
1389 // <1290240=> 4800 baud
1390 // <2576384=> 9600 baud
1391 // <3866624=> 14400 baud
1392 // <5152768=> 19200 baud
1393 // <7729152=> 28800 baud
1394 // <8388608=> 31250 baud
1395 // <10309632=> 38400 baud
1396 // <15007744=> 56000 baud
1397 // <15462400=> 57600 baud
1398 // <20615168=> 76800 baud
1399 // <30924800=> 115200 baud
1400 // <61845504=> 230400 baud
1401 // <67108864=> 250000 baud
1402 // <123695104=> 460800 baud
1403 // <247386112=> 921600 baud
1404 // <268435456=> 1000000 baud
1405 
1406 #ifndef NRFX_UART_DEFAULT_CONFIG_BAUDRATE
1407 #define NRFX_UART_DEFAULT_CONFIG_BAUDRATE 30924800
1408 #endif
1409 
1410 // <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1411 
1412 // <0=> 0 (highest)
1413 // <1=> 1
1414 // <2=> 2
1415 // <3=> 3
1416 
1417 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
1418 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 3
1419 #endif
1420 
1421 // <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
1422 //==========================================================
1423 #ifndef NRFX_UART_CONFIG_LOG_ENABLED
1424 #define NRFX_UART_CONFIG_LOG_ENABLED 0
1425 #endif
1426 // <o> NRFX_UART_CONFIG_LOG_LEVEL  - Default Severity level
1427 
1428 // <0=> Off
1429 // <1=> Error
1430 // <2=> Warning
1431 // <3=> Info
1432 // <4=> Debug
1433 
1434 #ifndef NRFX_UART_CONFIG_LOG_LEVEL
1435 #define NRFX_UART_CONFIG_LOG_LEVEL 3
1436 #endif
1437 
1438 // <o> NRFX_UART_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1439 
1440 // <0=> Default
1441 // <1=> Black
1442 // <2=> Red
1443 // <3=> Green
1444 // <4=> Yellow
1445 // <5=> Blue
1446 // <6=> Magenta
1447 // <7=> Cyan
1448 // <8=> White
1449 
1450 #ifndef NRFX_UART_CONFIG_INFO_COLOR
1451 #define NRFX_UART_CONFIG_INFO_COLOR 0
1452 #endif
1453 
1454 // <o> NRFX_UART_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1455 
1456 // <0=> Default
1457 // <1=> Black
1458 // <2=> Red
1459 // <3=> Green
1460 // <4=> Yellow
1461 // <5=> Blue
1462 // <6=> Magenta
1463 // <7=> Cyan
1464 // <8=> White
1465 
1466 #ifndef NRFX_UART_CONFIG_DEBUG_COLOR
1467 #define NRFX_UART_CONFIG_DEBUG_COLOR 0
1468 #endif
1469 
1470 // </e>
1471 
1472 // </e>
1473 
1474 // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver
1475 //==========================================================
1476 #ifndef NRFX_WDT_ENABLED
1477 #define NRFX_WDT_ENABLED 1
1478 #endif
1479 // <o> NRFX_WDT_CONFIG_BEHAVIOUR  - WDT behavior in CPU SLEEP or HALT mode
1480 
1481 // <1=> Run in SLEEP, Pause in HALT
1482 // <8=> Pause in SLEEP, Run in HALT
1483 // <9=> Run in SLEEP and HALT
1484 // <0=> Pause in SLEEP and HALT
1485 
1486 #ifndef NRFX_WDT_CONFIG_BEHAVIOUR
1487 #define NRFX_WDT_CONFIG_BEHAVIOUR 1
1488 #endif
1489 
1490 // <o> NRFX_WDT_CONFIG_RELOAD_VALUE - Reload value  <15-4294967295>
1491 
1492 
1493 #ifndef NRFX_WDT_CONFIG_RELOAD_VALUE
1494 #define NRFX_WDT_CONFIG_RELOAD_VALUE 2000
1495 #endif
1496 
1497 // <o> NRFX_WDT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1498 
1499 // <0=> 0 (highest)
1500 // <1=> 1
1501 // <2=> 2
1502 // <3=> 3
1503 
1504 #ifndef NRFX_WDT_CONFIG_IRQ_PRIORITY
1505 #define NRFX_WDT_CONFIG_IRQ_PRIORITY 3
1506 #endif
1507 
1508 // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
1509 //==========================================================
1510 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
1511 #define NRFX_WDT_CONFIG_LOG_ENABLED 0
1512 #endif
1513 // <o> NRFX_WDT_CONFIG_LOG_LEVEL  - Default Severity level
1514 
1515 // <0=> Off
1516 // <1=> Error
1517 // <2=> Warning
1518 // <3=> Info
1519 // <4=> Debug
1520 
1521 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
1522 #define NRFX_WDT_CONFIG_LOG_LEVEL 3
1523 #endif
1524 
1525 // <o> NRFX_WDT_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1526 
1527 // <0=> Default
1528 // <1=> Black
1529 // <2=> Red
1530 // <3=> Green
1531 // <4=> Yellow
1532 // <5=> Blue
1533 // <6=> Magenta
1534 // <7=> Cyan
1535 // <8=> White
1536 
1537 #ifndef NRFX_WDT_CONFIG_INFO_COLOR
1538 #define NRFX_WDT_CONFIG_INFO_COLOR 0
1539 #endif
1540 
1541 // <o> NRFX_WDT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1542 
1543 // <0=> Default
1544 // <1=> Black
1545 // <2=> Red
1546 // <3=> Green
1547 // <4=> Yellow
1548 // <5=> Blue
1549 // <6=> Magenta
1550 // <7=> Cyan
1551 // <8=> White
1552 
1553 #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
1554 #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
1555 #endif
1556 
1557 // </e>
1558 
1559 // </e>
1560 
1561 // </h>
1562 
1563 #endif // NRFX_CONFIG_H__
1564