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