1 /*
2  * Copyright (c) 2019 - 2020, Nordic Semiconductor ASA
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright notice, this
9  *    list of conditions and the following disclaimer.
10  *
11  * 2. Redistributions in binary form must reproduce the above copyright
12  *    notice, this list of conditions and the following disclaimer in the
13  *    documentation and/or other materials provided with the distribution.
14  *
15  * 3. Neither the name of the copyright holder nor the names of its
16  *    contributors may be used to endorse or promote products derived from this
17  *    software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  * POSSIBILITY OF SUCH DAMAGE.
30  */
31 
32 #ifndef NRFX_CONFIG_NRF5340_APPLICATION_H__
33 #define NRFX_CONFIG_NRF5340_APPLICATION_H__
34 
35 #ifndef NRFX_CONFIG_H__
36 #error "This file should not be included directly. Include nrfx_config.h instead."
37 #endif
38 
39 #define NRF_CLOCK        NRF_PERIPH(NRF_CLOCK)
40 #define NRF_COMP         NRF_PERIPH(NRF_COMP)
41 #define NRF_CTRLAP       NRF_PERIPH(NRF_CTRLAP)
42 #define NRF_DCNF         NRF_PERIPH(NRF_DCNF)
43 #define NRF_DPPIC        NRF_PERIPH(NRF_DPPIC)
44 #define NRF_EGU0         NRF_PERIPH(NRF_EGU0)
45 #define NRF_EGU1         NRF_PERIPH(NRF_EGU1)
46 #define NRF_EGU2         NRF_PERIPH(NRF_EGU2)
47 #define NRF_EGU3         NRF_PERIPH(NRF_EGU3)
48 #define NRF_EGU4         NRF_PERIPH(NRF_EGU4)
49 #define NRF_EGU5         NRF_PERIPH(NRF_EGU5)
50 #define NRF_FPU          NRF_PERIPH(NRF_FPU)
51 #define NRF_I2S0         NRF_PERIPH(NRF_I2S0)
52 #define NRF_IPC          NRF_PERIPH(NRF_IPC)
53 #define NRF_KMU          NRF_PERIPH(NRF_KMU)
54 #define NRF_LPCOMP       NRF_PERIPH(NRF_LPCOMP)
55 #define NRF_MUTEX        NRF_PERIPH(NRF_MUTEX)
56 #define NRF_NFCT         NRF_PERIPH(NRF_NFCT)
57 #define NRF_NVMC         NRF_PERIPH(NRF_NVMC)
58 #define NRF_OSCILLATORS  NRF_PERIPH(NRF_OSCILLATORS)
59 #define NRF_P0           NRF_PERIPH(NRF_P0)
60 #define NRF_P1           NRF_PERIPH(NRF_P1)
61 #define NRF_PDM0         NRF_PERIPH(NRF_PDM0)
62 #define NRF_POWER        NRF_PERIPH(NRF_POWER)
63 #define NRF_PWM0         NRF_PERIPH(NRF_PWM0)
64 #define NRF_PWM1         NRF_PERIPH(NRF_PWM1)
65 #define NRF_PWM2         NRF_PERIPH(NRF_PWM2)
66 #define NRF_PWM3         NRF_PERIPH(NRF_PWM3)
67 #define NRF_QDEC0        NRF_PERIPH(NRF_QDEC0)
68 #define NRF_QDEC1        NRF_PERIPH(NRF_QDEC1)
69 #define NRF_QSPI         NRF_PERIPH(NRF_QSPI)
70 #define NRF_REGULATORS   NRF_PERIPH(NRF_REGULATORS)
71 #define NRF_RESET        NRF_PERIPH(NRF_RESET)
72 #define NRF_RTC0         NRF_PERIPH(NRF_RTC0)
73 #define NRF_RTC1         NRF_PERIPH(NRF_RTC1)
74 #define NRF_SAADC        NRF_PERIPH(NRF_SAADC)
75 #define NRF_SPIM0        NRF_PERIPH(NRF_SPIM0)
76 #define NRF_SPIM1        NRF_PERIPH(NRF_SPIM1)
77 #define NRF_SPIM2        NRF_PERIPH(NRF_SPIM2)
78 #define NRF_SPIM3        NRF_PERIPH(NRF_SPIM3)
79 #define NRF_SPIM4        NRF_PERIPH(NRF_SPIM4)
80 #define NRF_SPIS0        NRF_PERIPH(NRF_SPIS0)
81 #define NRF_SPIS1        NRF_PERIPH(NRF_SPIS1)
82 #define NRF_SPIS2        NRF_PERIPH(NRF_SPIS2)
83 #define NRF_SPIS3        NRF_PERIPH(NRF_SPIS3)
84 #define NRF_TIMER0       NRF_PERIPH(NRF_TIMER0)
85 #define NRF_TIMER1       NRF_PERIPH(NRF_TIMER1)
86 #define NRF_TIMER2       NRF_PERIPH(NRF_TIMER2)
87 #define NRF_TWIM0        NRF_PERIPH(NRF_TWIM0)
88 #define NRF_TWIM1        NRF_PERIPH(NRF_TWIM1)
89 #define NRF_TWIM2        NRF_PERIPH(NRF_TWIM2)
90 #define NRF_TWIM3        NRF_PERIPH(NRF_TWIM3)
91 #define NRF_TWIS0        NRF_PERIPH(NRF_TWIS0)
92 #define NRF_TWIS1        NRF_PERIPH(NRF_TWIS1)
93 #define NRF_TWIS2        NRF_PERIPH(NRF_TWIS2)
94 #define NRF_TWIS3        NRF_PERIPH(NRF_TWIS3)
95 #define NRF_UARTE0       NRF_PERIPH(NRF_UARTE0)
96 #define NRF_UARTE1       NRF_PERIPH(NRF_UARTE1)
97 #define NRF_UARTE2       NRF_PERIPH(NRF_UARTE2)
98 #define NRF_UARTE3       NRF_PERIPH(NRF_UARTE3)
99 #define NRF_USBD         NRF_PERIPH(NRF_USBD)
100 #define NRF_USBREGULATOR NRF_PERIPH(NRF_USBREGULATOR)
101 #define NRF_VMC          NRF_PERIPH(NRF_VMC)
102 #define NRF_WDT0         NRF_PERIPH(NRF_WDT0)
103 #define NRF_WDT1         NRF_PERIPH(NRF_WDT1)
104 
105 /*
106  * The following section provides the name translation for peripherals with
107  * only one type of access available. For these peripherals, you cannot choose
108  * between secure and non-secure mapping.
109  */
110 #if defined(NRF_TRUSTZONE_NONSECURE)
111 #define NRF_GPIOTE1      NRF_GPIOTE1_NS
112 #else
113 #define NRF_CACHE        NRF_CACHE_S
114 #define NRF_CACHEINFO    NRF_CACHEINFO_S
115 #define NRF_CACHEDATA    NRF_CACHEDATA_S
116 #define NRF_CRYPTOCELL   NRF_CRYPTOCELL_S
117 #define NRF_CTI          NRF_CTI_S
118 #define NRF_FICR         NRF_FICR_S
119 #define NRF_GPIOTE0      NRF_GPIOTE0_S
120 #define NRF_SPU          NRF_SPU_S
121 #define NRF_TAD          NRF_TAD_S
122 #define NRF_UICR         NRF_UICR_S
123 #endif
124 
125 /* Fixup for the QDEC driver. */
126 #define NRF_QDEC         NRF_QDEC0
127 
128 /* Fixup for the GPIOTE driver. */
129 #if defined(NRF_TRUSTZONE_NONSECURE)
130 #define NRF_GPIOTE       NRF_GPIOTE1
131 #else
132 #define NRF_GPIOTE       NRF_GPIOTE0
133 #endif
134 
135 
136 // <<< Use Configuration Wizard in Context Menu >>>\n
137 
138 // <h> nRF_Drivers
139 
140 // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver.
141 //==========================================================
142 #ifndef NRFX_CLOCK_ENABLED
143 #define NRFX_CLOCK_ENABLED 0
144 #endif
145 // <o> NRFX_CLOCK_CONFIG_LF_SRC  - LF clock source.
146 
147 // <0=> ULP
148 // <1=> RC
149 // <2=> XTAL
150 // <3=> Synth
151 
152 #ifndef NRFX_CLOCK_CONFIG_LF_SRC
153 #define NRFX_CLOCK_CONFIG_LF_SRC 2
154 #endif
155 
156 // <q> NRFX_CLOCK_CONFIG_LF_CAL_ENABLED  - Enables LF Clock Calibration Support
157 
158 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
159 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0
160 #endif
161 
162 // <q> NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED - Enables two-stage LFXO start procedure
163 
164 // <i> If set to a non-zero value, LFRC will be started before LFXO and corresponding
165 // <i> event will be generated. It means that CPU will be woken up when LFRC
166 // <i> oscillator starts, but user callback will be invoked only after LFXO
167 // <i> finally starts.
168 
169 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED
170 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0
171 #endif
172 
173 
174 // <o> NRFX_CLOCK_CONFIG_HFCLK192M_SRC  - HFCLK192M source.
175 
176 // <0=> HFINT
177 // <1=> HFXO
178 
179 #ifndef NRFX_CLOCK_CONFIG_HFCLK192M_SRC
180 #define NRFX_CLOCK_CONFIG_HFCLK192M_SRC 1
181 #endif
182 
183 // <o> NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
184 
185 // <0=> 0 (highest)
186 // <1=> 1
187 // <2=> 2
188 // <3=> 3
189 // <4=> 4
190 // <5=> 5
191 // <6=> 6
192 // <7=> 7
193 
194 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
195 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 7
196 #endif
197 
198 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
199 //==========================================================
200 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
201 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
202 #endif
203 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL  - Default severity level.
204 
205 // <0=> Off
206 // <1=> Error
207 // <2=> Warning
208 // <3=> Info
209 // <4=> Debug
210 
211 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
212 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
213 #endif
214 
215 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR  - ANSI escape code prefix.
216 
217 // <0=> Default
218 // <1=> Black
219 // <2=> Red
220 // <3=> Green
221 // <4=> Yellow
222 // <5=> Blue
223 // <6=> Magenta
224 // <7=> Cyan
225 // <8=> White
226 
227 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
228 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
229 #endif
230 
231 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
232 
233 // <0=> Default
234 // <1=> Black
235 // <2=> Red
236 // <3=> Green
237 // <4=> Yellow
238 // <5=> Blue
239 // <6=> Magenta
240 // <7=> Cyan
241 // <8=> White
242 
243 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
244 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
245 #endif
246 
247 // </e>
248 
249 // </e>
250 
251 // <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
252 //==========================================================
253 #ifndef NRFX_COMP_ENABLED
254 #define NRFX_COMP_ENABLED 0
255 #endif
256 
257 // <o> NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
258 
259 // <0=> 0 (highest)
260 // <1=> 1
261 // <2=> 2
262 // <3=> 3
263 // <4=> 4
264 // <5=> 5
265 // <6=> 6
266 // <7=> 7
267 
268 #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY
269 #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
270 #endif
271 
272 // <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
273 //==========================================================
274 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED
275 #define NRFX_COMP_CONFIG_LOG_ENABLED 0
276 #endif
277 // <o> NRFX_COMP_CONFIG_LOG_LEVEL  - Default Severity level
278 
279 // <0=> Off
280 // <1=> Error
281 // <2=> Warning
282 // <3=> Info
283 // <4=> Debug
284 
285 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL
286 #define NRFX_COMP_CONFIG_LOG_LEVEL 3
287 #endif
288 
289 // <o> NRFX_COMP_CONFIG_INFO_COLOR  - ANSI escape code prefix.
290 
291 // <0=> Default
292 // <1=> Black
293 // <2=> Red
294 // <3=> Green
295 // <4=> Yellow
296 // <5=> Blue
297 // <6=> Magenta
298 // <7=> Cyan
299 // <8=> White
300 
301 #ifndef NRFX_COMP_CONFIG_INFO_COLOR
302 #define NRFX_COMP_CONFIG_INFO_COLOR 0
303 #endif
304 
305 // <o> NRFX_COMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
306 
307 // <0=> Default
308 // <1=> Black
309 // <2=> Red
310 // <3=> Green
311 // <4=> Yellow
312 // <5=> Blue
313 // <6=> Magenta
314 // <7=> Cyan
315 // <8=> White
316 
317 #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR
318 #define NRFX_COMP_CONFIG_DEBUG_COLOR 0
319 #endif
320 
321 // </e>
322 
323 // </e>
324 
325 // <e> NRFX_DPPI_ENABLED - nrfx_dppi - DPPI allocator.
326 //==========================================================
327 #ifndef NRFX_DPPI_ENABLED
328 #define NRFX_DPPI_ENABLED 0
329 #endif
330 // <e> NRFX_DPPI_CONFIG_LOG_ENABLED - Enables logging in the module.
331 //==========================================================
332 #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED
333 #define NRFX_DPPI_CONFIG_LOG_ENABLED 0
334 #endif
335 // <o> NRFX_DPPI_CONFIG_LOG_LEVEL  - Default severity level.
336 
337 // <0=> Off
338 // <1=> Error
339 // <2=> Warning
340 // <3=> Info
341 // <4=> Debug
342 
343 #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL
344 #define NRFX_DPPI_CONFIG_LOG_LEVEL 3
345 #endif
346 
347 // <o> NRFX_DPPI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
348 
349 // <0=> Default
350 // <1=> Black
351 // <2=> Red
352 // <3=> Green
353 // <4=> Yellow
354 // <5=> Blue
355 // <6=> Magenta
356 // <7=> Cyan
357 // <8=> White
358 
359 #ifndef NRFX_DPPI_CONFIG_INFO_COLOR
360 #define NRFX_DPPI_CONFIG_INFO_COLOR 0
361 #endif
362 
363 // <o> NRFX_DPPI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
364 
365 // <0=> Default
366 // <1=> Black
367 // <2=> Red
368 // <3=> Green
369 // <4=> Yellow
370 // <5=> Blue
371 // <6=> Magenta
372 // <7=> Cyan
373 // <8=> White
374 
375 #ifndef NRFX_DPPI_CONFIG_DEBUG_COLOR
376 #define NRFX_DPPI_CONFIG_DEBUG_COLOR 0
377 #endif
378 
379 // </e>
380 
381 // </e>
382 
383 // <e> NRFX_EGU_ENABLED - nrfx_egu - EGU peripheral driver.
384 //==========================================================
385 #ifndef NRFX_EGU_ENABLED
386 #define NRFX_EGU_ENABLED 0
387 #endif
388 
389 // <q> NRFX_EGU0_ENABLED  - Enable EGU0 instance.
390 
391 #ifndef NRFX_EGU0_ENABLED
392 #define NRFX_EGU0_ENABLED 0
393 #endif
394 
395 // <q> NRFX_EGU1_ENABLED  - Enable EGU1 instance.
396 
397 #ifndef NRFX_EGU1_ENABLED
398 #define NRFX_EGU1_ENABLED 0
399 #endif
400 
401 // <q> NRFX_EGU2_ENABLED  - Enable EGU2 instance.
402 
403 #ifndef NRFX_EGU2_ENABLED
404 #define NRFX_EGU2_ENABLED 0
405 #endif
406 
407 // <q> NRFX_EGU3_ENABLED  - Enable EGU3 instance.
408 
409 #ifndef NRFX_EGU3_ENABLED
410 #define NRFX_EGU3_ENABLED 0
411 #endif
412 
413 // <q> NRFX_EGU4_ENABLED  - Enable EGU4 instance.
414 
415 #ifndef NRFX_EGU4_ENABLED
416 #define NRFX_EGU4_ENABLED 0
417 #endif
418 
419 // <q> NRFX_EGU5_ENABLED  - Enable EGU5 instance.
420 
421 #ifndef NRFX_EGU5_ENABLED
422 #define NRFX_EGU5_ENABLED 0
423 #endif
424 
425 // <o> NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
426 
427 // <0=> 0 (highest)
428 // <1=> 1
429 // <2=> 2
430 // <3=> 3
431 // <4=> 4
432 // <5=> 5
433 // <6=> 6
434 // <7=> 7
435 
436 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY
437 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 7
438 #endif
439 
440 // </e>
441 
442 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver.
443 //==========================================================
444 #ifndef NRFX_GPIOTE_ENABLED
445 #define NRFX_GPIOTE_ENABLED 0
446 #endif
447 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins.
448 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
449 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
450 #endif
451 
452 // <o> NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
453 
454 // <0=> 0 (highest)
455 // <1=> 1
456 // <2=> 2
457 // <3=> 3
458 // <4=> 4
459 // <5=> 5
460 // <6=> 6
461 // <7=> 7
462 
463 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY
464 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
465 #endif
466 
467 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
468 //==========================================================
469 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
470 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
471 #endif
472 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL  - Default severity level.
473 
474 // <0=> Off
475 // <1=> Error
476 // <2=> Warning
477 // <3=> Info
478 // <4=> Debug
479 
480 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
481 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
482 #endif
483 
484 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
485 
486 // <0=> Default
487 // <1=> Black
488 // <2=> Red
489 // <3=> Green
490 // <4=> Yellow
491 // <5=> Blue
492 // <6=> Magenta
493 // <7=> Cyan
494 // <8=> White
495 
496 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
497 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
498 #endif
499 
500 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
501 
502 // <0=> Default
503 // <1=> Black
504 // <2=> Red
505 // <3=> Green
506 // <4=> Yellow
507 // <5=> Blue
508 // <6=> Magenta
509 // <7=> Cyan
510 // <8=> White
511 
512 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
513 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
514 #endif
515 
516 // </e>
517 
518 // </e>
519 
520 // <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver.
521 //==========================================================
522 #ifndef NRFX_I2S_ENABLED
523 #define NRFX_I2S_ENABLED 0
524 #endif
525 
526 // <o> NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
527 
528 // <0=> 0 (highest)
529 // <1=> 1
530 // <2=> 2
531 // <3=> 3
532 // <4=> 4
533 // <5=> 5
534 // <6=> 6
535 // <7=> 7
536 
537 #ifndef NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY
538 #define NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 7
539 #endif
540 
541 // <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
542 //==========================================================
543 #ifndef NRFX_I2S_CONFIG_LOG_ENABLED
544 #define NRFX_I2S_CONFIG_LOG_ENABLED 0
545 #endif
546 // <o> NRFX_I2S_CONFIG_LOG_LEVEL  - Default severity level.
547 
548 // <0=> Off
549 // <1=> Error
550 // <2=> Warning
551 // <3=> Info
552 // <4=> Debug
553 
554 #ifndef NRFX_I2S_CONFIG_LOG_LEVEL
555 #define NRFX_I2S_CONFIG_LOG_LEVEL 3
556 #endif
557 
558 // <o> NRFX_I2S_CONFIG_INFO_COLOR  - ANSI escape code prefix.
559 
560 // <0=> Default
561 // <1=> Black
562 // <2=> Red
563 // <3=> Green
564 // <4=> Yellow
565 // <5=> Blue
566 // <6=> Magenta
567 // <7=> Cyan
568 // <8=> White
569 
570 #ifndef NRFX_I2S_CONFIG_INFO_COLOR
571 #define NRFX_I2S_CONFIG_INFO_COLOR 0
572 #endif
573 
574 // <o> NRFX_I2S_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
575 
576 // <0=> Default
577 // <1=> Black
578 // <2=> Red
579 // <3=> Green
580 // <4=> Yellow
581 // <5=> Blue
582 // <6=> Magenta
583 // <7=> Cyan
584 // <8=> White
585 
586 #ifndef NRFX_I2S_CONFIG_DEBUG_COLOR
587 #define NRFX_I2S_CONFIG_DEBUG_COLOR 0
588 #endif
589 
590 // </e>
591 
592 // </e>
593 
594 // <e> NRFX_IPC_ENABLED - nrfx_ipc - IPC peripheral driver
595 //==========================================================
596 #ifndef NRFX_IPC_ENABLED
597 #define NRFX_IPC_ENABLED 0
598 #endif
599 
600 // </e>
601 
602 // <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
603 //==========================================================
604 #ifndef NRFX_LPCOMP_ENABLED
605 #define NRFX_LPCOMP_ENABLED 0
606 #endif
607 
608 // <o> NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
609 
610 // <0=> 0 (highest)
611 // <1=> 1
612 // <2=> 2
613 // <3=> 3
614 // <4=> 4
615 // <5=> 5
616 // <6=> 6
617 // <7=> 7
618 
619 #ifndef NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY
620 #define NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
621 #endif
622 
623 // <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
624 //==========================================================
625 #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED
626 #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0
627 #endif
628 // <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL  - Default Severity level
629 
630 // <0=> Off
631 // <1=> Error
632 // <2=> Warning
633 // <3=> Info
634 // <4=> Debug
635 
636 #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL
637 #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3
638 #endif
639 
640 // <o> NRFX_LPCOMP_CONFIG_INFO_COLOR  - ANSI escape code prefix.
641 
642 // <0=> Default
643 // <1=> Black
644 // <2=> Red
645 // <3=> Green
646 // <4=> Yellow
647 // <5=> Blue
648 // <6=> Magenta
649 // <7=> Cyan
650 // <8=> White
651 
652 #ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR
653 #define NRFX_LPCOMP_CONFIG_INFO_COLOR 0
654 #endif
655 
656 // <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
657 
658 // <0=> Default
659 // <1=> Black
660 // <2=> Red
661 // <3=> Green
662 // <4=> Yellow
663 // <5=> Blue
664 // <6=> Magenta
665 // <7=> Cyan
666 // <8=> White
667 
668 #ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR
669 #define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0
670 #endif
671 
672 // </e>
673 
674 // </e>
675 
676 // <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
677 //==========================================================
678 #ifndef NRFX_NFCT_ENABLED
679 #define NRFX_NFCT_ENABLED 0
680 #endif
681 // <o> NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
682 
683 // <0=> 0 (highest)
684 // <1=> 1
685 // <2=> 2
686 // <3=> 3
687 // <4=> 4
688 // <5=> 5
689 // <6=> 6
690 // <7=> 7
691 
692 #ifndef NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY
693 #define NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 7
694 #endif
695 
696 // <o> NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID - Timer instance used for workarounds in the driver.
697 
698 // <0=> 0
699 // <1=> 1
700 // <2=> 2
701 
702 #ifndef NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID
703 #define NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 2
704 #endif
705 
706 // <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module.
707 //==========================================================
708 #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED
709 #define NRFX_NFCT_CONFIG_LOG_ENABLED 0
710 #endif
711 // <o> NRFX_NFCT_CONFIG_LOG_LEVEL  - Default Severity level
712 
713 // <0=> Off
714 // <1=> Error
715 // <2=> Warning
716 // <3=> Info
717 // <4=> Debug
718 
719 #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL
720 #define NRFX_NFCT_CONFIG_LOG_LEVEL 3
721 #endif
722 
723 // <o> NRFX_NFCT_CONFIG_INFO_COLOR  - ANSI escape code prefix.
724 
725 // <0=> Default
726 // <1=> Black
727 // <2=> Red
728 // <3=> Green
729 // <4=> Yellow
730 // <5=> Blue
731 // <6=> Magenta
732 // <7=> Cyan
733 // <8=> White
734 
735 #ifndef NRFX_NFCT_CONFIG_INFO_COLOR
736 #define NRFX_NFCT_CONFIG_INFO_COLOR 0
737 #endif
738 
739 // <o> NRFX_NFCT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
740 
741 // <0=> Default
742 // <1=> Black
743 // <2=> Red
744 // <3=> Green
745 // <4=> Yellow
746 // <5=> Blue
747 // <6=> Magenta
748 // <7=> Cyan
749 // <8=> White
750 
751 #ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR
752 #define NRFX_NFCT_CONFIG_DEBUG_COLOR 0
753 #endif
754 
755 // </e>
756 
757 // </e>
758 
759 // <e> NRFX_NVMC_ENABLED - nrfx_nvmc - NVMC peripheral driver
760 //==========================================================
761 #ifndef NRFX_NVMC_ENABLED
762 #define NRFX_NVMC_ENABLED 0
763 #endif
764 
765 // </e>
766 
767 // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver.
768 //==========================================================
769 #ifndef NRFX_PDM_ENABLED
770 #define NRFX_PDM_ENABLED 0
771 #endif
772 
773 // <o> NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
774 
775 // <0=> 0 (highest)
776 // <1=> 1
777 // <2=> 2
778 // <3=> 3
779 // <4=> 4
780 // <5=> 5
781 // <6=> 6
782 // <7=> 7
783 
784 #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY
785 #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 7
786 #endif
787 
788 // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
789 //==========================================================
790 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED
791 #define NRFX_PDM_CONFIG_LOG_ENABLED 0
792 #endif
793 // <o> NRFX_PDM_CONFIG_LOG_LEVEL  - Default severity level.
794 
795 // <0=> Off
796 // <1=> Error
797 // <2=> Warning
798 // <3=> Info
799 // <4=> Debug
800 
801 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL
802 #define NRFX_PDM_CONFIG_LOG_LEVEL 3
803 #endif
804 
805 // <o> NRFX_PDM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
806 
807 // <0=> Default
808 // <1=> Black
809 // <2=> Red
810 // <3=> Green
811 // <4=> Yellow
812 // <5=> Blue
813 // <6=> Magenta
814 // <7=> Cyan
815 // <8=> White
816 
817 #ifndef NRFX_PDM_CONFIG_INFO_COLOR
818 #define NRFX_PDM_CONFIG_INFO_COLOR 0
819 #endif
820 
821 // <o> NRFX_PDM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
822 
823 // <0=> Default
824 // <1=> Black
825 // <2=> Red
826 // <3=> Green
827 // <4=> Yellow
828 // <5=> Blue
829 // <6=> Magenta
830 // <7=> Cyan
831 // <8=> White
832 
833 #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
834 #define NRFX_PDM_CONFIG_DEBUG_COLOR 0
835 #endif
836 
837 // </e>
838 
839 // </e>
840 
841 // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver.
842 //==========================================================
843 #ifndef NRFX_POWER_ENABLED
844 #define NRFX_POWER_ENABLED 0
845 #endif
846 // <o> NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
847 
848 // <0=> 0 (highest)
849 // <1=> 1
850 // <2=> 2
851 // <3=> 3
852 // <4=> 4
853 // <5=> 5
854 // <6=> 6
855 // <7=> 7
856 
857 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY
858 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 7
859 #endif
860 
861 // </e>
862 
863 // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing (PRS) module.
864 //==========================================================
865 #ifndef NRFX_PRS_ENABLED
866 #define NRFX_PRS_ENABLED 0
867 #endif
868 // <q> NRFX_PRS_BOX_0_ENABLED  - Enables box 0 in the module.
869 
870 
871 #ifndef NRFX_PRS_BOX_0_ENABLED
872 #define NRFX_PRS_BOX_0_ENABLED 0
873 #endif
874 
875 // <q> NRFX_PRS_BOX_1_ENABLED  - Enables box 1 in the module.
876 
877 
878 #ifndef NRFX_PRS_BOX_1_ENABLED
879 #define NRFX_PRS_BOX_1_ENABLED 0
880 #endif
881 
882 // <q> NRFX_PRS_BOX_2_ENABLED  - Enables box 2 in the module.
883 
884 
885 #ifndef NRFX_PRS_BOX_2_ENABLED
886 #define NRFX_PRS_BOX_2_ENABLED 0
887 #endif
888 
889 // <q> NRFX_PRS_BOX_3_ENABLED  - Enables box 3 in the module.
890 
891 
892 #ifndef NRFX_PRS_BOX_3_ENABLED
893 #define NRFX_PRS_BOX_3_ENABLED 0
894 #endif
895 
896 // <q> NRFX_PRS_BOX_4_ENABLED  - Enables box 4 in the module.
897 
898 
899 #ifndef NRFX_PRS_BOX_4_ENABLED
900 #define NRFX_PRS_BOX_4_ENABLED 0
901 #endif
902 
903 
904 // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
905 //==========================================================
906 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
907 #define NRFX_PRS_CONFIG_LOG_ENABLED 0
908 #endif
909 // <o> NRFX_PRS_CONFIG_LOG_LEVEL  - Default severity level.
910 
911 // <0=> Off
912 // <1=> Error
913 // <2=> Warning
914 // <3=> Info
915 // <4=> Debug
916 
917 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
918 #define NRFX_PRS_CONFIG_LOG_LEVEL 3
919 #endif
920 
921 // <o> NRFX_PRS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
922 
923 // <0=> Default
924 // <1=> Black
925 // <2=> Red
926 // <3=> Green
927 // <4=> Yellow
928 // <5=> Blue
929 // <6=> Magenta
930 // <7=> Cyan
931 // <8=> White
932 
933 #ifndef NRFX_PRS_CONFIG_INFO_COLOR
934 #define NRFX_PRS_CONFIG_INFO_COLOR 0
935 #endif
936 
937 // <o> NRFX_PRS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
938 
939 // <0=> Default
940 // <1=> Black
941 // <2=> Red
942 // <3=> Green
943 // <4=> Yellow
944 // <5=> Blue
945 // <6=> Magenta
946 // <7=> Cyan
947 // <8=> White
948 
949 #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
950 #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
951 #endif
952 
953 // </e>
954 
955 // </e>
956 
957 // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver.
958 //==========================================================
959 #ifndef NRFX_PWM_ENABLED
960 #define NRFX_PWM_ENABLED 0
961 #endif
962 // <q> NRFX_PWM0_ENABLED  - Enables PWM0 instance.
963 
964 
965 #ifndef NRFX_PWM0_ENABLED
966 #define NRFX_PWM0_ENABLED 0
967 #endif
968 
969 // <q> NRFX_PWM1_ENABLED  - Enables PWM1 instance.
970 
971 
972 #ifndef NRFX_PWM1_ENABLED
973 #define NRFX_PWM1_ENABLED 0
974 #endif
975 
976 // <q> NRFX_PWM2_ENABLED  - Enables PWM2 instance.
977 
978 
979 #ifndef NRFX_PWM2_ENABLED
980 #define NRFX_PWM2_ENABLED 0
981 #endif
982 
983 // <q> NRFX_PWM3_ENABLED  - Enables PWM3 instance.
984 
985 
986 #ifndef NRFX_PWM3_ENABLED
987 #define NRFX_PWM3_ENABLED 0
988 #endif
989 
990 // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
991 
992 // <0=> 0 (highest)
993 // <1=> 1
994 // <2=> 2
995 // <3=> 3
996 // <4=> 4
997 // <5=> 5
998 // <6=> 6
999 // <7=> 7
1000 
1001 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
1002 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 7
1003 #endif
1004 
1005 // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
1006 //==========================================================
1007 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED
1008 #define NRFX_PWM_CONFIG_LOG_ENABLED 0
1009 #endif
1010 // <o> NRFX_PWM_CONFIG_LOG_LEVEL  - Default severity level.
1011 
1012 // <0=> Off
1013 // <1=> Error
1014 // <2=> Warning
1015 // <3=> Info
1016 // <4=> Debug
1017 
1018 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL
1019 #define NRFX_PWM_CONFIG_LOG_LEVEL 3
1020 #endif
1021 
1022 // <o> NRFX_PWM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1023 
1024 // <0=> Default
1025 // <1=> Black
1026 // <2=> Red
1027 // <3=> Green
1028 // <4=> Yellow
1029 // <5=> Blue
1030 // <6=> Magenta
1031 // <7=> Cyan
1032 // <8=> White
1033 
1034 #ifndef NRFX_PWM_CONFIG_INFO_COLOR
1035 #define NRFX_PWM_CONFIG_INFO_COLOR 0
1036 #endif
1037 
1038 // <o> NRFX_PWM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1039 
1040 // <0=> Default
1041 // <1=> Black
1042 // <2=> Red
1043 // <3=> Green
1044 // <4=> Yellow
1045 // <5=> Blue
1046 // <6=> Magenta
1047 // <7=> Cyan
1048 // <8=> White
1049 
1050 #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
1051 #define NRFX_PWM_CONFIG_DEBUG_COLOR 0
1052 #endif
1053 
1054 // </e>
1055 
1056 // </e>
1057 
1058 // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
1059 //==========================================================
1060 #ifndef NRFX_QDEC_ENABLED
1061 #define NRFX_QDEC_ENABLED 0
1062 #endif
1063 
1064 // <o> NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1065 
1066 // <0=> 0 (highest)
1067 // <1=> 1
1068 // <2=> 2
1069 // <3=> 3
1070 // <4=> 4
1071 // <5=> 5
1072 // <6=> 6
1073 // <7=> 7
1074 
1075 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY
1076 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 7
1077 #endif
1078 
1079 // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
1080 //==========================================================
1081 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
1082 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
1083 #endif
1084 // <o> NRFX_QDEC_CONFIG_LOG_LEVEL  - Default Severity level
1085 
1086 // <0=> Off
1087 // <1=> Error
1088 // <2=> Warning
1089 // <3=> Info
1090 // <4=> Debug
1091 
1092 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
1093 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
1094 #endif
1095 
1096 // <o> NRFX_QDEC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1097 
1098 // <0=> Default
1099 // <1=> Black
1100 // <2=> Red
1101 // <3=> Green
1102 // <4=> Yellow
1103 // <5=> Blue
1104 // <6=> Magenta
1105 // <7=> Cyan
1106 // <8=> White
1107 
1108 #ifndef NRFX_QDEC_CONFIG_INFO_COLOR
1109 #define NRFX_QDEC_CONFIG_INFO_COLOR 0
1110 #endif
1111 
1112 // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1113 
1114 // <0=> Default
1115 // <1=> Black
1116 // <2=> Red
1117 // <3=> Green
1118 // <4=> Yellow
1119 // <5=> Blue
1120 // <6=> Magenta
1121 // <7=> Cyan
1122 // <8=> White
1123 
1124 #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
1125 #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
1126 #endif
1127 
1128 // </e>
1129 
1130 // </e>
1131 
1132 // <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver
1133 //==========================================================
1134 #ifndef NRFX_QSPI_ENABLED
1135 #define NRFX_QSPI_ENABLED 0
1136 #endif
1137 
1138 // <o> NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1139 
1140 // <0=> 0 (highest)
1141 // <1=> 1
1142 // <2=> 2
1143 // <3=> 3
1144 // <4=> 4
1145 // <5=> 5
1146 // <6=> 6
1147 // <7=> 7
1148 
1149 #ifndef NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY
1150 #define NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 7
1151 #endif
1152 
1153 // </e>
1154 
1155 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver.
1156 //==========================================================
1157 #ifndef NRFX_RTC_ENABLED
1158 #define NRFX_RTC_ENABLED 0
1159 #endif
1160 // <q> NRFX_RTC0_ENABLED  - Enables RTC0 instance.
1161 
1162 
1163 #ifndef NRFX_RTC0_ENABLED
1164 #define NRFX_RTC0_ENABLED 0
1165 #endif
1166 
1167 // <q> NRFX_RTC1_ENABLED  - Enables RTC1 instance.
1168 
1169 
1170 #ifndef NRFX_RTC1_ENABLED
1171 #define NRFX_RTC1_ENABLED 0
1172 #endif
1173 
1174 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1175 
1176 // <0=> 0 (highest)
1177 // <1=> 1
1178 // <2=> 2
1179 // <3=> 3
1180 // <4=> 4
1181 // <5=> 5
1182 // <6=> 6
1183 // <7=> 7
1184 
1185 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
1186 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7
1187 #endif
1188 
1189 // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
1190 //==========================================================
1191 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
1192 #define NRFX_RTC_CONFIG_LOG_ENABLED 0
1193 #endif
1194 // <o> NRFX_RTC_CONFIG_LOG_LEVEL  - Default severity level.
1195 
1196 // <0=> Off
1197 // <1=> Error
1198 // <2=> Warning
1199 // <3=> Info
1200 // <4=> Debug
1201 
1202 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
1203 #define NRFX_RTC_CONFIG_LOG_LEVEL 3
1204 #endif
1205 
1206 // <o> NRFX_RTC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1207 
1208 // <0=> Default
1209 // <1=> Black
1210 // <2=> Red
1211 // <3=> Green
1212 // <4=> Yellow
1213 // <5=> Blue
1214 // <6=> Magenta
1215 // <7=> Cyan
1216 // <8=> White
1217 
1218 #ifndef NRFX_RTC_CONFIG_INFO_COLOR
1219 #define NRFX_RTC_CONFIG_INFO_COLOR 0
1220 #endif
1221 
1222 // <o> NRFX_RTC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1223 
1224 // <0=> Default
1225 // <1=> Black
1226 // <2=> Red
1227 // <3=> Green
1228 // <4=> Yellow
1229 // <5=> Blue
1230 // <6=> Magenta
1231 // <7=> Cyan
1232 // <8=> White
1233 
1234 #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
1235 #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
1236 #endif
1237 
1238 // </e>
1239 
1240 // </e>
1241 
1242 // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver.
1243 //==========================================================
1244 #ifndef NRFX_SAADC_ENABLED
1245 #define NRFX_SAADC_ENABLED 0
1246 #endif
1247 
1248 // <o> NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1249 
1250 // <0=> 0 (highest)
1251 // <1=> 1
1252 // <2=> 2
1253 // <3=> 3
1254 // <4=> 4
1255 // <5=> 5
1256 // <6=> 6
1257 // <7=> 7
1258 
1259 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY
1260 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 7
1261 #endif
1262 
1263 // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
1264 //==========================================================
1265 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
1266 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0
1267 #endif
1268 // <o> NRFX_SAADC_CONFIG_LOG_LEVEL  - Default severity level.
1269 
1270 // <0=> Off
1271 // <1=> Error
1272 // <2=> Warning
1273 // <3=> Info
1274 // <4=> Debug
1275 
1276 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
1277 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3
1278 #endif
1279 
1280 // <o> NRFX_SAADC_CONFIG_INFO_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_SAADC_CONFIG_INFO_COLOR
1293 #define NRFX_SAADC_CONFIG_INFO_COLOR 0
1294 #endif
1295 
1296 // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1297 
1298 // <0=> Default
1299 // <1=> Black
1300 // <2=> Red
1301 // <3=> Green
1302 // <4=> Yellow
1303 // <5=> Blue
1304 // <6=> Magenta
1305 // <7=> Cyan
1306 // <8=> White
1307 
1308 #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
1309 #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0
1310 #endif
1311 
1312 // </e>
1313 
1314 // </e>
1315 
1316 // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver.
1317 //==========================================================
1318 #ifndef NRFX_SPIM_ENABLED
1319 #define NRFX_SPIM_ENABLED 0
1320 #endif
1321 // <q> NRFX_SPIM0_ENABLED  - Enables SPIM0 instance.
1322 
1323 
1324 #ifndef NRFX_SPIM0_ENABLED
1325 #define NRFX_SPIM0_ENABLED 0
1326 #endif
1327 
1328 // <q> NRFX_SPIM1_ENABLED  - Enables SPIM1 instance.
1329 
1330 
1331 #ifndef NRFX_SPIM1_ENABLED
1332 #define NRFX_SPIM1_ENABLED 0
1333 #endif
1334 
1335 // <q> NRFX_SPIM2_ENABLED  - Enables SPIM2 instance.
1336 
1337 
1338 #ifndef NRFX_SPIM2_ENABLED
1339 #define NRFX_SPIM2_ENABLED 0
1340 #endif
1341 
1342 // <q> NRFX_SPIM3_ENABLED  - Enables SPIM3 instance.
1343 
1344 
1345 #ifndef NRFX_SPIM3_ENABLED
1346 #define NRFX_SPIM3_ENABLED 0
1347 #endif
1348 
1349 // <q> NRFX_SPIM4_ENABLED  - Enables SPIM4 instance.
1350 
1351 
1352 #ifndef NRFX_SPIM4_ENABLED
1353 #define NRFX_SPIM4_ENABLED 0
1354 #endif
1355 
1356 // <q> NRFX_SPIM_EXTENDED_ENABLED  - Enable extended SPIM features
1357 
1358 
1359 #ifndef NRFX_SPIM_EXTENDED_ENABLED
1360 #define NRFX_SPIM_EXTENDED_ENABLED 0
1361 #endif
1362 
1363 // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1364 
1365 // <0=> 0 (highest)
1366 // <1=> 1
1367 // <2=> 2
1368 // <3=> 3
1369 // <4=> 4
1370 // <5=> 5
1371 // <6=> 6
1372 // <7=> 7
1373 
1374 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
1375 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
1376 #endif
1377 
1378 // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
1379 //==========================================================
1380 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
1381 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
1382 #endif
1383 // <o> NRFX_SPIM_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_SPIM_CONFIG_LOG_LEVEL
1392 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
1393 #endif
1394 
1395 // <o> NRFX_SPIM_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_SPIM_CONFIG_INFO_COLOR
1408 #define NRFX_SPIM_CONFIG_INFO_COLOR 0
1409 #endif
1410 
1411 // <o> NRFX_SPIM_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_SPIM_CONFIG_DEBUG_COLOR
1424 #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
1425 #endif
1426 
1427 // </e>
1428 
1429 // </e>
1430 
1431 // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver.
1432 //==========================================================
1433 #ifndef NRFX_SPIS_ENABLED
1434 #define NRFX_SPIS_ENABLED 0
1435 #endif
1436 // <q> NRFX_SPIS0_ENABLED  - Enables SPIS0 instance.
1437 
1438 
1439 #ifndef NRFX_SPIS0_ENABLED
1440 #define NRFX_SPIS0_ENABLED 0
1441 #endif
1442 
1443 // <q> NRFX_SPIS1_ENABLED  - Enables SPIS1 instance.
1444 
1445 
1446 #ifndef NRFX_SPIS1_ENABLED
1447 #define NRFX_SPIS1_ENABLED 0
1448 #endif
1449 
1450 // <q> NRFX_SPIS2_ENABLED  - Enables SPIS2 instance.
1451 
1452 
1453 #ifndef NRFX_SPIS2_ENABLED
1454 #define NRFX_SPIS2_ENABLED 0
1455 #endif
1456 
1457 // <q> NRFX_SPIS3_ENABLED  - Enables SPIS3 instance.
1458 
1459 
1460 #ifndef NRFX_SPIS3_ENABLED
1461 #define NRFX_SPIS3_ENABLED 0
1462 #endif
1463 
1464 // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1465 
1466 // <0=> 0 (highest)
1467 // <1=> 1
1468 // <2=> 2
1469 // <3=> 3
1470 // <4=> 4
1471 // <5=> 5
1472 // <6=> 6
1473 // <7=> 7
1474 
1475 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
1476 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
1477 #endif
1478 
1479 // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
1480 //==========================================================
1481 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
1482 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
1483 #endif
1484 // <o> NRFX_SPIS_CONFIG_LOG_LEVEL  - Default severity level.
1485 
1486 // <0=> Off
1487 // <1=> Error
1488 // <2=> Warning
1489 // <3=> Info
1490 // <4=> Debug
1491 
1492 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
1493 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
1494 #endif
1495 
1496 // <o> NRFX_SPIS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1497 
1498 // <0=> Default
1499 // <1=> Black
1500 // <2=> Red
1501 // <3=> Green
1502 // <4=> Yellow
1503 // <5=> Blue
1504 // <6=> Magenta
1505 // <7=> Cyan
1506 // <8=> White
1507 
1508 #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
1509 #define NRFX_SPIS_CONFIG_INFO_COLOR 0
1510 #endif
1511 
1512 // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1513 
1514 // <0=> Default
1515 // <1=> Black
1516 // <2=> Red
1517 // <3=> Green
1518 // <4=> Yellow
1519 // <5=> Blue
1520 // <6=> Magenta
1521 // <7=> Cyan
1522 // <8=> White
1523 
1524 #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
1525 #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
1526 #endif
1527 
1528 // </e>
1529 
1530 // </e>
1531 
1532 // <q> NRFX_SYSTICK_ENABLED  - nrfx_systick - ARM(R) SysTick driver.
1533 
1534 
1535 #ifndef NRFX_SYSTICK_ENABLED
1536 #define NRFX_SYSTICK_ENABLED 0
1537 #endif
1538 
1539 // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver.
1540 //==========================================================
1541 #ifndef NRFX_TIMER_ENABLED
1542 #define NRFX_TIMER_ENABLED 0
1543 #endif
1544 // <q> NRFX_TIMER0_ENABLED  - Enables TIMER0 instance.
1545 
1546 
1547 #ifndef NRFX_TIMER0_ENABLED
1548 #define NRFX_TIMER0_ENABLED 0
1549 #endif
1550 
1551 // <q> NRFX_TIMER1_ENABLED  - Enables TIMER1 instance.
1552 
1553 
1554 #ifndef NRFX_TIMER1_ENABLED
1555 #define NRFX_TIMER1_ENABLED 0
1556 #endif
1557 
1558 // <q> NRFX_TIMER2_ENABLED  - Enables TIMER2 instance.
1559 
1560 
1561 #ifndef NRFX_TIMER2_ENABLED
1562 #define NRFX_TIMER2_ENABLED 0
1563 #endif
1564 
1565 // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1566 
1567 // <0=> 0 (highest)
1568 // <1=> 1
1569 // <2=> 2
1570 // <3=> 3
1571 // <4=> 4
1572 // <5=> 5
1573 // <6=> 6
1574 // <7=> 7
1575 
1576 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
1577 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 7
1578 #endif
1579 
1580 // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
1581 //==========================================================
1582 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
1583 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
1584 #endif
1585 // <o> NRFX_TIMER_CONFIG_LOG_LEVEL  - Default severity level.
1586 
1587 // <0=> Off
1588 // <1=> Error
1589 // <2=> Warning
1590 // <3=> Info
1591 // <4=> Debug
1592 
1593 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
1594 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
1595 #endif
1596 
1597 // <o> NRFX_TIMER_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1598 
1599 // <0=> Default
1600 // <1=> Black
1601 // <2=> Red
1602 // <3=> Green
1603 // <4=> Yellow
1604 // <5=> Blue
1605 // <6=> Magenta
1606 // <7=> Cyan
1607 // <8=> White
1608 
1609 #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
1610 #define NRFX_TIMER_CONFIG_INFO_COLOR 0
1611 #endif
1612 
1613 // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1614 
1615 // <0=> Default
1616 // <1=> Black
1617 // <2=> Red
1618 // <3=> Green
1619 // <4=> Yellow
1620 // <5=> Blue
1621 // <6=> Magenta
1622 // <7=> Cyan
1623 // <8=> White
1624 
1625 #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
1626 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
1627 #endif
1628 
1629 // </e>
1630 
1631 // </e>
1632 
1633 // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver.
1634 //==========================================================
1635 #ifndef NRFX_TWIM_ENABLED
1636 #define NRFX_TWIM_ENABLED 0
1637 #endif
1638 // <q> NRFX_TWIM0_ENABLED  - Enables TWIM0 instance.
1639 
1640 
1641 #ifndef NRFX_TWIM0_ENABLED
1642 #define NRFX_TWIM0_ENABLED 0
1643 #endif
1644 
1645 // <q> NRFX_TWIM1_ENABLED  - Enables TWIM1 instance.
1646 
1647 
1648 #ifndef NRFX_TWIM1_ENABLED
1649 #define NRFX_TWIM1_ENABLED 0
1650 #endif
1651 
1652 // <q> NRFX_TWIM2_ENABLED  - Enables TWIM2 instance.
1653 
1654 
1655 #ifndef NRFX_TWIM2_ENABLED
1656 #define NRFX_TWIM2_ENABLED 0
1657 #endif
1658 
1659 // <q> NRFX_TWIM3_ENABLED  - Enables TWIM3 instance.
1660 
1661 
1662 #ifndef NRFX_TWIM3_ENABLED
1663 #define NRFX_TWIM3_ENABLED 0
1664 #endif
1665 
1666 // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1667 
1668 // <0=> 0 (highest)
1669 // <1=> 1
1670 // <2=> 2
1671 // <3=> 3
1672 // <4=> 4
1673 // <5=> 5
1674 // <6=> 6
1675 // <7=> 7
1676 
1677 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
1678 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
1679 #endif
1680 
1681 // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
1682 //==========================================================
1683 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
1684 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
1685 #endif
1686 // <o> NRFX_TWIM_CONFIG_LOG_LEVEL  - Default severity level.
1687 
1688 // <0=> Off
1689 // <1=> Error
1690 // <2=> Warning
1691 // <3=> Info
1692 // <4=> Debug
1693 
1694 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
1695 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
1696 #endif
1697 
1698 // <o> NRFX_TWIM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1699 
1700 // <0=> Default
1701 // <1=> Black
1702 // <2=> Red
1703 // <3=> Green
1704 // <4=> Yellow
1705 // <5=> Blue
1706 // <6=> Magenta
1707 // <7=> Cyan
1708 // <8=> White
1709 
1710 #ifndef NRFX_TWIM_CONFIG_INFO_COLOR
1711 #define NRFX_TWIM_CONFIG_INFO_COLOR 0
1712 #endif
1713 
1714 // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1715 
1716 // <0=> Default
1717 // <1=> Black
1718 // <2=> Red
1719 // <3=> Green
1720 // <4=> Yellow
1721 // <5=> Blue
1722 // <6=> Magenta
1723 // <7=> Cyan
1724 // <8=> White
1725 
1726 #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
1727 #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0
1728 #endif
1729 
1730 // </e>
1731 
1732 // </e>
1733 
1734 // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver.
1735 //==========================================================
1736 #ifndef NRFX_TWIS_ENABLED
1737 #define NRFX_TWIS_ENABLED 0
1738 #endif
1739 
1740 // <q> NRFX_TWIS0_ENABLED  - Enables TWIS0 instance.
1741 
1742 #ifndef NRFX_TWIS0_ENABLED
1743 #define NRFX_TWIS0_ENABLED 0
1744 #endif
1745 
1746 // <q> NRFX_TWIS1_ENABLED  - Enables TWIS1 instance.
1747 
1748 #ifndef NRFX_TWIS1_ENABLED
1749 #define NRFX_TWIS1_ENABLED 0
1750 #endif
1751 
1752 // <q> NRFX_TWIS2_ENABLED  - Enables TWIS2 instance.
1753 
1754 #ifndef NRFX_TWIS2_ENABLED
1755 #define NRFX_TWIS2_ENABLED 0
1756 #endif
1757 
1758 // <q> NRFX_TWIS3_ENABLED  - Enables TWIS3 instance.
1759 
1760 #ifndef NRFX_TWIS3_ENABLED
1761 #define NRFX_TWIS3_ENABLED 0
1762 #endif
1763 
1764 // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY  - Assumes that any instance would be initialized only once.
1765 
1766 // <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.
1767 
1768 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
1769 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
1770 #endif
1771 
1772 // <q> NRFX_TWIS_NO_SYNC_MODE  - Removes support for synchronous mode.
1773 
1774 // <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.
1775 
1776 #ifndef NRFX_TWIS_NO_SYNC_MODE
1777 #define NRFX_TWIS_NO_SYNC_MODE 0
1778 #endif
1779 
1780 // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1781 
1782 // <0=> 0 (highest)
1783 // <1=> 1
1784 // <2=> 2
1785 // <3=> 3
1786 // <4=> 4
1787 // <5=> 5
1788 // <6=> 6
1789 // <7=> 7
1790 
1791 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
1792 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
1793 #endif
1794 
1795 // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
1796 //==========================================================
1797 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
1798 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
1799 #endif
1800 // <o> NRFX_TWIS_CONFIG_LOG_LEVEL  - Default severity level.
1801 
1802 // <0=> Off
1803 // <1=> Error
1804 // <2=> Warning
1805 // <3=> Info
1806 // <4=> Debug
1807 
1808 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
1809 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
1810 #endif
1811 
1812 // <o> NRFX_TWIS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1813 
1814 // <0=> Default
1815 // <1=> Black
1816 // <2=> Red
1817 // <3=> Green
1818 // <4=> Yellow
1819 // <5=> Blue
1820 // <6=> Magenta
1821 // <7=> Cyan
1822 // <8=> White
1823 
1824 #ifndef NRFX_TWIS_CONFIG_INFO_COLOR
1825 #define NRFX_TWIS_CONFIG_INFO_COLOR 0
1826 #endif
1827 
1828 // <o> NRFX_TWIS_CONFIG_DEBUG_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_DEBUG_COLOR
1841 #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
1842 #endif
1843 
1844 // </e>
1845 
1846 // </e>
1847 
1848 // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver.
1849 //==========================================================
1850 #ifndef NRFX_UARTE_ENABLED
1851 #define NRFX_UARTE_ENABLED 0
1852 #endif
1853 // <o> NRFX_UARTE0_ENABLED - Enables UARTE0 instances
1854 #ifndef NRFX_UARTE0_ENABLED
1855 #define NRFX_UARTE0_ENABLED 0
1856 #endif
1857 
1858 // <o> NRFX_UARTE1_ENABLED - Enables UARTE1 instance.
1859 #ifndef NRFX_UARTE1_ENABLED
1860 #define NRFX_UARTE1_ENABLED 0
1861 #endif
1862 
1863 // <o> NRFX_UARTE2_ENABLED - Enables UARTE2 instance.
1864 #ifndef NRFX_UARTE2_ENABLED
1865 #define NRFX_UARTE2_ENABLED 0
1866 #endif
1867 
1868 // <o> NRFX_UARTE3_ENABLED - Enables UARTE3 instance.
1869 #ifndef NRFX_UARTE3_ENABLED
1870 #define NRFX_UARTE3_ENABLED 0
1871 #endif
1872 
1873 // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
1874 
1875 // <0=> 0 (highest)
1876 // <1=> 1
1877 // <2=> 2
1878 // <3=> 3
1879 // <4=> 4
1880 // <5=> 5
1881 // <6=> 6
1882 // <7=> 7
1883 
1884 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
1885 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
1886 #endif
1887 
1888 // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
1889 //==========================================================
1890 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
1891 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
1892 #endif
1893 // <o> NRFX_UARTE_CONFIG_LOG_LEVEL  - Default severity level.
1894 
1895 // <0=> Off
1896 // <1=> Error
1897 // <2=> Warning
1898 // <3=> Info
1899 // <4=> Debug
1900 
1901 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
1902 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
1903 #endif
1904 
1905 // <o> NRFX_UARTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
1906 
1907 // <0=> Default
1908 // <1=> Black
1909 // <2=> Red
1910 // <3=> Green
1911 // <4=> Yellow
1912 // <5=> Blue
1913 // <6=> Magenta
1914 // <7=> Cyan
1915 // <8=> White
1916 
1917 #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
1918 #define NRFX_UARTE_CONFIG_INFO_COLOR 0
1919 #endif
1920 
1921 // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
1922 
1923 // <0=> Default
1924 // <1=> Black
1925 // <2=> Red
1926 // <3=> Green
1927 // <4=> Yellow
1928 // <5=> Blue
1929 // <6=> Magenta
1930 // <7=> Cyan
1931 // <8=> White
1932 
1933 #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
1934 #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
1935 #endif
1936 
1937 // </e>
1938 
1939 // </e>
1940 
1941 // <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver
1942 //==========================================================
1943 #ifndef NRFX_USBD_ENABLED
1944 #define NRFX_USBD_ENABLED 0
1945 #endif
1946 // <o> NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
1947 
1948 // <0=> 0 (highest)
1949 // <1=> 1
1950 // <2=> 2
1951 // <3=> 3
1952 // <4=> 4
1953 // <5=> 5
1954 // <6=> 6
1955 // <7=> 7
1956 
1957 #ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY
1958 #define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 7
1959 #endif
1960 
1961 // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST  - Give priority to isochronous transfers
1962 
1963 // <i> This option gives priority to isochronous transfers.
1964 // <i> Enabling it assures that isochronous transfers are always processed,
1965 // <i> even if multiple other transfers are pending.
1966 // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
1967 // <i> function is called, so the option is independent of the algorithm chosen.
1968 
1969 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
1970 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
1971 #endif
1972 
1973 // <q> USBD_CONFIG_ISO_IN_ZLP  - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
1974 
1975 
1976 // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
1977 // <i> Else, there will be no response.
1978 
1979 #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP
1980 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
1981 #endif
1982 
1983 // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
1984 //==========================================================
1985 #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
1986 #define NRFX_USBD_CONFIG_LOG_ENABLED 0
1987 #endif
1988 // <o> NRFX_USBD_CONFIG_LOG_LEVEL  - Default Severity level
1989 
1990 // <0=> Off
1991 // <1=> Error
1992 // <2=> Warning
1993 // <3=> Info
1994 // <4=> Debug
1995 
1996 #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
1997 #define NRFX_USBD_CONFIG_LOG_LEVEL 3
1998 #endif
1999 
2000 // <o> NRFX_USBD_CONFIG_INFO_COLOR  - ANSI escape code prefix.
2001 
2002 // <0=> Default
2003 // <1=> Black
2004 // <2=> Red
2005 // <3=> Green
2006 // <4=> Yellow
2007 // <5=> Blue
2008 // <6=> Magenta
2009 // <7=> Cyan
2010 // <8=> White
2011 
2012 #ifndef NRFX_USBD_CONFIG_INFO_COLOR
2013 #define NRFX_USBD_CONFIG_INFO_COLOR 0
2014 #endif
2015 
2016 // <o> NRFX_USBD_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
2017 
2018 // <0=> Default
2019 // <1=> Black
2020 // <2=> Red
2021 // <3=> Green
2022 // <4=> Yellow
2023 // <5=> Blue
2024 // <6=> Magenta
2025 // <7=> Cyan
2026 // <8=> White
2027 
2028 #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
2029 #define NRFX_USBD_CONFIG_DEBUG_COLOR 0
2030 #endif
2031 
2032 // </e>
2033 
2034 // </e>
2035 
2036 // <e> NRFX_USBREG_ENABLED - nrfx_usbreg - USBREG peripheral driver
2037 //==========================================================
2038 #ifndef NRFX_USBREG_ENABLED
2039 #define NRFX_USBREG_ENABLED 0
2040 #endif
2041 // <o> NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
2042 
2043 // <0=> 0 (highest)
2044 // <1=> 1
2045 // <2=> 2
2046 // <3=> 3
2047 // <4=> 4
2048 // <5=> 5
2049 // <6=> 6
2050 // <7=> 7
2051 
2052 #ifndef NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY
2053 #define NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 7
2054 #endif
2055 
2056 // </e>
2057 
2058 // </e>
2059 
2060 // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver.
2061 //==========================================================
2062 #ifndef NRFX_WDT_ENABLED
2063 #define NRFX_WDT_ENABLED 0
2064 #endif
2065 // <q> NRFX_WDT0_ENABLED  - Enable WDT0 instance.
2066 
2067 
2068 #ifndef NRFX_WDT0_ENABLED
2069 #define NRFX_WDT0_ENABLED 0
2070 #endif
2071 
2072 // <q> NRFX_WDT1_ENABLED  - Enable WDT1 instance.
2073 
2074 
2075 #ifndef NRFX_WDT1_ENABLED
2076 #define NRFX_WDT1_ENABLED 0
2077 #endif
2078 
2079 // <o> NRFX_WDT_CONFIG_NO_IRQ  - Remove WDT IRQ handling from WDT driver.
2080 
2081 // <0=> Include WDT IRQ handling
2082 // <1=> Remove WDT IRQ handling
2083 
2084 #ifndef NRFX_WDT_CONFIG_NO_IRQ
2085 #define NRFX_WDT_CONFIG_NO_IRQ 0
2086 #endif
2087 
2088 // <o> NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
2089 
2090 // <0=> 0 (highest)
2091 // <1=> 1
2092 // <2=> 2
2093 // <3=> 3
2094 // <4=> 4
2095 // <5=> 5
2096 // <6=> 6
2097 // <7=> 7
2098 
2099 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY
2100 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 7
2101 #endif
2102 
2103 // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
2104 //==========================================================
2105 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
2106 #define NRFX_WDT_CONFIG_LOG_ENABLED 0
2107 #endif
2108 // <o> NRFX_WDT_CONFIG_LOG_LEVEL  - Default severity level.
2109 
2110 // <0=> Off
2111 // <1=> Error
2112 // <2=> Warning
2113 // <3=> Info
2114 // <4=> Debug
2115 
2116 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
2117 #define NRFX_WDT_CONFIG_LOG_LEVEL 3
2118 #endif
2119 
2120 // <o> NRFX_WDT_CONFIG_INFO_COLOR  - ANSI escape code prefix.
2121 
2122 // <0=> Default
2123 // <1=> Black
2124 // <2=> Red
2125 // <3=> Green
2126 // <4=> Yellow
2127 // <5=> Blue
2128 // <6=> Magenta
2129 // <7=> Cyan
2130 // <8=> White
2131 
2132 #ifndef NRFX_WDT_CONFIG_INFO_COLOR
2133 #define NRFX_WDT_CONFIG_INFO_COLOR 0
2134 #endif
2135 
2136 // <o> NRFX_WDT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
2137 
2138 // <0=> Default
2139 // <1=> Black
2140 // <2=> Red
2141 // <3=> Green
2142 // <4=> Yellow
2143 // <5=> Blue
2144 // <6=> Magenta
2145 // <7=> Cyan
2146 // <8=> White
2147 
2148 #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
2149 #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
2150 #endif
2151 
2152 // </e>
2153 
2154 // </e>
2155 
2156 // </h>
2157 
2158 #endif // NRFX_CONFIG_NRF5340_APPLICATION_H__
2159