xref: /nrf52832-nimble/nordic/nrfx/templates/nRF52810/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_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
9 //==========================================================
10 #ifndef NRFX_CLOCK_ENABLED
11 #define NRFX_CLOCK_ENABLED 1
12 #endif
13 // <o> NRFX_CLOCK_CONFIG_LF_SRC  - LF Clock Source
14 
15 // <0=> RC
16 // <1=> XTAL
17 // <2=> Synth
18 // <131073=> External Low Swing
19 // <196609=> External Full Swing
20 
21 #ifndef NRFX_CLOCK_CONFIG_LF_SRC
22 #define NRFX_CLOCK_CONFIG_LF_SRC 1
23 #endif
24 
25 // <q> NRFX_CLOCK_CONFIG_LF_CAL_ENABLED  - Enables LF Clock Calibration Support
26 
27 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
28 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0
29 #endif
30 
31 // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY  - Interrupt priority
32 
33 // <0=> 0 (highest)
34 // <1=> 1
35 // <2=> 2
36 // <3=> 3
37 // <4=> 4
38 // <5=> 5
39 // <6=> 6
40 // <7=> 7
41 
42 #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
43 #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 7
44 #endif
45 
46 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
47 //==========================================================
48 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
49 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
50 #endif
51 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL  - Default Severity level
52 
53 // <0=> Off
54 // <1=> Error
55 // <2=> Warning
56 // <3=> Info
57 // <4=> Debug
58 
59 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
60 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
61 #endif
62 
63 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR  - ANSI escape code prefix.
64 
65 // <0=> Default
66 // <1=> Black
67 // <2=> Red
68 // <3=> Green
69 // <4=> Yellow
70 // <5=> Blue
71 // <6=> Magenta
72 // <7=> Cyan
73 // <8=> White
74 
75 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
76 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
77 #endif
78 
79 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
80 
81 // <0=> Default
82 // <1=> Black
83 // <2=> Red
84 // <3=> Green
85 // <4=> Yellow
86 // <5=> Blue
87 // <6=> Magenta
88 // <7=> Cyan
89 // <8=> White
90 
91 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
92 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
93 #endif
94 
95 // </e>
96 
97 // </e>
98 
99 // <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
100 //==========================================================
101 #ifndef NRFX_COMP_ENABLED
102 #define NRFX_COMP_ENABLED 1
103 #endif
104 // <o> NRFX_COMP_CONFIG_REF  - Reference voltage
105 
106 // <0=> Internal 1.2V
107 // <1=> Internal 1.8V
108 // <2=> Internal 2.4V
109 // <4=> VDD
110 // <7=> ARef
111 
112 #ifndef NRFX_COMP_CONFIG_REF
113 #define NRFX_COMP_CONFIG_REF 1
114 #endif
115 
116 // <o> NRFX_COMP_CONFIG_MAIN_MODE  - Main mode
117 
118 // <0=> Single ended
119 // <1=> Differential
120 
121 #ifndef NRFX_COMP_CONFIG_MAIN_MODE
122 #define NRFX_COMP_CONFIG_MAIN_MODE 0
123 #endif
124 
125 // <o> NRFX_COMP_CONFIG_SPEED_MODE  - Speed mode
126 
127 // <0=> Low power
128 // <1=> Normal
129 // <2=> High speed
130 
131 #ifndef NRFX_COMP_CONFIG_SPEED_MODE
132 #define NRFX_COMP_CONFIG_SPEED_MODE 2
133 #endif
134 
135 // <o> NRFX_COMP_CONFIG_HYST  - Hystheresis
136 
137 // <0=> No
138 // <1=> 50mV
139 
140 #ifndef NRFX_COMP_CONFIG_HYST
141 #define NRFX_COMP_CONFIG_HYST 0
142 #endif
143 
144 // <o> NRFX_COMP_CONFIG_ISOURCE  - Current Source
145 
146 // <0=> Off
147 // <1=> 2.5 uA
148 // <2=> 5 uA
149 // <3=> 10 uA
150 
151 #ifndef NRFX_COMP_CONFIG_ISOURCE
152 #define NRFX_COMP_CONFIG_ISOURCE 0
153 #endif
154 
155 // <o> NRFX_COMP_CONFIG_INPUT  - Analog input
156 
157 // <0=> 0
158 // <1=> 1
159 // <2=> 2
160 // <3=> 3
161 // <4=> 4
162 // <5=> 5
163 // <6=> 6
164 // <7=> 7
165 
166 #ifndef NRFX_COMP_CONFIG_INPUT
167 #define NRFX_COMP_CONFIG_INPUT 0
168 #endif
169 
170 // <o> NRFX_COMP_CONFIG_IRQ_PRIORITY  - Interrupt priority
171 
172 // <0=> 0 (highest)
173 // <1=> 1
174 // <2=> 2
175 // <3=> 3
176 // <4=> 4
177 // <5=> 5
178 // <6=> 6
179 // <7=> 7
180 
181 #ifndef NRFX_COMP_CONFIG_IRQ_PRIORITY
182 #define NRFX_COMP_CONFIG_IRQ_PRIORITY 7
183 #endif
184 
185 // <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
186 //==========================================================
187 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED
188 #define NRFX_COMP_CONFIG_LOG_ENABLED 0
189 #endif
190 // <o> NRFX_COMP_CONFIG_LOG_LEVEL  - Default Severity level
191 
192 // <0=> Off
193 // <1=> Error
194 // <2=> Warning
195 // <3=> Info
196 // <4=> Debug
197 
198 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL
199 #define NRFX_COMP_CONFIG_LOG_LEVEL 3
200 #endif
201 
202 // <o> NRFX_COMP_CONFIG_INFO_COLOR  - ANSI escape code prefix.
203 
204 // <0=> Default
205 // <1=> Black
206 // <2=> Red
207 // <3=> Green
208 // <4=> Yellow
209 // <5=> Blue
210 // <6=> Magenta
211 // <7=> Cyan
212 // <8=> White
213 
214 #ifndef NRFX_COMP_CONFIG_INFO_COLOR
215 #define NRFX_COMP_CONFIG_INFO_COLOR 0
216 #endif
217 
218 // <o> NRFX_COMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
219 
220 // <0=> Default
221 // <1=> Black
222 // <2=> Red
223 // <3=> Green
224 // <4=> Yellow
225 // <5=> Blue
226 // <6=> Magenta
227 // <7=> Cyan
228 // <8=> White
229 
230 #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR
231 #define NRFX_COMP_CONFIG_DEBUG_COLOR 0
232 #endif
233 
234 // </e>
235 
236 // </e>
237 
238 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
239 //==========================================================
240 #ifndef NRFX_GPIOTE_ENABLED
241 #define NRFX_GPIOTE_ENABLED 1
242 #endif
243 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
244 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
245 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
246 #endif
247 
248 // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY  - Interrupt priority
249 
250 // <0=> 0 (highest)
251 // <1=> 1
252 // <2=> 2
253 // <3=> 3
254 // <4=> 4
255 // <5=> 5
256 // <6=> 6
257 // <7=> 7
258 
259 #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
260 #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 7
261 #endif
262 
263 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
264 //==========================================================
265 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
266 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
267 #endif
268 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL  - Default Severity level
269 
270 // <0=> Off
271 // <1=> Error
272 // <2=> Warning
273 // <3=> Info
274 // <4=> Debug
275 
276 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
277 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
278 #endif
279 
280 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
281 
282 // <0=> Default
283 // <1=> Black
284 // <2=> Red
285 // <3=> Green
286 // <4=> Yellow
287 // <5=> Blue
288 // <6=> Magenta
289 // <7=> Cyan
290 // <8=> White
291 
292 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
293 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
294 #endif
295 
296 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
297 
298 // <0=> Default
299 // <1=> Black
300 // <2=> Red
301 // <3=> Green
302 // <4=> Yellow
303 // <5=> Blue
304 // <6=> Magenta
305 // <7=> Cyan
306 // <8=> White
307 
308 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
309 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
310 #endif
311 
312 // </e>
313 
314 // </e>
315 
316 // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver
317 //==========================================================
318 #ifndef NRFX_PDM_ENABLED
319 #define NRFX_PDM_ENABLED 1
320 #endif
321 // <o> NRFX_PDM_CONFIG_MODE  - Mode
322 
323 // <0=> Stereo
324 // <1=> Mono
325 
326 #ifndef NRFX_PDM_CONFIG_MODE
327 #define NRFX_PDM_CONFIG_MODE 1
328 #endif
329 
330 // <o> NRFX_PDM_CONFIG_EDGE  - Edge
331 
332 // <0=> Left falling
333 // <1=> Left rising
334 
335 #ifndef NRFX_PDM_CONFIG_EDGE
336 #define NRFX_PDM_CONFIG_EDGE 0
337 #endif
338 
339 // <o> NRFX_PDM_CONFIG_CLOCK_FREQ  - Clock frequency
340 
341 // <134217728=> 1000k
342 // <138412032=> 1032k (default)
343 // <142606336=> 1067k
344 
345 #ifndef NRFX_PDM_CONFIG_CLOCK_FREQ
346 #define NRFX_PDM_CONFIG_CLOCK_FREQ 138412032
347 #endif
348 
349 // <o> NRFX_PDM_CONFIG_IRQ_PRIORITY  - Interrupt priority
350 
351 // <0=> 0 (highest)
352 // <1=> 1
353 // <2=> 2
354 // <3=> 3
355 // <4=> 4
356 // <5=> 5
357 // <6=> 6
358 // <7=> 7
359 
360 #ifndef NRFX_PDM_CONFIG_IRQ_PRIORITY
361 #define NRFX_PDM_CONFIG_IRQ_PRIORITY 7
362 #endif
363 
364 // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
365 //==========================================================
366 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED
367 #define NRFX_PDM_CONFIG_LOG_ENABLED 0
368 #endif
369 // <o> NRFX_PDM_CONFIG_LOG_LEVEL  - Default Severity level
370 
371 // <0=> Off
372 // <1=> Error
373 // <2=> Warning
374 // <3=> Info
375 // <4=> Debug
376 
377 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL
378 #define NRFX_PDM_CONFIG_LOG_LEVEL 3
379 #endif
380 
381 // <o> NRFX_PDM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
382 
383 // <0=> Default
384 // <1=> Black
385 // <2=> Red
386 // <3=> Green
387 // <4=> Yellow
388 // <5=> Blue
389 // <6=> Magenta
390 // <7=> Cyan
391 // <8=> White
392 
393 #ifndef NRFX_PDM_CONFIG_INFO_COLOR
394 #define NRFX_PDM_CONFIG_INFO_COLOR 0
395 #endif
396 
397 // <o> NRFX_PDM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
398 
399 // <0=> Default
400 // <1=> Black
401 // <2=> Red
402 // <3=> Green
403 // <4=> Yellow
404 // <5=> Blue
405 // <6=> Magenta
406 // <7=> Cyan
407 // <8=> White
408 
409 #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
410 #define NRFX_PDM_CONFIG_DEBUG_COLOR 0
411 #endif
412 
413 // </e>
414 
415 // </e>
416 
417 // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
418 //==========================================================
419 #ifndef NRFX_POWER_ENABLED
420 #define NRFX_POWER_ENABLED 1
421 #endif
422 // <o> NRFX_POWER_CONFIG_IRQ_PRIORITY  - Interrupt priority
423 
424 // <0=> 0 (highest)
425 // <1=> 1
426 // <2=> 2
427 // <3=> 3
428 // <4=> 4
429 // <5=> 5
430 // <6=> 6
431 // <7=> 7
432 
433 #ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY
434 #define NRFX_POWER_CONFIG_IRQ_PRIORITY 7
435 #endif
436 
437 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN  - The default configuration of main DCDC regulator
438 
439 
440 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
441 
442 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN
443 #define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0
444 #endif
445 
446 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCENHV  - The default configuration of High Voltage DCDC regulator
447 
448 
449 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
450 
451 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCENHV
452 #define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0
453 #endif
454 
455 // </e>
456 
457 // <e> NRFX_PPI_ENABLED - nrfx_ppi - PPI peripheral allocator
458 //==========================================================
459 #ifndef NRFX_PPI_ENABLED
460 #define NRFX_PPI_ENABLED 1
461 #endif
462 // <e> NRFX_PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
463 //==========================================================
464 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED
465 #define NRFX_PPI_CONFIG_LOG_ENABLED 0
466 #endif
467 // <o> NRFX_PPI_CONFIG_LOG_LEVEL  - Default Severity level
468 
469 // <0=> Off
470 // <1=> Error
471 // <2=> Warning
472 // <3=> Info
473 // <4=> Debug
474 
475 #ifndef NRFX_PPI_CONFIG_LOG_LEVEL
476 #define NRFX_PPI_CONFIG_LOG_LEVEL 3
477 #endif
478 
479 // <o> NRFX_PPI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
480 
481 // <0=> Default
482 // <1=> Black
483 // <2=> Red
484 // <3=> Green
485 // <4=> Yellow
486 // <5=> Blue
487 // <6=> Magenta
488 // <7=> Cyan
489 // <8=> White
490 
491 #ifndef NRFX_PPI_CONFIG_INFO_COLOR
492 #define NRFX_PPI_CONFIG_INFO_COLOR 0
493 #endif
494 
495 // <o> NRFX_PPI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
496 
497 // <0=> Default
498 // <1=> Black
499 // <2=> Red
500 // <3=> Green
501 // <4=> Yellow
502 // <5=> Blue
503 // <6=> Magenta
504 // <7=> Cyan
505 // <8=> White
506 
507 #ifndef NRFX_PPI_CONFIG_DEBUG_COLOR
508 #define NRFX_PPI_CONFIG_DEBUG_COLOR 0
509 #endif
510 
511 // </e>
512 
513 // </e>
514 
515 // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module
516 //==========================================================
517 #ifndef NRFX_PRS_ENABLED
518 #define NRFX_PRS_ENABLED 1
519 #endif
520 // <q> NRFX_PRS_BOX_0_ENABLED  - Enables box 0 in the module.
521 
522 
523 #ifndef NRFX_PRS_BOX_0_ENABLED
524 #define NRFX_PRS_BOX_0_ENABLED 1
525 #endif
526 
527 // <q> NRFX_PRS_BOX_1_ENABLED  - Enables box 1 in the module.
528 
529 
530 #ifndef NRFX_PRS_BOX_1_ENABLED
531 #define NRFX_PRS_BOX_1_ENABLED 1
532 #endif
533 
534 // <q> NRFX_PRS_BOX_2_ENABLED  - Enables box 2 in the module.
535 
536 
537 #ifndef NRFX_PRS_BOX_2_ENABLED
538 #define NRFX_PRS_BOX_2_ENABLED 1
539 #endif
540 
541 // <q> NRFX_PRS_BOX_3_ENABLED  - Enables box 3 in the module.
542 
543 
544 #ifndef NRFX_PRS_BOX_3_ENABLED
545 #define NRFX_PRS_BOX_3_ENABLED 1
546 #endif
547 
548 // <q> NRFX_PRS_BOX_4_ENABLED  - Enables box 4 in the module.
549 
550 
551 #ifndef NRFX_PRS_BOX_4_ENABLED
552 #define NRFX_PRS_BOX_4_ENABLED 1
553 #endif
554 
555 // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
556 //==========================================================
557 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
558 #define NRFX_PRS_CONFIG_LOG_ENABLED 0
559 #endif
560 // <o> NRFX_PRS_CONFIG_LOG_LEVEL  - Default Severity level
561 
562 // <0=> Off
563 // <1=> Error
564 // <2=> Warning
565 // <3=> Info
566 // <4=> Debug
567 
568 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
569 #define NRFX_PRS_CONFIG_LOG_LEVEL 3
570 #endif
571 
572 // <o> NRFX_PRS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
573 
574 // <0=> Default
575 // <1=> Black
576 // <2=> Red
577 // <3=> Green
578 // <4=> Yellow
579 // <5=> Blue
580 // <6=> Magenta
581 // <7=> Cyan
582 // <8=> White
583 
584 #ifndef NRFX_PRS_CONFIG_INFO_COLOR
585 #define NRFX_PRS_CONFIG_INFO_COLOR 0
586 #endif
587 
588 // <o> NRFX_PRS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
589 
590 // <0=> Default
591 // <1=> Black
592 // <2=> Red
593 // <3=> Green
594 // <4=> Yellow
595 // <5=> Blue
596 // <6=> Magenta
597 // <7=> Cyan
598 // <8=> White
599 
600 #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
601 #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
602 #endif
603 
604 // </e>
605 
606 // </e>
607 
608 // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver
609 //==========================================================
610 #ifndef NRFX_PWM_ENABLED
611 #define NRFX_PWM_ENABLED 1
612 #endif
613 // <q> NRFX_PWM0_ENABLED  - Enable PWM0 instance
614 
615 
616 #ifndef NRFX_PWM0_ENABLED
617 #define NRFX_PWM0_ENABLED 1
618 #endif
619 
620 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin  <0-31>
621 
622 
623 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN
624 #define NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN 31
625 #endif
626 
627 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin  <0-31>
628 
629 
630 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN
631 #define NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN 31
632 #endif
633 
634 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin  <0-31>
635 
636 
637 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN
638 #define NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN 31
639 #endif
640 
641 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin  <0-31>
642 
643 
644 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN
645 #define NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN 31
646 #endif
647 
648 // <o> NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK  - Base clock
649 
650 // <0=> 16 MHz
651 // <1=> 8 MHz
652 // <2=> 4 MHz
653 // <3=> 2 MHz
654 // <4=> 1 MHz
655 // <5=> 500 kHz
656 // <6=> 250 kHz
657 // <7=> 125 kHz
658 
659 #ifndef NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK
660 #define NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK 4
661 #endif
662 
663 // <o> NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE  - Count mode
664 
665 // <0=> Up
666 // <1=> Up and Down
667 
668 #ifndef NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE
669 #define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0
670 #endif
671 
672 // <o> NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE - Top value
673 #ifndef NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE
674 #define NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE 1000
675 #endif
676 
677 // <o> NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE  - Load mode
678 
679 // <0=> Common
680 // <1=> Grouped
681 // <2=> Individual
682 // <3=> Waveform
683 
684 #ifndef NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE
685 #define NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE 0
686 #endif
687 
688 // <o> NRFX_PWM_DEFAULT_CONFIG_STEP_MODE  - Step mode
689 
690 // <0=> Auto
691 // <1=> Triggered
692 
693 #ifndef NRFX_PWM_DEFAULT_CONFIG_STEP_MODE
694 #define NRFX_PWM_DEFAULT_CONFIG_STEP_MODE 0
695 #endif
696 
697 // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
698 
699 // <0=> 0 (highest)
700 // <1=> 1
701 // <2=> 2
702 // <3=> 3
703 // <4=> 4
704 // <5=> 5
705 // <6=> 6
706 // <7=> 7
707 
708 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
709 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 7
710 #endif
711 
712 // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
713 //==========================================================
714 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED
715 #define NRFX_PWM_CONFIG_LOG_ENABLED 0
716 #endif
717 // <o> NRFX_PWM_CONFIG_LOG_LEVEL  - Default Severity level
718 
719 // <0=> Off
720 // <1=> Error
721 // <2=> Warning
722 // <3=> Info
723 // <4=> Debug
724 
725 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL
726 #define NRFX_PWM_CONFIG_LOG_LEVEL 3
727 #endif
728 
729 // <o> NRFX_PWM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
730 
731 // <0=> Default
732 // <1=> Black
733 // <2=> Red
734 // <3=> Green
735 // <4=> Yellow
736 // <5=> Blue
737 // <6=> Magenta
738 // <7=> Cyan
739 // <8=> White
740 
741 #ifndef NRFX_PWM_CONFIG_INFO_COLOR
742 #define NRFX_PWM_CONFIG_INFO_COLOR 0
743 #endif
744 
745 // <o> NRFX_PWM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
746 
747 // <0=> Default
748 // <1=> Black
749 // <2=> Red
750 // <3=> Green
751 // <4=> Yellow
752 // <5=> Blue
753 // <6=> Magenta
754 // <7=> Cyan
755 // <8=> White
756 
757 #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
758 #define NRFX_PWM_CONFIG_DEBUG_COLOR 0
759 #endif
760 
761 // </e>
762 
763 // </e>
764 
765 // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
766 //==========================================================
767 #ifndef NRFX_QDEC_ENABLED
768 #define NRFX_QDEC_ENABLED 1
769 #endif
770 // <o> NRFX_QDEC_CONFIG_REPORTPER  - Report period
771 
772 // <0=> 10 Samples
773 // <1=> 40 Samples
774 // <2=> 80 Samples
775 // <3=> 120 Samples
776 // <4=> 160 Samples
777 // <5=> 200 Samples
778 // <6=> 240 Samples
779 // <7=> 280 Samples
780 
781 #ifndef NRFX_QDEC_CONFIG_REPORTPER
782 #define NRFX_QDEC_CONFIG_REPORTPER 0
783 #endif
784 
785 // <o> NRFX_QDEC_CONFIG_SAMPLEPER  - Sample period
786 
787 // <0=> 128 us
788 // <1=> 256 us
789 // <2=> 512 us
790 // <3=> 1024 us
791 // <4=> 2048 us
792 // <5=> 4096 us
793 // <6=> 8192 us
794 // <7=> 16384 us
795 
796 #ifndef NRFX_QDEC_CONFIG_SAMPLEPER
797 #define NRFX_QDEC_CONFIG_SAMPLEPER 7
798 #endif
799 
800 // <o> NRFX_QDEC_CONFIG_PIO_A - A pin  <0-31>
801 
802 
803 #ifndef NRFX_QDEC_CONFIG_PIO_A
804 #define NRFX_QDEC_CONFIG_PIO_A 31
805 #endif
806 
807 // <o> NRFX_QDEC_CONFIG_PIO_B - B pin  <0-31>
808 
809 
810 #ifndef NRFX_QDEC_CONFIG_PIO_B
811 #define NRFX_QDEC_CONFIG_PIO_B 31
812 #endif
813 
814 // <o> NRFX_QDEC_CONFIG_PIO_LED - LED pin  <0-31>
815 
816 
817 #ifndef NRFX_QDEC_CONFIG_PIO_LED
818 #define NRFX_QDEC_CONFIG_PIO_LED 31
819 #endif
820 
821 // <o> NRFX_QDEC_CONFIG_LEDPRE - LED pre
822 #ifndef NRFX_QDEC_CONFIG_LEDPRE
823 #define NRFX_QDEC_CONFIG_LEDPRE 511
824 #endif
825 
826 // <o> NRFX_QDEC_CONFIG_LEDPOL  - LED polarity
827 
828 // <0=> Active low
829 // <1=> Active high
830 
831 #ifndef NRFX_QDEC_CONFIG_LEDPOL
832 #define NRFX_QDEC_CONFIG_LEDPOL 1
833 #endif
834 
835 // <q> NRFX_QDEC_CONFIG_DBFEN  - Debouncing enable
836 
837 
838 #ifndef NRFX_QDEC_CONFIG_DBFEN
839 #define NRFX_QDEC_CONFIG_DBFEN 0
840 #endif
841 
842 // <q> NRFX_QDEC_CONFIG_SAMPLE_INTEN  - Sample ready interrupt enable
843 
844 
845 #ifndef NRFX_QDEC_CONFIG_SAMPLE_INTEN
846 #define NRFX_QDEC_CONFIG_SAMPLE_INTEN 0
847 #endif
848 
849 // <o> NRFX_QDEC_CONFIG_IRQ_PRIORITY  - Interrupt priority
850 
851 // <0=> 0 (highest)
852 // <1=> 1
853 // <2=> 2
854 // <3=> 3
855 // <4=> 4
856 // <5=> 5
857 // <6=> 6
858 // <7=> 7
859 
860 #ifndef NRFX_QDEC_CONFIG_IRQ_PRIORITY
861 #define NRFX_QDEC_CONFIG_IRQ_PRIORITY 7
862 #endif
863 
864 // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
865 //==========================================================
866 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
867 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
868 #endif
869 // <o> NRFX_QDEC_CONFIG_LOG_LEVEL  - Default Severity level
870 
871 // <0=> Off
872 // <1=> Error
873 // <2=> Warning
874 // <3=> Info
875 // <4=> Debug
876 
877 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
878 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
879 #endif
880 
881 // <o> NRFX_QDEC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
882 
883 // <0=> Default
884 // <1=> Black
885 // <2=> Red
886 // <3=> Green
887 // <4=> Yellow
888 // <5=> Blue
889 // <6=> Magenta
890 // <7=> Cyan
891 // <8=> White
892 
893 #ifndef NRFX_QDEC_CONFIG_INFO_COLOR
894 #define NRFX_QDEC_CONFIG_INFO_COLOR 0
895 #endif
896 
897 // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
898 
899 // <0=> Default
900 // <1=> Black
901 // <2=> Red
902 // <3=> Green
903 // <4=> Yellow
904 // <5=> Blue
905 // <6=> Magenta
906 // <7=> Cyan
907 // <8=> White
908 
909 #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
910 #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
911 #endif
912 
913 // </e>
914 
915 // </e>
916 
917 // <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver
918 //==========================================================
919 #ifndef NRFX_RNG_ENABLED
920 #define NRFX_RNG_ENABLED 1
921 #endif
922 // <q> NRFX_RNG_CONFIG_ERROR_CORRECTION  - Error correction
923 
924 
925 #ifndef NRFX_RNG_CONFIG_ERROR_CORRECTION
926 #define NRFX_RNG_CONFIG_ERROR_CORRECTION 1
927 #endif
928 
929 // <o> NRFX_RNG_CONFIG_IRQ_PRIORITY  - Interrupt priority
930 
931 // <0=> 0 (highest)
932 // <1=> 1
933 // <2=> 2
934 // <3=> 3
935 // <4=> 4
936 // <5=> 5
937 // <6=> 6
938 // <7=> 7
939 
940 #ifndef NRFX_RNG_CONFIG_IRQ_PRIORITY
941 #define NRFX_RNG_CONFIG_IRQ_PRIORITY 7
942 #endif
943 
944 // <e> NRFX_RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
945 //==========================================================
946 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED
947 #define NRFX_RNG_CONFIG_LOG_ENABLED 0
948 #endif
949 // <o> NRFX_RNG_CONFIG_LOG_LEVEL  - Default Severity level
950 
951 // <0=> Off
952 // <1=> Error
953 // <2=> Warning
954 // <3=> Info
955 // <4=> Debug
956 
957 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL
958 #define NRFX_RNG_CONFIG_LOG_LEVEL 3
959 #endif
960 
961 // <o> NRFX_RNG_CONFIG_INFO_COLOR  - ANSI escape code prefix.
962 
963 // <0=> Default
964 // <1=> Black
965 // <2=> Red
966 // <3=> Green
967 // <4=> Yellow
968 // <5=> Blue
969 // <6=> Magenta
970 // <7=> Cyan
971 // <8=> White
972 
973 #ifndef NRFX_RNG_CONFIG_INFO_COLOR
974 #define NRFX_RNG_CONFIG_INFO_COLOR 0
975 #endif
976 
977 // <o> NRFX_RNG_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
978 
979 // <0=> Default
980 // <1=> Black
981 // <2=> Red
982 // <3=> Green
983 // <4=> Yellow
984 // <5=> Blue
985 // <6=> Magenta
986 // <7=> Cyan
987 // <8=> White
988 
989 #ifndef NRFX_RNG_CONFIG_DEBUG_COLOR
990 #define NRFX_RNG_CONFIG_DEBUG_COLOR 0
991 #endif
992 
993 // </e>
994 
995 // </e>
996 
997 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver
998 //==========================================================
999 #ifndef NRFX_RTC_ENABLED
1000 #define NRFX_RTC_ENABLED 1
1001 #endif
1002 // <q> NRFX_RTC0_ENABLED  - Enable RTC0 instance
1003 
1004 
1005 #ifndef NRFX_RTC0_ENABLED
1006 #define NRFX_RTC0_ENABLED 1
1007 #endif
1008 
1009 // <q> NRFX_RTC1_ENABLED  - Enable RTC1 instance
1010 
1011 
1012 #ifndef NRFX_RTC1_ENABLED
1013 #define NRFX_RTC1_ENABLED 1
1014 #endif
1015 
1016 // <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
1017 #ifndef NRFX_RTC_MAXIMUM_LATENCY_US
1018 #define NRFX_RTC_MAXIMUM_LATENCY_US 2000
1019 #endif
1020 
1021 // <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency  <16-32768>
1022 
1023 
1024 #ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
1025 #define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768
1026 #endif
1027 
1028 // <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE  - Ensures safe compare event triggering
1029 
1030 
1031 #ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
1032 #define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
1033 #endif
1034 
1035 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1036 
1037 // <0=> 0 (highest)
1038 // <1=> 1
1039 // <2=> 2
1040 // <3=> 3
1041 // <4=> 4
1042 // <5=> 5
1043 // <6=> 6
1044 // <7=> 7
1045 
1046 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
1047 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7
1048 #endif
1049 
1050 // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
1051 //==========================================================
1052 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
1053 #define NRFX_RTC_CONFIG_LOG_ENABLED 0
1054 #endif
1055 // <o> NRFX_RTC_CONFIG_LOG_LEVEL  - Default Severity level
1056 
1057 // <0=> Off
1058 // <1=> Error
1059 // <2=> Warning
1060 // <3=> Info
1061 // <4=> Debug
1062 
1063 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
1064 #define NRFX_RTC_CONFIG_LOG_LEVEL 3
1065 #endif
1066 
1067 // <o> NRFX_RTC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1068 
1069 // <0=> Default
1070 // <1=> Black
1071 // <2=> Red
1072 // <3=> Green
1073 // <4=> Yellow
1074 // <5=> Blue
1075 // <6=> Magenta
1076 // <7=> Cyan
1077 // <8=> White
1078 
1079 #ifndef NRFX_RTC_CONFIG_INFO_COLOR
1080 #define NRFX_RTC_CONFIG_INFO_COLOR 0
1081 #endif
1082 
1083 // <o> NRFX_RTC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1084 
1085 // <0=> Default
1086 // <1=> Black
1087 // <2=> Red
1088 // <3=> Green
1089 // <4=> Yellow
1090 // <5=> Blue
1091 // <6=> Magenta
1092 // <7=> Cyan
1093 // <8=> White
1094 
1095 #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
1096 #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
1097 #endif
1098 
1099 // </e>
1100 
1101 // </e>
1102 
1103 // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver
1104 //==========================================================
1105 #ifndef NRFX_SAADC_ENABLED
1106 #define NRFX_SAADC_ENABLED 1
1107 #endif
1108 // <o> NRFX_SAADC_CONFIG_RESOLUTION  - Resolution
1109 
1110 // <0=> 8 bit
1111 // <1=> 10 bit
1112 // <2=> 12 bit
1113 // <3=> 14 bit
1114 
1115 #ifndef NRFX_SAADC_CONFIG_RESOLUTION
1116 #define NRFX_SAADC_CONFIG_RESOLUTION 1
1117 #endif
1118 
1119 // <o> NRFX_SAADC_CONFIG_OVERSAMPLE  - Sample period
1120 
1121 // <0=> Disabled
1122 // <1=> 2x
1123 // <2=> 4x
1124 // <3=> 8x
1125 // <4=> 16x
1126 // <5=> 32x
1127 // <6=> 64x
1128 // <7=> 128x
1129 // <8=> 256x
1130 
1131 #ifndef NRFX_SAADC_CONFIG_OVERSAMPLE
1132 #define NRFX_SAADC_CONFIG_OVERSAMPLE 0
1133 #endif
1134 
1135 // <q> NRFX_SAADC_CONFIG_LP_MODE  - Enabling low power mode
1136 
1137 
1138 #ifndef NRFX_SAADC_CONFIG_LP_MODE
1139 #define NRFX_SAADC_CONFIG_LP_MODE 0
1140 #endif
1141 
1142 // <o> NRFX_SAADC_CONFIG_IRQ_PRIORITY  - Interrupt priority
1143 
1144 // <0=> 0 (highest)
1145 // <1=> 1
1146 // <2=> 2
1147 // <3=> 3
1148 // <4=> 4
1149 // <5=> 5
1150 // <6=> 6
1151 // <7=> 7
1152 
1153 #ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY
1154 #define NRFX_SAADC_CONFIG_IRQ_PRIORITY 7
1155 #endif
1156 
1157 // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
1158 //==========================================================
1159 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
1160 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0
1161 #endif
1162 // <o> NRFX_SAADC_CONFIG_LOG_LEVEL  - Default Severity level
1163 
1164 // <0=> Off
1165 // <1=> Error
1166 // <2=> Warning
1167 // <3=> Info
1168 // <4=> Debug
1169 
1170 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
1171 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3
1172 #endif
1173 
1174 // <o> NRFX_SAADC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1175 
1176 // <0=> Default
1177 // <1=> Black
1178 // <2=> Red
1179 // <3=> Green
1180 // <4=> Yellow
1181 // <5=> Blue
1182 // <6=> Magenta
1183 // <7=> Cyan
1184 // <8=> White
1185 
1186 #ifndef NRFX_SAADC_CONFIG_INFO_COLOR
1187 #define NRFX_SAADC_CONFIG_INFO_COLOR 0
1188 #endif
1189 
1190 // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1191 
1192 // <0=> Default
1193 // <1=> Black
1194 // <2=> Red
1195 // <3=> Green
1196 // <4=> Yellow
1197 // <5=> Blue
1198 // <6=> Magenta
1199 // <7=> Cyan
1200 // <8=> White
1201 
1202 #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
1203 #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0
1204 #endif
1205 
1206 // </e>
1207 
1208 // </e>
1209 
1210 // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver
1211 //==========================================================
1212 #ifndef NRFX_SPIM_ENABLED
1213 #define NRFX_SPIM_ENABLED 1
1214 #endif
1215 // <q> NRFX_SPIM0_ENABLED  - Enable SPIM0 instance
1216 
1217 
1218 #ifndef NRFX_SPIM0_ENABLED
1219 #define NRFX_SPIM0_ENABLED 1
1220 #endif
1221 
1222 // <o> NRFX_SPIM_MISO_PULL_CFG  - MISO pin pull configuration.
1223 
1224 // <0=> NRF_GPIO_PIN_NOPULL
1225 // <1=> NRF_GPIO_PIN_PULLDOWN
1226 // <3=> NRF_GPIO_PIN_PULLUP
1227 
1228 #ifndef NRFX_SPIM_MISO_PULL_CFG
1229 #define NRFX_SPIM_MISO_PULL_CFG 1
1230 #endif
1231 
1232 // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1233 
1234 // <0=> 0 (highest)
1235 // <1=> 1
1236 // <2=> 2
1237 // <3=> 3
1238 // <4=> 4
1239 // <5=> 5
1240 // <6=> 6
1241 // <7=> 7
1242 
1243 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
1244 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
1245 #endif
1246 
1247 // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
1248 //==========================================================
1249 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
1250 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
1251 #endif
1252 // <o> NRFX_SPIM_CONFIG_LOG_LEVEL  - Default Severity level
1253 
1254 // <0=> Off
1255 // <1=> Error
1256 // <2=> Warning
1257 // <3=> Info
1258 // <4=> Debug
1259 
1260 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
1261 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
1262 #endif
1263 
1264 // <o> NRFX_SPIM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1265 
1266 // <0=> Default
1267 // <1=> Black
1268 // <2=> Red
1269 // <3=> Green
1270 // <4=> Yellow
1271 // <5=> Blue
1272 // <6=> Magenta
1273 // <7=> Cyan
1274 // <8=> White
1275 
1276 #ifndef NRFX_SPIM_CONFIG_INFO_COLOR
1277 #define NRFX_SPIM_CONFIG_INFO_COLOR 0
1278 #endif
1279 
1280 // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1281 
1282 // <0=> Default
1283 // <1=> Black
1284 // <2=> Red
1285 // <3=> Green
1286 // <4=> Yellow
1287 // <5=> Blue
1288 // <6=> Magenta
1289 // <7=> Cyan
1290 // <8=> White
1291 
1292 #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR
1293 #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
1294 #endif
1295 
1296 // </e>
1297 
1298 // </e>
1299 
1300 // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver
1301 //==========================================================
1302 #ifndef NRFX_SPIS_ENABLED
1303 #define NRFX_SPIS_ENABLED 1
1304 #endif
1305 // <q> NRFX_SPIS0_ENABLED  - Enable SPIS0 instance
1306 
1307 
1308 #ifndef NRFX_SPIS0_ENABLED
1309 #define NRFX_SPIS0_ENABLED 1
1310 #endif
1311 
1312 // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1313 
1314 // <0=> 0 (highest)
1315 // <1=> 1
1316 // <2=> 2
1317 // <3=> 3
1318 // <4=> 4
1319 // <5=> 5
1320 // <6=> 6
1321 // <7=> 7
1322 
1323 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
1324 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
1325 #endif
1326 
1327 // <o> NRFX_SPIS_DEFAULT_DEF - SPIS default DEF character  <0-255>
1328 
1329 
1330 #ifndef NRFX_SPIS_DEFAULT_DEF
1331 #define NRFX_SPIS_DEFAULT_DEF 255
1332 #endif
1333 
1334 // <o> NRFX_SPIS_DEFAULT_ORC - SPIS default ORC character  <0-255>
1335 
1336 
1337 #ifndef NRFX_SPIS_DEFAULT_ORC
1338 #define NRFX_SPIS_DEFAULT_ORC 255
1339 #endif
1340 
1341 // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
1342 //==========================================================
1343 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
1344 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
1345 #endif
1346 // <o> NRFX_SPIS_CONFIG_LOG_LEVEL  - Default Severity level
1347 
1348 // <0=> Off
1349 // <1=> Error
1350 // <2=> Warning
1351 // <3=> Info
1352 // <4=> Debug
1353 
1354 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
1355 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
1356 #endif
1357 
1358 // <o> NRFX_SPIS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1359 
1360 // <0=> Default
1361 // <1=> Black
1362 // <2=> Red
1363 // <3=> Green
1364 // <4=> Yellow
1365 // <5=> Blue
1366 // <6=> Magenta
1367 // <7=> Cyan
1368 // <8=> White
1369 
1370 #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
1371 #define NRFX_SPIS_CONFIG_INFO_COLOR 0
1372 #endif
1373 
1374 // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1375 
1376 // <0=> Default
1377 // <1=> Black
1378 // <2=> Red
1379 // <3=> Green
1380 // <4=> Yellow
1381 // <5=> Blue
1382 // <6=> Magenta
1383 // <7=> Cyan
1384 // <8=> White
1385 
1386 #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
1387 #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
1388 #endif
1389 
1390 // </e>
1391 
1392 // </e>
1393 
1394 // <e> NRFX_SWI_ENABLED - nrfx_swi - SWI/EGU peripheral allocator
1395 //==========================================================
1396 #ifndef NRFX_SWI_ENABLED
1397 #define NRFX_SWI_ENABLED 1
1398 #endif
1399 // <q> NRFX_EGU_ENABLED  - Enable EGU support
1400 
1401 
1402 #ifndef NRFX_EGU_ENABLED
1403 #define NRFX_EGU_ENABLED 1
1404 #endif
1405 
1406 // <q> NRFX_SWI0_DISABLED  - Exclude SWI0 from being utilized by the driver
1407 
1408 
1409 #ifndef NRFX_SWI0_DISABLED
1410 #define NRFX_SWI0_DISABLED 0
1411 #endif
1412 
1413 // <q> NRFX_SWI1_DISABLED  - Exclude SWI1 from being utilized by the driver
1414 
1415 
1416 #ifndef NRFX_SWI1_DISABLED
1417 #define NRFX_SWI1_DISABLED 0
1418 #endif
1419 
1420 // <q> NRFX_SWI2_DISABLED  - Exclude SWI2 from being utilized by the driver
1421 
1422 
1423 #ifndef NRFX_SWI2_DISABLED
1424 #define NRFX_SWI2_DISABLED 0
1425 #endif
1426 
1427 // <q> NRFX_SWI3_DISABLED  - Exclude SWI3 from being utilized by the driver
1428 
1429 
1430 #ifndef NRFX_SWI3_DISABLED
1431 #define NRFX_SWI3_DISABLED 0
1432 #endif
1433 
1434 // <q> NRFX_SWI4_DISABLED  - Exclude SWI4 from being utilized by the driver
1435 
1436 
1437 #ifndef NRFX_SWI4_DISABLED
1438 #define NRFX_SWI4_DISABLED 0
1439 #endif
1440 
1441 // <q> NRFX_SWI5_DISABLED  - Exclude SWI5 from being utilized by the driver
1442 
1443 
1444 #ifndef NRFX_SWI5_DISABLED
1445 #define NRFX_SWI5_DISABLED 0
1446 #endif
1447 
1448 // <e> NRFX_SWI_CONFIG_LOG_ENABLED - Enables logging in the module.
1449 //==========================================================
1450 #ifndef NRFX_SWI_CONFIG_LOG_ENABLED
1451 #define NRFX_SWI_CONFIG_LOG_ENABLED 0
1452 #endif
1453 // <o> NRFX_SWI_CONFIG_LOG_LEVEL  - Default Severity level
1454 
1455 // <0=> Off
1456 // <1=> Error
1457 // <2=> Warning
1458 // <3=> Info
1459 // <4=> Debug
1460 
1461 #ifndef NRFX_SWI_CONFIG_LOG_LEVEL
1462 #define NRFX_SWI_CONFIG_LOG_LEVEL 3
1463 #endif
1464 
1465 // <o> NRFX_SWI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1466 
1467 // <0=> Default
1468 // <1=> Black
1469 // <2=> Red
1470 // <3=> Green
1471 // <4=> Yellow
1472 // <5=> Blue
1473 // <6=> Magenta
1474 // <7=> Cyan
1475 // <8=> White
1476 
1477 #ifndef NRFX_SWI_CONFIG_INFO_COLOR
1478 #define NRFX_SWI_CONFIG_INFO_COLOR 0
1479 #endif
1480 
1481 // <o> NRFX_SWI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1482 
1483 // <0=> Default
1484 // <1=> Black
1485 // <2=> Red
1486 // <3=> Green
1487 // <4=> Yellow
1488 // <5=> Blue
1489 // <6=> Magenta
1490 // <7=> Cyan
1491 // <8=> White
1492 
1493 #ifndef NRFX_SWI_CONFIG_DEBUG_COLOR
1494 #define NRFX_SWI_CONFIG_DEBUG_COLOR 0
1495 #endif
1496 
1497 // </e>
1498 
1499 // </e>
1500 
1501 // <q> NRFX_SYSTICK_ENABLED  - nrfx_systick - ARM(R) SysTick driver
1502 
1503 
1504 #ifndef NRFX_SYSTICK_ENABLED
1505 #define NRFX_SYSTICK_ENABLED 1
1506 #endif
1507 
1508 // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver
1509 //==========================================================
1510 #ifndef NRFX_TIMER_ENABLED
1511 #define NRFX_TIMER_ENABLED 1
1512 #endif
1513 // <q> NRFX_TIMER0_ENABLED  - Enable TIMER0 instance
1514 
1515 
1516 #ifndef NRFX_TIMER0_ENABLED
1517 #define NRFX_TIMER0_ENABLED 1
1518 #endif
1519 
1520 // <q> NRFX_TIMER1_ENABLED  - Enable TIMER1 instance
1521 
1522 
1523 #ifndef NRFX_TIMER1_ENABLED
1524 #define NRFX_TIMER1_ENABLED 1
1525 #endif
1526 
1527 // <q> NRFX_TIMER2_ENABLED  - Enable TIMER2 instance
1528 
1529 
1530 #ifndef NRFX_TIMER2_ENABLED
1531 #define NRFX_TIMER2_ENABLED 1
1532 #endif
1533 
1534 // <o> NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY  - Timer frequency if in Timer mode
1535 
1536 // <0=> 16 MHz
1537 // <1=> 8 MHz
1538 // <2=> 4 MHz
1539 // <3=> 2 MHz
1540 // <4=> 1 MHz
1541 // <5=> 500 kHz
1542 // <6=> 250 kHz
1543 // <7=> 125 kHz
1544 // <8=> 62.5 kHz
1545 // <9=> 31.25 kHz
1546 
1547 #ifndef NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY
1548 #define NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 0
1549 #endif
1550 
1551 // <o> NRFX_TIMER_DEFAULT_CONFIG_MODE  - Timer mode or operation
1552 
1553 // <0=> Timer
1554 // <1=> Counter
1555 
1556 #ifndef NRFX_TIMER_DEFAULT_CONFIG_MODE
1557 #define NRFX_TIMER_DEFAULT_CONFIG_MODE 0
1558 #endif
1559 
1560 // <o> NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH  - Timer counter bit width
1561 
1562 // <0=> 16 bit
1563 // <1=> 8 bit
1564 // <2=> 24 bit
1565 // <3=> 32 bit
1566 
1567 #ifndef NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH
1568 #define NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
1569 #endif
1570 
1571 // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1572 
1573 // <0=> 0 (highest)
1574 // <1=> 1
1575 // <2=> 2
1576 // <3=> 3
1577 // <4=> 4
1578 // <5=> 5
1579 // <6=> 6
1580 // <7=> 7
1581 
1582 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
1583 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 7
1584 #endif
1585 
1586 // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
1587 //==========================================================
1588 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
1589 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
1590 #endif
1591 // <o> NRFX_TIMER_CONFIG_LOG_LEVEL  - Default Severity level
1592 
1593 // <0=> Off
1594 // <1=> Error
1595 // <2=> Warning
1596 // <3=> Info
1597 // <4=> Debug
1598 
1599 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
1600 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
1601 #endif
1602 
1603 // <o> NRFX_TIMER_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1604 
1605 // <0=> Default
1606 // <1=> Black
1607 // <2=> Red
1608 // <3=> Green
1609 // <4=> Yellow
1610 // <5=> Blue
1611 // <6=> Magenta
1612 // <7=> Cyan
1613 // <8=> White
1614 
1615 #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
1616 #define NRFX_TIMER_CONFIG_INFO_COLOR 0
1617 #endif
1618 
1619 // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1620 
1621 // <0=> Default
1622 // <1=> Black
1623 // <2=> Red
1624 // <3=> Green
1625 // <4=> Yellow
1626 // <5=> Blue
1627 // <6=> Magenta
1628 // <7=> Cyan
1629 // <8=> White
1630 
1631 #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
1632 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
1633 #endif
1634 
1635 // </e>
1636 
1637 // </e>
1638 
1639 // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver
1640 //==========================================================
1641 #ifndef NRFX_TWIM_ENABLED
1642 #define NRFX_TWIM_ENABLED 1
1643 #endif
1644 // <q> NRFX_TWIM0_ENABLED  - Enable TWIM0 instance
1645 
1646 
1647 #ifndef NRFX_TWIM0_ENABLED
1648 #define NRFX_TWIM0_ENABLED 1
1649 #endif
1650 
1651 // <o> NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY  - Frequency
1652 
1653 // <26738688=> 100k
1654 // <67108864=> 250k
1655 // <104857600=> 400k
1656 
1657 #ifndef NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY
1658 #define NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY 26738688
1659 #endif
1660 
1661 // <q> NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT  - Enables bus holding after uninit
1662 
1663 
1664 #ifndef NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT
1665 #define NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
1666 #endif
1667 
1668 // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1669 
1670 // <0=> 0 (highest)
1671 // <1=> 1
1672 // <2=> 2
1673 // <3=> 3
1674 // <4=> 4
1675 // <5=> 5
1676 // <6=> 6
1677 // <7=> 7
1678 
1679 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
1680 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
1681 #endif
1682 
1683 // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
1684 //==========================================================
1685 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
1686 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
1687 #endif
1688 // <o> NRFX_TWIM_CONFIG_LOG_LEVEL  - Default Severity level
1689 
1690 // <0=> Off
1691 // <1=> Error
1692 // <2=> Warning
1693 // <3=> Info
1694 // <4=> Debug
1695 
1696 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
1697 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
1698 #endif
1699 
1700 // <o> NRFX_TWIM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1701 
1702 // <0=> Default
1703 // <1=> Black
1704 // <2=> Red
1705 // <3=> Green
1706 // <4=> Yellow
1707 // <5=> Blue
1708 // <6=> Magenta
1709 // <7=> Cyan
1710 // <8=> White
1711 
1712 #ifndef NRFX_TWIM_CONFIG_INFO_COLOR
1713 #define NRFX_TWIM_CONFIG_INFO_COLOR 0
1714 #endif
1715 
1716 // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1717 
1718 // <0=> Default
1719 // <1=> Black
1720 // <2=> Red
1721 // <3=> Green
1722 // <4=> Yellow
1723 // <5=> Blue
1724 // <6=> Magenta
1725 // <7=> Cyan
1726 // <8=> White
1727 
1728 #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
1729 #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0
1730 #endif
1731 
1732 // </e>
1733 
1734 // </e>
1735 
1736 // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver
1737 //==========================================================
1738 #ifndef NRFX_TWIS_ENABLED
1739 #define NRFX_TWIS_ENABLED 1
1740 #endif
1741 // <q> NRFX_TWIS0_ENABLED  - Enable TWIS0 instance
1742 
1743 
1744 #ifndef NRFX_TWIS0_ENABLED
1745 #define NRFX_TWIS0_ENABLED 1
1746 #endif
1747 
1748 // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY  - Assume that any instance would be initialized only once
1749 
1750 
1751 // <i> Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code.
1752 
1753 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
1754 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
1755 #endif
1756 
1757 // <q> NRFX_TWIS_NO_SYNC_MODE  - Remove support for synchronous mode
1758 
1759 
1760 // <i> Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources.
1761 
1762 #ifndef NRFX_TWIS_NO_SYNC_MODE
1763 #define NRFX_TWIS_NO_SYNC_MODE 0
1764 #endif
1765 
1766 // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR0 - Address0
1767 #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR0
1768 #define NRFX_TWIS_DEFAULT_CONFIG_ADDR0 0
1769 #endif
1770 
1771 // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR1 - Address1
1772 #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR1
1773 #define NRFX_TWIS_DEFAULT_CONFIG_ADDR1 0
1774 #endif
1775 
1776 // <o> NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL  - SCL pin pull configuration
1777 
1778 // <0=> Disabled
1779 // <1=> Pull down
1780 // <3=> Pull up
1781 
1782 #ifndef NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL
1783 #define NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL 0
1784 #endif
1785 
1786 // <o> NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL  - SDA pin pull configuration
1787 
1788 // <0=> Disabled
1789 // <1=> Pull down
1790 // <3=> Pull up
1791 
1792 #ifndef NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL
1793 #define NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL 0
1794 #endif
1795 
1796 // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1797 
1798 // <0=> 0 (highest)
1799 // <1=> 1
1800 // <2=> 2
1801 // <3=> 3
1802 // <4=> 4
1803 // <5=> 5
1804 // <6=> 6
1805 // <7=> 7
1806 
1807 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
1808 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
1809 #endif
1810 
1811 // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
1812 //==========================================================
1813 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
1814 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
1815 #endif
1816 // <o> NRFX_TWIS_CONFIG_LOG_LEVEL  - Default Severity level
1817 
1818 // <0=> Off
1819 // <1=> Error
1820 // <2=> Warning
1821 // <3=> Info
1822 // <4=> Debug
1823 
1824 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
1825 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
1826 #endif
1827 
1828 // <o> NRFX_TWIS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1829 
1830 // <0=> Default
1831 // <1=> Black
1832 // <2=> Red
1833 // <3=> Green
1834 // <4=> Yellow
1835 // <5=> Blue
1836 // <6=> Magenta
1837 // <7=> Cyan
1838 // <8=> White
1839 
1840 #ifndef NRFX_TWIS_CONFIG_INFO_COLOR
1841 #define NRFX_TWIS_CONFIG_INFO_COLOR 0
1842 #endif
1843 
1844 // <o> NRFX_TWIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1845 
1846 // <0=> Default
1847 // <1=> Black
1848 // <2=> Red
1849 // <3=> Green
1850 // <4=> Yellow
1851 // <5=> Blue
1852 // <6=> Magenta
1853 // <7=> Cyan
1854 // <8=> White
1855 
1856 #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR
1857 #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
1858 #endif
1859 
1860 // </e>
1861 
1862 // </e>
1863 
1864 // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
1865 //==========================================================
1866 #ifndef NRFX_UARTE_ENABLED
1867 #define NRFX_UARTE_ENABLED 1
1868 #endif
1869 // <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
1870 #ifndef NRFX_UARTE0_ENABLED
1871 #define NRFX_UARTE0_ENABLED 1
1872 #endif
1873 
1874 // <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC  - Hardware Flow Control
1875 
1876 // <0=> Disabled
1877 // <1=> Enabled
1878 
1879 #ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC
1880 #define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0
1881 #endif
1882 
1883 // <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY  - Parity
1884 
1885 // <0=> Excluded
1886 // <14=> Included
1887 
1888 #ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY
1889 #define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0
1890 #endif
1891 
1892 // <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE  - Default Baudrate
1893 
1894 // <323584=> 1200 baud
1895 // <643072=> 2400 baud
1896 // <1290240=> 4800 baud
1897 // <2576384=> 9600 baud
1898 // <3862528=> 14400 baud
1899 // <5152768=> 19200 baud
1900 // <7716864=> 28800 baud
1901 // <8388608=> 31250 baud
1902 // <10289152=> 38400 baud
1903 // <15007744=> 56000 baud
1904 // <15400960=> 57600 baud
1905 // <20615168=> 76800 baud
1906 // <30801920=> 115200 baud
1907 // <61865984=> 230400 baud
1908 // <67108864=> 250000 baud
1909 // <121634816=> 460800 baud
1910 // <251658240=> 921600 baud
1911 // <268435456=> 1000000 baud
1912 
1913 #ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE
1914 #define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920
1915 #endif
1916 
1917 // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1918 
1919 // <0=> 0 (highest)
1920 // <1=> 1
1921 // <2=> 2
1922 // <3=> 3
1923 // <4=> 4
1924 // <5=> 5
1925 // <6=> 6
1926 // <7=> 7
1927 
1928 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
1929 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
1930 #endif
1931 
1932 // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
1933 //==========================================================
1934 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
1935 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
1936 #endif
1937 // <o> NRFX_UARTE_CONFIG_LOG_LEVEL  - Default Severity level
1938 
1939 // <0=> Off
1940 // <1=> Error
1941 // <2=> Warning
1942 // <3=> Info
1943 // <4=> Debug
1944 
1945 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
1946 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
1947 #endif
1948 
1949 // <o> NRFX_UARTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1950 
1951 // <0=> Default
1952 // <1=> Black
1953 // <2=> Red
1954 // <3=> Green
1955 // <4=> Yellow
1956 // <5=> Blue
1957 // <6=> Magenta
1958 // <7=> Cyan
1959 // <8=> White
1960 
1961 #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
1962 #define NRFX_UARTE_CONFIG_INFO_COLOR 0
1963 #endif
1964 
1965 // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1966 
1967 // <0=> Default
1968 // <1=> Black
1969 // <2=> Red
1970 // <3=> Green
1971 // <4=> Yellow
1972 // <5=> Blue
1973 // <6=> Magenta
1974 // <7=> Cyan
1975 // <8=> White
1976 
1977 #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
1978 #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
1979 #endif
1980 
1981 // </e>
1982 
1983 // </e>
1984 
1985 // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver
1986 //==========================================================
1987 #ifndef NRFX_WDT_ENABLED
1988 #define NRFX_WDT_ENABLED 1
1989 #endif
1990 // <o> NRFX_WDT_CONFIG_BEHAVIOUR  - WDT behavior in CPU SLEEP or HALT mode
1991 
1992 // <1=> Run in SLEEP, Pause in HALT
1993 // <8=> Pause in SLEEP, Run in HALT
1994 // <9=> Run in SLEEP and HALT
1995 // <0=> Pause in SLEEP and HALT
1996 
1997 #ifndef NRFX_WDT_CONFIG_BEHAVIOUR
1998 #define NRFX_WDT_CONFIG_BEHAVIOUR 1
1999 #endif
2000 
2001 // <o> NRFX_WDT_CONFIG_RELOAD_VALUE - Reload value  <15-4294967295>
2002 
2003 
2004 #ifndef NRFX_WDT_CONFIG_RELOAD_VALUE
2005 #define NRFX_WDT_CONFIG_RELOAD_VALUE 2000
2006 #endif
2007 
2008 // <o> NRFX_WDT_CONFIG_NO_IRQ  - Remove WDT IRQ handling from WDT driver
2009 
2010 // <0=> Include WDT IRQ handling
2011 // <1=> Remove WDT IRQ handling
2012 
2013 #ifndef NRFX_WDT_CONFIG_NO_IRQ
2014 #define NRFX_WDT_CONFIG_NO_IRQ 0
2015 #endif
2016 
2017 // <o> NRFX_WDT_CONFIG_IRQ_PRIORITY  - Interrupt priority
2018 
2019 // <0=> 0 (highest)
2020 // <1=> 1
2021 // <2=> 2
2022 // <3=> 3
2023 // <4=> 4
2024 // <5=> 5
2025 // <6=> 6
2026 // <7=> 7
2027 
2028 #ifndef NRFX_WDT_CONFIG_IRQ_PRIORITY
2029 #define NRFX_WDT_CONFIG_IRQ_PRIORITY 7
2030 #endif
2031 
2032 // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
2033 //==========================================================
2034 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
2035 #define NRFX_WDT_CONFIG_LOG_ENABLED 0
2036 #endif
2037 // <o> NRFX_WDT_CONFIG_LOG_LEVEL  - Default Severity level
2038 
2039 // <0=> Off
2040 // <1=> Error
2041 // <2=> Warning
2042 // <3=> Info
2043 // <4=> Debug
2044 
2045 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
2046 #define NRFX_WDT_CONFIG_LOG_LEVEL 3
2047 #endif
2048 
2049 // <o> NRFX_WDT_CONFIG_INFO_COLOR  - ANSI escape code prefix.
2050 
2051 // <0=> Default
2052 // <1=> Black
2053 // <2=> Red
2054 // <3=> Green
2055 // <4=> Yellow
2056 // <5=> Blue
2057 // <6=> Magenta
2058 // <7=> Cyan
2059 // <8=> White
2060 
2061 #ifndef NRFX_WDT_CONFIG_INFO_COLOR
2062 #define NRFX_WDT_CONFIG_INFO_COLOR 0
2063 #endif
2064 
2065 // <o> NRFX_WDT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
2066 
2067 // <0=> Default
2068 // <1=> Black
2069 // <2=> Red
2070 // <3=> Green
2071 // <4=> Yellow
2072 // <5=> Blue
2073 // <6=> Magenta
2074 // <7=> Cyan
2075 // <8=> White
2076 
2077 #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
2078 #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
2079 #endif
2080 
2081 // </e>
2082 
2083 // </e>
2084 
2085 // </h>
2086 
2087 #endif // NRFX_CONFIG_H__
2088