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