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