Buoyancy Firmware  1.0
Buoyancy Vehicle Firmware Documentation
sdk_config.h
Go to the documentation of this file.
1 
50 #ifndef SDK_CONFIG_H
51 #define SDK_CONFIG_H
52 // <<< Use Configuration Wizard in Context Menu >>>\n
53 #ifdef USE_APP_CONFIG
54 #include "app_config.h"
55 #endif
56 // <h> Board Support
57 
58 //==========================================================
59 // <q> BSP_BTN_BLE_ENABLED - bsp_btn_ble - Button Control for BLE
60 
61 #ifndef BSP_BTN_BLE_ENABLED
62 #define BSP_BTN_BLE_ENABLED 1
63 #endif
64 
65 // </h>
66 //==========================================================
67 
68 // <h> nRF_BLE
69 
70 //==========================================================
71 // <q> BLE_ADVERTISING_ENABLED - ble_advertising - Advertising module
72 
73 #ifndef BLE_ADVERTISING_ENABLED
74 #define BLE_ADVERTISING_ENABLED 1
75 #endif
76 
77 // <q> BLE_DTM_ENABLED - ble_dtm - Module for testing RF/PHY using DTM commands
78 
79 #ifndef BLE_DTM_ENABLED
80 #define BLE_DTM_ENABLED 0
81 #endif
82 
83 // <q> BLE_RACP_ENABLED - ble_racp - Record Access Control Point library
84 
85 #ifndef BLE_RACP_ENABLED
86 #define BLE_RACP_ENABLED 0
87 #endif
88 
89 // <e> NRF_BLE_CONN_PARAMS_ENABLED - ble_conn_params - Initiating and executing a connection parameters negotiation procedure
90 //==========================================================
91 #ifndef NRF_BLE_CONN_PARAMS_ENABLED
92 #define NRF_BLE_CONN_PARAMS_ENABLED 1
93 #endif
94 // <o> NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION - The largest acceptable deviation in slave latency.
95 // <i> The largest deviation (+ or -) from the requested slave latency that will not be renegotiated.
96 
97 #ifndef NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION
98 #define NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION 499
99 #endif
100 
101 // <o> NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION - The largest acceptable deviation (in 10 ms units) in supervision timeout.
102 // <i> The largest deviation (+ or -, in 10 ms units) from the requested supervision timeout that will not be renegotiated.
103 
104 #ifndef NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION
105 #define NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION 65535
106 #endif
107 
108 // </e>
109 
110 // <q> NRF_BLE_GATT_ENABLED - nrf_ble_gatt - GATT module
111 
112 #ifndef NRF_BLE_GATT_ENABLED
113 #define NRF_BLE_GATT_ENABLED 1
114 #endif
115 
116 // <e> NRF_BLE_QWR_ENABLED - nrf_ble_qwr - Queued writes support module (prepare/execute write)
117 //==========================================================
118 #ifndef NRF_BLE_QWR_ENABLED
119 #define NRF_BLE_QWR_ENABLED 1
120 #endif
121 // <o> NRF_BLE_QWR_MAX_ATTR - Maximum number of attribute handles that can be registered. This number must be adjusted according to the number of attributes for which Queued Writes will be enabled. If it is zero, the module will reject all Queued Write requests.
122 #ifndef NRF_BLE_QWR_MAX_ATTR
123 #define NRF_BLE_QWR_MAX_ATTR 6
124 #endif
125 
126 // </e>
127 
128 // <e> PEER_MANAGER_ENABLED - peer_manager - Peer Manager
129 //==========================================================
130 #ifndef PEER_MANAGER_ENABLED
131 #define PEER_MANAGER_ENABLED 1
132 #endif
133 // <o> PM_MAX_REGISTRANTS - Number of event handlers that can be registered.
134 #ifndef PM_MAX_REGISTRANTS
135 #define PM_MAX_REGISTRANTS 3
136 #endif
137 
138 // <o> PM_FLASH_BUFFERS - Number of internal buffers for flash operations.
139 // <i> Decrease this value to lower RAM usage.
140 
141 #ifndef PM_FLASH_BUFFERS
142 #define PM_FLASH_BUFFERS 4
143 #endif
144 
145 // <q> PM_CENTRAL_ENABLED - Enable/disable central-specific Peer Manager functionality.
146 
147 // <i> Enable/disable central-specific Peer Manager functionality.
148 
149 #ifndef PM_CENTRAL_ENABLED
150 #define PM_CENTRAL_ENABLED 0
151 #endif
152 
153 // <q> PM_SERVICE_CHANGED_ENABLED - Enable/disable the service changed management for GATT server in Peer Manager.
154 
155 // <i> If not using a GATT server, or using a server wihout a service changed characteristic,
156 // <i> disable this to save code space.
157 
158 #ifndef PM_SERVICE_CHANGED_ENABLED
159 #define PM_SERVICE_CHANGED_ENABLED 1
160 #endif
161 
162 // <q> PM_PEER_RANKS_ENABLED - Enable/disable the peer rank management in Peer Manager.
163 
164 // <i> Set this to false to save code space if not using the peer rank API.
165 
166 #ifndef PM_PEER_RANKS_ENABLED
167 #define PM_PEER_RANKS_ENABLED 1
168 #endif
169 
170 // <q> PM_LESC_ENABLED - Enable/disable LESC support in Peer Manager.
171 
172 // <i> If set to true, you need to call nrf_ble_lesc_request_handler() in the main loop to respond to LESC-related BLE events. If LESC support is not required, set this to false to save code space.
173 
174 #ifndef PM_LESC_ENABLED
175 #define PM_LESC_ENABLED 0
176 #endif
177 
178 // <e> PM_RA_PROTECTION_ENABLED - Enable/disable protection against repeated pairing attempts in Peer Manager.
179 //==========================================================
180 #ifndef PM_RA_PROTECTION_ENABLED
181 #define PM_RA_PROTECTION_ENABLED 0
182 #endif
183 // <o> PM_RA_PROTECTION_TRACKED_PEERS_NUM - Maximum number of peers whose authorization status can be tracked.
184 #ifndef PM_RA_PROTECTION_TRACKED_PEERS_NUM
185 #define PM_RA_PROTECTION_TRACKED_PEERS_NUM 8
186 #endif
187 
188 // <o> PM_RA_PROTECTION_MIN_WAIT_INTERVAL - Minimum waiting interval (in ms) before a new pairing attempt can be initiated.
189 #ifndef PM_RA_PROTECTION_MIN_WAIT_INTERVAL
190 #define PM_RA_PROTECTION_MIN_WAIT_INTERVAL 4000
191 #endif
192 
193 // <o> PM_RA_PROTECTION_MAX_WAIT_INTERVAL - Maximum waiting interval (in ms) before a new pairing attempt can be initiated.
194 #ifndef PM_RA_PROTECTION_MAX_WAIT_INTERVAL
195 #define PM_RA_PROTECTION_MAX_WAIT_INTERVAL 64000
196 #endif
197 
198 // <o> PM_RA_PROTECTION_REWARD_PERIOD - Reward period (in ms).
199 // <i> The waiting interval is gradually decreased when no new failed pairing attempts are made during reward period.
200 
201 #ifndef PM_RA_PROTECTION_REWARD_PERIOD
202 #define PM_RA_PROTECTION_REWARD_PERIOD 10000
203 #endif
204 
205 // </e>
206 
207 // <o> PM_HANDLER_SEC_DELAY_MS - Delay before starting security.
208 // <i> This might be necessary for interoperability reasons, especially as peripheral.
209 
210 #ifndef PM_HANDLER_SEC_DELAY_MS
211 #define PM_HANDLER_SEC_DELAY_MS 0
212 #endif
213 
214 // </e>
215 
216 // </h>
217 //==========================================================
218 
219 // <h> nRF_BLE_Services
220 
221 //==========================================================
222 // <q> BLE_ANCS_C_ENABLED - ble_ancs_c - Apple Notification Service Client
223 
224 #ifndef BLE_ANCS_C_ENABLED
225 #define BLE_ANCS_C_ENABLED 0
226 #endif
227 
228 // <q> BLE_ANS_C_ENABLED - ble_ans_c - Alert Notification Service Client
229 
230 #ifndef BLE_ANS_C_ENABLED
231 #define BLE_ANS_C_ENABLED 0
232 #endif
233 
234 // <q> BLE_BAS_C_ENABLED - ble_bas_c - Battery Service Client
235 
236 #ifndef BLE_BAS_C_ENABLED
237 #define BLE_BAS_C_ENABLED 0
238 #endif
239 
240 // <e> BLE_BAS_ENABLED - ble_bas - Battery Service
241 //==========================================================
242 #ifndef BLE_BAS_ENABLED
243 #define BLE_BAS_ENABLED 0
244 #endif
245 // <e> BLE_BAS_CONFIG_LOG_ENABLED - Enables logging in the module.
246 //==========================================================
247 #ifndef BLE_BAS_CONFIG_LOG_ENABLED
248 #define BLE_BAS_CONFIG_LOG_ENABLED 0
249 #endif
250 // <o> BLE_BAS_CONFIG_LOG_LEVEL - Default Severity level
251 
252 // <0=> Off
253 // <1=> Error
254 // <2=> Warning
255 // <3=> Info
256 // <4=> Debug
257 
258 #ifndef BLE_BAS_CONFIG_LOG_LEVEL
259 #define BLE_BAS_CONFIG_LOG_LEVEL 3
260 #endif
261 
262 // <o> BLE_BAS_CONFIG_INFO_COLOR - ANSI escape code prefix.
263 
264 // <0=> Default
265 // <1=> Black
266 // <2=> Red
267 // <3=> Green
268 // <4=> Yellow
269 // <5=> Blue
270 // <6=> Magenta
271 // <7=> Cyan
272 // <8=> White
273 
274 #ifndef BLE_BAS_CONFIG_INFO_COLOR
275 #define BLE_BAS_CONFIG_INFO_COLOR 0
276 #endif
277 
278 // <o> BLE_BAS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
279 
280 // <0=> Default
281 // <1=> Black
282 // <2=> Red
283 // <3=> Green
284 // <4=> Yellow
285 // <5=> Blue
286 // <6=> Magenta
287 // <7=> Cyan
288 // <8=> White
289 
290 #ifndef BLE_BAS_CONFIG_DEBUG_COLOR
291 #define BLE_BAS_CONFIG_DEBUG_COLOR 0
292 #endif
293 
294 // </e>
295 
296 // </e>
297 
298 // <q> BLE_CSCS_ENABLED - ble_cscs - Cycling Speed and Cadence Service
299 
300 #ifndef BLE_CSCS_ENABLED
301 #define BLE_CSCS_ENABLED 0
302 #endif
303 
304 // <q> BLE_CTS_C_ENABLED - ble_cts_c - Current Time Service Client
305 
306 #ifndef BLE_CTS_C_ENABLED
307 #define BLE_CTS_C_ENABLED 0
308 #endif
309 
310 // <q> BLE_DIS_ENABLED - ble_dis - Device Information Service
311 
312 #ifndef BLE_DIS_ENABLED
313 #define BLE_DIS_ENABLED 0
314 #endif
315 
316 // <q> BLE_GLS_ENABLED - ble_gls - Glucose Service
317 
318 #ifndef BLE_GLS_ENABLED
319 #define BLE_GLS_ENABLED 0
320 #endif
321 
322 // <q> BLE_HIDS_ENABLED - ble_hids - Human Interface Device Service
323 
324 #ifndef BLE_HIDS_ENABLED
325 #define BLE_HIDS_ENABLED 0
326 #endif
327 
328 // <q> BLE_HRS_C_ENABLED - ble_hrs_c - Heart Rate Service Client
329 
330 #ifndef BLE_HRS_C_ENABLED
331 #define BLE_HRS_C_ENABLED 0
332 #endif
333 
334 // <q> BLE_HRS_ENABLED - ble_hrs - Heart Rate Service
335 
336 #ifndef BLE_HRS_ENABLED
337 #define BLE_HRS_ENABLED 0
338 #endif
339 
340 // <q> BLE_HTS_ENABLED - ble_hts - Health Thermometer Service
341 
342 #ifndef BLE_HTS_ENABLED
343 #define BLE_HTS_ENABLED 0
344 #endif
345 
346 // <q> BLE_IAS_C_ENABLED - ble_ias_c - Immediate Alert Service Client
347 
348 #ifndef BLE_IAS_C_ENABLED
349 #define BLE_IAS_C_ENABLED 0
350 #endif
351 
352 // <e> BLE_IAS_ENABLED - ble_ias - Immediate Alert Service
353 //==========================================================
354 #ifndef BLE_IAS_ENABLED
355 #define BLE_IAS_ENABLED 0
356 #endif
357 // <e> BLE_IAS_CONFIG_LOG_ENABLED - Enables logging in the module.
358 //==========================================================
359 #ifndef BLE_IAS_CONFIG_LOG_ENABLED
360 #define BLE_IAS_CONFIG_LOG_ENABLED 0
361 #endif
362 // <o> BLE_IAS_CONFIG_LOG_LEVEL - Default Severity level
363 
364 // <0=> Off
365 // <1=> Error
366 // <2=> Warning
367 // <3=> Info
368 // <4=> Debug
369 
370 #ifndef BLE_IAS_CONFIG_LOG_LEVEL
371 #define BLE_IAS_CONFIG_LOG_LEVEL 3
372 #endif
373 
374 // <o> BLE_IAS_CONFIG_INFO_COLOR - ANSI escape code prefix.
375 
376 // <0=> Default
377 // <1=> Black
378 // <2=> Red
379 // <3=> Green
380 // <4=> Yellow
381 // <5=> Blue
382 // <6=> Magenta
383 // <7=> Cyan
384 // <8=> White
385 
386 #ifndef BLE_IAS_CONFIG_INFO_COLOR
387 #define BLE_IAS_CONFIG_INFO_COLOR 0
388 #endif
389 
390 // <o> BLE_IAS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
391 
392 // <0=> Default
393 // <1=> Black
394 // <2=> Red
395 // <3=> Green
396 // <4=> Yellow
397 // <5=> Blue
398 // <6=> Magenta
399 // <7=> Cyan
400 // <8=> White
401 
402 #ifndef BLE_IAS_CONFIG_DEBUG_COLOR
403 #define BLE_IAS_CONFIG_DEBUG_COLOR 0
404 #endif
405 
406 // </e>
407 
408 // </e>
409 
410 // <q> BLE_LBS_C_ENABLED - ble_lbs_c - Nordic LED Button Service Client
411 
412 #ifndef BLE_LBS_C_ENABLED
413 #define BLE_LBS_C_ENABLED 0
414 #endif
415 
416 // <q> BLE_LBS_ENABLED - ble_lbs - LED Button Service
417 
418 #ifndef BLE_LBS_ENABLED
419 #define BLE_LBS_ENABLED 0
420 #endif
421 
422 // <q> BLE_LLS_ENABLED - ble_lls - Link Loss Service
423 
424 #ifndef BLE_LLS_ENABLED
425 #define BLE_LLS_ENABLED 0
426 #endif
427 
428 // <q> BLE_NUS_C_ENABLED - ble_nus_c - Nordic UART Central Service
429 
430 #ifndef BLE_NUS_C_ENABLED
431 #define BLE_NUS_C_ENABLED 0
432 #endif
433 
434 // <e> BLE_NUS_ENABLED - ble_nus - Nordic UART Service
435 //==========================================================
436 #ifndef BLE_NUS_ENABLED
437 #define BLE_NUS_ENABLED 1
438 #endif
439 // <e> BLE_NUS_CONFIG_LOG_ENABLED - Enables logging in the module.
440 //==========================================================
441 #ifndef BLE_NUS_CONFIG_LOG_ENABLED
442 #define BLE_NUS_CONFIG_LOG_ENABLED 1
443 #endif
444 // <o> BLE_NUS_CONFIG_LOG_LEVEL - Default Severity level
445 
446 // <0=> Off
447 // <1=> Error
448 // <2=> Warning
449 // <3=> Info
450 // <4=> Debug
451 
452 #ifndef BLE_NUS_CONFIG_LOG_LEVEL
453 #define BLE_NUS_CONFIG_LOG_LEVEL 4
454 #endif
455 
456 // <o> BLE_NUS_CONFIG_INFO_COLOR - ANSI escape code prefix.
457 
458 // <0=> Default
459 // <1=> Black
460 // <2=> Red
461 // <3=> Green
462 // <4=> Yellow
463 // <5=> Blue
464 // <6=> Magenta
465 // <7=> Cyan
466 // <8=> White
467 
468 #ifndef BLE_NUS_CONFIG_INFO_COLOR
469 #define BLE_NUS_CONFIG_INFO_COLOR 0
470 #endif
471 
472 // <o> BLE_NUS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
473 
474 // <0=> Default
475 // <1=> Black
476 // <2=> Red
477 // <3=> Green
478 // <4=> Yellow
479 // <5=> Blue
480 // <6=> Magenta
481 // <7=> Cyan
482 // <8=> White
483 
484 #ifndef BLE_NUS_CONFIG_DEBUG_COLOR
485 #define BLE_NUS_CONFIG_DEBUG_COLOR 3
486 #endif
487 
488 // </e>
489 
490 // </e>
491 
492 // <q> BLE_RSCS_C_ENABLED - ble_rscs_c - Running Speed and Cadence Client
493 
494 #ifndef BLE_RSCS_C_ENABLED
495 #define BLE_RSCS_C_ENABLED 0
496 #endif
497 
498 // <q> BLE_RSCS_ENABLED - ble_rscs - Running Speed and Cadence Service
499 
500 #ifndef BLE_RSCS_ENABLED
501 #define BLE_RSCS_ENABLED 0
502 #endif
503 
504 // <q> BLE_TPS_ENABLED - ble_tps - TX Power Service
505 
506 #ifndef BLE_TPS_ENABLED
507 #define BLE_TPS_ENABLED 0
508 #endif
509 
510 // </h>
511 //==========================================================
512 
513 // <h> nRF_Core
514 
515 //==========================================================
516 // <e> NRF_MPU_LIB_ENABLED - nrf_mpu_lib - Module for MPU
517 //==========================================================
518 #ifndef NRF_MPU_LIB_ENABLED
519 #define NRF_MPU_LIB_ENABLED 0
520 #endif
521 // <q> NRF_MPU_LIB_CLI_CMDS - Enable CLI commands specific to the module.
522 
523 #ifndef NRF_MPU_LIB_CLI_CMDS
524 #define NRF_MPU_LIB_CLI_CMDS 0
525 #endif
526 
527 // </e>
528 
529 // <e> NRF_STACK_GUARD_ENABLED - nrf_stack_guard - Stack guard
530 //==========================================================
531 #ifndef NRF_STACK_GUARD_ENABLED
532 #define NRF_STACK_GUARD_ENABLED 0
533 #endif
534 // <o> NRF_STACK_GUARD_CONFIG_SIZE - Size of the stack guard.
535 
536 // <5=> 32 bytes
537 // <6=> 64 bytes
538 // <7=> 128 bytes
539 // <8=> 256 bytes
540 // <9=> 512 bytes
541 // <10=> 1024 bytes
542 // <11=> 2048 bytes
543 // <12=> 4096 bytes
544 
545 #ifndef NRF_STACK_GUARD_CONFIG_SIZE
546 #define NRF_STACK_GUARD_CONFIG_SIZE 7
547 #endif
548 
549 // </e>
550 
551 // </h>
552 //==========================================================
553 
554 // <h> nRF_Crypto
555 
556 //==========================================================
557 // <e> NRF_CRYPTO_ENABLED - nrf_crypto - Cryptography library.
558 //==========================================================
559 #ifndef NRF_CRYPTO_ENABLED
560 #define NRF_CRYPTO_ENABLED 1
561 #endif
562 // <o> NRF_CRYPTO_ALLOCATOR - Memory allocator
563 
564 // <i> Choose memory allocator used by nrf_crypto. Default is alloca if possible or nrf_malloc otherwise. If 'User macros' are selected, the user has to create 'nrf_crypto_allocator.h' file that contains NRF_CRYPTO_ALLOC, NRF_CRYPTO_FREE, and NRF_CRYPTO_ALLOC_ON_STACK.
565 // <0=> Default
566 // <1=> User macros
567 // <2=> On stack (alloca)
568 // <3=> C dynamic memory (malloc)
569 // <4=> SDK Memory Manager (nrf_malloc)
570 
571 #ifndef NRF_CRYPTO_ALLOCATOR
572 #define NRF_CRYPTO_ALLOCATOR 0
573 #endif
574 
575 // <e> NRF_CRYPTO_BACKEND_CC310_BL_ENABLED - Enable the ARM Cryptocell CC310 reduced backend.
576 
577 // <i> The CC310 hardware-accelerated cryptography backend with reduced functionality and footprint (only available on nRF52840).
578 //==========================================================
579 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ENABLED
580 #define NRF_CRYPTO_BACKEND_CC310_BL_ENABLED 0
581 #endif
582 // <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310_BL.
583 
584 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED
585 #define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED 0
586 #endif
587 
588 // <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310_BL.
589 
590 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED
591 #define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED 1
592 #endif
593 
594 // <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED - CC310_BL SHA-256 hash functionality.
595 
596 // <i> CC310_BL backend implementation for hardware-accelerated SHA-256.
597 
598 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED
599 #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED 1
600 #endif
601 
602 // <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED - nrf_cc310_bl buffers to RAM before running hash operation
603 
604 // <i> Enabling this makes hashing of addresses in FLASH range possible. Size of buffer allocated for hashing is set by NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
605 
606 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED
607 #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED 0
608 #endif
609 
610 // <o> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE - nrf_cc310_bl hash outputs digests in little endian
611 // <i> Makes the nrf_cc310_bl hash functions output digests in little endian format. Only for use in nRF SDK DFU!
612 
613 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
614 #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE 4096
615 #endif
616 
617 // <q> NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310 bl.
618 
619 // <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used
620 
621 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED
622 #define NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED 1
623 #endif
624 
625 // </e>
626 
627 // <e> NRF_CRYPTO_BACKEND_CC310_ENABLED - Enable the ARM Cryptocell CC310 backend.
628 
629 // <i> The CC310 hardware-accelerated cryptography backend (only available on nRF52840).
630 //==========================================================
631 #ifndef NRF_CRYPTO_BACKEND_CC310_ENABLED
632 #define NRF_CRYPTO_BACKEND_CC310_ENABLED 0
633 #endif
634 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED - Enable the AES CBC mode using CC310.
635 
636 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED
637 #define NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED 1
638 #endif
639 
640 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED - Enable the AES CTR mode using CC310.
641 
642 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED
643 #define NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED 1
644 #endif
645 
646 // <q> NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED - Enable the AES ECB mode using CC310.
647 
648 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED
649 #define NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED 1
650 #endif
651 
652 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED - Enable the AES CBC_MAC mode using CC310.
653 
654 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED
655 #define NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED 1
656 #endif
657 
658 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED - Enable the AES CMAC mode using CC310.
659 
660 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED
661 #define NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED 1
662 #endif
663 
664 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED - Enable the AES CCM mode using CC310.
665 
666 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED
667 #define NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED 1
668 #endif
669 
670 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED - Enable the AES CCM* mode using CC310.
671 
672 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED
673 #define NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED 1
674 #endif
675 
676 // <q> NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using CC310.
677 
678 #ifndef NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED
679 #define NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED 1
680 #endif
681 
682 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED - Enable the secp160r1 elliptic curve support using CC310.
683 
684 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED
685 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED 1
686 #endif
687 
688 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED - Enable the secp160r2 elliptic curve support using CC310.
689 
690 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED
691 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED 1
692 #endif
693 
694 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED - Enable the secp192r1 elliptic curve support using CC310.
695 
696 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED
697 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED 1
698 #endif
699 
700 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310.
701 
702 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED
703 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED 1
704 #endif
705 
706 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310.
707 
708 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED
709 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED 1
710 #endif
711 
712 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED - Enable the secp384r1 elliptic curve support using CC310.
713 
714 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED
715 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED 1
716 #endif
717 
718 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED - Enable the secp521r1 elliptic curve support using CC310.
719 
720 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED
721 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED 1
722 #endif
723 
724 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED - Enable the secp160k1 elliptic curve support using CC310.
725 
726 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED
727 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED 1
728 #endif
729 
730 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED - Enable the secp192k1 elliptic curve support using CC310.
731 
732 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED
733 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED 1
734 #endif
735 
736 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED - Enable the secp224k1 elliptic curve support using CC310.
737 
738 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED
739 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED 1
740 #endif
741 
742 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED - Enable the secp256k1 elliptic curve support using CC310.
743 
744 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED
745 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED 1
746 #endif
747 
748 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED - Enable the Curve25519 curve support using CC310.
749 
750 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED
751 #define NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED 1
752 #endif
753 
754 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED - Enable the Ed25519 curve support using CC310.
755 
756 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED
757 #define NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED 1
758 #endif
759 
760 // <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED - CC310 SHA-256 hash functionality.
761 
762 // <i> CC310 backend implementation for hardware-accelerated SHA-256.
763 
764 #ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED
765 #define NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED 1
766 #endif
767 
768 // <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED - CC310 SHA-512 hash functionality
769 
770 // <i> CC310 backend implementation for SHA-512 (in software).
771 
772 #ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED
773 #define NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED 1
774 #endif
775 
776 // <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED - CC310 HMAC using SHA-256
777 
778 // <i> CC310 backend implementation for HMAC using hardware-accelerated SHA-256.
779 
780 #ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED
781 #define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED 1
782 #endif
783 
784 // <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED - CC310 HMAC using SHA-512
785 
786 // <i> CC310 backend implementation for HMAC using SHA-512 (in software).
787 
788 #ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED
789 #define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED 1
790 #endif
791 
792 // <q> NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED - Enable RNG support using CC310.
793 
794 #ifndef NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED
795 #define NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED 1
796 #endif
797 
798 // <q> NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310.
799 
800 // <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used
801 
802 #ifndef NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED
803 #define NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED 1
804 #endif
805 
806 // </e>
807 
808 // <e> NRF_CRYPTO_BACKEND_CIFRA_ENABLED - Enable the Cifra backend.
809 //==========================================================
810 #ifndef NRF_CRYPTO_BACKEND_CIFRA_ENABLED
811 #define NRF_CRYPTO_BACKEND_CIFRA_ENABLED 0
812 #endif
813 // <q> NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED - Enable the AES EAX mode using Cifra.
814 
815 #ifndef NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED
816 #define NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED 1
817 #endif
818 
819 // </e>
820 
821 // <e> NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED - Enable the mbed TLS backend.
822 //==========================================================
823 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED
824 #define NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED 0
825 #endif
826 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED - Enable the AES CBC mode mbed TLS.
827 
828 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED
829 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED 1
830 #endif
831 
832 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED - Enable the AES CTR mode using mbed TLS.
833 
834 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED
835 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED 1
836 #endif
837 
838 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED - Enable the AES CFB mode using mbed TLS.
839 
840 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED
841 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED 1
842 #endif
843 
844 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED - Enable the AES ECB mode using mbed TLS.
845 
846 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED
847 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED 1
848 #endif
849 
850 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED - Enable the AES CBC MAC mode using mbed TLS.
851 
852 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED
853 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED 1
854 #endif
855 
856 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED - Enable the AES CMAC mode using mbed TLS.
857 
858 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED
859 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED 1
860 #endif
861 
862 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED - Enable the AES CCM mode using mbed TLS.
863 
864 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED
865 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED 1
866 #endif
867 
868 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED - Enable the AES GCM mode using mbed TLS.
869 
870 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED
871 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED 1
872 #endif
873 
874 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
875 
876 // <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using MBEDTLS
877 
878 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED
879 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED 1
880 #endif
881 
882 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
883 
884 // <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using MBEDTLS
885 
886 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED
887 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED 1
888 #endif
889 
890 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
891 
892 // <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using MBEDTLS
893 
894 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED
895 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED 1
896 #endif
897 
898 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED - Enable secp384r1 (NIST 384-bit) curve
899 
900 // <i> Enable this setting if you need secp384r1 (NIST 384-bit) support using MBEDTLS
901 
902 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED
903 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED 1
904 #endif
905 
906 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED - Enable secp521r1 (NIST 521-bit) curve
907 
908 // <i> Enable this setting if you need secp521r1 (NIST 521-bit) support using MBEDTLS
909 
910 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED
911 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED 1
912 #endif
913 
914 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED - Enable secp192k1 (Koblitz 192-bit) curve
915 
916 // <i> Enable this setting if you need secp192k1 (Koblitz 192-bit) support using MBEDTLS
917 
918 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED
919 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED 1
920 #endif
921 
922 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED - Enable secp224k1 (Koblitz 224-bit) curve
923 
924 // <i> Enable this setting if you need secp224k1 (Koblitz 224-bit) support using MBEDTLS
925 
926 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED
927 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED 1
928 #endif
929 
930 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
931 
932 // <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using MBEDTLS
933 
934 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED
935 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED 1
936 #endif
937 
938 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED - Enable bp256r1 (Brainpool 256-bit) curve
939 
940 // <i> Enable this setting if you need bp256r1 (Brainpool 256-bit) support using MBEDTLS
941 
942 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED
943 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED 1
944 #endif
945 
946 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED - Enable bp384r1 (Brainpool 384-bit) curve
947 
948 // <i> Enable this setting if you need bp384r1 (Brainpool 384-bit) support using MBEDTLS
949 
950 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED
951 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED 1
952 #endif
953 
954 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED - Enable bp512r1 (Brainpool 512-bit) curve
955 
956 // <i> Enable this setting if you need bp512r1 (Brainpool 512-bit) support using MBEDTLS
957 
958 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED
959 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED 1
960 #endif
961 
962 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED - Enable Curve25519 curve
963 
964 // <i> Enable this setting if you need Curve25519 support using MBEDTLS
965 
966 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED
967 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED 1
968 #endif
969 
970 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED - Enable mbed TLS SHA-256 hash functionality.
971 
972 // <i> mbed TLS backend implementation for SHA-256.
973 
974 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED
975 #define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED 1
976 #endif
977 
978 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED - Enable mbed TLS SHA-512 hash functionality.
979 
980 // <i> mbed TLS backend implementation for SHA-512.
981 
982 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED
983 #define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED 1
984 #endif
985 
986 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED - Enable mbed TLS HMAC using SHA-256.
987 
988 // <i> mbed TLS backend implementation for HMAC using SHA-256.
989 
990 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED
991 #define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED 1
992 #endif
993 
994 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED - Enable mbed TLS HMAC using SHA-512.
995 
996 // <i> mbed TLS backend implementation for HMAC using SHA-512.
997 
998 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED
999 #define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED 1
1000 #endif
1001 
1002 // </e>
1003 
1004 // <e> NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED - Enable the micro-ecc backend.
1005 //==========================================================
1006 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED
1007 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED 0
1008 #endif
1009 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
1010 
1011 // <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using micro-ecc
1012 
1013 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED
1014 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED 1
1015 #endif
1016 
1017 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
1018 
1019 // <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using micro-ecc
1020 
1021 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED
1022 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED 1
1023 #endif
1024 
1025 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
1026 
1027 // <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using micro-ecc
1028 
1029 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED
1030 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED 1
1031 #endif
1032 
1033 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
1034 
1035 // <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using micro-ecc
1036 
1037 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED
1038 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED 1
1039 #endif
1040 
1041 // </e>
1042 
1043 // <e> NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED - Enable the nRF HW RNG backend.
1044 
1045 // <i> The nRF HW backend provide access to RNG peripheral in nRF5x devices.
1046 //==========================================================
1047 #ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED
1048 #define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 0
1049 #endif
1050 // <q> NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED - Enable mbed TLS CTR-DRBG algorithm.
1051 
1052 // <i> Enable mbed TLS CTR-DRBG standardized by NIST (NIST SP 800-90A Rev. 1). The nRF HW RNG is used as an entropy source for seeding.
1053 
1054 #ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED
1055 #define NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED 1
1056 #endif
1057 
1058 // </e>
1059 
1060 // <e> NRF_CRYPTO_BACKEND_NRF_SW_ENABLED - Enable the legacy nRFx sw for crypto.
1061 
1062 // <i> The nRF SW cryptography backend (only used in bootloader context).
1063 //==========================================================
1064 #ifndef NRF_CRYPTO_BACKEND_NRF_SW_ENABLED
1065 #define NRF_CRYPTO_BACKEND_NRF_SW_ENABLED 0
1066 #endif
1067 // <q> NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED - nRF SW hash backend support for SHA-256
1068 
1069 // <i> The nRF SW backend provide access to nRF SDK legacy hash implementation of SHA-256.
1070 
1071 #ifndef NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED
1072 #define NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED 1
1073 #endif
1074 
1075 // </e>
1076 
1077 // <e> NRF_CRYPTO_BACKEND_OBERON_ENABLED - Enable the Oberon backend
1078 
1079 // <i> The Oberon backend
1080 //==========================================================
1081 #ifndef NRF_CRYPTO_BACKEND_OBERON_ENABLED
1082 #define NRF_CRYPTO_BACKEND_OBERON_ENABLED 0
1083 #endif
1084 // <q> NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using Oberon.
1085 
1086 #ifndef NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED
1087 #define NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED 1
1088 #endif
1089 
1090 // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED - Enable secp256r1 curve
1091 
1092 // <i> Enable this setting if you need secp256r1 curve support using Oberon library
1093 
1094 #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED
1095 #define NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED 1
1096 #endif
1097 
1098 // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED - Enable Curve25519 ECDH
1099 
1100 // <i> Enable this setting if you need Curve25519 ECDH support using Oberon library
1101 
1102 #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED
1103 #define NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED 1
1104 #endif
1105 
1106 // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED - Enable Ed25519 signature scheme
1107 
1108 // <i> Enable this setting if you need Ed25519 support using Oberon library
1109 
1110 #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED
1111 #define NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED 1
1112 #endif
1113 
1114 // <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED - Oberon SHA-256 hash functionality
1115 
1116 // <i> Oberon backend implementation for SHA-256.
1117 
1118 #ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED
1119 #define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED 1
1120 #endif
1121 
1122 // <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED - Oberon SHA-512 hash functionality
1123 
1124 // <i> Oberon backend implementation for SHA-512.
1125 
1126 #ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED
1127 #define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED 1
1128 #endif
1129 
1130 // <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED - Oberon HMAC using SHA-256
1131 
1132 // <i> Oberon backend implementation for HMAC using SHA-256.
1133 
1134 #ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED
1135 #define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED 1
1136 #endif
1137 
1138 // <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED - Oberon HMAC using SHA-512
1139 
1140 // <i> Oberon backend implementation for HMAC using SHA-512.
1141 
1142 #ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED
1143 #define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED 1
1144 #endif
1145 
1146 // </e>
1147 
1148 // <e> NRF_CRYPTO_BACKEND_OPTIGA_ENABLED - Enable the nrf_crypto Optiga Trust X backend.
1149 
1150 // <i> Enables the nrf_crypto backend for Optiga Trust X devices.
1151 //==========================================================
1152 #ifndef NRF_CRYPTO_BACKEND_OPTIGA_ENABLED
1153 #define NRF_CRYPTO_BACKEND_OPTIGA_ENABLED 0
1154 #endif
1155 // <q> NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED - Optiga backend support for RNG
1156 
1157 // <i> The Optiga backend provide external chip RNG.
1158 
1159 #ifndef NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED
1160 #define NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED 0
1161 #endif
1162 
1163 // <q> NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED - Optiga backend support for ECC secp256r1
1164 
1165 // <i> The Optiga backend provide external chip ECC using secp256r1.
1166 
1167 #ifndef NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED
1168 #define NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED 1
1169 #endif
1170 
1171 // </e>
1172 
1173 // <q> NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED - Big-endian byte order in raw Curve25519 data
1174 
1175 // <i> Enable big-endian byte order in Curve25519 API, if set to 1. Use little-endian, if set to 0.
1176 
1177 #ifndef NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED
1178 #define NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED 0
1179 #endif
1180 
1181 // </e>
1182 
1183 // </h>
1184 //==========================================================
1185 
1186 // <h> nRF_DFU
1187 
1188 //==========================================================
1189 // <h> ble_dfu - Device Firmware Update
1190 
1191 //==========================================================
1192 // <q> BLE_DFU_ENABLED - Enable DFU Service.
1193 
1194 #ifndef BLE_DFU_ENABLED
1195 #define BLE_DFU_ENABLED 0
1196 #endif
1197 
1198 // <q> NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS - Buttonless DFU supports bonds.
1199 
1200 #ifndef NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS
1201 #define NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS 0
1202 #endif
1203 
1204 // </h>
1205 //==========================================================
1206 
1207 // </h>
1208 //==========================================================
1209 
1210 // <h> nRF_Drivers
1211 
1212 //==========================================================
1213 // <e> COMP_ENABLED - nrf_drv_comp - COMP peripheral driver - legacy layer
1214 //==========================================================
1215 #ifndef COMP_ENABLED
1216 #define COMP_ENABLED 0
1217 #endif
1218 // <o> COMP_CONFIG_REF - Reference voltage
1219 
1220 // <0=> Internal 1.2V
1221 // <1=> Internal 1.8V
1222 // <2=> Internal 2.4V
1223 // <4=> VDD
1224 // <7=> ARef
1225 
1226 #ifndef COMP_CONFIG_REF
1227 #define COMP_CONFIG_REF 1
1228 #endif
1229 
1230 // <o> COMP_CONFIG_MAIN_MODE - Main mode
1231 
1232 // <0=> Single ended
1233 // <1=> Differential
1234 
1235 #ifndef COMP_CONFIG_MAIN_MODE
1236 #define COMP_CONFIG_MAIN_MODE 0
1237 #endif
1238 
1239 // <o> COMP_CONFIG_SPEED_MODE - Speed mode
1240 
1241 // <0=> Low power
1242 // <1=> Normal
1243 // <2=> High speed
1244 
1245 #ifndef COMP_CONFIG_SPEED_MODE
1246 #define COMP_CONFIG_SPEED_MODE 2
1247 #endif
1248 
1249 // <o> COMP_CONFIG_HYST - Hystheresis
1250 
1251 // <0=> No
1252 // <1=> 50mV
1253 
1254 #ifndef COMP_CONFIG_HYST
1255 #define COMP_CONFIG_HYST 0
1256 #endif
1257 
1258 // <o> COMP_CONFIG_ISOURCE - Current Source
1259 
1260 // <0=> Off
1261 // <1=> 2.5 uA
1262 // <2=> 5 uA
1263 // <3=> 10 uA
1264 
1265 #ifndef COMP_CONFIG_ISOURCE
1266 #define COMP_CONFIG_ISOURCE 0
1267 #endif
1268 
1269 // <o> COMP_CONFIG_INPUT - Analog input
1270 
1271 // <0=> 0
1272 // <1=> 1
1273 // <2=> 2
1274 // <3=> 3
1275 // <4=> 4
1276 // <5=> 5
1277 // <6=> 6
1278 // <7=> 7
1279 
1280 #ifndef COMP_CONFIG_INPUT
1281 #define COMP_CONFIG_INPUT 0
1282 #endif
1283 
1284 // <o> COMP_CONFIG_IRQ_PRIORITY - Interrupt priority
1285 
1286 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1287 // <0=> 0 (highest)
1288 // <1=> 1
1289 // <2=> 2
1290 // <3=> 3
1291 // <4=> 4
1292 // <5=> 5
1293 // <6=> 6
1294 // <7=> 7
1295 
1296 #ifndef COMP_CONFIG_IRQ_PRIORITY
1297 #define COMP_CONFIG_IRQ_PRIORITY 6
1298 #endif
1299 
1300 // </e>
1301 
1302 // <q> EGU_ENABLED - nrf_drv_swi - SWI(EGU) peripheral driver - legacy layer
1303 
1304 #ifndef EGU_ENABLED
1305 #define EGU_ENABLED 0
1306 #endif
1307 
1308 // <e> GPIOTE_ENABLED - nrf_drv_gpiote - GPIOTE peripheral driver - legacy layer
1309 //==========================================================
1310 #ifndef GPIOTE_ENABLED
1311 #define GPIOTE_ENABLED 1
1312 #endif
1313 // <o> GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
1314 #ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
1315 #define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4
1316 #endif
1317 
1318 // <o> GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
1319 
1320 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1321 // <0=> 0 (highest)
1322 // <1=> 1
1323 // <2=> 2
1324 // <3=> 3
1325 // <4=> 4
1326 // <5=> 5
1327 // <6=> 6
1328 // <7=> 7
1329 
1330 #ifndef GPIOTE_CONFIG_IRQ_PRIORITY
1331 #define GPIOTE_CONFIG_IRQ_PRIORITY 7
1332 #endif
1333 
1334 // </e>
1335 
1336 // <e> I2S_ENABLED - nrf_drv_i2s - I2S peripheral driver - legacy layer
1337 //==========================================================
1338 #ifndef I2S_ENABLED
1339 #define I2S_ENABLED 0
1340 #endif
1341 // <o> I2S_CONFIG_SCK_PIN - SCK pin <0-31>
1342 
1343 #ifndef I2S_CONFIG_SCK_PIN
1344 #define I2S_CONFIG_SCK_PIN 31
1345 #endif
1346 
1347 // <o> I2S_CONFIG_LRCK_PIN - LRCK pin <1-31>
1348 
1349 #ifndef I2S_CONFIG_LRCK_PIN
1350 #define I2S_CONFIG_LRCK_PIN 30
1351 #endif
1352 
1353 // <o> I2S_CONFIG_MCK_PIN - MCK pin
1354 #ifndef I2S_CONFIG_MCK_PIN
1355 #define I2S_CONFIG_MCK_PIN 255
1356 #endif
1357 
1358 // <o> I2S_CONFIG_SDOUT_PIN - SDOUT pin <0-31>
1359 
1360 #ifndef I2S_CONFIG_SDOUT_PIN
1361 #define I2S_CONFIG_SDOUT_PIN 29
1362 #endif
1363 
1364 // <o> I2S_CONFIG_SDIN_PIN - SDIN pin <0-31>
1365 
1366 #ifndef I2S_CONFIG_SDIN_PIN
1367 #define I2S_CONFIG_SDIN_PIN 28
1368 #endif
1369 
1370 // <o> I2S_CONFIG_MASTER - Mode
1371 
1372 // <0=> Master
1373 // <1=> Slave
1374 
1375 #ifndef I2S_CONFIG_MASTER
1376 #define I2S_CONFIG_MASTER 0
1377 #endif
1378 
1379 // <o> I2S_CONFIG_FORMAT - Format
1380 
1381 // <0=> I2S
1382 // <1=> Aligned
1383 
1384 #ifndef I2S_CONFIG_FORMAT
1385 #define I2S_CONFIG_FORMAT 0
1386 #endif
1387 
1388 // <o> I2S_CONFIG_ALIGN - Alignment
1389 
1390 // <0=> Left
1391 // <1=> Right
1392 
1393 #ifndef I2S_CONFIG_ALIGN
1394 #define I2S_CONFIG_ALIGN 0
1395 #endif
1396 
1397 // <o> I2S_CONFIG_SWIDTH - Sample width (bits)
1398 
1399 // <0=> 8
1400 // <1=> 16
1401 // <2=> 24
1402 
1403 #ifndef I2S_CONFIG_SWIDTH
1404 #define I2S_CONFIG_SWIDTH 1
1405 #endif
1406 
1407 // <o> I2S_CONFIG_CHANNELS - Channels
1408 
1409 // <0=> Stereo
1410 // <1=> Left
1411 // <2=> Right
1412 
1413 #ifndef I2S_CONFIG_CHANNELS
1414 #define I2S_CONFIG_CHANNELS 1
1415 #endif
1416 
1417 // <o> I2S_CONFIG_MCK_SETUP - MCK behavior
1418 
1419 // <0=> Disabled
1420 // <2147483648=> 32MHz/2
1421 // <1342177280=> 32MHz/3
1422 // <1073741824=> 32MHz/4
1423 // <805306368=> 32MHz/5
1424 // <671088640=> 32MHz/6
1425 // <536870912=> 32MHz/8
1426 // <402653184=> 32MHz/10
1427 // <369098752=> 32MHz/11
1428 // <285212672=> 32MHz/15
1429 // <268435456=> 32MHz/16
1430 // <201326592=> 32MHz/21
1431 // <184549376=> 32MHz/23
1432 // <142606336=> 32MHz/30
1433 // <138412032=> 32MHz/31
1434 // <134217728=> 32MHz/32
1435 // <100663296=> 32MHz/42
1436 // <68157440=> 32MHz/63
1437 // <34340864=> 32MHz/125
1438 
1439 #ifndef I2S_CONFIG_MCK_SETUP
1440 #define I2S_CONFIG_MCK_SETUP 536870912
1441 #endif
1442 
1443 // <o> I2S_CONFIG_RATIO - MCK/LRCK ratio
1444 
1445 // <0=> 32x
1446 // <1=> 48x
1447 // <2=> 64x
1448 // <3=> 96x
1449 // <4=> 128x
1450 // <5=> 192x
1451 // <6=> 256x
1452 // <7=> 384x
1453 // <8=> 512x
1454 
1455 #ifndef I2S_CONFIG_RATIO
1456 #define I2S_CONFIG_RATIO 2000
1457 #endif
1458 
1459 // <o> I2S_CONFIG_IRQ_PRIORITY - Interrupt priority
1460 
1461 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1462 // <0=> 0 (highest)
1463 // <1=> 1
1464 // <2=> 2
1465 // <3=> 3
1466 // <4=> 4
1467 // <5=> 5
1468 // <6=> 6
1469 // <7=> 7
1470 
1471 #ifndef I2S_CONFIG_IRQ_PRIORITY
1472 #define I2S_CONFIG_IRQ_PRIORITY 6
1473 #endif
1474 
1475 // <e> I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
1476 //==========================================================
1477 #ifndef I2S_CONFIG_LOG_ENABLED
1478 #define I2S_CONFIG_LOG_ENABLED 0
1479 #endif
1480 // <o> I2S_CONFIG_LOG_LEVEL - Default Severity level
1481 
1482 // <0=> Off
1483 // <1=> Error
1484 // <2=> Warning
1485 // <3=> Info
1486 // <4=> Debug
1487 
1488 #ifndef I2S_CONFIG_LOG_LEVEL
1489 #define I2S_CONFIG_LOG_LEVEL 3
1490 #endif
1491 
1492 // <o> I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
1493 
1494 // <0=> Default
1495 // <1=> Black
1496 // <2=> Red
1497 // <3=> Green
1498 // <4=> Yellow
1499 // <5=> Blue
1500 // <6=> Magenta
1501 // <7=> Cyan
1502 // <8=> White
1503 
1504 #ifndef I2S_CONFIG_INFO_COLOR
1505 #define I2S_CONFIG_INFO_COLOR 0
1506 #endif
1507 
1508 // <o> I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1509 
1510 // <0=> Default
1511 // <1=> Black
1512 // <2=> Red
1513 // <3=> Green
1514 // <4=> Yellow
1515 // <5=> Blue
1516 // <6=> Magenta
1517 // <7=> Cyan
1518 // <8=> White
1519 
1520 #ifndef I2S_CONFIG_DEBUG_COLOR
1521 #define I2S_CONFIG_DEBUG_COLOR 0
1522 #endif
1523 
1524 // </e>
1525 
1526 // </e>
1527 
1528 // <e> LPCOMP_ENABLED - nrf_drv_lpcomp - LPCOMP peripheral driver - legacy layer
1529 //==========================================================
1530 #ifndef LPCOMP_ENABLED
1531 #define LPCOMP_ENABLED 0
1532 #endif
1533 // <o> LPCOMP_CONFIG_REFERENCE - Reference voltage
1534 
1535 // <0=> Supply 1/8
1536 // <1=> Supply 2/8
1537 // <2=> Supply 3/8
1538 // <3=> Supply 4/8
1539 // <4=> Supply 5/8
1540 // <5=> Supply 6/8
1541 // <6=> Supply 7/8
1542 // <8=> Supply 1/16 (nRF52)
1543 // <9=> Supply 3/16 (nRF52)
1544 // <10=> Supply 5/16 (nRF52)
1545 // <11=> Supply 7/16 (nRF52)
1546 // <12=> Supply 9/16 (nRF52)
1547 // <13=> Supply 11/16 (nRF52)
1548 // <14=> Supply 13/16 (nRF52)
1549 // <15=> Supply 15/16 (nRF52)
1550 // <7=> External Ref 0
1551 // <65543=> External Ref 1
1552 
1553 #ifndef LPCOMP_CONFIG_REFERENCE
1554 #define LPCOMP_CONFIG_REFERENCE 3
1555 #endif
1556 
1557 // <o> LPCOMP_CONFIG_DETECTION - Detection
1558 
1559 // <0=> Crossing
1560 // <1=> Up
1561 // <2=> Down
1562 
1563 #ifndef LPCOMP_CONFIG_DETECTION
1564 #define LPCOMP_CONFIG_DETECTION 2
1565 #endif
1566 
1567 // <o> LPCOMP_CONFIG_INPUT - Analog input
1568 
1569 // <0=> 0
1570 // <1=> 1
1571 // <2=> 2
1572 // <3=> 3
1573 // <4=> 4
1574 // <5=> 5
1575 // <6=> 6
1576 // <7=> 7
1577 
1578 #ifndef LPCOMP_CONFIG_INPUT
1579 #define LPCOMP_CONFIG_INPUT 0
1580 #endif
1581 
1582 // <q> LPCOMP_CONFIG_HYST - Hysteresis
1583 
1584 #ifndef LPCOMP_CONFIG_HYST
1585 #define LPCOMP_CONFIG_HYST 0
1586 #endif
1587 
1588 // <o> LPCOMP_CONFIG_IRQ_PRIORITY - Interrupt priority
1589 
1590 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1591 // <0=> 0 (highest)
1592 // <1=> 1
1593 // <2=> 2
1594 // <3=> 3
1595 // <4=> 4
1596 // <5=> 5
1597 // <6=> 6
1598 // <7=> 7
1599 
1600 #ifndef LPCOMP_CONFIG_IRQ_PRIORITY
1601 #define LPCOMP_CONFIG_IRQ_PRIORITY 6
1602 #endif
1603 
1604 // </e>
1605 
1606 // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
1607 //==========================================================
1608 #ifndef NRFX_CLOCK_ENABLED
1609 #define NRFX_CLOCK_ENABLED 1
1610 #endif
1611 // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source
1612 
1613 // <0=> RC
1614 // <1=> XTAL
1615 // <2=> Synth
1616 // <131073=> External Low Swing
1617 // <196609=> External Full Swing
1618 
1619 #ifndef NRFX_CLOCK_CONFIG_LF_SRC
1620 #define NRFX_CLOCK_CONFIG_LF_SRC 0
1621 #endif
1622 
1623 // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
1624 
1625 // <0=> 0 (highest)
1626 // <1=> 1
1627 // <2=> 2
1628 // <3=> 3
1629 // <4=> 4
1630 // <5=> 5
1631 // <6=> 6
1632 // <7=> 7
1633 
1634 #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
1635 #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
1636 #endif
1637 
1638 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
1639 //==========================================================
1640 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
1641 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
1642 #endif
1643 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level
1644 
1645 // <0=> Off
1646 // <1=> Error
1647 // <2=> Warning
1648 // <3=> Info
1649 // <4=> Debug
1650 
1651 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
1652 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
1653 #endif
1654 
1655 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
1656 
1657 // <0=> Default
1658 // <1=> Black
1659 // <2=> Red
1660 // <3=> Green
1661 // <4=> Yellow
1662 // <5=> Blue
1663 // <6=> Magenta
1664 // <7=> Cyan
1665 // <8=> White
1666 
1667 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
1668 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
1669 #endif
1670 
1671 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1672 
1673 // <0=> Default
1674 // <1=> Black
1675 // <2=> Red
1676 // <3=> Green
1677 // <4=> Yellow
1678 // <5=> Blue
1679 // <6=> Magenta
1680 // <7=> Cyan
1681 // <8=> White
1682 
1683 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
1684 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
1685 #endif
1686 
1687 // </e>
1688 
1689 // </e>
1690 
1691 // <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
1692 //==========================================================
1693 #ifndef NRFX_COMP_ENABLED
1694 #define NRFX_COMP_ENABLED 0
1695 #endif
1696 // <o> NRFX_COMP_CONFIG_REF - Reference voltage
1697 
1698 // <0=> Internal 1.2V
1699 // <1=> Internal 1.8V
1700 // <2=> Internal 2.4V
1701 // <4=> VDD
1702 // <7=> ARef
1703 
1704 #ifndef NRFX_COMP_CONFIG_REF
1705 #define NRFX_COMP_CONFIG_REF 1
1706 #endif
1707 
1708 // <o> NRFX_COMP_CONFIG_MAIN_MODE - Main mode
1709 
1710 // <0=> Single ended
1711 // <1=> Differential
1712 
1713 #ifndef NRFX_COMP_CONFIG_MAIN_MODE
1714 #define NRFX_COMP_CONFIG_MAIN_MODE 0
1715 #endif
1716 
1717 // <o> NRFX_COMP_CONFIG_SPEED_MODE - Speed mode
1718 
1719 // <0=> Low power
1720 // <1=> Normal
1721 // <2=> High speed
1722 
1723 #ifndef NRFX_COMP_CONFIG_SPEED_MODE
1724 #define NRFX_COMP_CONFIG_SPEED_MODE 2
1725 #endif
1726 
1727 // <o> NRFX_COMP_CONFIG_HYST - Hystheresis
1728 
1729 // <0=> No
1730 // <1=> 50mV
1731 
1732 #ifndef NRFX_COMP_CONFIG_HYST
1733 #define NRFX_COMP_CONFIG_HYST 0
1734 #endif
1735 
1736 // <o> NRFX_COMP_CONFIG_ISOURCE - Current Source
1737 
1738 // <0=> Off
1739 // <1=> 2.5 uA
1740 // <2=> 5 uA
1741 // <3=> 10 uA
1742 
1743 #ifndef NRFX_COMP_CONFIG_ISOURCE
1744 #define NRFX_COMP_CONFIG_ISOURCE 0
1745 #endif
1746 
1747 // <o> NRFX_COMP_CONFIG_INPUT - Analog input
1748 
1749 // <0=> 0
1750 // <1=> 1
1751 // <2=> 2
1752 // <3=> 3
1753 // <4=> 4
1754 // <5=> 5
1755 // <6=> 6
1756 // <7=> 7
1757 
1758 #ifndef NRFX_COMP_CONFIG_INPUT
1759 #define NRFX_COMP_CONFIG_INPUT 0
1760 #endif
1761 
1762 // <o> NRFX_COMP_CONFIG_IRQ_PRIORITY - Interrupt priority
1763 
1764 // <0=> 0 (highest)
1765 // <1=> 1
1766 // <2=> 2
1767 // <3=> 3
1768 // <4=> 4
1769 // <5=> 5
1770 // <6=> 6
1771 // <7=> 7
1772 
1773 #ifndef NRFX_COMP_CONFIG_IRQ_PRIORITY
1774 #define NRFX_COMP_CONFIG_IRQ_PRIORITY 6
1775 #endif
1776 
1777 // <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
1778 //==========================================================
1779 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED
1780 #define NRFX_COMP_CONFIG_LOG_ENABLED 0
1781 #endif
1782 // <o> NRFX_COMP_CONFIG_LOG_LEVEL - Default Severity level
1783 
1784 // <0=> Off
1785 // <1=> Error
1786 // <2=> Warning
1787 // <3=> Info
1788 // <4=> Debug
1789 
1790 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL
1791 #define NRFX_COMP_CONFIG_LOG_LEVEL 3
1792 #endif
1793 
1794 // <o> NRFX_COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
1795 
1796 // <0=> Default
1797 // <1=> Black
1798 // <2=> Red
1799 // <3=> Green
1800 // <4=> Yellow
1801 // <5=> Blue
1802 // <6=> Magenta
1803 // <7=> Cyan
1804 // <8=> White
1805 
1806 #ifndef NRFX_COMP_CONFIG_INFO_COLOR
1807 #define NRFX_COMP_CONFIG_INFO_COLOR 0
1808 #endif
1809 
1810 // <o> NRFX_COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1811 
1812 // <0=> Default
1813 // <1=> Black
1814 // <2=> Red
1815 // <3=> Green
1816 // <4=> Yellow
1817 // <5=> Blue
1818 // <6=> Magenta
1819 // <7=> Cyan
1820 // <8=> White
1821 
1822 #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR
1823 #define NRFX_COMP_CONFIG_DEBUG_COLOR 0
1824 #endif
1825 
1826 // </e>
1827 
1828 // </e>
1829 
1830 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
1831 //==========================================================
1832 #ifndef NRFX_GPIOTE_ENABLED
1833 #define NRFX_GPIOTE_ENABLED 1
1834 #endif
1835 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
1836 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
1837 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
1838 #endif
1839 
1840 // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
1841 
1842 // <0=> 0 (highest)
1843 // <1=> 1
1844 // <2=> 2
1845 // <3=> 3
1846 // <4=> 4
1847 // <5=> 5
1848 // <6=> 6
1849 // <7=> 7
1850 
1851 #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
1852 #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 7
1853 #endif
1854 
1855 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
1856 //==========================================================
1857 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
1858 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
1859 #endif
1860 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
1861 
1862 // <0=> Off
1863 // <1=> Error
1864 // <2=> Warning
1865 // <3=> Info
1866 // <4=> Debug
1867 
1868 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
1869 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
1870 #endif
1871 
1872 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
1873 
1874 // <0=> Default
1875 // <1=> Black
1876 // <2=> Red
1877 // <3=> Green
1878 // <4=> Yellow
1879 // <5=> Blue
1880 // <6=> Magenta
1881 // <7=> Cyan
1882 // <8=> White
1883 
1884 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
1885 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
1886 #endif
1887 
1888 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1889 
1890 // <0=> Default
1891 // <1=> Black
1892 // <2=> Red
1893 // <3=> Green
1894 // <4=> Yellow
1895 // <5=> Blue
1896 // <6=> Magenta
1897 // <7=> Cyan
1898 // <8=> White
1899 
1900 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
1901 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
1902 #endif
1903 
1904 // </e>
1905 
1906 // </e>
1907 
1908 // <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver
1909 //==========================================================
1910 #ifndef NRFX_I2S_ENABLED
1911 #define NRFX_I2S_ENABLED 0
1912 #endif
1913 // <o> NRFX_I2S_CONFIG_SCK_PIN - SCK pin <0-31>
1914 
1915 #ifndef NRFX_I2S_CONFIG_SCK_PIN
1916 #define NRFX_I2S_CONFIG_SCK_PIN 31
1917 #endif
1918 
1919 // <o> NRFX_I2S_CONFIG_LRCK_PIN - LRCK pin <1-31>
1920 
1921 #ifndef NRFX_I2S_CONFIG_LRCK_PIN
1922 #define NRFX_I2S_CONFIG_LRCK_PIN 30
1923 #endif
1924 
1925 // <o> NRFX_I2S_CONFIG_MCK_PIN - MCK pin
1926 #ifndef NRFX_I2S_CONFIG_MCK_PIN
1927 #define NRFX_I2S_CONFIG_MCK_PIN 255
1928 #endif
1929 
1930 // <o> NRFX_I2S_CONFIG_SDOUT_PIN - SDOUT pin <0-31>
1931 
1932 #ifndef NRFX_I2S_CONFIG_SDOUT_PIN
1933 #define NRFX_I2S_CONFIG_SDOUT_PIN 29
1934 #endif
1935 
1936 // <o> NRFX_I2S_CONFIG_SDIN_PIN - SDIN pin <0-31>
1937 
1938 #ifndef NRFX_I2S_CONFIG_SDIN_PIN
1939 #define NRFX_I2S_CONFIG_SDIN_PIN 28
1940 #endif
1941 
1942 // <o> NRFX_I2S_CONFIG_MASTER - Mode
1943 
1944 // <0=> Master
1945 // <1=> Slave
1946 
1947 #ifndef NRFX_I2S_CONFIG_MASTER
1948 #define NRFX_I2S_CONFIG_MASTER 0
1949 #endif
1950 
1951 // <o> NRFX_I2S_CONFIG_FORMAT - Format
1952 
1953 // <0=> I2S
1954 // <1=> Aligned
1955 
1956 #ifndef NRFX_I2S_CONFIG_FORMAT
1957 #define NRFX_I2S_CONFIG_FORMAT 0
1958 #endif
1959 
1960 // <o> NRFX_I2S_CONFIG_ALIGN - Alignment
1961 
1962 // <0=> Left
1963 // <1=> Right
1964 
1965 #ifndef NRFX_I2S_CONFIG_ALIGN
1966 #define NRFX_I2S_CONFIG_ALIGN 0
1967 #endif
1968 
1969 // <o> NRFX_I2S_CONFIG_SWIDTH - Sample width (bits)
1970 
1971 // <0=> 8
1972 // <1=> 16
1973 // <2=> 24
1974 
1975 #ifndef NRFX_I2S_CONFIG_SWIDTH
1976 #define NRFX_I2S_CONFIG_SWIDTH 1
1977 #endif
1978 
1979 // <o> NRFX_I2S_CONFIG_CHANNELS - Channels
1980 
1981 // <0=> Stereo
1982 // <1=> Left
1983 // <2=> Right
1984 
1985 #ifndef NRFX_I2S_CONFIG_CHANNELS
1986 #define NRFX_I2S_CONFIG_CHANNELS 1
1987 #endif
1988 
1989 // <o> NRFX_I2S_CONFIG_MCK_SETUP - MCK behavior
1990 
1991 // <0=> Disabled
1992 // <2147483648=> 32MHz/2
1993 // <1342177280=> 32MHz/3
1994 // <1073741824=> 32MHz/4
1995 // <805306368=> 32MHz/5
1996 // <671088640=> 32MHz/6
1997 // <536870912=> 32MHz/8
1998 // <402653184=> 32MHz/10
1999 // <369098752=> 32MHz/11
2000 // <285212672=> 32MHz/15
2001 // <268435456=> 32MHz/16
2002 // <201326592=> 32MHz/21
2003 // <184549376=> 32MHz/23
2004 // <142606336=> 32MHz/30
2005 // <138412032=> 32MHz/31
2006 // <134217728=> 32MHz/32
2007 // <100663296=> 32MHz/42
2008 // <68157440=> 32MHz/63
2009 // <34340864=> 32MHz/125
2010 
2011 #ifndef NRFX_I2S_CONFIG_MCK_SETUP
2012 #define NRFX_I2S_CONFIG_MCK_SETUP 536870912
2013 #endif
2014 
2015 // <o> NRFX_I2S_CONFIG_RATIO - MCK/LRCK ratio
2016 
2017 // <0=> 32x
2018 // <1=> 48x
2019 // <2=> 64x
2020 // <3=> 96x
2021 // <4=> 128x
2022 // <5=> 192x
2023 // <6=> 256x
2024 // <7=> 384x
2025 // <8=> 512x
2026 
2027 #ifndef NRFX_I2S_CONFIG_RATIO
2028 #define NRFX_I2S_CONFIG_RATIO 2000
2029 #endif
2030 
2031 // <o> NRFX_I2S_CONFIG_IRQ_PRIORITY - Interrupt priority
2032 
2033 // <0=> 0 (highest)
2034 // <1=> 1
2035 // <2=> 2
2036 // <3=> 3
2037 // <4=> 4
2038 // <5=> 5
2039 // <6=> 6
2040 // <7=> 7
2041 
2042 #ifndef NRFX_I2S_CONFIG_IRQ_PRIORITY
2043 #define NRFX_I2S_CONFIG_IRQ_PRIORITY 6
2044 #endif
2045 
2046 // <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
2047 //==========================================================
2048 #ifndef NRFX_I2S_CONFIG_LOG_ENABLED
2049 #define NRFX_I2S_CONFIG_LOG_ENABLED 0
2050 #endif
2051 // <o> NRFX_I2S_CONFIG_LOG_LEVEL - Default Severity level
2052 
2053 // <0=> Off
2054 // <1=> Error
2055 // <2=> Warning
2056 // <3=> Info
2057 // <4=> Debug
2058 
2059 #ifndef NRFX_I2S_CONFIG_LOG_LEVEL
2060 #define NRFX_I2S_CONFIG_LOG_LEVEL 3
2061 #endif
2062 
2063 // <o> NRFX_I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
2064 
2065 // <0=> Default
2066 // <1=> Black
2067 // <2=> Red
2068 // <3=> Green
2069 // <4=> Yellow
2070 // <5=> Blue
2071 // <6=> Magenta
2072 // <7=> Cyan
2073 // <8=> White
2074 
2075 #ifndef NRFX_I2S_CONFIG_INFO_COLOR
2076 #define NRFX_I2S_CONFIG_INFO_COLOR 0
2077 #endif
2078 
2079 // <o> NRFX_I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2080 
2081 // <0=> Default
2082 // <1=> Black
2083 // <2=> Red
2084 // <3=> Green
2085 // <4=> Yellow
2086 // <5=> Blue
2087 // <6=> Magenta
2088 // <7=> Cyan
2089 // <8=> White
2090 
2091 #ifndef NRFX_I2S_CONFIG_DEBUG_COLOR
2092 #define NRFX_I2S_CONFIG_DEBUG_COLOR 0
2093 #endif
2094 
2095 // </e>
2096 
2097 // </e>
2098 
2099 // <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
2100 //==========================================================
2101 #ifndef NRFX_LPCOMP_ENABLED
2102 #define NRFX_LPCOMP_ENABLED 0
2103 #endif
2104 // <o> NRFX_LPCOMP_CONFIG_REFERENCE - Reference voltage
2105 
2106 // <0=> Supply 1/8
2107 // <1=> Supply 2/8
2108 // <2=> Supply 3/8
2109 // <3=> Supply 4/8
2110 // <4=> Supply 5/8
2111 // <5=> Supply 6/8
2112 // <6=> Supply 7/8
2113 // <8=> Supply 1/16 (nRF52)
2114 // <9=> Supply 3/16 (nRF52)
2115 // <10=> Supply 5/16 (nRF52)
2116 // <11=> Supply 7/16 (nRF52)
2117 // <12=> Supply 9/16 (nRF52)
2118 // <13=> Supply 11/16 (nRF52)
2119 // <14=> Supply 13/16 (nRF52)
2120 // <15=> Supply 15/16 (nRF52)
2121 // <7=> External Ref 0
2122 // <65543=> External Ref 1
2123 
2124 #ifndef NRFX_LPCOMP_CONFIG_REFERENCE
2125 #define NRFX_LPCOMP_CONFIG_REFERENCE 3
2126 #endif
2127 
2128 // <o> NRFX_LPCOMP_CONFIG_DETECTION - Detection
2129 
2130 // <0=> Crossing
2131 // <1=> Up
2132 // <2=> Down
2133 
2134 #ifndef NRFX_LPCOMP_CONFIG_DETECTION
2135 #define NRFX_LPCOMP_CONFIG_DETECTION 2
2136 #endif
2137 
2138 // <o> NRFX_LPCOMP_CONFIG_INPUT - Analog input
2139 
2140 // <0=> 0
2141 // <1=> 1
2142 // <2=> 2
2143 // <3=> 3
2144 // <4=> 4
2145 // <5=> 5
2146 // <6=> 6
2147 // <7=> 7
2148 
2149 #ifndef NRFX_LPCOMP_CONFIG_INPUT
2150 #define NRFX_LPCOMP_CONFIG_INPUT 0
2151 #endif
2152 
2153 // <q> NRFX_LPCOMP_CONFIG_HYST - Hysteresis
2154 
2155 #ifndef NRFX_LPCOMP_CONFIG_HYST
2156 #define NRFX_LPCOMP_CONFIG_HYST 0
2157 #endif
2158 
2159 // <o> NRFX_LPCOMP_CONFIG_IRQ_PRIORITY - Interrupt priority
2160 
2161 // <0=> 0 (highest)
2162 // <1=> 1
2163 // <2=> 2
2164 // <3=> 3
2165 // <4=> 4
2166 // <5=> 5
2167 // <6=> 6
2168 // <7=> 7
2169 
2170 #ifndef NRFX_LPCOMP_CONFIG_IRQ_PRIORITY
2171 #define NRFX_LPCOMP_CONFIG_IRQ_PRIORITY 6
2172 #endif
2173 
2174 // <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
2175 //==========================================================
2176 #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED
2177 #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0
2178 #endif
2179 // <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
2180 
2181 // <0=> Off
2182 // <1=> Error
2183 // <2=> Warning
2184 // <3=> Info
2185 // <4=> Debug
2186 
2187 #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL
2188 #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3
2189 #endif
2190 
2191 // <o> NRFX_LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
2192 
2193 // <0=> Default
2194 // <1=> Black
2195 // <2=> Red
2196 // <3=> Green
2197 // <4=> Yellow
2198 // <5=> Blue
2199 // <6=> Magenta
2200 // <7=> Cyan
2201 // <8=> White
2202 
2203 #ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR
2204 #define NRFX_LPCOMP_CONFIG_INFO_COLOR 0
2205 #endif
2206 
2207 // <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2208 
2209 // <0=> Default
2210 // <1=> Black
2211 // <2=> Red
2212 // <3=> Green
2213 // <4=> Yellow
2214 // <5=> Blue
2215 // <6=> Magenta
2216 // <7=> Cyan
2217 // <8=> White
2218 
2219 #ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR
2220 #define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0
2221 #endif
2222 
2223 // </e>
2224 
2225 // </e>
2226 
2227 // <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
2228 //==========================================================
2229 #ifndef NRFX_NFCT_ENABLED
2230 #define NRFX_NFCT_ENABLED 0
2231 #endif
2232 // <o> NRFX_NFCT_CONFIG_IRQ_PRIORITY - Interrupt priority
2233 
2234 // <0=> 0 (highest)
2235 // <1=> 1
2236 // <2=> 2
2237 // <3=> 3
2238 // <4=> 4
2239 // <5=> 5
2240 // <6=> 6
2241 // <7=> 7
2242 
2243 #ifndef NRFX_NFCT_CONFIG_IRQ_PRIORITY
2244 #define NRFX_NFCT_CONFIG_IRQ_PRIORITY 6
2245 #endif
2246 
2247 // <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module.
2248 //==========================================================
2249 #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED
2250 #define NRFX_NFCT_CONFIG_LOG_ENABLED 0
2251 #endif
2252 // <o> NRFX_NFCT_CONFIG_LOG_LEVEL - Default Severity level
2253 
2254 // <0=> Off
2255 // <1=> Error
2256 // <2=> Warning
2257 // <3=> Info
2258 // <4=> Debug
2259 
2260 #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL
2261 #define NRFX_NFCT_CONFIG_LOG_LEVEL 3
2262 #endif
2263 
2264 // <o> NRFX_NFCT_CONFIG_INFO_COLOR - ANSI escape code prefix.
2265 
2266 // <0=> Default
2267 // <1=> Black
2268 // <2=> Red
2269 // <3=> Green
2270 // <4=> Yellow
2271 // <5=> Blue
2272 // <6=> Magenta
2273 // <7=> Cyan
2274 // <8=> White
2275 
2276 #ifndef NRFX_NFCT_CONFIG_INFO_COLOR
2277 #define NRFX_NFCT_CONFIG_INFO_COLOR 0
2278 #endif
2279 
2280 // <o> NRFX_NFCT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2281 
2282 // <0=> Default
2283 // <1=> Black
2284 // <2=> Red
2285 // <3=> Green
2286 // <4=> Yellow
2287 // <5=> Blue
2288 // <6=> Magenta
2289 // <7=> Cyan
2290 // <8=> White
2291 
2292 #ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR
2293 #define NRFX_NFCT_CONFIG_DEBUG_COLOR 0
2294 #endif
2295 
2296 // </e>
2297 
2298 // </e>
2299 
2300 // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver
2301 //==========================================================
2302 #ifndef NRFX_PDM_ENABLED
2303 #define NRFX_PDM_ENABLED 0
2304 #endif
2305 // <o> NRFX_PDM_CONFIG_MODE - Mode
2306 
2307 // <0=> Stereo
2308 // <1=> Mono
2309 
2310 #ifndef NRFX_PDM_CONFIG_MODE
2311 #define NRFX_PDM_CONFIG_MODE 1
2312 #endif
2313 
2314 // <o> NRFX_PDM_CONFIG_EDGE - Edge
2315 
2316 // <0=> Left falling
2317 // <1=> Left rising
2318 
2319 #ifndef NRFX_PDM_CONFIG_EDGE
2320 #define NRFX_PDM_CONFIG_EDGE 0
2321 #endif
2322 
2323 // <o> NRFX_PDM_CONFIG_CLOCK_FREQ - Clock frequency
2324 
2325 // <134217728=> 1000k
2326 // <138412032=> 1032k (default)
2327 // <142606336=> 1067k
2328 
2329 #ifndef NRFX_PDM_CONFIG_CLOCK_FREQ
2330 #define NRFX_PDM_CONFIG_CLOCK_FREQ 138412032
2331 #endif
2332 
2333 // <o> NRFX_PDM_CONFIG_IRQ_PRIORITY - Interrupt priority
2334 
2335 // <0=> 0 (highest)
2336 // <1=> 1
2337 // <2=> 2
2338 // <3=> 3
2339 // <4=> 4
2340 // <5=> 5
2341 // <6=> 6
2342 // <7=> 7
2343 
2344 #ifndef NRFX_PDM_CONFIG_IRQ_PRIORITY
2345 #define NRFX_PDM_CONFIG_IRQ_PRIORITY 6
2346 #endif
2347 
2348 // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
2349 //==========================================================
2350 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED
2351 #define NRFX_PDM_CONFIG_LOG_ENABLED 0
2352 #endif
2353 // <o> NRFX_PDM_CONFIG_LOG_LEVEL - Default Severity level
2354 
2355 // <0=> Off
2356 // <1=> Error
2357 // <2=> Warning
2358 // <3=> Info
2359 // <4=> Debug
2360 
2361 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL
2362 #define NRFX_PDM_CONFIG_LOG_LEVEL 3
2363 #endif
2364 
2365 // <o> NRFX_PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
2366 
2367 // <0=> Default
2368 // <1=> Black
2369 // <2=> Red
2370 // <3=> Green
2371 // <4=> Yellow
2372 // <5=> Blue
2373 // <6=> Magenta
2374 // <7=> Cyan
2375 // <8=> White
2376 
2377 #ifndef NRFX_PDM_CONFIG_INFO_COLOR
2378 #define NRFX_PDM_CONFIG_INFO_COLOR 0
2379 #endif
2380 
2381 // <o> NRFX_PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2382 
2383 // <0=> Default
2384 // <1=> Black
2385 // <2=> Red
2386 // <3=> Green
2387 // <4=> Yellow
2388 // <5=> Blue
2389 // <6=> Magenta
2390 // <7=> Cyan
2391 // <8=> White
2392 
2393 #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
2394 #define NRFX_PDM_CONFIG_DEBUG_COLOR 0
2395 #endif
2396 
2397 // </e>
2398 
2399 // </e>
2400 
2401 // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
2402 //==========================================================
2403 #ifndef NRFX_POWER_ENABLED
2404 #define NRFX_POWER_ENABLED 0
2405 #endif
2406 // <o> NRFX_POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
2407 
2408 // <0=> 0 (highest)
2409 // <1=> 1
2410 // <2=> 2
2411 // <3=> 3
2412 // <4=> 4
2413 // <5=> 5
2414 // <6=> 6
2415 // <7=> 7
2416 
2417 #ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY
2418 #define NRFX_POWER_CONFIG_IRQ_PRIORITY 6
2419 #endif
2420 
2421 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
2422 
2423 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
2424 
2425 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN
2426 #define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0
2427 #endif
2428 
2429 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
2430 
2431 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
2432 
2433 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCENHV
2434 #define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0
2435 #endif
2436 
2437 // </e>
2438 
2439 // <e> NRFX_PPI_ENABLED - nrfx_ppi - PPI peripheral allocator
2440 //==========================================================
2441 #ifndef NRFX_PPI_ENABLED
2442 #define NRFX_PPI_ENABLED 0
2443 #endif
2444 // <e> NRFX_PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
2445 //==========================================================
2446 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED
2447 #define NRFX_PPI_CONFIG_LOG_ENABLED 0
2448 #endif
2449 // <o> NRFX_PPI_CONFIG_LOG_LEVEL - Default Severity level
2450 
2451 // <0=> Off
2452 // <1=> Error
2453 // <2=> Warning
2454 // <3=> Info
2455 // <4=> Debug
2456 
2457 #ifndef NRFX_PPI_CONFIG_LOG_LEVEL
2458 #define NRFX_PPI_CONFIG_LOG_LEVEL 3
2459 #endif
2460 
2461 // <o> NRFX_PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
2462 
2463 // <0=> Default
2464 // <1=> Black
2465 // <2=> Red
2466 // <3=> Green
2467 // <4=> Yellow
2468 // <5=> Blue
2469 // <6=> Magenta
2470 // <7=> Cyan
2471 // <8=> White
2472 
2473 #ifndef NRFX_PPI_CONFIG_INFO_COLOR
2474 #define NRFX_PPI_CONFIG_INFO_COLOR 0
2475 #endif
2476 
2477 // <o> NRFX_PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2478 
2479 // <0=> Default
2480 // <1=> Black
2481 // <2=> Red
2482 // <3=> Green
2483 // <4=> Yellow
2484 // <5=> Blue
2485 // <6=> Magenta
2486 // <7=> Cyan
2487 // <8=> White
2488 
2489 #ifndef NRFX_PPI_CONFIG_DEBUG_COLOR
2490 #define NRFX_PPI_CONFIG_DEBUG_COLOR 0
2491 #endif
2492 
2493 // </e>
2494 
2495 // </e>
2496 
2497 // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module
2498 //==========================================================
2499 #ifndef NRFX_PRS_ENABLED
2500 #define NRFX_PRS_ENABLED 1
2501 #endif
2502 // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module.
2503 
2504 #ifndef NRFX_PRS_BOX_0_ENABLED
2505 #define NRFX_PRS_BOX_0_ENABLED 0
2506 #endif
2507 
2508 // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module.
2509 
2510 #ifndef NRFX_PRS_BOX_1_ENABLED
2511 #define NRFX_PRS_BOX_1_ENABLED 0
2512 #endif
2513 
2514 // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module.
2515 
2516 #ifndef NRFX_PRS_BOX_2_ENABLED
2517 #define NRFX_PRS_BOX_2_ENABLED 0
2518 #endif
2519 
2520 // <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module.
2521 
2522 #ifndef NRFX_PRS_BOX_3_ENABLED
2523 #define NRFX_PRS_BOX_3_ENABLED 0
2524 #endif
2525 
2526 // <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module.
2527 
2528 #ifndef NRFX_PRS_BOX_4_ENABLED
2529 #define NRFX_PRS_BOX_4_ENABLED 1
2530 #endif
2531 
2532 // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
2533 //==========================================================
2534 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
2535 #define NRFX_PRS_CONFIG_LOG_ENABLED 0
2536 #endif
2537 // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default Severity level
2538 
2539 // <0=> Off
2540 // <1=> Error
2541 // <2=> Warning
2542 // <3=> Info
2543 // <4=> Debug
2544 
2545 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
2546 #define NRFX_PRS_CONFIG_LOG_LEVEL 3
2547 #endif
2548 
2549 // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix.
2550 
2551 // <0=> Default
2552 // <1=> Black
2553 // <2=> Red
2554 // <3=> Green
2555 // <4=> Yellow
2556 // <5=> Blue
2557 // <6=> Magenta
2558 // <7=> Cyan
2559 // <8=> White
2560 
2561 #ifndef NRFX_PRS_CONFIG_INFO_COLOR
2562 #define NRFX_PRS_CONFIG_INFO_COLOR 0
2563 #endif
2564 
2565 // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2566 
2567 // <0=> Default
2568 // <1=> Black
2569 // <2=> Red
2570 // <3=> Green
2571 // <4=> Yellow
2572 // <5=> Blue
2573 // <6=> Magenta
2574 // <7=> Cyan
2575 // <8=> White
2576 
2577 #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
2578 #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
2579 #endif
2580 
2581 // </e>
2582 
2583 // </e>
2584 
2585 // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver
2586 //==========================================================
2587 #ifndef NRFX_PWM_ENABLED
2588 #define NRFX_PWM_ENABLED 1
2589 #endif
2590 // <q> NRFX_PWM0_ENABLED - Enable PWM0 instance
2591 
2592 #ifndef NRFX_PWM0_ENABLED
2593 #define NRFX_PWM0_ENABLED 0
2594 #endif
2595 
2596 // <q> NRFX_PWM1_ENABLED - Enable PWM1 instance
2597 
2598 #ifndef NRFX_PWM1_ENABLED
2599 #define NRFX_PWM1_ENABLED 0
2600 #endif
2601 
2602 // <q> NRFX_PWM2_ENABLED - Enable PWM2 instance
2603 
2604 #ifndef NRFX_PWM2_ENABLED
2605 #define NRFX_PWM2_ENABLED 0
2606 #endif
2607 
2608 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31>
2609 
2610 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN
2611 #define NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN 31
2612 #endif
2613 
2614 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31>
2615 
2616 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN
2617 #define NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN 31
2618 #endif
2619 
2620 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31>
2621 
2622 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN
2623 #define NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN 31
2624 #endif
2625 
2626 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31>
2627 
2628 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN
2629 #define NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN 31
2630 #endif
2631 
2632 // <o> NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock
2633 
2634 // <0=> 16 MHz
2635 // <1=> 8 MHz
2636 // <2=> 4 MHz
2637 // <3=> 2 MHz
2638 // <4=> 1 MHz
2639 // <5=> 500 kHz
2640 // <6=> 250 kHz
2641 // <7=> 125 kHz
2642 
2643 #ifndef NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK
2644 #define NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK 4
2645 #endif
2646 
2647 // <o> NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode
2648 
2649 // <0=> Up
2650 // <1=> Up and Down
2651 
2652 #ifndef NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE
2653 #define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0
2654 #endif
2655 
2656 // <o> NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE - Top value
2657 #ifndef NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE
2658 #define NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE 1000
2659 #endif
2660 
2661 // <o> NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode
2662 
2663 // <0=> Common
2664 // <1=> Grouped
2665 // <2=> Individual
2666 // <3=> Waveform
2667 
2668 #ifndef NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE
2669 #define NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE 0
2670 #endif
2671 
2672 // <o> NRFX_PWM_DEFAULT_CONFIG_STEP_MODE - Step mode
2673 
2674 // <0=> Auto
2675 // <1=> Triggered
2676 
2677 #ifndef NRFX_PWM_DEFAULT_CONFIG_STEP_MODE
2678 #define NRFX_PWM_DEFAULT_CONFIG_STEP_MODE 0
2679 #endif
2680 
2681 // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
2682 
2683 // <0=> 0 (highest)
2684 // <1=> 1
2685 // <2=> 2
2686 // <3=> 3
2687 // <4=> 4
2688 // <5=> 5
2689 // <6=> 6
2690 // <7=> 7
2691 
2692 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
2693 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6
2694 #endif
2695 
2696 // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
2697 //==========================================================
2698 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED
2699 #define NRFX_PWM_CONFIG_LOG_ENABLED 0
2700 #endif
2701 // <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default Severity level
2702 
2703 // <0=> Off
2704 // <1=> Error
2705 // <2=> Warning
2706 // <3=> Info
2707 // <4=> Debug
2708 
2709 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL
2710 #define NRFX_PWM_CONFIG_LOG_LEVEL 3
2711 #endif
2712 
2713 // <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
2714 
2715 // <0=> Default
2716 // <1=> Black
2717 // <2=> Red
2718 // <3=> Green
2719 // <4=> Yellow
2720 // <5=> Blue
2721 // <6=> Magenta
2722 // <7=> Cyan
2723 // <8=> White
2724 
2725 #ifndef NRFX_PWM_CONFIG_INFO_COLOR
2726 #define NRFX_PWM_CONFIG_INFO_COLOR 0
2727 #endif
2728 
2729 // <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2730 
2731 // <0=> Default
2732 // <1=> Black
2733 // <2=> Red
2734 // <3=> Green
2735 // <4=> Yellow
2736 // <5=> Blue
2737 // <6=> Magenta
2738 // <7=> Cyan
2739 // <8=> White
2740 
2741 #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
2742 #define NRFX_PWM_CONFIG_DEBUG_COLOR 0
2743 #endif
2744 
2745 // </e>
2746 
2747 // <e> NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for PWM.
2748 
2749 // <i> The workaround uses interrupts to wake up the CPU and ensure
2750 // <i> it is active when PWM is about to start a DMA transfer. For
2751 // <i> initial transfer, done when a playback is started via PPI,
2752 // <i> a specific EGU instance is used to generate the interrupt.
2753 // <i> During the playback, the PWM interrupt triggered on SEQEND
2754 // <i> event of a preceding sequence is used to protect the transfer
2755 // <i> done for the next sequence to be played.
2756 //==========================================================
2757 #ifndef NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
2758 #define NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
2759 #endif
2760 // <o> NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE - EGU instance used by the nRF52 Anomaly 109 workaround for PWM.
2761 
2762 // <0=> EGU0
2763 // <1=> EGU1
2764 // <2=> EGU2
2765 // <3=> EGU3
2766 // <4=> EGU4
2767 // <5=> EGU5
2768 
2769 #ifndef NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE
2770 #define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE 5
2771 #endif
2772 
2773 // </e>
2774 
2775 // </e>
2776 
2777 // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
2778 //==========================================================
2779 #ifndef NRFX_QDEC_ENABLED
2780 #define NRFX_QDEC_ENABLED 0
2781 #endif
2782 // <o> NRFX_QDEC_CONFIG_REPORTPER - Report period
2783 
2784 // <0=> 10 Samples
2785 // <1=> 40 Samples
2786 // <2=> 80 Samples
2787 // <3=> 120 Samples
2788 // <4=> 160 Samples
2789 // <5=> 200 Samples
2790 // <6=> 240 Samples
2791 // <7=> 280 Samples
2792 
2793 #ifndef NRFX_QDEC_CONFIG_REPORTPER
2794 #define NRFX_QDEC_CONFIG_REPORTPER 0
2795 #endif
2796 
2797 // <o> NRFX_QDEC_CONFIG_SAMPLEPER - Sample period
2798 
2799 // <0=> 128 us
2800 // <1=> 256 us
2801 // <2=> 512 us
2802 // <3=> 1024 us
2803 // <4=> 2048 us
2804 // <5=> 4096 us
2805 // <6=> 8192 us
2806 // <7=> 16384 us
2807 
2808 #ifndef NRFX_QDEC_CONFIG_SAMPLEPER
2809 #define NRFX_QDEC_CONFIG_SAMPLEPER 7
2810 #endif
2811 
2812 // <o> NRFX_QDEC_CONFIG_PIO_A - A pin <0-31>
2813 
2814 #ifndef NRFX_QDEC_CONFIG_PIO_A
2815 #define NRFX_QDEC_CONFIG_PIO_A 31
2816 #endif
2817 
2818 // <o> NRFX_QDEC_CONFIG_PIO_B - B pin <0-31>
2819 
2820 #ifndef NRFX_QDEC_CONFIG_PIO_B
2821 #define NRFX_QDEC_CONFIG_PIO_B 31
2822 #endif
2823 
2824 // <o> NRFX_QDEC_CONFIG_PIO_LED - LED pin <0-31>
2825 
2826 #ifndef NRFX_QDEC_CONFIG_PIO_LED
2827 #define NRFX_QDEC_CONFIG_PIO_LED 31
2828 #endif
2829 
2830 // <o> NRFX_QDEC_CONFIG_LEDPRE - LED pre
2831 #ifndef NRFX_QDEC_CONFIG_LEDPRE
2832 #define NRFX_QDEC_CONFIG_LEDPRE 511
2833 #endif
2834 
2835 // <o> NRFX_QDEC_CONFIG_LEDPOL - LED polarity
2836 
2837 // <0=> Active low
2838 // <1=> Active high
2839 
2840 #ifndef NRFX_QDEC_CONFIG_LEDPOL
2841 #define NRFX_QDEC_CONFIG_LEDPOL 1
2842 #endif
2843 
2844 // <q> NRFX_QDEC_CONFIG_DBFEN - Debouncing enable
2845 
2846 #ifndef NRFX_QDEC_CONFIG_DBFEN
2847 #define NRFX_QDEC_CONFIG_DBFEN 0
2848 #endif
2849 
2850 // <q> NRFX_QDEC_CONFIG_SAMPLE_INTEN - Sample ready interrupt enable
2851 
2852 #ifndef NRFX_QDEC_CONFIG_SAMPLE_INTEN
2853 #define NRFX_QDEC_CONFIG_SAMPLE_INTEN 0
2854 #endif
2855 
2856 // <o> NRFX_QDEC_CONFIG_IRQ_PRIORITY - Interrupt priority
2857 
2858 // <0=> 0 (highest)
2859 // <1=> 1
2860 // <2=> 2
2861 // <3=> 3
2862 // <4=> 4
2863 // <5=> 5
2864 // <6=> 6
2865 // <7=> 7
2866 
2867 #ifndef NRFX_QDEC_CONFIG_IRQ_PRIORITY
2868 #define NRFX_QDEC_CONFIG_IRQ_PRIORITY 6
2869 #endif
2870 
2871 // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
2872 //==========================================================
2873 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
2874 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
2875 #endif
2876 // <o> NRFX_QDEC_CONFIG_LOG_LEVEL - Default Severity level
2877 
2878 // <0=> Off
2879 // <1=> Error
2880 // <2=> Warning
2881 // <3=> Info
2882 // <4=> Debug
2883 
2884 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
2885 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
2886 #endif
2887 
2888 // <o> NRFX_QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
2889 
2890 // <0=> Default
2891 // <1=> Black
2892 // <2=> Red
2893 // <3=> Green
2894 // <4=> Yellow
2895 // <5=> Blue
2896 // <6=> Magenta
2897 // <7=> Cyan
2898 // <8=> White
2899 
2900 #ifndef NRFX_QDEC_CONFIG_INFO_COLOR
2901 #define NRFX_QDEC_CONFIG_INFO_COLOR 0
2902 #endif
2903 
2904 // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2905 
2906 // <0=> Default
2907 // <1=> Black
2908 // <2=> Red
2909 // <3=> Green
2910 // <4=> Yellow
2911 // <5=> Blue
2912 // <6=> Magenta
2913 // <7=> Cyan
2914 // <8=> White
2915 
2916 #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
2917 #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
2918 #endif
2919 
2920 // </e>
2921 
2922 // </e>
2923 
2924 // <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver
2925 //==========================================================
2926 #ifndef NRFX_RNG_ENABLED
2927 #define NRFX_RNG_ENABLED 0
2928 #endif
2929 // <q> NRFX_RNG_CONFIG_ERROR_CORRECTION - Error correction
2930 
2931 #ifndef NRFX_RNG_CONFIG_ERROR_CORRECTION
2932 #define NRFX_RNG_CONFIG_ERROR_CORRECTION 1
2933 #endif
2934 
2935 // <o> NRFX_RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
2936 
2937 // <0=> 0 (highest)
2938 // <1=> 1
2939 // <2=> 2
2940 // <3=> 3
2941 // <4=> 4
2942 // <5=> 5
2943 // <6=> 6
2944 // <7=> 7
2945 
2946 #ifndef NRFX_RNG_CONFIG_IRQ_PRIORITY
2947 #define NRFX_RNG_CONFIG_IRQ_PRIORITY 6
2948 #endif
2949 
2950 // <e> NRFX_RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
2951 //==========================================================
2952 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED
2953 #define NRFX_RNG_CONFIG_LOG_ENABLED 0
2954 #endif
2955 // <o> NRFX_RNG_CONFIG_LOG_LEVEL - Default Severity level
2956 
2957 // <0=> Off
2958 // <1=> Error
2959 // <2=> Warning
2960 // <3=> Info
2961 // <4=> Debug
2962 
2963 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL
2964 #define NRFX_RNG_CONFIG_LOG_LEVEL 3
2965 #endif
2966 
2967 // <o> NRFX_RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
2968 
2969 // <0=> Default
2970 // <1=> Black
2971 // <2=> Red
2972 // <3=> Green
2973 // <4=> Yellow
2974 // <5=> Blue
2975 // <6=> Magenta
2976 // <7=> Cyan
2977 // <8=> White
2978 
2979 #ifndef NRFX_RNG_CONFIG_INFO_COLOR
2980 #define NRFX_RNG_CONFIG_INFO_COLOR 0
2981 #endif
2982 
2983 // <o> NRFX_RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2984 
2985 // <0=> Default
2986 // <1=> Black
2987 // <2=> Red
2988 // <3=> Green
2989 // <4=> Yellow
2990 // <5=> Blue
2991 // <6=> Magenta
2992 // <7=> Cyan
2993 // <8=> White
2994 
2995 #ifndef NRFX_RNG_CONFIG_DEBUG_COLOR
2996 #define NRFX_RNG_CONFIG_DEBUG_COLOR 0
2997 #endif
2998 
2999 // </e>
3000 
3001 // </e>
3002 
3003 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver
3004 //==========================================================
3005 #ifndef NRFX_RTC_ENABLED
3006 #define NRFX_RTC_ENABLED 0
3007 #endif
3008 // <q> NRFX_RTC0_ENABLED - Enable RTC0 instance
3009 
3010 #ifndef NRFX_RTC0_ENABLED
3011 #define NRFX_RTC0_ENABLED 0
3012 #endif
3013 
3014 // <q> NRFX_RTC1_ENABLED - Enable RTC1 instance
3015 
3016 #ifndef NRFX_RTC1_ENABLED
3017 #define NRFX_RTC1_ENABLED 0
3018 #endif
3019 
3020 // <q> NRFX_RTC2_ENABLED - Enable RTC2 instance
3021 
3022 #ifndef NRFX_RTC2_ENABLED
3023 #define NRFX_RTC2_ENABLED 0
3024 #endif
3025 
3026 // <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
3027 #ifndef NRFX_RTC_MAXIMUM_LATENCY_US
3028 #define NRFX_RTC_MAXIMUM_LATENCY_US 2000
3029 #endif
3030 
3031 // <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
3032 
3033 #ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
3034 #define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768
3035 #endif
3036 
3037 // <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
3038 
3039 #ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
3040 #define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
3041 #endif
3042 
3043 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3044 
3045 // <0=> 0 (highest)
3046 // <1=> 1
3047 // <2=> 2
3048 // <3=> 3
3049 // <4=> 4
3050 // <5=> 5
3051 // <6=> 6
3052 // <7=> 7
3053 
3054 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
3055 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
3056 #endif
3057 
3058 // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
3059 //==========================================================
3060 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
3061 #define NRFX_RTC_CONFIG_LOG_ENABLED 0
3062 #endif
3063 // <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default Severity level
3064 
3065 // <0=> Off
3066 // <1=> Error
3067 // <2=> Warning
3068 // <3=> Info
3069 // <4=> Debug
3070 
3071 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
3072 #define NRFX_RTC_CONFIG_LOG_LEVEL 3
3073 #endif
3074 
3075 // <o> NRFX_RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3076 
3077 // <0=> Default
3078 // <1=> Black
3079 // <2=> Red
3080 // <3=> Green
3081 // <4=> Yellow
3082 // <5=> Blue
3083 // <6=> Magenta
3084 // <7=> Cyan
3085 // <8=> White
3086 
3087 #ifndef NRFX_RTC_CONFIG_INFO_COLOR
3088 #define NRFX_RTC_CONFIG_INFO_COLOR 0
3089 #endif
3090 
3091 // <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3092 
3093 // <0=> Default
3094 // <1=> Black
3095 // <2=> Red
3096 // <3=> Green
3097 // <4=> Yellow
3098 // <5=> Blue
3099 // <6=> Magenta
3100 // <7=> Cyan
3101 // <8=> White
3102 
3103 #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
3104 #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
3105 #endif
3106 
3107 // </e>
3108 
3109 // </e>
3110 
3111 // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver
3112 //==========================================================
3113 #ifndef NRFX_SAADC_ENABLED
3114 #define NRFX_SAADC_ENABLED 1
3115 #endif
3116 // <o> NRFX_SAADC_CONFIG_RESOLUTION - Resolution
3117 
3118 // <0=> 8 bit
3119 // <1=> 10 bit
3120 // <2=> 12 bit
3121 // <3=> 14 bit
3122 
3123 #ifndef NRFX_SAADC_CONFIG_RESOLUTION
3124 #define NRFX_SAADC_CONFIG_RESOLUTION 3
3125 #endif
3126 
3127 // <o> NRFX_SAADC_CONFIG_OVERSAMPLE - Sample period
3128 
3129 // <0=> Disabled
3130 // <1=> 2x
3131 // <2=> 4x
3132 // <3=> 8x
3133 // <4=> 16x
3134 // <5=> 32x
3135 // <6=> 64x
3136 // <7=> 128x
3137 // <8=> 256x
3138 
3139 #ifndef NRFX_SAADC_CONFIG_OVERSAMPLE
3140 #define NRFX_SAADC_CONFIG_OVERSAMPLE 6
3141 #endif
3142 
3143 // <q> NRFX_SAADC_CONFIG_LP_MODE - Enabling low power mode
3144 
3145 #ifndef NRFX_SAADC_CONFIG_LP_MODE
3146 #define NRFX_SAADC_CONFIG_LP_MODE 0
3147 #endif
3148 
3149 // <o> NRFX_SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority
3150 
3151 // <0=> 0 (highest)
3152 // <1=> 1
3153 // <2=> 2
3154 // <3=> 3
3155 // <4=> 4
3156 // <5=> 5
3157 // <6=> 6
3158 // <7=> 7
3159 
3160 #ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY
3161 #define NRFX_SAADC_CONFIG_IRQ_PRIORITY 6
3162 #endif
3163 
3164 // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
3165 //==========================================================
3166 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
3167 #define NRFX_SAADC_CONFIG_LOG_ENABLED 1
3168 #endif
3169 // <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default Severity level
3170 
3171 // <0=> Off
3172 // <1=> Error
3173 // <2=> Warning
3174 // <3=> Info
3175 // <4=> Debug
3176 
3177 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
3178 #define NRFX_SAADC_CONFIG_LOG_LEVEL 1
3179 #endif
3180 
3181 // <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3182 
3183 // <0=> Default
3184 // <1=> Black
3185 // <2=> Red
3186 // <3=> Green
3187 // <4=> Yellow
3188 // <5=> Blue
3189 // <6=> Magenta
3190 // <7=> Cyan
3191 // <8=> White
3192 
3193 #ifndef NRFX_SAADC_CONFIG_INFO_COLOR
3194 #define NRFX_SAADC_CONFIG_INFO_COLOR 0
3195 #endif
3196 
3197 // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3198 
3199 // <0=> Default
3200 // <1=> Black
3201 // <2=> Red
3202 // <3=> Green
3203 // <4=> Yellow
3204 // <5=> Blue
3205 // <6=> Magenta
3206 // <7=> Cyan
3207 // <8=> White
3208 
3209 #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
3210 #define NRFX_SAADC_CONFIG_DEBUG_COLOR 3
3211 #endif
3212 
3213 // </e>
3214 
3215 // </e>
3216 
3217 // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver
3218 //==========================================================
3219 #ifndef NRFX_SPIM_ENABLED
3220 #define NRFX_SPIM_ENABLED 1
3221 #endif
3222 // <q> NRFX_SPIM0_ENABLED - Enable SPIM0 instance
3223 
3224 #ifndef NRFX_SPIM0_ENABLED
3225 #define NRFX_SPIM0_ENABLED 1
3226 #endif
3227 
3228 // <q> NRFX_SPIM1_ENABLED - Enable SPIM1 instance
3229 
3230 #ifndef NRFX_SPIM1_ENABLED
3231 #define NRFX_SPIM1_ENABLED 1
3232 #endif
3233 
3234 // <q> NRFX_SPIM2_ENABLED - Enable SPIM2 instance
3235 
3236 #ifndef NRFX_SPIM2_ENABLED
3237 #define NRFX_SPIM2_ENABLED 0
3238 #endif
3239 
3240 // <o> NRFX_SPIM_MISO_PULL_CFG - MISO pin pull configuration.
3241 
3242 // <0=> NRF_GPIO_PIN_NOPULL
3243 // <1=> NRF_GPIO_PIN_PULLDOWN
3244 // <3=> NRF_GPIO_PIN_PULLUP
3245 
3246 #ifndef NRFX_SPIM_MISO_PULL_CFG
3247 #define NRFX_SPIM_MISO_PULL_CFG 3
3248 #endif
3249 
3250 // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3251 
3252 // <0=> 0 (highest)
3253 // <1=> 1
3254 // <2=> 2
3255 // <3=> 3
3256 // <4=> 4
3257 // <5=> 5
3258 // <6=> 6
3259 // <7=> 7
3260 
3261 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
3262 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 6
3263 #endif
3264 
3265 // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
3266 //==========================================================
3267 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
3268 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
3269 #endif
3270 // <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default Severity level
3271 
3272 // <0=> Off
3273 // <1=> Error
3274 // <2=> Warning
3275 // <3=> Info
3276 // <4=> Debug
3277 
3278 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
3279 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
3280 #endif
3281 
3282 // <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
3283 
3284 // <0=> Default
3285 // <1=> Black
3286 // <2=> Red
3287 // <3=> Green
3288 // <4=> Yellow
3289 // <5=> Blue
3290 // <6=> Magenta
3291 // <7=> Cyan
3292 // <8=> White
3293 
3294 #ifndef NRFX_SPIM_CONFIG_INFO_COLOR
3295 #define NRFX_SPIM_CONFIG_INFO_COLOR 0
3296 #endif
3297 
3298 // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3299 
3300 // <0=> Default
3301 // <1=> Black
3302 // <2=> Red
3303 // <3=> Green
3304 // <4=> Yellow
3305 // <5=> Blue
3306 // <6=> Magenta
3307 // <7=> Cyan
3308 // <8=> White
3309 
3310 #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR
3311 #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
3312 #endif
3313 
3314 // </e>
3315 
3316 // <q> NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for SPIM.
3317 
3318 // <i> The workaround uses interrupts to wake up the CPU by catching
3319 // <i> a start event of zero-length transmission to start the clock. This
3320 // <i> ensures that the DMA transfer will be executed without issues and
3321 // <i> that the proper transfer will be started. See more in the Errata
3322 // <i> document or Anomaly 109 Addendum located at
3323 // <i> https://infocenter.nordicsemi.com/
3324 
3325 #ifndef NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
3326 #define NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
3327 #endif
3328 
3329 // </e>
3330 
3331 // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver
3332 //==========================================================
3333 #ifndef NRFX_SPIS_ENABLED
3334 #define NRFX_SPIS_ENABLED 0
3335 #endif
3336 // <q> NRFX_SPIS0_ENABLED - Enable SPIS0 instance
3337 
3338 #ifndef NRFX_SPIS0_ENABLED
3339 #define NRFX_SPIS0_ENABLED 0
3340 #endif
3341 
3342 // <q> NRFX_SPIS1_ENABLED - Enable SPIS1 instance
3343 
3344 #ifndef NRFX_SPIS1_ENABLED
3345 #define NRFX_SPIS1_ENABLED 0
3346 #endif
3347 
3348 // <q> NRFX_SPIS2_ENABLED - Enable SPIS2 instance
3349 
3350 #ifndef NRFX_SPIS2_ENABLED
3351 #define NRFX_SPIS2_ENABLED 0
3352 #endif
3353 
3354 // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3355 
3356 // <0=> 0 (highest)
3357 // <1=> 1
3358 // <2=> 2
3359 // <3=> 3
3360 // <4=> 4
3361 // <5=> 5
3362 // <6=> 6
3363 // <7=> 7
3364 
3365 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
3366 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
3367 #endif
3368 
3369 // <o> NRFX_SPIS_DEFAULT_DEF - SPIS default DEF character <0-255>
3370 
3371 #ifndef NRFX_SPIS_DEFAULT_DEF
3372 #define NRFX_SPIS_DEFAULT_DEF 255
3373 #endif
3374 
3375 // <o> NRFX_SPIS_DEFAULT_ORC - SPIS default ORC character <0-255>
3376 
3377 #ifndef NRFX_SPIS_DEFAULT_ORC
3378 #define NRFX_SPIS_DEFAULT_ORC 255
3379 #endif
3380 
3381 // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
3382 //==========================================================
3383 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
3384 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
3385 #endif
3386 // <o> NRFX_SPIS_CONFIG_LOG_LEVEL - Default Severity level
3387 
3388 // <0=> Off
3389 // <1=> Error
3390 // <2=> Warning
3391 // <3=> Info
3392 // <4=> Debug
3393 
3394 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
3395 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
3396 #endif
3397 
3398 // <o> NRFX_SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
3399 
3400 // <0=> Default
3401 // <1=> Black
3402 // <2=> Red
3403 // <3=> Green
3404 // <4=> Yellow
3405 // <5=> Blue
3406 // <6=> Magenta
3407 // <7=> Cyan
3408 // <8=> White
3409 
3410 #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
3411 #define NRFX_SPIS_CONFIG_INFO_COLOR 0
3412 #endif
3413 
3414 // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3415 
3416 // <0=> Default
3417 // <1=> Black
3418 // <2=> Red
3419 // <3=> Green
3420 // <4=> Yellow
3421 // <5=> Blue
3422 // <6=> Magenta
3423 // <7=> Cyan
3424 // <8=> White
3425 
3426 #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
3427 #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
3428 #endif
3429 
3430 // </e>
3431 
3432 // <q> NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIS.
3433 
3434 // <i> The workaround uses a GPIOTE channel to generate interrupts
3435 // <i> on falling edges detected on the CSN line. This will make
3436 // <i> the CPU active for the moment when SPIS starts DMA transfers,
3437 // <i> and this way the transfers will be protected.
3438 // <i> This workaround uses GPIOTE driver, so this driver must be
3439 // <i> enabled as well.
3440 
3441 #ifndef NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED
3442 #define NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
3443 #endif
3444 
3445 // </e>
3446 
3447 // <e> NRFX_SPI_ENABLED - nrfx_spi - SPI peripheral driver
3448 //==========================================================
3449 #ifndef NRFX_SPI_ENABLED
3450 #define NRFX_SPI_ENABLED 0
3451 #endif
3452 // <q> NRFX_SPI0_ENABLED - Enable SPI0 instance
3453 
3454 #ifndef NRFX_SPI0_ENABLED
3455 #define NRFX_SPI0_ENABLED 0
3456 #endif
3457 
3458 // <q> NRFX_SPI1_ENABLED - Enable SPI1 instance
3459 
3460 #ifndef NRFX_SPI1_ENABLED
3461 #define NRFX_SPI1_ENABLED 0
3462 #endif
3463 
3464 // <q> NRFX_SPI2_ENABLED - Enable SPI2 instance
3465 
3466 #ifndef NRFX_SPI2_ENABLED
3467 #define NRFX_SPI2_ENABLED 0
3468 #endif
3469 
3470 // <o> NRFX_SPI_MISO_PULL_CFG - MISO pin pull configuration.
3471 
3472 // <0=> NRF_GPIO_PIN_NOPULL
3473 // <1=> NRF_GPIO_PIN_PULLDOWN
3474 // <3=> NRF_GPIO_PIN_PULLUP
3475 
3476 #ifndef NRFX_SPI_MISO_PULL_CFG
3477 #define NRFX_SPI_MISO_PULL_CFG 1
3478 #endif
3479 
3480 // <o> NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3481 
3482 // <0=> 0 (highest)
3483 // <1=> 1
3484 // <2=> 2
3485 // <3=> 3
3486 // <4=> 4
3487 // <5=> 5
3488 // <6=> 6
3489 // <7=> 7
3490 
3491 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY
3492 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6
3493 #endif
3494 
3495 // <e> NRFX_SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
3496 //==========================================================
3497 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED
3498 #define NRFX_SPI_CONFIG_LOG_ENABLED 0
3499 #endif
3500 // <o> NRFX_SPI_CONFIG_LOG_LEVEL - Default Severity level
3501 
3502 // <0=> Off
3503 // <1=> Error
3504 // <2=> Warning
3505 // <3=> Info
3506 // <4=> Debug
3507 
3508 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL
3509 #define NRFX_SPI_CONFIG_LOG_LEVEL 3
3510 #endif
3511 
3512 // <o> NRFX_SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
3513 
3514 // <0=> Default
3515 // <1=> Black
3516 // <2=> Red
3517 // <3=> Green
3518 // <4=> Yellow
3519 // <5=> Blue
3520 // <6=> Magenta
3521 // <7=> Cyan
3522 // <8=> White
3523 
3524 #ifndef NRFX_SPI_CONFIG_INFO_COLOR
3525 #define NRFX_SPI_CONFIG_INFO_COLOR 0
3526 #endif
3527 
3528 // <o> NRFX_SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3529 
3530 // <0=> Default
3531 // <1=> Black
3532 // <2=> Red
3533 // <3=> Green
3534 // <4=> Yellow
3535 // <5=> Blue
3536 // <6=> Magenta
3537 // <7=> Cyan
3538 // <8=> White
3539 
3540 #ifndef NRFX_SPI_CONFIG_DEBUG_COLOR
3541 #define NRFX_SPI_CONFIG_DEBUG_COLOR 0
3542 #endif
3543 
3544 // </e>
3545 
3546 // </e>
3547 
3548 // <e> NRFX_SWI_ENABLED - nrfx_swi - SWI/EGU peripheral allocator
3549 //==========================================================
3550 #ifndef NRFX_SWI_ENABLED
3551 #define NRFX_SWI_ENABLED 0
3552 #endif
3553 // <q> NRFX_EGU_ENABLED - Enable EGU support
3554 
3555 #ifndef NRFX_EGU_ENABLED
3556 #define NRFX_EGU_ENABLED 0
3557 #endif
3558 
3559 // <q> NRFX_SWI0_DISABLED - Exclude SWI0 from being utilized by the driver
3560 
3561 #ifndef NRFX_SWI0_DISABLED
3562 #define NRFX_SWI0_DISABLED 0
3563 #endif
3564 
3565 // <q> NRFX_SWI1_DISABLED - Exclude SWI1 from being utilized by the driver
3566 
3567 #ifndef NRFX_SWI1_DISABLED
3568 #define NRFX_SWI1_DISABLED 0
3569 #endif
3570 
3571 // <q> NRFX_SWI2_DISABLED - Exclude SWI2 from being utilized by the driver
3572 
3573 #ifndef NRFX_SWI2_DISABLED
3574 #define NRFX_SWI2_DISABLED 0
3575 #endif
3576 
3577 // <q> NRFX_SWI3_DISABLED - Exclude SWI3 from being utilized by the driver
3578 
3579 #ifndef NRFX_SWI3_DISABLED
3580 #define NRFX_SWI3_DISABLED 0
3581 #endif
3582 
3583 // <q> NRFX_SWI4_DISABLED - Exclude SWI4 from being utilized by the driver
3584 
3585 #ifndef NRFX_SWI4_DISABLED
3586 #define NRFX_SWI4_DISABLED 0
3587 #endif
3588 
3589 // <q> NRFX_SWI5_DISABLED - Exclude SWI5 from being utilized by the driver
3590 
3591 #ifndef NRFX_SWI5_DISABLED
3592 #define NRFX_SWI5_DISABLED 0
3593 #endif
3594 
3595 // <e> NRFX_SWI_CONFIG_LOG_ENABLED - Enables logging in the module.
3596 //==========================================================
3597 #ifndef NRFX_SWI_CONFIG_LOG_ENABLED
3598 #define NRFX_SWI_CONFIG_LOG_ENABLED 0
3599 #endif
3600 // <o> NRFX_SWI_CONFIG_LOG_LEVEL - Default Severity level
3601 
3602 // <0=> Off
3603 // <1=> Error
3604 // <2=> Warning
3605 // <3=> Info
3606 // <4=> Debug
3607 
3608 #ifndef NRFX_SWI_CONFIG_LOG_LEVEL
3609 #define NRFX_SWI_CONFIG_LOG_LEVEL 3
3610 #endif
3611 
3612 // <o> NRFX_SWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
3613 
3614 // <0=> Default
3615 // <1=> Black
3616 // <2=> Red
3617 // <3=> Green
3618 // <4=> Yellow
3619 // <5=> Blue
3620 // <6=> Magenta
3621 // <7=> Cyan
3622 // <8=> White
3623 
3624 #ifndef NRFX_SWI_CONFIG_INFO_COLOR
3625 #define NRFX_SWI_CONFIG_INFO_COLOR 0
3626 #endif
3627 
3628 // <o> NRFX_SWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3629 
3630 // <0=> Default
3631 // <1=> Black
3632 // <2=> Red
3633 // <3=> Green
3634 // <4=> Yellow
3635 // <5=> Blue
3636 // <6=> Magenta
3637 // <7=> Cyan
3638 // <8=> White
3639 
3640 #ifndef NRFX_SWI_CONFIG_DEBUG_COLOR
3641 #define NRFX_SWI_CONFIG_DEBUG_COLOR 0
3642 #endif
3643 
3644 // </e>
3645 
3646 // </e>
3647 
3648 // </e> NRFX_SYSTICK_ENABLED - nrfx_systick
3649 #ifndef NRFX_SYSTICK_ENABLED
3650 #define NRFX_SYSTICK_ENABLED 1
3651 #endif
3652 
3653 // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver
3654 //==========================================================
3655 #ifndef NRFX_TIMER_ENABLED
3656 #define NRFX_TIMER_ENABLED 1
3657 #endif
3658 // <q> NRFX_TIMER0_ENABLED - Enable TIMER0 instance
3659 
3660 #ifndef NRFX_TIMER0_ENABLED
3661 #define NRFX_TIMER0_ENABLED 1
3662 #endif
3663 
3664 // <q> NRFX_TIMER1_ENABLED - Enable TIMER1 instance
3665 
3666 #ifndef NRFX_TIMER1_ENABLED
3667 #define NRFX_TIMER1_ENABLED 1
3668 #endif
3669 
3670 // <q> NRFX_TIMER2_ENABLED - Enable TIMER2 instance
3671 
3672 #ifndef NRFX_TIMER2_ENABLED
3673 #define NRFX_TIMER2_ENABLED 2
3674 #endif
3675 
3676 // <q> NRFX_TIMER3_ENABLED - Enable TIMER3 instance
3677 
3678 #ifndef NRFX_TIMER3_ENABLED
3679 #define NRFX_TIMER3_ENABLED 0
3680 #endif
3681 
3682 // <q> NRFX_TIMER4_ENABLED - Enable TIMER4 instance
3683 
3684 #ifndef NRFX_TIMER4_ENABLED
3685 #define NRFX_TIMER4_ENABLED 0
3686 #endif
3687 
3688 // <o> NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode
3689 
3690 // <0=> 16 MHz
3691 // <1=> 8 MHz
3692 // <2=> 4 MHz
3693 // <3=> 2 MHz
3694 // <4=> 1 MHz
3695 // <5=> 500 kHz
3696 // <6=> 250 kHz
3697 // <7=> 125 kHz
3698 // <8=> 62.5 kHz
3699 // <9=> 31.25 kHz
3700 
3701 #ifndef NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY
3702 #define NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 0
3703 #endif
3704 
3705 // <o> NRFX_TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation
3706 
3707 // <0=> Timer
3708 // <1=> Counter
3709 
3710 #ifndef NRFX_TIMER_DEFAULT_CONFIG_MODE
3711 #define NRFX_TIMER_DEFAULT_CONFIG_MODE 0
3712 #endif
3713 
3714 // <o> NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width
3715 
3716 // <0=> 16 bit
3717 // <1=> 8 bit
3718 // <2=> 24 bit
3719 // <3=> 32 bit
3720 
3721 #ifndef NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH
3722 #define NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
3723 #endif
3724 
3725 // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3726 
3727 // <0=> 0 (highest)
3728 // <1=> 1
3729 // <2=> 2
3730 // <3=> 3
3731 // <4=> 4
3732 // <5=> 5
3733 // <6=> 6
3734 // <7=> 7
3735 
3736 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
3737 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
3738 #endif
3739 
3740 // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
3741 //==========================================================
3742 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
3743 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
3744 #endif
3745 // <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default Severity level
3746 
3747 // <0=> Off
3748 // <1=> Error
3749 // <2=> Warning
3750 // <3=> Info
3751 // <4=> Debug
3752 
3753 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
3754 #define NRFX_TIMER_CONFIG_LOG_LEVEL 4
3755 #endif
3756 
3757 // <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
3758 
3759 // <0=> Default
3760 // <1=> Black
3761 // <2=> Red
3762 // <3=> Green
3763 // <4=> Yellow
3764 // <5=> Blue
3765 // <6=> Magenta
3766 // <7=> Cyan
3767 // <8=> White
3768 
3769 #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
3770 #define NRFX_TIMER_CONFIG_INFO_COLOR 0
3771 #endif
3772 
3773 // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3774 
3775 // <0=> Default
3776 // <1=> Black
3777 // <2=> Red
3778 // <3=> Green
3779 // <4=> Yellow
3780 // <5=> Blue
3781 // <6=> Magenta
3782 // <7=> Cyan
3783 // <8=> White
3784 
3785 #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
3786 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
3787 #endif
3788 
3789 // </e>
3790 
3791 // </e>
3792 
3793 // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver
3794 //==========================================================
3795 #ifndef NRFX_TWIM_ENABLED
3796 #define NRFX_TWIM_ENABLED 1
3797 #endif
3798 // <q> NRFX_TWIM0_ENABLED - Enable TWIM0 instance
3799 
3800 #ifndef NRFX_TWIM0_ENABLED
3801 #define NRFX_TWIM0_ENABLED 1
3802 #endif
3803 
3804 // <q> NRFX_TWIM1_ENABLED - Enable TWIM1 instance
3805 
3806 #ifndef NRFX_TWIM1_ENABLED
3807 #define NRFX_TWIM1_ENABLED 0
3808 #endif
3809 
3810 // <o> NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY - Frequency
3811 
3812 // <26738688=> 100k
3813 // <67108864=> 250k
3814 // <104857600=> 400k
3815 
3816 #ifndef NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY
3817 #define NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY 104857600
3818 #endif
3819 
3820 // <q> NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
3821 
3822 #ifndef NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT
3823 #define NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
3824 #endif
3825 
3826 // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3827 
3828 // <0=> 0 (highest)
3829 // <1=> 1
3830 // <2=> 2
3831 // <3=> 3
3832 // <4=> 4
3833 // <5=> 5
3834 // <6=> 6
3835 // <7=> 7
3836 
3837 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
3838 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 6
3839 #endif
3840 
3841 // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
3842 //==========================================================
3843 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
3844 #define NRFX_TWIM_CONFIG_LOG_ENABLED 1
3845 #endif
3846 // <o> NRFX_TWIM_CONFIG_LOG_LEVEL - Default Severity level
3847 
3848 // <0=> Off
3849 // <1=> Error
3850 // <2=> Warning
3851 // <3=> Info
3852 // <4=> Debug
3853 
3854 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
3855 #define NRFX_TWIM_CONFIG_LOG_LEVEL 4
3856 #endif
3857 
3858 // <o> NRFX_TWIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
3859 
3860 // <0=> Default
3861 // <1=> Black
3862 // <2=> Red
3863 // <3=> Green
3864 // <4=> Yellow
3865 // <5=> Blue
3866 // <6=> Magenta
3867 // <7=> Cyan
3868 // <8=> White
3869 
3870 #ifndef NRFX_TWIM_CONFIG_INFO_COLOR
3871 #define NRFX_TWIM_CONFIG_INFO_COLOR 0
3872 #endif
3873 
3874 // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3875 
3876 // <0=> Default
3877 // <1=> Black
3878 // <2=> Red
3879 // <3=> Green
3880 // <4=> Yellow
3881 // <5=> Blue
3882 // <6=> Magenta
3883 // <7=> Cyan
3884 // <8=> White
3885 
3886 #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
3887 #define NRFX_TWIM_CONFIG_DEBUG_COLOR 3
3888 #endif
3889 
3890 // </e>
3891 
3892 // <q> NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for TWIM.
3893 
3894 // <i> The workaround uses interrupts to wake up the CPU by catching
3895 // <i> the start event of zero-frequency transmission, clear the
3896 // <i> peripheral, set desired frequency, start the peripheral, and
3897 // <i> the proper transmission. See more in the Errata document or
3898 // <i> Anomaly 109 Addendum located at https://infocenter.nordicsemi.com/
3899 
3900 #ifndef NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
3901 #define NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
3902 #endif
3903 
3904 // </e>
3905 
3906 // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver
3907 //==========================================================
3908 #ifndef NRFX_TWIS_ENABLED
3909 #define NRFX_TWIS_ENABLED 0
3910 #endif
3911 // <q> NRFX_TWIS0_ENABLED - Enable TWIS0 instance
3912 
3913 #ifndef NRFX_TWIS0_ENABLED
3914 #define NRFX_TWIS0_ENABLED 0
3915 #endif
3916 
3917 // <q> NRFX_TWIS1_ENABLED - Enable TWIS1 instance
3918 
3919 #ifndef NRFX_TWIS1_ENABLED
3920 #define NRFX_TWIS1_ENABLED 0
3921 #endif
3922 
3923 // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once
3924 
3925 // <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.
3926 
3927 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
3928 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
3929 #endif
3930 
3931 // <q> NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode
3932 
3933 // <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.
3934 
3935 #ifndef NRFX_TWIS_NO_SYNC_MODE
3936 #define NRFX_TWIS_NO_SYNC_MODE 0
3937 #endif
3938 
3939 // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR0 - Address0
3940 #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR0
3941 #define NRFX_TWIS_DEFAULT_CONFIG_ADDR0 0
3942 #endif
3943 
3944 // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR1 - Address1
3945 #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR1
3946 #define NRFX_TWIS_DEFAULT_CONFIG_ADDR1 0
3947 #endif
3948 
3949 // <o> NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL - SCL pin pull configuration
3950 
3951 // <0=> Disabled
3952 // <1=> Pull down
3953 // <3=> Pull up
3954 
3955 #ifndef NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL
3956 #define NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL 0
3957 #endif
3958 
3959 // <o> NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL - SDA pin pull configuration
3960 
3961 // <0=> Disabled
3962 // <1=> Pull down
3963 // <3=> Pull up
3964 
3965 #ifndef NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL
3966 #define NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL 0
3967 #endif
3968 
3969 // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3970 
3971 // <0=> 0 (highest)
3972 // <1=> 1
3973 // <2=> 2
3974 // <3=> 3
3975 // <4=> 4
3976 // <5=> 5
3977 // <6=> 6
3978 // <7=> 7
3979 
3980 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
3981 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
3982 #endif
3983 
3984 // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
3985 //==========================================================
3986 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
3987 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
3988 #endif
3989 // <o> NRFX_TWIS_CONFIG_LOG_LEVEL - Default Severity level
3990 
3991 // <0=> Off
3992 // <1=> Error
3993 // <2=> Warning
3994 // <3=> Info
3995 // <4=> Debug
3996 
3997 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
3998 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
3999 #endif
4000 
4001 // <o> NRFX_TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
4002 
4003 // <0=> Default
4004 // <1=> Black
4005 // <2=> Red
4006 // <3=> Green
4007 // <4=> Yellow
4008 // <5=> Blue
4009 // <6=> Magenta
4010 // <7=> Cyan
4011 // <8=> White
4012 
4013 #ifndef NRFX_TWIS_CONFIG_INFO_COLOR
4014 #define NRFX_TWIS_CONFIG_INFO_COLOR 0
4015 #endif
4016 
4017 // <o> NRFX_TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4018 
4019 // <0=> Default
4020 // <1=> Black
4021 // <2=> Red
4022 // <3=> Green
4023 // <4=> Yellow
4024 // <5=> Blue
4025 // <6=> Magenta
4026 // <7=> Cyan
4027 // <8=> White
4028 
4029 #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR
4030 #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
4031 #endif
4032 
4033 // </e>
4034 
4035 // </e>
4036 
4037 // <e> NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver
4038 //==========================================================
4039 #ifndef NRFX_TWI_ENABLED
4040 #define NRFX_TWI_ENABLED 1
4041 #endif
4042 // <q> NRFX_TWI0_ENABLED - Enable TWI0 instance
4043 
4044 #ifndef NRFX_TWI0_ENABLED
4045 #define NRFX_TWI0_ENABLED 1
4046 #endif
4047 
4048 // <q> NRFX_TWI1_ENABLED - Enable TWI1 instance
4049 
4050 #ifndef NRFX_TWI1_ENABLED
4051 #define NRFX_TWI1_ENABLED 0
4052 #endif
4053 
4054 // <o> NRFX_TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
4055 
4056 // <26738688=> 100k
4057 // <67108864=> 250k
4058 // <104857600=> 400k
4059 
4060 #ifndef NRFX_TWI_DEFAULT_CONFIG_FREQUENCY
4061 #define NRFX_TWI_DEFAULT_CONFIG_FREQUENCY 26738688
4062 #endif
4063 
4064 // <q> NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
4065 
4066 #ifndef NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
4067 #define NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
4068 #endif
4069 
4070 // <o> NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4071 
4072 // <0=> 0 (highest)
4073 // <1=> 1
4074 // <2=> 2
4075 // <3=> 3
4076 // <4=> 4
4077 // <5=> 5
4078 // <6=> 6
4079 // <7=> 7
4080 
4081 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
4082 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 6
4083 #endif
4084 
4085 // <e> NRFX_TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
4086 //==========================================================
4087 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED
4088 #define NRFX_TWI_CONFIG_LOG_ENABLED 1
4089 #endif
4090 // <o> NRFX_TWI_CONFIG_LOG_LEVEL - Default Severity level
4091 
4092 // <0=> Off
4093 // <1=> Error
4094 // <2=> Warning
4095 // <3=> Info
4096 // <4=> Debug
4097 
4098 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL
4099 #define NRFX_TWI_CONFIG_LOG_LEVEL 4
4100 #endif
4101 
4102 // <o> NRFX_TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
4103 
4104 // <0=> Default
4105 // <1=> Black
4106 // <2=> Red
4107 // <3=> Green
4108 // <4=> Yellow
4109 // <5=> Blue
4110 // <6=> Magenta
4111 // <7=> Cyan
4112 // <8=> White
4113 
4114 #ifndef NRFX_TWI_CONFIG_INFO_COLOR
4115 #define NRFX_TWI_CONFIG_INFO_COLOR 0
4116 #endif
4117 
4118 // <o> NRFX_TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4119 
4120 // <0=> Default
4121 // <1=> Black
4122 // <2=> Red
4123 // <3=> Green
4124 // <4=> Yellow
4125 // <5=> Blue
4126 // <6=> Magenta
4127 // <7=> Cyan
4128 // <8=> White
4129 
4130 #ifndef NRFX_TWI_CONFIG_DEBUG_COLOR
4131 #define NRFX_TWI_CONFIG_DEBUG_COLOR 3
4132 #endif
4133 
4134 // </e>
4135 
4136 // </e>
4137 
4138 // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
4139 //==========================================================
4140 #ifndef NRFX_UARTE_ENABLED
4141 #define NRFX_UARTE_ENABLED 1
4142 #endif
4143 // <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
4144 #ifndef NRFX_UARTE0_ENABLED
4145 #define NRFX_UARTE0_ENABLED 1
4146 #endif
4147 
4148 // <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC - Hardware Flow Control
4149 
4150 // <0=> Disabled
4151 // <1=> Enabled
4152 
4153 #ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC
4154 #define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0
4155 #endif
4156 
4157 // <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY - Parity
4158 
4159 // <0=> Excluded
4160 // <14=> Included
4161 
4162 #ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY
4163 #define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0
4164 #endif
4165 
4166 // <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
4167 
4168 // <323584=> 1200 baud
4169 // <643072=> 2400 baud
4170 // <1290240=> 4800 baud
4171 // <2576384=> 9600 baud
4172 // <3862528=> 14400 baud
4173 // <5152768=> 19200 baud
4174 // <7716864=> 28800 baud
4175 // <8388608=> 31250 baud
4176 // <10289152=> 38400 baud
4177 // <15007744=> 56000 baud
4178 // <15400960=> 57600 baud
4179 // <20615168=> 76800 baud
4180 // <30801920=> 115200 baud
4181 // <61865984=> 230400 baud
4182 // <67108864=> 250000 baud
4183 // <121634816=> 460800 baud
4184 // <251658240=> 921600 baud
4185 // <268435456=> 1000000 baud
4186 
4187 #ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE
4188 #define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 2576384
4189 #endif
4190 
4191 // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4192 
4193 // <0=> 0 (highest)
4194 // <1=> 1
4195 // <2=> 2
4196 // <3=> 3
4197 // <4=> 4
4198 // <5=> 5
4199 // <6=> 6
4200 // <7=> 7
4201 
4202 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
4203 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
4204 #endif
4205 
4206 // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
4207 //==========================================================
4208 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
4209 #define NRFX_UARTE_CONFIG_LOG_ENABLED 1
4210 #endif
4211 // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default Severity level
4212 
4213 // <0=> Off
4214 // <1=> Error
4215 // <2=> Warning
4216 // <3=> Info
4217 // <4=> Debug
4218 
4219 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
4220 #define NRFX_UARTE_CONFIG_LOG_LEVEL 4
4221 #endif
4222 
4223 // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
4224 
4225 // <0=> Default
4226 // <1=> Black
4227 // <2=> Red
4228 // <3=> Green
4229 // <4=> Yellow
4230 // <5=> Blue
4231 // <6=> Magenta
4232 // <7=> Cyan
4233 // <8=> White
4234 
4235 #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
4236 #define NRFX_UARTE_CONFIG_INFO_COLOR 0
4237 #endif
4238 
4239 // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4240 
4241 // <0=> Default
4242 // <1=> Black
4243 // <2=> Red
4244 // <3=> Green
4245 // <4=> Yellow
4246 // <5=> Blue
4247 // <6=> Magenta
4248 // <7=> Cyan
4249 // <8=> White
4250 
4251 #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
4252 #define NRFX_UARTE_CONFIG_DEBUG_COLOR 3
4253 #endif
4254 
4255 // </e>
4256 
4257 // </e>
4258 
4259 // <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
4260 //==========================================================
4261 #ifndef NRFX_UART_ENABLED
4262 #define NRFX_UART_ENABLED 0
4263 #endif
4264 // <o> NRFX_UART0_ENABLED - Enable UART0 instance
4265 #ifndef NRFX_UART0_ENABLED
4266 #define NRFX_UART0_ENABLED 0
4267 #endif
4268 
4269 // <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
4270 
4271 // <0=> Disabled
4272 // <1=> Enabled
4273 
4274 #ifndef NRFX_UART_DEFAULT_CONFIG_HWFC
4275 #define NRFX_UART_DEFAULT_CONFIG_HWFC 0
4276 #endif
4277 
4278 // <o> NRFX_UART_DEFAULT_CONFIG_PARITY - Parity
4279 
4280 // <0=> Excluded
4281 // <14=> Included
4282 
4283 #ifndef NRFX_UART_DEFAULT_CONFIG_PARITY
4284 #define NRFX_UART_DEFAULT_CONFIG_PARITY 0
4285 #endif
4286 
4287 // <o> NRFX_UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
4288 
4289 // <323584=> 1200 baud
4290 // <643072=> 2400 baud
4291 // <1290240=> 4800 baud
4292 // <2576384=> 9600 baud
4293 // <3866624=> 14400 baud
4294 // <5152768=> 19200 baud
4295 // <7729152=> 28800 baud
4296 // <8388608=> 31250 baud
4297 // <10309632=> 38400 baud
4298 // <15007744=> 56000 baud
4299 // <15462400=> 57600 baud
4300 // <20615168=> 76800 baud
4301 // <30924800=> 115200 baud
4302 // <61845504=> 230400 baud
4303 // <67108864=> 250000 baud
4304 // <123695104=> 460800 baud
4305 // <247386112=> 921600 baud
4306 // <268435456=> 1000000 baud
4307 
4308 #ifndef NRFX_UART_DEFAULT_CONFIG_BAUDRATE
4309 #define NRFX_UART_DEFAULT_CONFIG_BAUDRATE 30924800
4310 #endif
4311 
4312 // <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4313 
4314 // <0=> 0 (highest)
4315 // <1=> 1
4316 // <2=> 2
4317 // <3=> 3
4318 // <4=> 4
4319 // <5=> 5
4320 // <6=> 6
4321 // <7=> 7
4322 
4323 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
4324 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 7
4325 #endif
4326 
4327 // <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
4328 //==========================================================
4329 #ifndef NRFX_UART_CONFIG_LOG_ENABLED
4330 #define NRFX_UART_CONFIG_LOG_ENABLED 1
4331 #endif
4332 // <o> NRFX_UART_CONFIG_LOG_LEVEL - Default Severity level
4333 
4334 // <0=> Off
4335 // <1=> Error
4336 // <2=> Warning
4337 // <3=> Info
4338 // <4=> Debug
4339 
4340 #ifndef NRFX_UART_CONFIG_LOG_LEVEL
4341 #define NRFX_UART_CONFIG_LOG_LEVEL 4
4342 #endif
4343 
4344 // <o> NRFX_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
4345 
4346 // <0=> Default
4347 // <1=> Black
4348 // <2=> Red
4349 // <3=> Green
4350 // <4=> Yellow
4351 // <5=> Blue
4352 // <6=> Magenta
4353 // <7=> Cyan
4354 // <8=> White
4355 
4356 #ifndef NRFX_UART_CONFIG_INFO_COLOR
4357 #define NRFX_UART_CONFIG_INFO_COLOR 3
4358 #endif
4359 
4360 // <o> NRFX_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4361 
4362 // <0=> Default
4363 // <1=> Black
4364 // <2=> Red
4365 // <3=> Green
4366 // <4=> Yellow
4367 // <5=> Blue
4368 // <6=> Magenta
4369 // <7=> Cyan
4370 // <8=> White
4371 
4372 #ifndef NRFX_UART_CONFIG_DEBUG_COLOR
4373 #define NRFX_UART_CONFIG_DEBUG_COLOR 0
4374 #endif
4375 
4376 // </e>
4377 
4378 // </e>
4379 
4380 // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver
4381 //==========================================================
4382 #ifndef NRFX_WDT_ENABLED
4383 #define NRFX_WDT_ENABLED 0
4384 #endif
4385 // <o> NRFX_WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode
4386 
4387 // <1=> Run in SLEEP, Pause in HALT
4388 // <8=> Pause in SLEEP, Run in HALT
4389 // <9=> Run in SLEEP and HALT
4390 // <0=> Pause in SLEEP and HALT
4391 
4392 #ifndef NRFX_WDT_CONFIG_BEHAVIOUR
4393 #define NRFX_WDT_CONFIG_BEHAVIOUR 1
4394 #endif
4395 
4396 // <o> NRFX_WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295>
4397 
4398 #ifndef NRFX_WDT_CONFIG_RELOAD_VALUE
4399 #define NRFX_WDT_CONFIG_RELOAD_VALUE 2000
4400 #endif
4401 
4402 // <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver
4403 
4404 // <0=> Include WDT IRQ handling
4405 // <1=> Remove WDT IRQ handling
4406 
4407 #ifndef NRFX_WDT_CONFIG_NO_IRQ
4408 #define NRFX_WDT_CONFIG_NO_IRQ 0
4409 #endif
4410 
4411 // <o> NRFX_WDT_CONFIG_IRQ_PRIORITY - Interrupt priority
4412 
4413 // <0=> 0 (highest)
4414 // <1=> 1
4415 // <2=> 2
4416 // <3=> 3
4417 // <4=> 4
4418 // <5=> 5
4419 // <6=> 6
4420 // <7=> 7
4421 
4422 #ifndef NRFX_WDT_CONFIG_IRQ_PRIORITY
4423 #define NRFX_WDT_CONFIG_IRQ_PRIORITY 6
4424 #endif
4425 
4426 // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
4427 //==========================================================
4428 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
4429 #define NRFX_WDT_CONFIG_LOG_ENABLED 0
4430 #endif
4431 // <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default Severity level
4432 
4433 // <0=> Off
4434 // <1=> Error
4435 // <2=> Warning
4436 // <3=> Info
4437 // <4=> Debug
4438 
4439 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
4440 #define NRFX_WDT_CONFIG_LOG_LEVEL 3
4441 #endif
4442 
4443 // <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
4444 
4445 // <0=> Default
4446 // <1=> Black
4447 // <2=> Red
4448 // <3=> Green
4449 // <4=> Yellow
4450 // <5=> Blue
4451 // <6=> Magenta
4452 // <7=> Cyan
4453 // <8=> White
4454 
4455 #ifndef NRFX_WDT_CONFIG_INFO_COLOR
4456 #define NRFX_WDT_CONFIG_INFO_COLOR 0
4457 #endif
4458 
4459 // <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4460 
4461 // <0=> Default
4462 // <1=> Black
4463 // <2=> Red
4464 // <3=> Green
4465 // <4=> Yellow
4466 // <5=> Blue
4467 // <6=> Magenta
4468 // <7=> Cyan
4469 // <8=> White
4470 
4471 #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
4472 #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
4473 #endif
4474 
4475 // </e>
4476 
4477 // </e>
4478 
4479 // <e> NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
4480 //==========================================================
4481 #ifndef NRF_CLOCK_ENABLED
4482 #define NRF_CLOCK_ENABLED 1
4483 #endif
4484 // <o> CLOCK_CONFIG_LF_SRC - LF Clock Source
4485 
4486 // <0=> RC
4487 // <1=> XTAL
4488 // <2=> Synth
4489 // <131073=> External Low Swing
4490 // <196609=> External Full Swing
4491 
4492 #ifndef CLOCK_CONFIG_LF_SRC
4493 #define CLOCK_CONFIG_LF_SRC 1
4494 #endif
4495 
4496 // <q> CLOCK_CONFIG_LF_CAL_ENABLED - Calibration enable for LF Clock Source
4497 
4498 #ifndef CLOCK_CONFIG_LF_CAL_ENABLED
4499 #define CLOCK_CONFIG_LF_CAL_ENABLED 0
4500 #endif
4501 
4502 // <o> CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
4503 
4504 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
4505 // <0=> 0 (highest)
4506 // <1=> 1
4507 // <2=> 2
4508 // <3=> 3
4509 // <4=> 4
4510 // <5=> 5
4511 // <6=> 6
4512 // <7=> 7
4513 
4514 #ifndef CLOCK_CONFIG_IRQ_PRIORITY
4515 #define CLOCK_CONFIG_IRQ_PRIORITY 6
4516 #endif
4517 
4518 // </e>
4519 
4520 // <e> PDM_ENABLED - nrf_drv_pdm - PDM peripheral driver - legacy layer
4521 //==========================================================
4522 #ifndef PDM_ENABLED
4523 #define PDM_ENABLED 0
4524 #endif
4525 // <o> PDM_CONFIG_MODE - Mode
4526 
4527 // <0=> Stereo
4528 // <1=> Mono
4529 
4530 #ifndef PDM_CONFIG_MODE
4531 #define PDM_CONFIG_MODE 1
4532 #endif
4533 
4534 // <o> PDM_CONFIG_EDGE - Edge
4535 
4536 // <0=> Left falling
4537 // <1=> Left rising
4538 
4539 #ifndef PDM_CONFIG_EDGE
4540 #define PDM_CONFIG_EDGE 0
4541 #endif
4542 
4543 // <o> PDM_CONFIG_CLOCK_FREQ - Clock frequency
4544 
4545 // <134217728=> 1000k
4546 // <138412032=> 1032k (default)
4547 // <142606336=> 1067k
4548 
4549 #ifndef PDM_CONFIG_CLOCK_FREQ
4550 #define PDM_CONFIG_CLOCK_FREQ 138412032
4551 #endif
4552 
4553 // <o> PDM_CONFIG_IRQ_PRIORITY - Interrupt priority
4554 
4555 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
4556 // <0=> 0 (highest)
4557 // <1=> 1
4558 // <2=> 2
4559 // <3=> 3
4560 // <4=> 4
4561 // <5=> 5
4562 // <6=> 6
4563 // <7=> 7
4564 
4565 #ifndef PDM_CONFIG_IRQ_PRIORITY
4566 #define PDM_CONFIG_IRQ_PRIORITY 6
4567 #endif
4568 
4569 // </e>
4570 
4571 // <e> POWER_ENABLED - nrf_drv_power - POWER peripheral driver - legacy layer
4572 //==========================================================
4573 #ifndef POWER_ENABLED
4574 #define POWER_ENABLED 0
4575 #endif
4576 // <o> POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
4577 
4578 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
4579 // <0=> 0 (highest)
4580 // <1=> 1
4581 // <2=> 2
4582 // <3=> 3
4583 // <4=> 4
4584 // <5=> 5
4585 // <6=> 6
4586 // <7=> 7
4587 
4588 #ifndef POWER_CONFIG_IRQ_PRIORITY
4589 #define POWER_CONFIG_IRQ_PRIORITY 6
4590 #endif
4591 
4592 // <q> POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
4593 
4594 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
4595 
4596 #ifndef POWER_CONFIG_DEFAULT_DCDCEN
4597 #define POWER_CONFIG_DEFAULT_DCDCEN 0
4598 #endif
4599 
4600 // <q> POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
4601 
4602 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
4603 
4604 #ifndef POWER_CONFIG_DEFAULT_DCDCENHV
4605 #define POWER_CONFIG_DEFAULT_DCDCENHV 0
4606 #endif
4607 
4608 // </e>
4609 
4610 // <q> PPI_ENABLED - nrf_drv_ppi - PPI peripheral driver - legacy layer
4611 
4612 #ifndef PPI_ENABLED
4613 #define PPI_ENABLED 0
4614 #endif
4615 
4616 // <e> PWM_ENABLED - nrf_drv_pwm - PWM peripheral driver - legacy layer
4617 //==========================================================
4618 #ifndef PWM_ENABLED
4619 #define PWM_ENABLED 1
4620 #endif
4621 // <o> PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31>
4622 
4623 #ifndef PWM_DEFAULT_CONFIG_OUT0_PIN
4624 #define PWM_DEFAULT_CONFIG_OUT0_PIN 31
4625 #endif
4626 
4627 // <o> PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31>
4628 
4629 #ifndef PWM_DEFAULT_CONFIG_OUT1_PIN
4630 #define PWM_DEFAULT_CONFIG_OUT1_PIN 31
4631 #endif
4632 
4633 // <o> PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31>
4634 
4635 #ifndef PWM_DEFAULT_CONFIG_OUT2_PIN
4636 #define PWM_DEFAULT_CONFIG_OUT2_PIN 31
4637 #endif
4638 
4639 // <o> PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31>
4640 
4641 #ifndef PWM_DEFAULT_CONFIG_OUT3_PIN
4642 #define PWM_DEFAULT_CONFIG_OUT3_PIN 31
4643 #endif
4644 
4645 // <o> PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock
4646 
4647 // <0=> 16 MHz
4648 // <1=> 8 MHz
4649 // <2=> 4 MHz
4650 // <3=> 2 MHz
4651 // <4=> 1 MHz
4652 // <5=> 500 kHz
4653 // <6=> 250 kHz
4654 // <7=> 125 kHz
4655 
4656 #ifndef PWM_DEFAULT_CONFIG_BASE_CLOCK
4657 #define PWM_DEFAULT_CONFIG_BASE_CLOCK 4
4658 #endif
4659 
4660 // <o> PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode
4661 
4662 // <0=> Up
4663 // <1=> Up and Down
4664 
4665 #ifndef PWM_DEFAULT_CONFIG_COUNT_MODE
4666 #define PWM_DEFAULT_CONFIG_COUNT_MODE 0
4667 #endif
4668 
4669 // <o> PWM_DEFAULT_CONFIG_TOP_VALUE - Top value
4670 #ifndef PWM_DEFAULT_CONFIG_TOP_VALUE
4671 #define PWM_DEFAULT_CONFIG_TOP_VALUE 1000
4672 #endif
4673 
4674 // <o> PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode
4675 
4676 // <0=> Common
4677 // <1=> Grouped
4678 // <2=> Individual
4679 // <3=> Waveform
4680 
4681 #ifndef PWM_DEFAULT_CONFIG_LOAD_MODE
4682 #define PWM_DEFAULT_CONFIG_LOAD_MODE 0
4683 #endif
4684 
4685 // <o> PWM_DEFAULT_CONFIG_STEP_MODE - Step mode
4686 
4687 // <0=> Auto
4688 // <1=> Triggered
4689 
4690 #ifndef PWM_DEFAULT_CONFIG_STEP_MODE
4691 #define PWM_DEFAULT_CONFIG_STEP_MODE 0
4692 #endif
4693 
4694 // <o> PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4695 
4696 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
4697 // <0=> 0 (highest)
4698 // <1=> 1
4699 // <2=> 2
4700 // <3=> 3
4701 // <4=> 4
4702 // <5=> 5
4703 // <6=> 6
4704 // <7=> 7
4705 
4706 #ifndef PWM_DEFAULT_CONFIG_IRQ_PRIORITY
4707 #define PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6
4708 #endif
4709 
4710 // <q> PWM0_ENABLED - Enable PWM0 instance
4711 
4712 #ifndef PWM0_ENABLED
4713 #define PWM0_ENABLED 1
4714 #endif
4715 
4716 // <q> PWM1_ENABLED - Enable PWM1 instance
4717 
4718 #ifndef PWM1_ENABLED
4719 #define PWM1_ENABLED 1
4720 #endif
4721 
4722 // <q> PWM2_ENABLED - Enable PWM2 instance
4723 
4724 #ifndef PWM2_ENABLED
4725 #define PWM2_ENABLED 1
4726 #endif
4727 
4728 // <e> PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for PWM.
4729 
4730 // <i> The workaround uses interrupts to wake up the CPU and ensure
4731 // <i> it is active when PWM is about to start a DMA transfer. For
4732 // <i> initial transfer, done when a playback is started via PPI,
4733 // <i> a specific EGU instance is used to generate the interrupt.
4734 // <i> During the playback, the PWM interrupt triggered on SEQEND
4735 // <i> event of a preceding sequence is used to protect the transfer
4736 // <i> done for the next sequence to be played.
4737 //==========================================================
4738 #ifndef PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
4739 #define PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
4740 #endif
4741 // <o> PWM_NRF52_ANOMALY_109_EGU_INSTANCE - EGU instance used by the nRF52 Anomaly 109 workaround for PWM.
4742 
4743 // <0=> EGU0
4744 // <1=> EGU1
4745 // <2=> EGU2
4746 // <3=> EGU3
4747 // <4=> EGU4
4748 // <5=> EGU5
4749 
4750 #ifndef PWM_NRF52_ANOMALY_109_EGU_INSTANCE
4751 #define PWM_NRF52_ANOMALY_109_EGU_INSTANCE 5
4752 #endif
4753 
4754 // </e>
4755 
4756 // </e>
4757 
4758 // <e> QDEC_ENABLED - nrf_drv_qdec - QDEC peripheral driver - legacy layer
4759 //==========================================================
4760 #ifndef QDEC_ENABLED
4761 #define QDEC_ENABLED 0
4762 #endif
4763 // <o> QDEC_CONFIG_REPORTPER - Report period
4764 
4765 // <0=> 10 Samples
4766 // <1=> 40 Samples
4767 // <2=> 80 Samples
4768 // <3=> 120 Samples
4769 // <4=> 160 Samples
4770 // <5=> 200 Samples
4771 // <6=> 240 Samples
4772 // <7=> 280 Samples
4773 
4774 #ifndef QDEC_CONFIG_REPORTPER
4775 #define QDEC_CONFIG_REPORTPER 0
4776 #endif
4777 
4778 // <o> QDEC_CONFIG_SAMPLEPER - Sample period
4779 
4780 // <0=> 128 us
4781 // <1=> 256 us
4782 // <2=> 512 us
4783 // <3=> 1024 us
4784 // <4=> 2048 us
4785 // <5=> 4096 us
4786 // <6=> 8192 us
4787 // <7=> 16384 us
4788 
4789 #ifndef QDEC_CONFIG_SAMPLEPER
4790 #define QDEC_CONFIG_SAMPLEPER 7
4791 #endif
4792 
4793 // <o> QDEC_CONFIG_PIO_A - A pin <0-31>
4794 
4795 #ifndef QDEC_CONFIG_PIO_A
4796 #define QDEC_CONFIG_PIO_A 31
4797 #endif
4798 
4799 // <o> QDEC_CONFIG_PIO_B - B pin <0-31>
4800 
4801 #ifndef QDEC_CONFIG_PIO_B
4802 #define QDEC_CONFIG_PIO_B 31
4803 #endif
4804 
4805 // <o> QDEC_CONFIG_PIO_LED - LED pin <0-31>
4806 
4807 #ifndef QDEC_CONFIG_PIO_LED
4808 #define QDEC_CONFIG_PIO_LED 31
4809 #endif
4810 
4811 // <o> QDEC_CONFIG_LEDPRE - LED pre
4812 #ifndef QDEC_CONFIG_LEDPRE
4813 #define QDEC_CONFIG_LEDPRE 511
4814 #endif
4815 
4816 // <o> QDEC_CONFIG_LEDPOL - LED polarity
4817 
4818 // <0=> Active low
4819 // <1=> Active high
4820 
4821 #ifndef QDEC_CONFIG_LEDPOL
4822 #define QDEC_CONFIG_LEDPOL 1
4823 #endif
4824 
4825 // <q> QDEC_CONFIG_DBFEN - Debouncing enable
4826 
4827 #ifndef QDEC_CONFIG_DBFEN
4828 #define QDEC_CONFIG_DBFEN 0
4829 #endif
4830 
4831 // <q> QDEC_CONFIG_SAMPLE_INTEN - Sample ready interrupt enable
4832 
4833 #ifndef QDEC_CONFIG_SAMPLE_INTEN
4834 #define QDEC_CONFIG_SAMPLE_INTEN 0
4835 #endif
4836 
4837 // <o> QDEC_CONFIG_IRQ_PRIORITY - Interrupt priority
4838 
4839 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
4840 // <0=> 0 (highest)
4841 // <1=> 1
4842 // <2=> 2
4843 // <3=> 3
4844 // <4=> 4
4845 // <5=> 5
4846 // <6=> 6
4847 // <7=> 7
4848 
4849 #ifndef QDEC_CONFIG_IRQ_PRIORITY
4850 #define QDEC_CONFIG_IRQ_PRIORITY 6
4851 #endif
4852 
4853 // </e>
4854 
4855 // <e> QSPI_ENABLED - nrf_drv_qspi - QSPI peripheral driver - legacy layer
4856 //==========================================================
4857 #ifndef QSPI_ENABLED
4858 #define QSPI_ENABLED 0
4859 #endif
4860 // <o> QSPI_CONFIG_SCK_DELAY - tSHSL, tWHSL and tSHWL in number of 16 MHz periods (62.5 ns). <0-255>
4861 
4862 #ifndef QSPI_CONFIG_SCK_DELAY
4863 #define QSPI_CONFIG_SCK_DELAY 1
4864 #endif
4865 
4866 // <o> QSPI_CONFIG_XIP_OFFSET - Address offset in the external memory for Execute in Place operation.
4867 #ifndef QSPI_CONFIG_XIP_OFFSET
4868 #define QSPI_CONFIG_XIP_OFFSET 0
4869 #endif
4870 
4871 // <o> QSPI_CONFIG_READOC - Number of data lines and opcode used for reading.
4872 
4873 // <0=> FastRead
4874 // <1=> Read2O
4875 // <2=> Read2IO
4876 // <3=> Read4O
4877 // <4=> Read4IO
4878 
4879 #ifndef QSPI_CONFIG_READOC
4880 #define QSPI_CONFIG_READOC 0
4881 #endif
4882 
4883 // <o> QSPI_CONFIG_WRITEOC - Number of data lines and opcode used for writing.
4884 
4885 // <0=> PP
4886 // <1=> PP2O
4887 // <2=> PP4O
4888 // <3=> PP4IO
4889 
4890 #ifndef QSPI_CONFIG_WRITEOC
4891 #define QSPI_CONFIG_WRITEOC 0
4892 #endif
4893 
4894 // <o> QSPI_CONFIG_ADDRMODE - Addressing mode.
4895 
4896 // <0=> 24bit
4897 // <1=> 32bit
4898 
4899 #ifndef QSPI_CONFIG_ADDRMODE
4900 #define QSPI_CONFIG_ADDRMODE 0
4901 #endif
4902 
4903 // <o> QSPI_CONFIG_MODE - SPI mode.
4904 
4905 // <0=> Mode 0
4906 // <1=> Mode 1
4907 
4908 #ifndef QSPI_CONFIG_MODE
4909 #define QSPI_CONFIG_MODE 0
4910 #endif
4911 
4912 // <o> QSPI_CONFIG_FREQUENCY - Frequency divider.
4913 
4914 // <0=> 32MHz/1
4915 // <1=> 32MHz/2
4916 // <2=> 32MHz/3
4917 // <3=> 32MHz/4
4918 // <4=> 32MHz/5
4919 // <5=> 32MHz/6
4920 // <6=> 32MHz/7
4921 // <7=> 32MHz/8
4922 // <8=> 32MHz/9
4923 // <9=> 32MHz/10
4924 // <10=> 32MHz/11
4925 // <11=> 32MHz/12
4926 // <12=> 32MHz/13
4927 // <13=> 32MHz/14
4928 // <14=> 32MHz/15
4929 // <15=> 32MHz/16
4930 
4931 #ifndef QSPI_CONFIG_FREQUENCY
4932 #define QSPI_CONFIG_FREQUENCY 15
4933 #endif
4934 
4935 // <s> QSPI_PIN_SCK - SCK pin value.
4936 #ifndef QSPI_PIN_SCK
4937 #define QSPI_PIN_SCK NRF_QSPI_PIN_NOT_CONNECTED
4938 #endif
4939 
4940 // <s> QSPI_PIN_CSN - CSN pin value.
4941 #ifndef QSPI_PIN_CSN
4942 #define QSPI_PIN_CSN NRF_QSPI_PIN_NOT_CONNECTED
4943 #endif
4944 
4945 // <s> QSPI_PIN_IO0 - IO0 pin value.
4946 #ifndef QSPI_PIN_IO0
4947 #define QSPI_PIN_IO0 NRF_QSPI_PIN_NOT_CONNECTED
4948 #endif
4949 
4950 // <s> QSPI_PIN_IO1 - IO1 pin value.
4951 #ifndef QSPI_PIN_IO1
4952 #define QSPI_PIN_IO1 NRF_QSPI_PIN_NOT_CONNECTED
4953 #endif
4954 
4955 // <s> QSPI_PIN_IO2 - IO2 pin value.
4956 #ifndef QSPI_PIN_IO2
4957 #define QSPI_PIN_IO2 NRF_QSPI_PIN_NOT_CONNECTED
4958 #endif
4959 
4960 // <s> QSPI_PIN_IO3 - IO3 pin value.
4961 #ifndef QSPI_PIN_IO3
4962 #define QSPI_PIN_IO3 NRF_QSPI_PIN_NOT_CONNECTED
4963 #endif
4964 
4965 // <o> QSPI_CONFIG_IRQ_PRIORITY - Interrupt priority
4966 
4967 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
4968 // <0=> 0 (highest)
4969 // <1=> 1
4970 // <2=> 2
4971 // <3=> 3
4972 // <4=> 4
4973 // <5=> 5
4974 // <6=> 6
4975 // <7=> 7
4976 
4977 #ifndef QSPI_CONFIG_IRQ_PRIORITY
4978 #define QSPI_CONFIG_IRQ_PRIORITY 6
4979 #endif
4980 
4981 // </e>
4982 
4983 // <e> RNG_ENABLED - nrf_drv_rng - RNG peripheral driver - legacy layer
4984 //==========================================================
4985 #ifndef RNG_ENABLED
4986 #define RNG_ENABLED 0
4987 #endif
4988 // <q> RNG_CONFIG_ERROR_CORRECTION - Error correction
4989 
4990 #ifndef RNG_CONFIG_ERROR_CORRECTION
4991 #define RNG_CONFIG_ERROR_CORRECTION 1
4992 #endif
4993 
4994 // <o> RNG_CONFIG_POOL_SIZE - Pool size
4995 #ifndef RNG_CONFIG_POOL_SIZE
4996 #define RNG_CONFIG_POOL_SIZE 64
4997 #endif
4998 
4999 // <o> RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
5000 
5001 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5002 // <0=> 0 (highest)
5003 // <1=> 1
5004 // <2=> 2
5005 // <3=> 3
5006 // <4=> 4
5007 // <5=> 5
5008 // <6=> 6
5009 // <7=> 7
5010 
5011 #ifndef RNG_CONFIG_IRQ_PRIORITY
5012 #define RNG_CONFIG_IRQ_PRIORITY 6
5013 #endif
5014 
5015 // </e>
5016 
5017 // <e> RTC_ENABLED - nrf_drv_rtc - RTC peripheral driver - legacy layer
5018 //==========================================================
5019 #ifndef RTC_ENABLED
5020 #define RTC_ENABLED 0
5021 #endif
5022 // <o> RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
5023 
5024 #ifndef RTC_DEFAULT_CONFIG_FREQUENCY
5025 #define RTC_DEFAULT_CONFIG_FREQUENCY 32768
5026 #endif
5027 
5028 // <q> RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
5029 
5030 #ifndef RTC_DEFAULT_CONFIG_RELIABLE
5031 #define RTC_DEFAULT_CONFIG_RELIABLE 0
5032 #endif
5033 
5034 // <o> RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5035 
5036 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5037 // <0=> 0 (highest)
5038 // <1=> 1
5039 // <2=> 2
5040 // <3=> 3
5041 // <4=> 4
5042 // <5=> 5
5043 // <6=> 6
5044 // <7=> 7
5045 
5046 #ifndef RTC_DEFAULT_CONFIG_IRQ_PRIORITY
5047 #define RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
5048 #endif
5049 
5050 // <q> RTC0_ENABLED - Enable RTC0 instance
5051 
5052 #ifndef RTC0_ENABLED
5053 #define RTC0_ENABLED 0
5054 #endif
5055 
5056 // <q> RTC1_ENABLED - Enable RTC1 instance
5057 
5058 #ifndef RTC1_ENABLED
5059 #define RTC1_ENABLED 0
5060 #endif
5061 
5062 // <q> RTC2_ENABLED - Enable RTC2 instance
5063 
5064 #ifndef RTC2_ENABLED
5065 #define RTC2_ENABLED 0
5066 #endif
5067 
5068 // <o> NRF_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
5069 #ifndef NRF_MAXIMUM_LATENCY_US
5070 #define NRF_MAXIMUM_LATENCY_US 2000
5071 #endif
5072 
5073 // </e>
5074 
5075 // <e> SAADC_ENABLED - nrf_drv_saadc - SAADC peripheral driver - legacy layer
5076 //==========================================================
5077 #ifndef SAADC_ENABLED
5078 #define SAADC_ENABLED 1
5079 #endif
5080 // <o> SAADC_CONFIG_RESOLUTION - Resolution
5081 
5082 // <0=> 8 bit
5083 // <1=> 10 bit
5084 // <2=> 12 bit
5085 // <3=> 14 bit
5086 
5087 #ifndef SAADC_CONFIG_RESOLUTION
5088 #define SAADC_CONFIG_RESOLUTION 3
5089 #endif
5090 
5091 // <o> SAADC_CONFIG_OVERSAMPLE - Sample period
5092 
5093 // <0=> Disabled
5094 // <1=> 2x
5095 // <2=> 4x
5096 // <3=> 8x
5097 // <4=> 16x
5098 // <5=> 32x
5099 // <6=> 64x
5100 // <7=> 128x
5101 // <8=> 256x
5102 
5103 #ifndef SAADC_CONFIG_OVERSAMPLE
5104 #define SAADC_CONFIG_OVERSAMPLE 8
5105 #endif
5106 
5107 // <q> SAADC_CONFIG_LP_MODE - Enabling low power mode
5108 
5109 #ifndef SAADC_CONFIG_LP_MODE
5110 #define SAADC_CONFIG_LP_MODE 1
5111 #endif
5112 
5113 // <o> SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority
5114 
5115 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5116 // <0=> 0 (highest)
5117 // <1=> 1
5118 // <2=> 2
5119 // <3=> 3
5120 // <4=> 4
5121 // <5=> 5
5122 // <6=> 6
5123 // <7=> 7
5124 
5125 #ifndef SAADC_CONFIG_IRQ_PRIORITY
5126 #define SAADC_CONFIG_IRQ_PRIORITY 6
5127 #endif
5128 
5129 // </e>
5130 
5131 // <e> SPIS_ENABLED - nrf_drv_spis - SPIS peripheral driver - legacy layer
5132 //==========================================================
5133 #ifndef SPIS_ENABLED
5134 #define SPIS_ENABLED 0
5135 #endif
5136 // <o> SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5137 
5138 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5139 // <0=> 0 (highest)
5140 // <1=> 1
5141 // <2=> 2
5142 // <3=> 3
5143 // <4=> 4
5144 // <5=> 5
5145 // <6=> 6
5146 // <7=> 7
5147 
5148 #ifndef SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
5149 #define SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
5150 #endif
5151 
5152 // <o> SPIS_DEFAULT_MODE - Mode
5153 
5154 // <0=> MODE_0
5155 // <1=> MODE_1
5156 // <2=> MODE_2
5157 // <3=> MODE_3
5158 
5159 #ifndef SPIS_DEFAULT_MODE
5160 #define SPIS_DEFAULT_MODE 0
5161 #endif
5162 
5163 // <o> SPIS_DEFAULT_BIT_ORDER - SPIS default bit order
5164 
5165 // <0=> MSB first
5166 // <1=> LSB first
5167 
5168 #ifndef SPIS_DEFAULT_BIT_ORDER
5169 #define SPIS_DEFAULT_BIT_ORDER 0
5170 #endif
5171 
5172 // <o> SPIS_DEFAULT_DEF - SPIS default DEF character <0-255>
5173 
5174 #ifndef SPIS_DEFAULT_DEF
5175 #define SPIS_DEFAULT_DEF 255
5176 #endif
5177 
5178 // <o> SPIS_DEFAULT_ORC - SPIS default ORC character <0-255>
5179 
5180 #ifndef SPIS_DEFAULT_ORC
5181 #define SPIS_DEFAULT_ORC 255
5182 #endif
5183 
5184 // <q> SPIS0_ENABLED - Enable SPIS0 instance
5185 
5186 #ifndef SPIS0_ENABLED
5187 #define SPIS0_ENABLED 0
5188 #endif
5189 
5190 // <q> SPIS1_ENABLED - Enable SPIS1 instance
5191 
5192 #ifndef SPIS1_ENABLED
5193 #define SPIS1_ENABLED 0
5194 #endif
5195 
5196 // <q> SPIS2_ENABLED - Enable SPIS2 instance
5197 
5198 #ifndef SPIS2_ENABLED
5199 #define SPIS2_ENABLED 0
5200 #endif
5201 
5202 // <q> SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIS.
5203 
5204 // <i> The workaround uses a GPIOTE channel to generate interrupts
5205 // <i> on falling edges detected on the CSN line. This will make
5206 // <i> the CPU active for the moment when SPIS starts DMA transfers,
5207 // <i> and this way the transfers will be protected.
5208 // <i> This workaround uses GPIOTE driver, so this driver must be
5209 // <i> enabled as well.
5210 
5211 #ifndef SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED
5212 #define SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
5213 #endif
5214 
5215 // </e>
5216 
5217 // <e> SPI_ENABLED - nrf_drv_spi - SPI/SPIM peripheral driver - legacy layer
5218 //==========================================================
5219 #ifndef SPI_ENABLED
5220 #define SPI_ENABLED 1
5221 #endif
5222 // <o> SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5223 
5224 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5225 // <0=> 0 (highest)
5226 // <1=> 1
5227 // <2=> 2
5228 // <3=> 3
5229 // <4=> 4
5230 // <5=> 5
5231 // <6=> 6
5232 // <7=> 7
5233 
5234 #ifndef SPI_DEFAULT_CONFIG_IRQ_PRIORITY
5235 #define SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6
5236 #endif
5237 
5238 // <o> NRF_SPI_DRV_MISO_PULLUP_CFG - MISO PIN pull-up configuration.
5239 
5240 // <0=> NRF_GPIO_PIN_NOPULL
5241 // <1=> NRF_GPIO_PIN_PULLDOWN
5242 // <3=> NRF_GPIO_PIN_PULLUP
5243 
5244 #ifndef NRF_SPI_DRV_MISO_PULLUP_CFG
5245 #define NRF_SPI_DRV_MISO_PULLUP_CFG 3
5246 #endif
5247 
5248 // <e> SPI0_ENABLED - Enable SPI0 instance
5249 //==========================================================
5250 #ifndef SPI0_ENABLED
5251 #define SPI0_ENABLED 0
5252 #endif
5253 // <q> SPI0_USE_EASY_DMA - Use EasyDMA
5254 
5255 #ifndef SPI0_USE_EASY_DMA
5256 #define SPI0_USE_EASY_DMA 1
5257 #endif
5258 
5259 // </e>
5260 
5261 // <e> SPI1_ENABLED - Enable SPI1 instance
5262 //==========================================================
5263 #ifndef SPI1_ENABLED
5264 #define SPI1_ENABLED 1
5265 #endif
5266 // <q> SPI1_USE_EASY_DMA - Use EasyDMA
5267 
5268 #ifndef SPI1_USE_EASY_DMA
5269 #define SPI1_USE_EASY_DMA 1
5270 #endif
5271 
5272 // </e>
5273 
5274 // <e> SPI2_ENABLED - Enable SPI2 instance
5275 //==========================================================
5276 #ifndef SPI2_ENABLED
5277 #define SPI2_ENABLED 0
5278 #endif
5279 // <q> SPI2_USE_EASY_DMA - Use EasyDMA
5280 
5281 #ifndef SPI2_USE_EASY_DMA
5282 #define SPI2_USE_EASY_DMA 1
5283 #endif
5284 
5285 // </e>
5286 
5287 // <q> SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for SPIM.
5288 
5289 // <i> The workaround uses interrupts to wake up the CPU by catching
5290 // <i> a start event of zero-length transmission to start the clock. This
5291 // <i> ensures that the DMA transfer will be executed without issues and
5292 // <i> that the proper transfer will be started. See more in the Errata
5293 // <i> document or Anomaly 109 Addendum located at
5294 // <i> https://infocenter.nordicsemi.com/
5295 
5296 #ifndef SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
5297 #define SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
5298 #endif
5299 
5300 // </e>
5301 
5302 // <e> TIMER_ENABLED - nrf_drv_timer - TIMER periperal driver - legacy layer
5303 //==========================================================
5304 #ifndef TIMER_ENABLED
5305 #define TIMER_ENABLED 1
5306 #endif
5307 // <o> TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode
5308 
5309 // <0=> 16 MHz
5310 // <1=> 8 MHz
5311 // <2=> 4 MHz
5312 // <3=> 2 MHz
5313 // <4=> 1 MHz
5314 // <5=> 500 kHz
5315 // <6=> 250 kHz
5316 // <7=> 125 kHz
5317 // <8=> 62.5 kHz
5318 // <9=> 31.25 kHz
5319 
5320 #ifndef TIMER_DEFAULT_CONFIG_FREQUENCY
5321 #define TIMER_DEFAULT_CONFIG_FREQUENCY 0
5322 #endif
5323 
5324 // <o> TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation
5325 
5326 // <0=> Timer
5327 // <1=> Counter
5328 
5329 #ifndef TIMER_DEFAULT_CONFIG_MODE
5330 #define TIMER_DEFAULT_CONFIG_MODE 0
5331 #endif
5332 
5333 // <o> TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width
5334 
5335 // <0=> 16 bit
5336 // <1=> 8 bit
5337 // <2=> 24 bit
5338 // <3=> 32 bit
5339 
5340 #ifndef TIMER_DEFAULT_CONFIG_BIT_WIDTH
5341 #define TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
5342 #endif
5343 
5344 // <o> TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5345 
5346 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5347 // <0=> 0 (highest)
5348 // <1=> 1
5349 // <2=> 2
5350 // <3=> 3
5351 // <4=> 4
5352 // <5=> 5
5353 // <6=> 6
5354 // <7=> 7
5355 
5356 #ifndef TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
5357 #define TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
5358 #endif
5359 
5360 // <q> TIMER0_ENABLED - Enable TIMER0 instance
5361 
5362 #ifndef TIMER0_ENABLED
5363 #define TIMER0_ENABLED 1
5364 #endif
5365 
5366 // <q> TIMER1_ENABLED - Enable TIMER1 instance
5367 
5368 #ifndef TIMER1_ENABLED
5369 #define TIMER1_ENABLED 1
5370 #endif
5371 
5372 // <q> TIMER2_ENABLED - Enable TIMER2 instance
5373 
5374 #ifndef TIMER2_ENABLED
5375 #define TIMER2_ENABLED 1
5376 #endif
5377 
5378 // <q> TIMER3_ENABLED - Enable TIMER3 instance
5379 
5380 #ifndef TIMER3_ENABLED
5381 #define TIMER3_ENABLED 0
5382 #endif
5383 
5384 // <q> TIMER4_ENABLED - Enable TIMER4 instance
5385 
5386 #ifndef TIMER4_ENABLED
5387 #define TIMER4_ENABLED 0
5388 #endif
5389 
5390 // </e>
5391 
5392 // <e> TWIS_ENABLED - nrf_drv_twis - TWIS peripheral driver - legacy layer
5393 //==========================================================
5394 #ifndef TWIS_ENABLED
5395 #define TWIS_ENABLED 0
5396 #endif
5397 // <q> TWIS0_ENABLED - Enable TWIS0 instance
5398 
5399 #ifndef TWIS0_ENABLED
5400 #define TWIS0_ENABLED 0
5401 #endif
5402 
5403 // <q> TWIS1_ENABLED - Enable TWIS1 instance
5404 
5405 #ifndef TWIS1_ENABLED
5406 #define TWIS1_ENABLED 0
5407 #endif
5408 
5409 // <q> TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once
5410 
5411 // <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.
5412 
5413 #ifndef TWIS_ASSUME_INIT_AFTER_RESET_ONLY
5414 #define TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
5415 #endif
5416 
5417 // <q> TWIS_NO_SYNC_MODE - Remove support for synchronous mode
5418 
5419 // <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.
5420 
5421 #ifndef TWIS_NO_SYNC_MODE
5422 #define TWIS_NO_SYNC_MODE 0
5423 #endif
5424 
5425 // <o> TWIS_DEFAULT_CONFIG_ADDR0 - Address0
5426 #ifndef TWIS_DEFAULT_CONFIG_ADDR0
5427 #define TWIS_DEFAULT_CONFIG_ADDR0 0
5428 #endif
5429 
5430 // <o> TWIS_DEFAULT_CONFIG_ADDR1 - Address1
5431 #ifndef TWIS_DEFAULT_CONFIG_ADDR1
5432 #define TWIS_DEFAULT_CONFIG_ADDR1 0
5433 #endif
5434 
5435 // <o> TWIS_DEFAULT_CONFIG_SCL_PULL - SCL pin pull configuration
5436 
5437 // <0=> Disabled
5438 // <1=> Pull down
5439 // <3=> Pull up
5440 
5441 #ifndef TWIS_DEFAULT_CONFIG_SCL_PULL
5442 #define TWIS_DEFAULT_CONFIG_SCL_PULL 0
5443 #endif
5444 
5445 // <o> TWIS_DEFAULT_CONFIG_SDA_PULL - SDA pin pull configuration
5446 
5447 // <0=> Disabled
5448 // <1=> Pull down
5449 // <3=> Pull up
5450 
5451 #ifndef TWIS_DEFAULT_CONFIG_SDA_PULL
5452 #define TWIS_DEFAULT_CONFIG_SDA_PULL 0
5453 #endif
5454 
5455 // <o> TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5456 
5457 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5458 // <0=> 0 (highest)
5459 // <1=> 1
5460 // <2=> 2
5461 // <3=> 3
5462 // <4=> 4
5463 // <5=> 5
5464 // <6=> 6
5465 // <7=> 7
5466 
5467 #ifndef TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
5468 #define TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
5469 #endif
5470 
5471 // </e>
5472 
5473 // <e> TWI_ENABLED - nrf_drv_twi - TWI/TWIM peripheral driver - legacy layer
5474 //==========================================================
5475 #ifndef TWI_ENABLED
5476 #define TWI_ENABLED 1
5477 #endif
5478 // <o> TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
5479 
5480 // <26738688=> 100k
5481 // <67108864=> 250k
5482 // <104857600=> 400k
5483 
5484 #ifndef TWI_DEFAULT_CONFIG_FREQUENCY
5485 #define TWI_DEFAULT_CONFIG_FREQUENCY 26738688
5486 #endif
5487 
5488 // <q> TWI_DEFAULT_CONFIG_CLR_BUS_INIT - Enables bus clearing procedure during init
5489 
5490 #ifndef TWI_DEFAULT_CONFIG_CLR_BUS_INIT
5491 #define TWI_DEFAULT_CONFIG_CLR_BUS_INIT 0
5492 #endif
5493 
5494 // <q> TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
5495 
5496 #ifndef TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
5497 #define TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
5498 #endif
5499 
5500 // <o> TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5501 
5502 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5503 // <0=> 0 (highest)
5504 // <1=> 1
5505 // <2=> 2
5506 // <3=> 3
5507 // <4=> 4
5508 // <5=> 5
5509 // <6=> 6
5510 // <7=> 7
5511 
5512 #ifndef TWI_DEFAULT_CONFIG_IRQ_PRIORITY
5513 #define TWI_DEFAULT_CONFIG_IRQ_PRIORITY 6
5514 #endif
5515 
5516 // <e> TWI0_ENABLED - Enable TWI0 instance
5517 //==========================================================
5518 #ifndef TWI0_ENABLED
5519 #define TWI0_ENABLED 1
5520 #endif
5521 // <q> TWI0_USE_EASY_DMA - Use EasyDMA (if present)
5522 
5523 #ifndef TWI0_USE_EASY_DMA
5524 #define TWI0_USE_EASY_DMA 1
5525 #endif
5526 
5527 // </e>
5528 
5529 // <e> TWI1_ENABLED - Enable TWI1 instance
5530 //==========================================================
5531 #ifndef TWI1_ENABLED
5532 #define TWI1_ENABLED 0
5533 #endif
5534 // <q> TWI1_USE_EASY_DMA - Use EasyDMA (if present)
5535 
5536 #ifndef TWI1_USE_EASY_DMA
5537 #define TWI1_USE_EASY_DMA 0
5538 #endif
5539 
5540 // </e>
5541 
5542 // <q> TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for TWIM.
5543 
5544 // <i> The workaround uses interrupts to wake up the CPU by catching
5545 // <i> the start event of zero-frequency transmission, clear the
5546 // <i> peripheral, set desired frequency, start the peripheral, and
5547 // <i> the proper transmission. See more in the Errata document or
5548 // <i> Anomaly 109 Addendum located at https://infocenter.nordicsemi.com/
5549 
5550 #ifndef TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
5551 #define TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
5552 #endif
5553 
5554 // </e>
5555 
5556 // <e> UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer
5557 //==========================================================
5558 #ifndef UART_ENABLED
5559 #define UART_ENABLED 1
5560 #endif
5561 // <o> UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
5562 
5563 // <0=> Disabled
5564 // <1=> Enabled
5565 
5566 #ifndef UART_DEFAULT_CONFIG_HWFC
5567 #define UART_DEFAULT_CONFIG_HWFC 0
5568 #endif
5569 
5570 // <o> UART_DEFAULT_CONFIG_PARITY - Parity
5571 
5572 // <0=> Excluded
5573 // <14=> Included
5574 
5575 #ifndef UART_DEFAULT_CONFIG_PARITY
5576 #define UART_DEFAULT_CONFIG_PARITY 0
5577 #endif
5578 
5579 // <o> UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
5580 
5581 // <323584=> 1200 baud
5582 // <643072=> 2400 baud
5583 // <1290240=> 4800 baud
5584 // <2576384=> 9600 baud
5585 // <3862528=> 14400 baud
5586 // <5152768=> 19200 baud
5587 // <7716864=> 28800 baud
5588 // <10289152=> 38400 baud
5589 // <15400960=> 57600 baud
5590 // <20615168=> 76800 baud
5591 // <30801920=> 115200 baud
5592 // <61865984=> 230400 baud
5593 // <67108864=> 250000 baud
5594 // <121634816=> 460800 baud
5595 // <251658240=> 921600 baud
5596 // <268435456=> 1000000 baud
5597 
5598 #ifndef UART_DEFAULT_CONFIG_BAUDRATE
5599 #define UART_DEFAULT_CONFIG_BAUDRATE 30801920
5600 #endif
5601 
5602 // <o> UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5603 
5604 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5605 // <0=> 0 (highest)
5606 // <1=> 1
5607 // <2=> 2
5608 // <3=> 3
5609 // <4=> 4
5610 // <5=> 5
5611 // <6=> 6
5612 // <7=> 7
5613 
5614 #ifndef UART_DEFAULT_CONFIG_IRQ_PRIORITY
5615 #define UART_DEFAULT_CONFIG_IRQ_PRIORITY 7
5616 #endif
5617 
5618 // <q> UART_EASY_DMA_SUPPORT - Driver supporting EasyDMA
5619 
5620 #ifndef UART_EASY_DMA_SUPPORT
5621 #define UART_EASY_DMA_SUPPORT 1
5622 #endif
5623 
5624 // <q> UART_LEGACY_SUPPORT - Driver supporting Legacy mode
5625 
5626 #ifndef UART_LEGACY_SUPPORT
5627 #define UART_LEGACY_SUPPORT 1
5628 #endif
5629 
5630 // <e> UART0_ENABLED - Enable UART0 instance
5631 //==========================================================
5632 #ifndef UART0_ENABLED
5633 #define UART0_ENABLED 1
5634 #endif
5635 // <q> UART0_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA
5636 
5637 #ifndef UART0_CONFIG_USE_EASY_DMA
5638 #define UART0_CONFIG_USE_EASY_DMA 1
5639 #endif
5640 
5641 // </e>
5642 
5643 // </e>
5644 
5645 // <e> USBD_ENABLED - nrf_drv_usbd - Software Component
5646 //==========================================================
5647 #ifndef USBD_ENABLED
5648 #define USBD_ENABLED 0
5649 #endif
5650 // <o> USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
5651 
5652 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5653 // <0=> 0 (highest)
5654 // <1=> 1
5655 // <2=> 2
5656 // <3=> 3
5657 // <4=> 4
5658 // <5=> 5
5659 // <6=> 6
5660 // <7=> 7
5661 
5662 #ifndef USBD_CONFIG_IRQ_PRIORITY
5663 #define USBD_CONFIG_IRQ_PRIORITY 6
5664 #endif
5665 
5666 // <o> USBD_CONFIG_DMASCHEDULER_MODE - USBD SMA scheduler working scheme
5667 
5668 // <0=> Prioritized access
5669 // <1=> Round Robin
5670 
5671 #ifndef USBD_CONFIG_DMASCHEDULER_MODE
5672 #define USBD_CONFIG_DMASCHEDULER_MODE 0
5673 #endif
5674 
5675 // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
5676 
5677 // <i> This option gives priority to isochronous transfers.
5678 // <i> Enabling it assures that isochronous transfers are always processed,
5679 // <i> even if multiple other transfers are pending.
5680 // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
5681 // <i> function is called, so the option is independent of the algorithm chosen.
5682 
5683 #ifndef USBD_CONFIG_DMASCHEDULER_ISO_BOOST
5684 #define USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
5685 #endif
5686 
5687 // <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
5688 
5689 // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
5690 // <i> Else, there will be no response.
5691 // <i> NOTE: This option does not work on Engineering A chip.
5692 
5693 #ifndef USBD_CONFIG_ISO_IN_ZLP
5694 #define USBD_CONFIG_ISO_IN_ZLP 0
5695 #endif
5696 
5697 // </e>
5698 
5699 // <e> WDT_ENABLED - nrf_drv_wdt - WDT peripheral driver - legacy layer
5700 //==========================================================
5701 #ifndef WDT_ENABLED
5702 #define WDT_ENABLED 0
5703 #endif
5704 // <o> WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode
5705 
5706 // <1=> Run in SLEEP, Pause in HALT
5707 // <8=> Pause in SLEEP, Run in HALT
5708 // <9=> Run in SLEEP and HALT
5709 // <0=> Pause in SLEEP and HALT
5710 
5711 #ifndef WDT_CONFIG_BEHAVIOUR
5712 #define WDT_CONFIG_BEHAVIOUR 1
5713 #endif
5714 
5715 // <o> WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295>
5716 
5717 #ifndef WDT_CONFIG_RELOAD_VALUE
5718 #define WDT_CONFIG_RELOAD_VALUE 2000
5719 #endif
5720 
5721 // <o> WDT_CONFIG_IRQ_PRIORITY - Interrupt priority
5722 
5723 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5724 // <0=> 0 (highest)
5725 // <1=> 1
5726 // <2=> 2
5727 // <3=> 3
5728 // <4=> 4
5729 // <5=> 5
5730 // <6=> 6
5731 // <7=> 7
5732 
5733 #ifndef WDT_CONFIG_IRQ_PRIORITY
5734 #define WDT_CONFIG_IRQ_PRIORITY 6
5735 #endif
5736 
5737 // </e>
5738 
5739 // <h> nrfx_qspi - QSPI peripheral driver
5740 
5741 //==========================================================
5742 // </h>
5743 //==========================================================
5744 
5745 // <h> nrfx_usbd - USBD peripheral driver
5746 
5747 //==========================================================
5748 // </h>
5749 //==========================================================
5750 
5751 // </h>
5752 //==========================================================
5753 
5754 // <h> nRF_Drivers_External
5755 
5756 //==========================================================
5757 // <q> NRF_TWI_SENSOR_ENABLED - nrf_twi_sensor - nRF TWI Sensor module
5758 
5759 #ifndef NRF_TWI_SENSOR_ENABLED
5760 #define NRF_TWI_SENSOR_ENABLED 0
5761 #endif
5762 
5763 // </h>
5764 //==========================================================
5765 
5766 // <h> nRF_Libraries
5767 
5768 //==========================================================
5769 // <q> APP_FIFO_ENABLED - app_fifo - Software FIFO implementation
5770 
5771 
5772 #ifndef APP_FIFO_ENABLED
5773 #define APP_FIFO_ENABLED 1
5774 #endif
5775 
5776 // <e> APP_UART_ENABLED - app_uart - UART driver
5777 //==========================================================
5778 #ifndef APP_UART_ENABLED
5779 #define APP_UART_ENABLED 1
5780 #endif
5781 // <o> APP_UART_DRIVER_INSTANCE - UART instance used
5782 
5783 // <0=> 0
5784 
5785 #ifndef APP_UART_DRIVER_INSTANCE
5786 #define APP_UART_DRIVER_INSTANCE 0
5787 #endif
5788 
5789 // </e>
5790 
5791 //==========================================================
5792 // <q> APP_GPIOTE_ENABLED - app_gpiote - GPIOTE events dispatcher
5793 
5794 #ifndef APP_GPIOTE_ENABLED
5795 #define APP_GPIOTE_ENABLED 0
5796 #endif
5797 
5798 // <q> APP_PWM_ENABLED - app_pwm - PWM functionality
5799 
5800 #ifndef APP_PWM_ENABLED
5801 #define APP_PWM_ENABLED 0
5802 #endif
5803 
5804 // <e> APP_SCHEDULER_ENABLED - app_scheduler - Events scheduler
5805 //==========================================================
5806 #ifndef APP_SCHEDULER_ENABLED
5807 #define APP_SCHEDULER_ENABLED 0
5808 #endif
5809 // <q> APP_SCHEDULER_WITH_PAUSE - Enabling pause feature
5810 
5811 #ifndef APP_SCHEDULER_WITH_PAUSE
5812 #define APP_SCHEDULER_WITH_PAUSE 0
5813 #endif
5814 
5815 // <q> APP_SCHEDULER_WITH_PROFILER - Enabling scheduler profiling
5816 
5817 #ifndef APP_SCHEDULER_WITH_PROFILER
5818 #define APP_SCHEDULER_WITH_PROFILER 0
5819 #endif
5820 
5821 // </e>
5822 
5823 // <e> APP_SDCARD_ENABLED - app_sdcard - SD/MMC card support using SPI
5824 //==========================================================
5825 #ifndef APP_SDCARD_ENABLED
5826 #define APP_SDCARD_ENABLED 1
5827 #endif
5828 // <o> APP_SDCARD_SPI_INSTANCE - SPI instance used
5829 
5830 // <0=> 0
5831 // <1=> 1
5832 // <2=> 2
5833 
5834 #ifndef APP_SDCARD_SPI_INSTANCE
5835 #define APP_SDCARD_SPI_INSTANCE 1
5836 #endif
5837 
5838 // <o> APP_SDCARD_FREQ_INIT - SPI frequency
5839 
5840 // <33554432=> 125 kHz
5841 // <67108864=> 250 kHz
5842 // <134217728=> 500 kHz
5843 // <268435456=> 1 MHz
5844 // <536870912=> 2 MHz
5845 // <1073741824=> 4 MHz
5846 // <2147483648=> 8 MHz
5847 
5848 #ifndef APP_SDCARD_FREQ_INIT
5849 #define APP_SDCARD_FREQ_INIT 33554432
5850 #endif
5851 
5852 // <o> APP_SDCARD_FREQ_DATA - SPI frequency
5853 
5854 // <33554432=> 125 kHz
5855 // <67108864=> 250 kHz
5856 // <134217728=> 500 kHz
5857 // <268435456=> 1 MHz
5858 // <536870912=> 2 MHz
5859 // <1073741824=> 4 MHz
5860 // <2147483648=> 8 MHz
5861 
5862 #ifndef APP_SDCARD_FREQ_DATA
5863 #define APP_SDCARD_FREQ_DATA 33554432
5864 #endif
5865 
5866 // </e>
5867 
5868 // <e> APP_TIMER_ENABLED - app_timer - Application timer functionality
5869 //==========================================================
5870 #ifndef APP_TIMER_ENABLED
5871 #define APP_TIMER_ENABLED 1
5872 #endif
5873 // <o> APP_TIMER_CONFIG_RTC_FREQUENCY - Configure RTC prescaler.
5874 
5875 // <0=> 32768 Hz
5876 // <1=> 16384 Hz
5877 // <3=> 8192 Hz
5878 // <7=> 4096 Hz
5879 // <15=> 2048 Hz
5880 // <31=> 1024 Hz
5881 
5882 #ifndef APP_TIMER_CONFIG_RTC_FREQUENCY
5883 #define APP_TIMER_CONFIG_RTC_FREQUENCY 0
5884 #endif
5885 
5886 // <o> APP_TIMER_CONFIG_IRQ_PRIORITY - Interrupt priority
5887 
5888 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5889 // <0=> 0 (highest)
5890 // <1=> 1
5891 // <2=> 2
5892 // <3=> 3
5893 // <4=> 4
5894 // <5=> 5
5895 // <6=> 6
5896 // <7=> 7
5897 
5898 #ifndef APP_TIMER_CONFIG_IRQ_PRIORITY
5899 #define APP_TIMER_CONFIG_IRQ_PRIORITY 6
5900 #endif
5901 
5902 // <o> APP_TIMER_CONFIG_OP_QUEUE_SIZE - Capacity of timer requests queue.
5903 // <i> Size of the queue depends on how many timers are used
5904 // <i> in the system, how often timers are started and overall
5905 // <i> system latency. If queue size is too small app_timer calls
5906 // <i> will fail.
5907 
5908 #ifndef APP_TIMER_CONFIG_OP_QUEUE_SIZE
5909 #define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10
5910 #endif
5911 
5912 // <q> APP_TIMER_CONFIG_USE_SCHEDULER - Enable scheduling app_timer events to app_scheduler
5913 
5914 #ifndef APP_TIMER_CONFIG_USE_SCHEDULER
5915 #define APP_TIMER_CONFIG_USE_SCHEDULER 0
5916 #endif
5917 
5918 // <q> APP_TIMER_KEEPS_RTC_ACTIVE - Enable RTC always on
5919 
5920 // <i> If option is enabled RTC is kept running even if there is no active timers.
5921 // <i> This option can be used when app_timer is used for timestamping.
5922 
5923 #ifndef APP_TIMER_KEEPS_RTC_ACTIVE
5924 #define APP_TIMER_KEEPS_RTC_ACTIVE 0
5925 #endif
5926 
5927 // <o> APP_TIMER_SAFE_WINDOW_MS - Maximum possible latency (in milliseconds) of handling app_timer event.
5928 // <i> Maximum possible timeout that can be set is reduced by safe window.
5929 // <i> Example: RTC frequency 16384 Hz, maximum possible timeout 1024 seconds - APP_TIMER_SAFE_WINDOW_MS.
5930 // <i> Since RTC is not stopped when processor is halted in debugging session, this value
5931 // <i> must cover it if debugging is needed. It is possible to halt processor for APP_TIMER_SAFE_WINDOW_MS
5932 // <i> without corrupting app_timer behavior.
5933 
5934 #ifndef APP_TIMER_SAFE_WINDOW_MS
5935 #define APP_TIMER_SAFE_WINDOW_MS 300000
5936 #endif
5937 
5938 // <h> App Timer Legacy configuration - Legacy configuration.
5939 
5940 //==========================================================
5941 // <q> APP_TIMER_WITH_PROFILER - Enable app_timer profiling
5942 
5943 #ifndef APP_TIMER_WITH_PROFILER
5944 #define APP_TIMER_WITH_PROFILER 0
5945 #endif
5946 
5947 // <q> APP_TIMER_CONFIG_SWI_NUMBER - Configure SWI instance used.
5948 
5949 #ifndef APP_TIMER_CONFIG_SWI_NUMBER
5950 #define APP_TIMER_CONFIG_SWI_NUMBER 0
5951 #endif
5952 
5953 // </h>
5954 //==========================================================
5955 
5956 // </e>
5957 
5958 // <q> APP_USBD_AUDIO_ENABLED - app_usbd_audio - USB AUDIO class
5959 
5960 #ifndef APP_USBD_AUDIO_ENABLED
5961 #define APP_USBD_AUDIO_ENABLED 0
5962 #endif
5963 
5964 // <e> APP_USBD_ENABLED - app_usbd - USB Device library
5965 //==========================================================
5966 #ifndef APP_USBD_ENABLED
5967 #define APP_USBD_ENABLED 0
5968 #endif
5969 // <o> APP_USBD_VID - Vendor ID. <0x0000-0xFFFF>
5970 
5971 // <i> Note: This value is not editable in Configuration Wizard.
5972 // <i> Vendor ID ordered from USB IF: http://www.usb.org/developers/vendor/
5973 
5974 #ifndef APP_USBD_VID
5975 #define APP_USBD_VID 0
5976 #endif
5977 
5978 // <o> APP_USBD_PID - Product ID. <0x0000-0xFFFF>
5979 
5980 // <i> Note: This value is not editable in Configuration Wizard.
5981 // <i> Selected Product ID
5982 
5983 #ifndef APP_USBD_PID
5984 #define APP_USBD_PID 0
5985 #endif
5986 
5987 // <o> APP_USBD_DEVICE_VER_MAJOR - Major device version <0-99>
5988 
5989 // <i> Major device version, will be converted automatically to BCD notation. Use just decimal values.
5990 
5991 #ifndef APP_USBD_DEVICE_VER_MAJOR
5992 #define APP_USBD_DEVICE_VER_MAJOR 1
5993 #endif
5994 
5995 // <o> APP_USBD_DEVICE_VER_MINOR - Minor device version <0-9>
5996 
5997 // <i> Minor device version, will be converted automatically to BCD notation. Use just decimal values.
5998 
5999 #ifndef APP_USBD_DEVICE_VER_MINOR
6000 #define APP_USBD_DEVICE_VER_MINOR 0
6001 #endif
6002 
6003 // <o> APP_USBD_DEVICE_VER_SUB - Sub-minor device version <0-9>
6004 
6005 // <i> Sub-minor device version, will be converted automatically to BCD notation. Use just decimal values.
6006 
6007 #ifndef APP_USBD_DEVICE_VER_SUB
6008 #define APP_USBD_DEVICE_VER_SUB 0
6009 #endif
6010 
6011 // <q> APP_USBD_CONFIG_SELF_POWERED - Self-powered device, as opposed to bus-powered.
6012 
6013 #ifndef APP_USBD_CONFIG_SELF_POWERED
6014 #define APP_USBD_CONFIG_SELF_POWERED 1
6015 #endif
6016 
6017 // <o> APP_USBD_CONFIG_MAX_POWER - MaxPower field in configuration descriptor in milliamps. <0-500>
6018 
6019 #ifndef APP_USBD_CONFIG_MAX_POWER
6020 #define APP_USBD_CONFIG_MAX_POWER 100
6021 #endif
6022 
6023 // <q> APP_USBD_CONFIG_POWER_EVENTS_PROCESS - Process power events.
6024 
6025 // <i> Enable processing power events in USB event handler.
6026 
6027 #ifndef APP_USBD_CONFIG_POWER_EVENTS_PROCESS
6028 #define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 1
6029 #endif
6030 
6031 // <e> APP_USBD_CONFIG_EVENT_QUEUE_ENABLE - Enable event queue.
6032 
6033 // <i> This is the default configuration when all the events are placed into internal queue.
6034 // <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts.
6035 // <i> Processing all events from the interrupt level adds requirement not to call any functions that modifies the USBD library state from the context higher than USB interrupt context.
6036 // <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable.
6037 //==========================================================
6038 #ifndef APP_USBD_CONFIG_EVENT_QUEUE_ENABLE
6039 #define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 1
6040 #endif
6041 // <o> APP_USBD_CONFIG_EVENT_QUEUE_SIZE - The size of the event queue. <16-64>
6042 
6043 // <i> The size of the queue for the events that would be processed in the main loop.
6044 
6045 #ifndef APP_USBD_CONFIG_EVENT_QUEUE_SIZE
6046 #define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32
6047 #endif
6048 
6049 // <o> APP_USBD_CONFIG_SOF_HANDLING_MODE - Change SOF events handling mode.
6050 
6051 // <i> Normal queue - SOF events are pushed normally into the event queue.
6052 // <i> Compress queue - SOF events are counted and binded with other events or executed when the queue is empty.
6053 // <i> This prevents the queue from filling up with SOF events.
6054 // <i> Interrupt - SOF events are processed in interrupt.
6055 // <0=> Normal queue
6056 // <1=> Compress queue
6057 // <2=> Interrupt
6058 
6059 #ifndef APP_USBD_CONFIG_SOF_HANDLING_MODE
6060 #define APP_USBD_CONFIG_SOF_HANDLING_MODE 2
6061 #endif
6062 
6063 // </e>
6064 
6065 // <q> APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE - Provide a function that generates timestamps for logs based on the current SOF.
6066 
6067 // <i> The function app_usbd_sof_timestamp_get is implemented if the logger is enabled.
6068 // <i> Use it when initializing the logger.
6069 // <i> SOF processing is always enabled when this configuration parameter is active.
6070 // <i> Note: This option is configured outside of APP_USBD_CONFIG_LOG_ENABLED.
6071 // <i> This means that it works even if the logging in this very module is disabled.
6072 
6073 #ifndef APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE
6074 #define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 0
6075 #endif
6076 
6077 // <o> APP_USBD_CONFIG_DESC_STRING_SIZE - Maximum size of the NULL-terminated string of the string descriptor. <31-254>
6078 
6079 // <i> 31 characters can be stored in the internal USB buffer used for transfers.
6080 // <i> Any value higher than 31 creates an additional buffer just for descriptor strings.
6081 
6082 #ifndef APP_USBD_CONFIG_DESC_STRING_SIZE
6083 #define APP_USBD_CONFIG_DESC_STRING_SIZE 31
6084 #endif
6085 
6086 // <q> APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED - Enable UTF8 conversion.
6087 
6088 // <i> Enable UTF8-encoded characters. In normal processing, only ASCII characters are available.
6089 
6090 #ifndef APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED
6091 #define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 1
6092 #endif
6093 
6094 // <s> APP_USBD_STRINGS_LANGIDS - Supported languages identifiers.
6095 
6096 // <i> Note: This value is not editable in Configuration Wizard.
6097 // <i> Comma-separated list of supported languages.
6098 #ifndef APP_USBD_STRINGS_LANGIDS
6099 #define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
6100 #endif
6101 
6102 // <e> APP_USBD_STRING_ID_MANUFACTURER - Define manufacturer string ID.
6103 
6104 // <i> Setting ID to 0 disables the string.
6105 //==========================================================
6106 #ifndef APP_USBD_STRING_ID_MANUFACTURER
6107 #define APP_USBD_STRING_ID_MANUFACTURER 1
6108 #endif
6109 // <q> APP_USBD_STRINGS_MANUFACTURER_EXTERN - Define whether @ref APP_USBD_STRINGS_MANUFACTURER is created by macro or declared as a global variable.
6110 
6111 #ifndef APP_USBD_STRINGS_MANUFACTURER_EXTERN
6112 #define APP_USBD_STRINGS_MANUFACTURER_EXTERN 0
6113 #endif
6114 
6115 // <s> APP_USBD_STRINGS_MANUFACTURER - String descriptor for the manufacturer name.
6116 
6117 // <i> Note: This value is not editable in Configuration Wizard.
6118 // <i> Comma-separated list of manufacturer names for each defined language.
6119 // <i> Use @ref APP_USBD_STRING_DESC macro to create string descriptor from a NULL-terminated string.
6120 // <i> Use @ref APP_USBD_STRING_RAW8_DESC macro to create string descriptor from comma-separated uint8_t values.
6121 // <i> Use @ref APP_USBD_STRING_RAW16_DESC macro to create string descriptor from comma-separated uint16_t values.
6122 // <i> Alternatively, configure the macro to point to any internal variable pointer that already contains the descriptor.
6123 // <i> Setting string to NULL disables that string.
6124 // <i> The order of manufacturer names must be the same like in @ref APP_USBD_STRINGS_LANGIDS.
6125 #ifndef APP_USBD_STRINGS_MANUFACTURER
6126 #define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
6127 #endif
6128 
6129 // </e>
6130 
6131 // <e> APP_USBD_STRING_ID_PRODUCT - Define product string ID.
6132 
6133 // <i> Setting ID to 0 disables the string.
6134 //==========================================================
6135 #ifndef APP_USBD_STRING_ID_PRODUCT
6136 #define APP_USBD_STRING_ID_PRODUCT 2
6137 #endif
6138 // <q> APP_USBD_STRINGS_PRODUCT_EXTERN - Define whether @ref APP_USBD_STRINGS_PRODUCT is created by macro or declared as a global variable.
6139 
6140 #ifndef APP_USBD_STRINGS_PRODUCT_EXTERN
6141 #define APP_USBD_STRINGS_PRODUCT_EXTERN 0
6142 #endif
6143 
6144 // <s> APP_USBD_STRINGS_PRODUCT - String descriptor for the product name.
6145 
6146 // <i> Note: This value is not editable in Configuration Wizard.
6147 // <i> List of product names that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
6148 #ifndef APP_USBD_STRINGS_PRODUCT
6149 #define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("nRF52 USB Product")
6150 #endif
6151 
6152 // </e>
6153 
6154 // <e> APP_USBD_STRING_ID_SERIAL - Define serial number string ID.
6155 
6156 // <i> Setting ID to 0 disables the string.
6157 //==========================================================
6158 #ifndef APP_USBD_STRING_ID_SERIAL
6159 #define APP_USBD_STRING_ID_SERIAL 3
6160 #endif
6161 // <q> APP_USBD_STRING_SERIAL_EXTERN - Define whether @ref APP_USBD_STRING_SERIAL is created by macro or declared as a global variable.
6162 
6163 #ifndef APP_USBD_STRING_SERIAL_EXTERN
6164 #define APP_USBD_STRING_SERIAL_EXTERN 0
6165 #endif
6166 
6167 // <s> APP_USBD_STRING_SERIAL - String descriptor for the serial number.
6168 
6169 // <i> Note: This value is not editable in Configuration Wizard.
6170 // <i> Serial number that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
6171 #ifndef APP_USBD_STRING_SERIAL
6172 #define APP_USBD_STRING_SERIAL APP_USBD_STRING_DESC("000000000000")
6173 #endif
6174 
6175 // </e>
6176 
6177 // <e> APP_USBD_STRING_ID_CONFIGURATION - Define configuration string ID.
6178 
6179 // <i> Setting ID to 0 disables the string.
6180 //==========================================================
6181 #ifndef APP_USBD_STRING_ID_CONFIGURATION
6182 #define APP_USBD_STRING_ID_CONFIGURATION 4
6183 #endif
6184 // <q> APP_USBD_STRING_CONFIGURATION_EXTERN - Define whether @ref APP_USBD_STRINGS_CONFIGURATION is created by macro or declared as global variable.
6185 
6186 #ifndef APP_USBD_STRING_CONFIGURATION_EXTERN
6187 #define APP_USBD_STRING_CONFIGURATION_EXTERN 0
6188 #endif
6189 
6190 // <s> APP_USBD_STRINGS_CONFIGURATION - String descriptor for the device configuration.
6191 
6192 // <i> Note: This value is not editable in Configuration Wizard.
6193 // <i> Configuration string that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
6194 #ifndef APP_USBD_STRINGS_CONFIGURATION
6195 #define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
6196 #endif
6197 
6198 // </e>
6199 
6200 // <s> APP_USBD_STRINGS_USER - Default values for user strings.
6201 
6202 // <i> Note: This value is not editable in Configuration Wizard.
6203 // <i> This value stores all application specific user strings with the default initialization.
6204 // <i> The setup is done by X-macros.
6205 // <i> Expected macro parameters:
6206 // <i> @code
6207 // <i> X(mnemonic, [=str_idx], ...)
6208 // <i> @endcode
6209 // <i> - @c mnemonic: Mnemonic of the string descriptor that would be added to
6210 // <i> @ref app_usbd_string_desc_idx_t enumerator.
6211 // <i> - @c str_idx : String index value, can be set or left empty.
6212 // <i> For example, WinUSB driver requires descriptor to be present on 0xEE index.
6213 // <i> Then use X(USBD_STRING_WINUSB, =0xEE, (APP_USBD_STRING_DESC(...)))
6214 // <i> - @c ... : List of string descriptors for each defined language.
6215 #ifndef APP_USBD_STRINGS_USER
6216 #define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
6217 #endif
6218 
6219 // </e>
6220 
6221 // <e> APP_USBD_HID_ENABLED - app_usbd_hid - USB HID class
6222 //==========================================================
6223 #ifndef APP_USBD_HID_ENABLED
6224 #define APP_USBD_HID_ENABLED 0
6225 #endif
6226 // <o> APP_USBD_HID_DEFAULT_IDLE_RATE - Default idle rate for HID class. <0-255>
6227 
6228 // <i> 0 means indefinite duration, any other value is multiplied by 4 milliseconds. Refer to Chapter 7.2.4 of HID 1.11 Specification.
6229 
6230 #ifndef APP_USBD_HID_DEFAULT_IDLE_RATE
6231 #define APP_USBD_HID_DEFAULT_IDLE_RATE 0
6232 #endif
6233 
6234 // <o> APP_USBD_HID_REPORT_IDLE_TABLE_SIZE - Size of idle rate table. <1-255>
6235 
6236 // <i> Must be higher than the highest report ID used.
6237 
6238 #ifndef APP_USBD_HID_REPORT_IDLE_TABLE_SIZE
6239 #define APP_USBD_HID_REPORT_IDLE_TABLE_SIZE 4
6240 #endif
6241 
6242 // </e>
6243 
6244 // <q> APP_USBD_HID_GENERIC_ENABLED - app_usbd_hid_generic - USB HID generic
6245 
6246 #ifndef APP_USBD_HID_GENERIC_ENABLED
6247 #define APP_USBD_HID_GENERIC_ENABLED 0
6248 #endif
6249 
6250 // <q> APP_USBD_HID_KBD_ENABLED - app_usbd_hid_kbd - USB HID keyboard
6251 
6252 #ifndef APP_USBD_HID_KBD_ENABLED
6253 #define APP_USBD_HID_KBD_ENABLED 0
6254 #endif
6255 
6256 // <q> APP_USBD_HID_MOUSE_ENABLED - app_usbd_hid_mouse - USB HID mouse
6257 
6258 #ifndef APP_USBD_HID_MOUSE_ENABLED
6259 #define APP_USBD_HID_MOUSE_ENABLED 0
6260 #endif
6261 
6262 // <q> APP_USBD_MSC_ENABLED - app_usbd_msc - USB MSC class
6263 
6264 #ifndef APP_USBD_MSC_ENABLED
6265 #define APP_USBD_MSC_ENABLED 0
6266 #endif
6267 
6268 // <q> CRC16_ENABLED - crc16 - CRC16 calculation routines
6269 
6270 #ifndef CRC16_ENABLED
6271 #define CRC16_ENABLED 1
6272 #endif
6273 
6274 // <q> CRC32_ENABLED - crc32 - CRC32 calculation routines
6275 
6276 #ifndef CRC32_ENABLED
6277 #define CRC32_ENABLED 0
6278 #endif
6279 
6280 // <q> ECC_ENABLED - ecc - Elliptic Curve Cryptography Library
6281 
6282 #ifndef ECC_ENABLED
6283 #define ECC_ENABLED 0
6284 #endif
6285 
6286 // <e> FDS_ENABLED - fds - Flash data storage module
6287 //==========================================================
6288 #ifndef FDS_ENABLED
6289 #define FDS_ENABLED 1
6290 #endif
6291 // <h> Pages - Virtual page settings
6292 
6293 // <i> Configure the number of virtual pages to use and their size.
6294 //==========================================================
6295 // <o> FDS_VIRTUAL_PAGES - Number of virtual flash pages to use.
6296 // <i> One of the virtual pages is reserved by the system for garbage collection.
6297 // <i> Therefore, the minimum is two virtual pages: one page to store data and one page to be used by the system for garbage collection.
6298 // <i> The total amount of flash memory that is used by FDS amounts to @ref FDS_VIRTUAL_PAGES * @ref FDS_VIRTUAL_PAGE_SIZE * 4 bytes.
6299 
6300 #ifndef FDS_VIRTUAL_PAGES
6301 #define FDS_VIRTUAL_PAGES 3
6302 #endif
6303 
6304 // <o> FDS_VIRTUAL_PAGE_SIZE - The size of a virtual flash page.
6305 
6306 // <i> Expressed in number of 4-byte words.
6307 // <i> By default, a virtual page is the same size as a physical page.
6308 // <i> The size of a virtual page must be a multiple of the size of a physical page.
6309 // <1024=> 1024
6310 // <2048=> 2048
6311 
6312 #ifndef FDS_VIRTUAL_PAGE_SIZE
6313 #define FDS_VIRTUAL_PAGE_SIZE 1024
6314 #endif
6315 
6316 // <o> FDS_VIRTUAL_PAGES_RESERVED - The number of virtual flash pages that are used by other modules.
6317 // <i> FDS module stores its data in the last pages of the flash memory.
6318 // <i> By setting this value, you can move flash end address used by the FDS.
6319 // <i> As a result the reserved space can be used by other modules.
6320 
6321 #ifndef FDS_VIRTUAL_PAGES_RESERVED
6322 #define FDS_VIRTUAL_PAGES_RESERVED 0
6323 #endif
6324 
6325 // </h>
6326 //==========================================================
6327 
6328 // <h> Backend - Backend configuration
6329 
6330 // <i> Configure which nrf_fstorage backend is used by FDS to write to flash.
6331 //==========================================================
6332 // <o> FDS_BACKEND - FDS flash backend.
6333 
6334 // <i> NRF_FSTORAGE_SD uses the nrf_fstorage_sd backend implementation using the SoftDevice API. Use this if you have a SoftDevice present.
6335 // <i> NRF_FSTORAGE_NVMC uses the nrf_fstorage_nvmc implementation. Use this setting if you don't use the SoftDevice.
6336 // <1=> NRF_FSTORAGE_NVMC
6337 // <2=> NRF_FSTORAGE_SD
6338 
6339 #ifndef FDS_BACKEND
6340 #define FDS_BACKEND 2
6341 #endif
6342 
6343 // </h>
6344 //==========================================================
6345 
6346 // <h> Queue - Queue settings
6347 
6348 //==========================================================
6349 // <o> FDS_OP_QUEUE_SIZE - Size of the internal queue.
6350 // <i> Increase this value if you frequently get synchronous FDS_ERR_NO_SPACE_IN_QUEUES errors.
6351 
6352 #ifndef FDS_OP_QUEUE_SIZE
6353 #define FDS_OP_QUEUE_SIZE 4
6354 #endif
6355 
6356 // </h>
6357 //==========================================================
6358 
6359 // <h> CRC - CRC functionality
6360 
6361 //==========================================================
6362 // <e> FDS_CRC_CHECK_ON_READ - Enable CRC checks.
6363 
6364 // <i> Save a record's CRC when it is written to flash and check it when the record is opened.
6365 // <i> Records with an incorrect CRC can still be 'seen' by the user using FDS functions, but they cannot be opened.
6366 // <i> Additionally, they will not be garbage collected until they are deleted.
6367 //==========================================================
6368 #ifndef FDS_CRC_CHECK_ON_READ
6369 #define FDS_CRC_CHECK_ON_READ 0
6370 #endif
6371 // <o> FDS_CRC_CHECK_ON_WRITE - Perform a CRC check on newly written records.
6372 
6373 // <i> Perform a CRC check on newly written records.
6374 // <i> This setting can be used to make sure that the record data was not altered while being written to flash.
6375 // <1=> Enabled
6376 // <0=> Disabled
6377 
6378 #ifndef FDS_CRC_CHECK_ON_WRITE
6379 #define FDS_CRC_CHECK_ON_WRITE 0
6380 #endif
6381 
6382 // </e>
6383 
6384 // </h>
6385 //==========================================================
6386 
6387 // <h> Users - Number of users
6388 
6389 //==========================================================
6390 // <o> FDS_MAX_USERS - Maximum number of callbacks that can be registered.
6391 #ifndef FDS_MAX_USERS
6392 #define FDS_MAX_USERS 4
6393 #endif
6394 
6395 // </h>
6396 //==========================================================
6397 
6398 // </e>
6399 
6400 // <q> HARDFAULT_HANDLER_ENABLED - hardfault_default - HardFault default handler for debugging and release
6401 
6402 #ifndef HARDFAULT_HANDLER_ENABLED
6403 #define HARDFAULT_HANDLER_ENABLED 0
6404 #endif
6405 
6406 // <e> HCI_MEM_POOL_ENABLED - hci_mem_pool - memory pool implementation used by HCI
6407 //==========================================================
6408 #ifndef HCI_MEM_POOL_ENABLED
6409 #define HCI_MEM_POOL_ENABLED 0
6410 #endif
6411 // <o> HCI_TX_BUF_SIZE - TX buffer size in bytes.
6412 #ifndef HCI_TX_BUF_SIZE
6413 #define HCI_TX_BUF_SIZE 600
6414 #endif
6415 
6416 // <o> HCI_RX_BUF_SIZE - RX buffer size in bytes.
6417 #ifndef HCI_RX_BUF_SIZE
6418 #define HCI_RX_BUF_SIZE 600
6419 #endif
6420 
6421 // <o> HCI_RX_BUF_QUEUE_SIZE - RX buffer queue size.
6422 #ifndef HCI_RX_BUF_QUEUE_SIZE
6423 #define HCI_RX_BUF_QUEUE_SIZE 4
6424 #endif
6425 
6426 // </e>
6427 
6428 // <e> HCI_SLIP_ENABLED - hci_slip - SLIP protocol implementation used by HCI
6429 //==========================================================
6430 #ifndef HCI_SLIP_ENABLED
6431 #define HCI_SLIP_ENABLED 0
6432 #endif
6433 // <o> HCI_UART_BAUDRATE - Default Baudrate
6434 
6435 // <323584=> 1200 baud
6436 // <643072=> 2400 baud
6437 // <1290240=> 4800 baud
6438 // <2576384=> 9600 baud
6439 // <3862528=> 14400 baud
6440 // <5152768=> 19200 baud
6441 // <7716864=> 28800 baud
6442 // <10289152=> 38400 baud
6443 // <15400960=> 57600 baud
6444 // <20615168=> 76800 baud
6445 // <30801920=> 115200 baud
6446 // <61865984=> 230400 baud
6447 // <67108864=> 250000 baud
6448 // <121634816=> 460800 baud
6449 // <251658240=> 921600 baud
6450 // <268435456=> 1000000 baud
6451 
6452 #ifndef HCI_UART_BAUDRATE
6453 #define HCI_UART_BAUDRATE 30801920
6454 #endif
6455 
6456 // <o> HCI_UART_FLOW_CONTROL - Hardware Flow Control
6457 
6458 // <0=> Disabled
6459 // <1=> Enabled
6460 
6461 #ifndef HCI_UART_FLOW_CONTROL
6462 #define HCI_UART_FLOW_CONTROL 0
6463 #endif
6464 
6465 // <o> HCI_UART_RX_PIN - UART RX pin
6466 #ifndef HCI_UART_RX_PIN
6467 #define HCI_UART_RX_PIN 8
6468 #endif
6469 
6470 // <o> HCI_UART_TX_PIN - UART TX pin
6471 #ifndef HCI_UART_TX_PIN
6472 #define HCI_UART_TX_PIN 6
6473 #endif
6474 
6475 // <o> HCI_UART_RTS_PIN - UART RTS pin
6476 #ifndef HCI_UART_RTS_PIN
6477 #define HCI_UART_RTS_PIN 5
6478 #endif
6479 
6480 // <o> HCI_UART_CTS_PIN - UART CTS pin
6481 #ifndef HCI_UART_CTS_PIN
6482 #define HCI_UART_CTS_PIN 7
6483 #endif
6484 
6485 // </e>
6486 
6487 // <e> HCI_TRANSPORT_ENABLED - hci_transport - HCI transport
6488 //==========================================================
6489 #ifndef HCI_TRANSPORT_ENABLED
6490 #define HCI_TRANSPORT_ENABLED 0
6491 #endif
6492 // <o> HCI_MAX_PACKET_SIZE_IN_BITS - Maximum size of a single application packet in bits.
6493 #ifndef HCI_MAX_PACKET_SIZE_IN_BITS
6494 #define HCI_MAX_PACKET_SIZE_IN_BITS 8000
6495 #endif
6496 
6497 // </e>
6498 
6499 // <q> LED_SOFTBLINK_ENABLED - led_softblink - led_softblink module
6500 
6501 #ifndef LED_SOFTBLINK_ENABLED
6502 #define LED_SOFTBLINK_ENABLED 0
6503 #endif
6504 
6505 // <q> LOW_POWER_PWM_ENABLED - low_power_pwm - low_power_pwm module
6506 
6507 #ifndef LOW_POWER_PWM_ENABLED
6508 #define LOW_POWER_PWM_ENABLED 0
6509 #endif
6510 
6511 // <e> MEM_MANAGER_ENABLED - mem_manager - Dynamic memory allocator
6512 //==========================================================
6513 #ifndef MEM_MANAGER_ENABLED
6514 #define MEM_MANAGER_ENABLED 0
6515 #endif
6516 // <o> MEMORY_MANAGER_SMALL_BLOCK_COUNT - Size of each memory blocks identified as 'small' block. <0-255>
6517 
6518 #ifndef MEMORY_MANAGER_SMALL_BLOCK_COUNT
6519 #define MEMORY_MANAGER_SMALL_BLOCK_COUNT 1
6520 #endif
6521 
6522 // <o> MEMORY_MANAGER_SMALL_BLOCK_SIZE - Size of each memory blocks identified as 'small' block.
6523 // <i> Size of each memory blocks identified as 'small' block. Memory block are recommended to be word-sized.
6524 
6525 #ifndef MEMORY_MANAGER_SMALL_BLOCK_SIZE
6526 #define MEMORY_MANAGER_SMALL_BLOCK_SIZE 32
6527 #endif
6528 
6529 // <o> MEMORY_MANAGER_MEDIUM_BLOCK_COUNT - Size of each memory blocks identified as 'medium' block. <0-255>
6530 
6531 #ifndef MEMORY_MANAGER_MEDIUM_BLOCK_COUNT
6532 #define MEMORY_MANAGER_MEDIUM_BLOCK_COUNT 0
6533 #endif
6534 
6535 // <o> MEMORY_MANAGER_MEDIUM_BLOCK_SIZE - Size of each memory blocks identified as 'medium' block.
6536 // <i> Size of each memory blocks identified as 'medium' block. Memory block are recommended to be word-sized.
6537 
6538 #ifndef MEMORY_MANAGER_MEDIUM_BLOCK_SIZE
6539 #define MEMORY_MANAGER_MEDIUM_BLOCK_SIZE 256
6540 #endif
6541 
6542 // <o> MEMORY_MANAGER_LARGE_BLOCK_COUNT - Size of each memory blocks identified as 'large' block. <0-255>
6543 
6544 #ifndef MEMORY_MANAGER_LARGE_BLOCK_COUNT
6545 #define MEMORY_MANAGER_LARGE_BLOCK_COUNT 0
6546 #endif
6547 
6548 // <o> MEMORY_MANAGER_LARGE_BLOCK_SIZE - Size of each memory blocks identified as 'large' block.
6549 // <i> Size of each memory blocks identified as 'large' block. Memory block are recommended to be word-sized.
6550 
6551 #ifndef MEMORY_MANAGER_LARGE_BLOCK_SIZE
6552 #define MEMORY_MANAGER_LARGE_BLOCK_SIZE 256
6553 #endif
6554 
6555 // <o> MEMORY_MANAGER_XLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra large' block. <0-255>
6556 
6557 #ifndef MEMORY_MANAGER_XLARGE_BLOCK_COUNT
6558 #define MEMORY_MANAGER_XLARGE_BLOCK_COUNT 0
6559 #endif
6560 
6561 // <o> MEMORY_MANAGER_XLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra large' block.
6562 // <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
6563 
6564 #ifndef MEMORY_MANAGER_XLARGE_BLOCK_SIZE
6565 #define MEMORY_MANAGER_XLARGE_BLOCK_SIZE 1320
6566 #endif
6567 
6568 // <o> MEMORY_MANAGER_XXLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra large' block. <0-255>
6569 
6570 #ifndef MEMORY_MANAGER_XXLARGE_BLOCK_COUNT
6571 #define MEMORY_MANAGER_XXLARGE_BLOCK_COUNT 0
6572 #endif
6573 
6574 // <o> MEMORY_MANAGER_XXLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra large' block.
6575 // <i> Size of each memory blocks identified as 'extra extra large' block. Memory block are recommended to be word-sized.
6576 
6577 #ifndef MEMORY_MANAGER_XXLARGE_BLOCK_SIZE
6578 #define MEMORY_MANAGER_XXLARGE_BLOCK_SIZE 3444
6579 #endif
6580 
6581 // <o> MEMORY_MANAGER_XSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra small' block. <0-255>
6582 
6583 #ifndef MEMORY_MANAGER_XSMALL_BLOCK_COUNT
6584 #define MEMORY_MANAGER_XSMALL_BLOCK_COUNT 0
6585 #endif
6586 
6587 // <o> MEMORY_MANAGER_XSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra small' block.
6588 // <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
6589 
6590 #ifndef MEMORY_MANAGER_XSMALL_BLOCK_SIZE
6591 #define MEMORY_MANAGER_XSMALL_BLOCK_SIZE 64
6592 #endif
6593 
6594 // <o> MEMORY_MANAGER_XXSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra small' block. <0-255>
6595 
6596 #ifndef MEMORY_MANAGER_XXSMALL_BLOCK_COUNT
6597 #define MEMORY_MANAGER_XXSMALL_BLOCK_COUNT 0
6598 #endif
6599 
6600 // <o> MEMORY_MANAGER_XXSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra small' block.
6601 // <i> Size of each memory blocks identified as 'extra extra small' block. Memory block are recommended to be word-sized.
6602 
6603 #ifndef MEMORY_MANAGER_XXSMALL_BLOCK_SIZE
6604 #define MEMORY_MANAGER_XXSMALL_BLOCK_SIZE 32
6605 #endif
6606 
6607 // <e> MEM_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
6608 //==========================================================
6609 #ifndef MEM_MANAGER_CONFIG_LOG_ENABLED
6610 #define MEM_MANAGER_CONFIG_LOG_ENABLED 0
6611 #endif
6612 // <o> MEM_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
6613 
6614 // <0=> Off
6615 // <1=> Error
6616 // <2=> Warning
6617 // <3=> Info
6618 // <4=> Debug
6619 
6620 #ifndef MEM_MANAGER_CONFIG_LOG_LEVEL
6621 #define MEM_MANAGER_CONFIG_LOG_LEVEL 3
6622 #endif
6623 
6624 // <o> MEM_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
6625 
6626 // <0=> Default
6627 // <1=> Black
6628 // <2=> Red
6629 // <3=> Green
6630 // <4=> Yellow
6631 // <5=> Blue
6632 // <6=> Magenta
6633 // <7=> Cyan
6634 // <8=> White
6635 
6636 #ifndef MEM_MANAGER_CONFIG_INFO_COLOR
6637 #define MEM_MANAGER_CONFIG_INFO_COLOR 0
6638 #endif
6639 
6640 // <o> MEM_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
6641 
6642 // <0=> Default
6643 // <1=> Black
6644 // <2=> Red
6645 // <3=> Green
6646 // <4=> Yellow
6647 // <5=> Blue
6648 // <6=> Magenta
6649 // <7=> Cyan
6650 // <8=> White
6651 
6652 #ifndef MEM_MANAGER_CONFIG_DEBUG_COLOR
6653 #define MEM_MANAGER_CONFIG_DEBUG_COLOR 0
6654 #endif
6655 
6656 // </e>
6657 
6658 // <q> MEM_MANAGER_DISABLE_API_PARAM_CHECK - Disable API parameter checks in the module.
6659 
6660 #ifndef MEM_MANAGER_DISABLE_API_PARAM_CHECK
6661 #define MEM_MANAGER_DISABLE_API_PARAM_CHECK 0
6662 #endif
6663 
6664 // </e>
6665 
6666 // <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module
6667 //==========================================================
6668 #ifndef NRF_BALLOC_ENABLED
6669 #define NRF_BALLOC_ENABLED 1
6670 #endif
6671 // <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module.
6672 //==========================================================
6673 #ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED
6674 #define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0
6675 #endif
6676 // <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255>
6677 
6678 #ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS
6679 #define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1
6680 #endif
6681 
6682 // <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255>
6683 
6684 #ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS
6685 #define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1
6686 #endif
6687 
6688 // <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module.
6689 
6690 #ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED
6691 #define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0
6692 #endif
6693 
6694 // <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module.
6695 
6696 #ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED
6697 #define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0
6698 #endif
6699 
6700 // <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module.
6701 
6702 #ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED
6703 #define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0
6704 #endif
6705 
6706 // <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module
6707 
6708 #ifndef NRF_BALLOC_CLI_CMDS
6709 #define NRF_BALLOC_CLI_CMDS 0
6710 #endif
6711 
6712 // </e>
6713 
6714 // </e>
6715 
6716 // <e> NRF_CSENSE_ENABLED - nrf_csense - Capacitive sensor module
6717 //==========================================================
6718 #ifndef NRF_CSENSE_ENABLED
6719 #define NRF_CSENSE_ENABLED 0
6720 #endif
6721 // <o> NRF_CSENSE_PAD_HYSTERESIS - Minimum value of change required to determine that a pad was touched.
6722 #ifndef NRF_CSENSE_PAD_HYSTERESIS
6723 #define NRF_CSENSE_PAD_HYSTERESIS 15
6724 #endif
6725 
6726 // <o> NRF_CSENSE_PAD_DEVIATION - Minimum value measured on a pad required to take it into account while calculating the step.
6727 #ifndef NRF_CSENSE_PAD_DEVIATION
6728 #define NRF_CSENSE_PAD_DEVIATION 70
6729 #endif
6730 
6731 // <o> NRF_CSENSE_MIN_PAD_VALUE - Minimum normalized value on a pad required to take its value into account.
6732 #ifndef NRF_CSENSE_MIN_PAD_VALUE
6733 #define NRF_CSENSE_MIN_PAD_VALUE 20
6734 #endif
6735 
6736 // <o> NRF_CSENSE_MAX_PADS_NUMBER - Maximum number of pads used for one instance.
6737 #ifndef NRF_CSENSE_MAX_PADS_NUMBER
6738 #define NRF_CSENSE_MAX_PADS_NUMBER 20
6739 #endif
6740 
6741 // <o> NRF_CSENSE_MAX_VALUE - Maximum normalized value obtained from measurement.
6742 #ifndef NRF_CSENSE_MAX_VALUE
6743 #define NRF_CSENSE_MAX_VALUE 1000
6744 #endif
6745 
6746 // <o> NRF_CSENSE_OUTPUT_PIN - Output pin used by the low-level module.
6747 // <i> This is used when capacitive sensor does not use COMP.
6748 
6749 #ifndef NRF_CSENSE_OUTPUT_PIN
6750 #define NRF_CSENSE_OUTPUT_PIN 26
6751 #endif
6752 
6753 // </e>
6754 
6755 // <e> NRF_DRV_CSENSE_ENABLED - nrf_drv_csense - Capacitive sensor low-level module
6756 //==========================================================
6757 #ifndef NRF_DRV_CSENSE_ENABLED
6758 #define NRF_DRV_CSENSE_ENABLED 0
6759 #endif
6760 // <e> USE_COMP - Use the comparator to implement the capacitive sensor driver.
6761 
6762 // <i> Due to Anomaly 84, COMP I_SOURCE is not functional. It has too high a varation.
6763 //==========================================================
6764 #ifndef USE_COMP
6765 #define USE_COMP 0
6766 #endif
6767 // <o> TIMER0_FOR_CSENSE - First TIMER instance used by the driver (not used on nRF51).
6768 #ifndef TIMER0_FOR_CSENSE
6769 #define TIMER0_FOR_CSENSE 1
6770 #endif
6771 
6772 // <o> TIMER1_FOR_CSENSE - Second TIMER instance used by the driver (not used on nRF51).
6773 #ifndef TIMER1_FOR_CSENSE
6774 #define TIMER1_FOR_CSENSE 2
6775 #endif
6776 
6777 // <o> MEASUREMENT_PERIOD - Single measurement period.
6778 // <i> Time of a single measurement can be calculated as
6779 // <i> T = (1/2)*MEASUREMENT_PERIOD*(1/f_OSC) where f_OSC = I_SOURCE / (2C*(VUP-VDOWN) ).
6780 // <i> I_SOURCE, VUP, and VDOWN are values used to initialize COMP and C is the capacitance of the used pad.
6781 
6782 #ifndef MEASUREMENT_PERIOD
6783 #define MEASUREMENT_PERIOD 20
6784 #endif
6785 
6786 // </e>
6787 
6788 // </e>
6789 
6790 // <e> NRF_FSTORAGE_ENABLED - nrf_fstorage - Flash abstraction library
6791 //==========================================================
6792 #ifndef NRF_FSTORAGE_ENABLED
6793 #define NRF_FSTORAGE_ENABLED 1
6794 #endif
6795 // <h> nrf_fstorage - Common settings
6796 
6797 // <i> Common settings to all fstorage implementations
6798 //==========================================================
6799 // <q> NRF_FSTORAGE_PARAM_CHECK_DISABLED - Disable user input validation
6800 
6801 // <i> If selected, use ASSERT to validate user input.
6802 // <i> This effectively removes user input validation in production code.
6803 // <i> Recommended setting: OFF, only enable this setting if size is a major concern.
6804 
6805 #ifndef NRF_FSTORAGE_PARAM_CHECK_DISABLED
6806 #define NRF_FSTORAGE_PARAM_CHECK_DISABLED 0
6807 #endif
6808 
6809 // </h>
6810 //==========================================================
6811 
6812 // <h> nrf_fstorage_sd - Implementation using the SoftDevice
6813 
6814 // <i> Configuration options for the fstorage implementation using the SoftDevice
6815 //==========================================================
6816 // <o> NRF_FSTORAGE_SD_QUEUE_SIZE - Size of the internal queue of operations
6817 // <i> Increase this value if API calls frequently return the error @ref NRF_ERROR_NO_MEM.
6818 
6819 #ifndef NRF_FSTORAGE_SD_QUEUE_SIZE
6820 #define NRF_FSTORAGE_SD_QUEUE_SIZE 4
6821 #endif
6822 
6823 // <o> NRF_FSTORAGE_SD_MAX_RETRIES - Maximum number of attempts at executing an operation when the SoftDevice is busy
6824 // <i> Increase this value if events frequently return the @ref NRF_ERROR_TIMEOUT error.
6825 // <i> The SoftDevice might fail to schedule flash access due to high BLE activity.
6826 
6827 #ifndef NRF_FSTORAGE_SD_MAX_RETRIES
6828 #define NRF_FSTORAGE_SD_MAX_RETRIES 8
6829 #endif
6830 
6831 // <o> NRF_FSTORAGE_SD_MAX_WRITE_SIZE - Maximum number of bytes to be written to flash in a single operation
6832 // <i> This value must be a multiple of four.
6833 // <i> Lowering this value can increase the chances of the SoftDevice being able to execute flash operations in between radio activity.
6834 // <i> This value is bound by the maximum number of bytes that can be written to flash in a single call to @ref sd_flash_write.
6835 // <i> That is 1024 bytes for nRF51 ICs and 4096 bytes for nRF52 ICs.
6836 
6837 #ifndef NRF_FSTORAGE_SD_MAX_WRITE_SIZE
6838 #define NRF_FSTORAGE_SD_MAX_WRITE_SIZE 4096
6839 #endif
6840 
6841 // </h>
6842 //==========================================================
6843 
6844 // </e>
6845 
6846 // <q> NRF_GFX_ENABLED - nrf_gfx - GFX module
6847 
6848 #ifndef NRF_GFX_ENABLED
6849 #define NRF_GFX_ENABLED 0
6850 #endif
6851 
6852 // <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
6853 
6854 #ifndef NRF_MEMOBJ_ENABLED
6855 #define NRF_MEMOBJ_ENABLED 1
6856 #endif
6857 
6858 // <e> NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module
6859 //==========================================================
6860 #ifndef NRF_PWR_MGMT_ENABLED
6861 #define NRF_PWR_MGMT_ENABLED 1
6862 #endif
6863 // <e> NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED - Enables pin debug in the module.
6864 
6865 // <i> Selected pin will be set when CPU is in sleep mode.
6866 //==========================================================
6867 #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED
6868 #define NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED 0
6869 #endif
6870 // <o> NRF_PWR_MGMT_SLEEP_DEBUG_PIN - Pin number
6871 
6872 // <0=> 0 (P0.0)
6873 // <1=> 1 (P0.1)
6874 // <2=> 2 (P0.2)
6875 // <3=> 3 (P0.3)
6876 // <4=> 4 (P0.4)
6877 // <5=> 5 (P0.5)
6878 // <6=> 6 (P0.6)
6879 // <7=> 7 (P0.7)
6880 // <8=> 8 (P0.8)
6881 // <9=> 9 (P0.9)
6882 // <10=> 10 (P0.10)
6883 // <11=> 11 (P0.11)
6884 // <12=> 12 (P0.12)
6885 // <13=> 13 (P0.13)
6886 // <14=> 14 (P0.14)
6887 // <15=> 15 (P0.15)
6888 // <16=> 16 (P0.16)
6889 // <17=> 17 (P0.17)
6890 // <18=> 18 (P0.18)
6891 // <19=> 19 (P0.19)
6892 // <20=> 20 (P0.20)
6893 // <21=> 21 (P0.21)
6894 // <22=> 22 (P0.22)
6895 // <23=> 23 (P0.23)
6896 // <24=> 24 (P0.24)
6897 // <25=> 25 (P0.25)
6898 // <26=> 26 (P0.26)
6899 // <27=> 27 (P0.27)
6900 // <28=> 28 (P0.28)
6901 // <29=> 29 (P0.29)
6902 // <30=> 30 (P0.30)
6903 // <31=> 31 (P0.31)
6904 // <4294967295=> Not connected
6905 
6906 #ifndef NRF_PWR_MGMT_SLEEP_DEBUG_PIN
6907 #define NRF_PWR_MGMT_SLEEP_DEBUG_PIN 31
6908 #endif
6909 
6910 // </e>
6911 
6912 // <q> NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED - Enables CPU usage monitor.
6913 
6914 // <i> Module will trace percentage of CPU usage in one second intervals.
6915 
6916 #ifndef NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED
6917 #define NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED 0
6918 #endif
6919 
6920 // <e> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED - Enable standby timeout.
6921 //==========================================================
6922 #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED
6923 #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED 0
6924 #endif
6925 // <o> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S - Standby timeout (in seconds).
6926 // <i> Shutdown procedure will begin no earlier than after this number of seconds.
6927 
6928 #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S
6929 #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 3
6930 #endif
6931 
6932 // </e>
6933 
6934 // <q> NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED - Enables FPU event cleaning.
6935 
6936 #ifndef NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED
6937 #define NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED 1
6938 #endif
6939 
6940 // <q> NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY - Blocked shutdown procedure will be retried every second.
6941 
6942 #ifndef NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY
6943 #define NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY 1
6944 #endif
6945 
6946 // <q> NRF_PWR_MGMT_CONFIG_USE_SCHEDULER - Module will use @ref app_scheduler.
6947 
6948 #ifndef NRF_PWR_MGMT_CONFIG_USE_SCHEDULER
6949 #define NRF_PWR_MGMT_CONFIG_USE_SCHEDULER 0
6950 #endif
6951 
6952 // <o> NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT - The number of priorities for module handlers.
6953 // <i> The number of stages of the shutdown process.
6954 
6955 #ifndef NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT
6956 #define NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT 3
6957 #endif
6958 
6959 // </e>
6960 
6961 // <e> NRF_QUEUE_ENABLED - nrf_queue - Queue module
6962 //==========================================================
6963 #ifndef NRF_QUEUE_ENABLED
6964 #define NRF_QUEUE_ENABLED 0
6965 #endif
6966 // <q> NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module
6967 
6968 #ifndef NRF_QUEUE_CLI_CMDS
6969 #define NRF_QUEUE_CLI_CMDS 0
6970 #endif
6971 
6972 // </e>
6973 
6974 // <q> NRF_SECTION_ITER_ENABLED - nrf_section_iter - Section iterator
6975 
6976 #ifndef NRF_SECTION_ITER_ENABLED
6977 #define NRF_SECTION_ITER_ENABLED 1
6978 #endif
6979 
6980 // <q> NRF_SORTLIST_ENABLED - nrf_sortlist - Sorted list
6981 
6982 #ifndef NRF_SORTLIST_ENABLED
6983 #define NRF_SORTLIST_ENABLED 1
6984 #endif
6985 
6986 // <q> NRF_SPI_MNGR_ENABLED - nrf_spi_mngr - SPI transaction manager
6987 
6988 #ifndef NRF_SPI_MNGR_ENABLED
6989 #define NRF_SPI_MNGR_ENABLED 0
6990 #endif
6991 
6992 // <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string.
6993 
6994 #ifndef NRF_STRERROR_ENABLED
6995 #define NRF_STRERROR_ENABLED 1
6996 #endif
6997 
6998 // <q> NRF_TWI_MNGR_ENABLED - nrf_twi_mngr - TWI transaction manager
6999 
7000 #ifndef NRF_TWI_MNGR_ENABLED
7001 #define NRF_TWI_MNGR_ENABLED 1
7002 #endif
7003 
7004 // <q> SLIP_ENABLED - slip - SLIP encoding and decoding
7005 
7006 #ifndef SLIP_ENABLED
7007 #define SLIP_ENABLED 0
7008 #endif
7009 
7010 // <e> TASK_MANAGER_ENABLED - task_manager - Task manager.
7011 //==========================================================
7012 #ifndef TASK_MANAGER_ENABLED
7013 #define TASK_MANAGER_ENABLED 0
7014 #endif
7015 // <q> TASK_MANAGER_CLI_CMDS - Enable CLI commands specific to the module
7016 
7017 #ifndef TASK_MANAGER_CLI_CMDS
7018 #define TASK_MANAGER_CLI_CMDS 0
7019 #endif
7020 
7021 // <o> TASK_MANAGER_CONFIG_MAX_TASKS - Maximum number of tasks which can be created
7022 #ifndef TASK_MANAGER_CONFIG_MAX_TASKS
7023 #define TASK_MANAGER_CONFIG_MAX_TASKS 2
7024 #endif
7025 
7026 // <o> TASK_MANAGER_CONFIG_STACK_SIZE - Stack size for every task (power of 2)
7027 #ifndef TASK_MANAGER_CONFIG_STACK_SIZE
7028 #define TASK_MANAGER_CONFIG_STACK_SIZE 1024
7029 #endif
7030 
7031 // <q> TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED - Enable stack profiling.
7032 
7033 #ifndef TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED
7034 #define TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED 1
7035 #endif
7036 
7037 // <o> TASK_MANAGER_CONFIG_STACK_GUARD - Configures stack guard.
7038 
7039 // <0=> Disabled
7040 // <4=> 32 bytes
7041 // <5=> 64 bytes
7042 // <6=> 128 bytes
7043 // <7=> 256 bytes
7044 // <8=> 512 bytes
7045 
7046 #ifndef TASK_MANAGER_CONFIG_STACK_GUARD
7047 #define TASK_MANAGER_CONFIG_STACK_GUARD 7
7048 #endif
7049 
7050 // </e>
7051 
7052 // <h> app_button - buttons handling module
7053 
7054 //==========================================================
7055 // <q> BUTTON_ENABLED - Enables Button module
7056 
7057 #ifndef BUTTON_ENABLED
7058 #define BUTTON_ENABLED 1
7059 #endif
7060 
7061 // <q> BUTTON_HIGH_ACCURACY_ENABLED - Enables GPIOTE high accuracy for buttons
7062 
7063 #ifndef BUTTON_HIGH_ACCURACY_ENABLED
7064 #define BUTTON_HIGH_ACCURACY_ENABLED 0
7065 #endif
7066 
7067 // </h>
7068 //==========================================================
7069 
7070 // <h> app_usbd_cdc_acm - USB CDC ACM class
7071 
7072 //==========================================================
7073 // <q> APP_USBD_CDC_ACM_ENABLED - Enabling USBD CDC ACM Class library
7074 
7075 #ifndef APP_USBD_CDC_ACM_ENABLED
7076 #define APP_USBD_CDC_ACM_ENABLED 0
7077 #endif
7078 
7079 // <q> APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE - Send ZLP on write with same size as endpoint
7080 
7081 // <i> If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint.
7082 // <i> This may limit throughput if a lot of binary data is sent, but in terminal mode operation it makes sure that the data is always displayed right after it is sent.
7083 
7084 #ifndef APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
7085 #define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
7086 #endif
7087 
7088 // </h>
7089 //==========================================================
7090 
7091 // <h> nrf_cli - Command line interface
7092 
7093 //==========================================================
7094 // <q> NRF_CLI_ENABLED - Enable/disable the CLI module.
7095 
7096 #ifndef NRF_CLI_ENABLED
7097 #define NRF_CLI_ENABLED 0
7098 #endif
7099 
7100 // <o> NRF_CLI_ARGC_MAX - Maximum number of parameters passed to the command handler.
7101 #ifndef NRF_CLI_ARGC_MAX
7102 #define NRF_CLI_ARGC_MAX 12
7103 #endif
7104 
7105 // <q> NRF_CLI_BUILD_IN_CMDS_ENABLED - CLI built-in commands.
7106 
7107 #ifndef NRF_CLI_BUILD_IN_CMDS_ENABLED
7108 #define NRF_CLI_BUILD_IN_CMDS_ENABLED 1
7109 #endif
7110 
7111 // <o> NRF_CLI_CMD_BUFF_SIZE - Maximum buffer size for a single command.
7112 #ifndef NRF_CLI_CMD_BUFF_SIZE
7113 #define NRF_CLI_CMD_BUFF_SIZE 128
7114 #endif
7115 
7116 // <q> NRF_CLI_ECHO_STATUS - CLI echo status. If set, echo is ON.
7117 
7118 #ifndef NRF_CLI_ECHO_STATUS
7119 #define NRF_CLI_ECHO_STATUS 1
7120 #endif
7121 
7122 // <q> NRF_CLI_WILDCARD_ENABLED - Enable wildcard functionality for CLI commands.
7123 
7124 #ifndef NRF_CLI_WILDCARD_ENABLED
7125 #define NRF_CLI_WILDCARD_ENABLED 0
7126 #endif
7127 
7128 // <q> NRF_CLI_METAKEYS_ENABLED - Enable additional control keys for CLI commands like ctrl+a, ctrl+e, ctrl+w, ctrl+u
7129 
7130 #ifndef NRF_CLI_METAKEYS_ENABLED
7131 #define NRF_CLI_METAKEYS_ENABLED 0
7132 #endif
7133 
7134 // <o> NRF_CLI_PRINTF_BUFF_SIZE - Maximum print buffer size.
7135 #ifndef NRF_CLI_PRINTF_BUFF_SIZE
7136 #define NRF_CLI_PRINTF_BUFF_SIZE 23
7137 #endif
7138 
7139 // <e> NRF_CLI_HISTORY_ENABLED - Enable CLI history mode.
7140 //==========================================================
7141 #ifndef NRF_CLI_HISTORY_ENABLED
7142 #define NRF_CLI_HISTORY_ENABLED 1
7143 #endif
7144 // <o> NRF_CLI_HISTORY_ELEMENT_SIZE - Size of one memory object reserved for CLI history.
7145 #ifndef NRF_CLI_HISTORY_ELEMENT_SIZE
7146 #define NRF_CLI_HISTORY_ELEMENT_SIZE 32
7147 #endif
7148 
7149 // <o> NRF_CLI_HISTORY_ELEMENT_COUNT - Number of history memory objects.
7150 #ifndef NRF_CLI_HISTORY_ELEMENT_COUNT
7151 #define NRF_CLI_HISTORY_ELEMENT_COUNT 8
7152 #endif
7153 
7154 // </e>
7155 
7156 // <q> NRF_CLI_VT100_COLORS_ENABLED - CLI VT100 colors.
7157 
7158 #ifndef NRF_CLI_VT100_COLORS_ENABLED
7159 #define NRF_CLI_VT100_COLORS_ENABLED 1
7160 #endif
7161 
7162 // <q> NRF_CLI_STATISTICS_ENABLED - Enable CLI statistics.
7163 
7164 #ifndef NRF_CLI_STATISTICS_ENABLED
7165 #define NRF_CLI_STATISTICS_ENABLED 1
7166 #endif
7167 
7168 // <q> NRF_CLI_LOG_BACKEND - Enable logger backend interface.
7169 
7170 #ifndef NRF_CLI_LOG_BACKEND
7171 #define NRF_CLI_LOG_BACKEND 1
7172 #endif
7173 
7174 // <q> NRF_CLI_USES_TASK_MANAGER_ENABLED - Enable CLI to use task_manager
7175 
7176 #ifndef NRF_CLI_USES_TASK_MANAGER_ENABLED
7177 #define NRF_CLI_USES_TASK_MANAGER_ENABLED 0
7178 #endif
7179 
7180 // </h>
7181 //==========================================================
7182 
7183 // <h> nrf_fprintf - fprintf function.
7184 
7185 //==========================================================
7186 // <q> NRF_FPRINTF_ENABLED - Enable/disable fprintf module.
7187 
7188 #ifndef NRF_FPRINTF_ENABLED
7189 #define NRF_FPRINTF_ENABLED 1
7190 #endif
7191 
7192 // <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.
7193 
7194 #ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED
7195 #define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 1
7196 #endif
7197 
7198 // <q> NRF_FPRINTF_DOUBLE_ENABLED - Enable IEEE-754 double precision formatting.
7199 
7200 #ifndef NRF_FPRINTF_DOUBLE_ENABLED
7201 #define NRF_FPRINTF_DOUBLE_ENABLED 0
7202 #endif
7203 
7204 // </h>
7205 //==========================================================
7206 
7207 // </h>
7208 //==========================================================
7209 
7210 // <h> nRF_Log
7211 
7212 //==========================================================
7213 // <e> NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
7214 //==========================================================
7215 #ifndef NRF_LOG_BACKEND_RTT_ENABLED
7216 #define NRF_LOG_BACKEND_RTT_ENABLED 1
7217 #endif
7218 // <o> NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings.
7219 // <i> Size of the buffer is a trade-off between RAM usage and processing.
7220 // <i> if buffer is smaller then strings will often be fragmented.
7221 // <i> It is recommended to use size which will fit typical log and only the
7222 // <i> longer one will be fragmented.
7223 
7224 #ifndef NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE
7225 #define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 64
7226 #endif
7227 
7228 // <o> NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS - Period before retrying writing to RTT
7229 #ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS
7230 #define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS 1
7231 #endif
7232 
7233 // <o> NRF_LOG_BACKEND_RTT_TX_RETRY_CNT - Writing to RTT retries.
7234 // <i> If RTT fails to accept any new data after retries
7235 // <i> module assumes that host is not active and on next
7236 // <i> request it will perform only one write attempt.
7237 // <i> On successful writing, module assumes that host is active
7238 // <i> and scheme with retry is applied again.
7239 
7240 #ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_CNT
7241 #define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT 3
7242 #endif
7243 
7244 // </e>
7245 
7246 // <e> NRF_LOG_BACKEND_UART_ENABLED - nrf_log_backend_uart - Log UART backend
7247 //==========================================================
7248 #ifndef NRF_LOG_BACKEND_UART_ENABLED
7249 #define NRF_LOG_BACKEND_UART_ENABLED 0
7250 #endif
7251 // <o> NRF_LOG_BACKEND_UART_TX_PIN - UART TX pin
7252 #ifndef NRF_LOG_BACKEND_UART_TX_PIN
7253 #define NRF_LOG_BACKEND_UART_TX_PIN 6
7254 #endif
7255 
7256 // <o> NRF_LOG_BACKEND_UART_BAUDRATE - Default Baudrate
7257 
7258 // <323584=> 1200 baud
7259 // <643072=> 2400 baud
7260 // <1290240=> 4800 baud
7261 // <2576384=> 9600 baud
7262 // <3862528=> 14400 baud
7263 // <5152768=> 19200 baud
7264 // <7716864=> 28800 baud
7265 // <10289152=> 38400 baud
7266 // <15400960=> 57600 baud
7267 // <20615168=> 76800 baud
7268 // <30801920=> 115200 baud
7269 // <61865984=> 230400 baud
7270 // <67108864=> 250000 baud
7271 // <121634816=> 460800 baud
7272 // <251658240=> 921600 baud
7273 // <268435456=> 1000000 baud
7274 
7275 #ifndef NRF_LOG_BACKEND_UART_BAUDRATE
7276 #define NRF_LOG_BACKEND_UART_BAUDRATE 30801920
7277 #endif
7278 
7279 // <o> NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings.
7280 // <i> Size of the buffer is a trade-off between RAM usage and processing.
7281 // <i> if buffer is smaller then strings will often be fragmented.
7282 // <i> It is recommended to use size which will fit typical log and only the
7283 // <i> longer one will be fragmented.
7284 
7285 #ifndef NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE
7286 #define NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE 64
7287 #endif
7288 
7289 // </e>
7290 
7291 // <e> NRF_LOG_ENABLED - nrf_log - Logger
7292 //==========================================================
7293 #ifndef NRF_LOG_ENABLED
7294 #define NRF_LOG_ENABLED 1
7295 #endif
7296 // <h> Log message pool - Configuration of log message pool
7297 
7298 //==========================================================
7299 // <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
7300 // <i> If a small value is set, then performance of logs processing
7301 // <i> is degraded because data is fragmented. Bigger value impacts
7302 // <i> RAM memory utilization. The size is set to fit a message with
7303 // <i> a timestamp and up to 2 arguments in a single memory object.
7304 
7305 #ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
7306 #define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
7307 #endif
7308 
7309 // <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
7310 // <i> If a small value is set, then it may lead to a deadlock
7311 // <i> in certain cases if backend has high latency and holds
7312 // <i> multiple messages for long time. Bigger value impacts
7313 // <i> RAM memory usage.
7314 
7315 #ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
7316 #define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
7317 #endif
7318 
7319 // </h>
7320 //==========================================================
7321 
7322 // <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full.
7323 
7324 // <i> If set then oldest logs are overwritten. Otherwise a
7325 // <i> marker is injected informing about overflow.
7326 
7327 #ifndef NRF_LOG_ALLOW_OVERFLOW
7328 #define NRF_LOG_ALLOW_OVERFLOW 1
7329 #endif
7330 
7331 // <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes).
7332 
7333 // <i> Must be power of 2 and multiple of 4.
7334 // <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
7335 // <128=> 128
7336 // <256=> 256
7337 // <512=> 512
7338 // <1024=> 1024
7339 // <2048=> 2048
7340 // <4096=> 4096
7341 // <8192=> 8192
7342 // <16384=> 16384
7343 
7344 #ifndef NRF_LOG_BUFSIZE
7345 #define NRF_LOG_BUFSIZE 1024
7346 #endif
7347 
7348 // <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module.
7349 
7350 #ifndef NRF_LOG_CLI_CMDS
7351 #define NRF_LOG_CLI_CMDS 1
7352 #endif
7353 
7354 // <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level
7355 
7356 // <0=> Off
7357 // <1=> Error
7358 // <2=> Warning
7359 // <3=> Info
7360 // <4=> Debug
7361 
7362 #ifndef NRF_LOG_DEFAULT_LEVEL
7363 #define NRF_LOG_DEFAULT_LEVEL 4
7364 #endif
7365 
7366 // <q> NRF_LOG_DEFERRED - Enable deffered logger.
7367 
7368 // <i> Log data is buffered and can be processed in idle.
7369 
7370 #ifndef NRF_LOG_DEFERRED
7371 #define NRF_LOG_DEFERRED 0
7372 #endif
7373 
7374 // <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs.
7375 
7376 #ifndef NRF_LOG_FILTERS_ENABLED
7377 #define NRF_LOG_FILTERS_ENABLED 0
7378 #endif
7379 
7380 // <q> NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED - Enable use of critical region for non deffered mode when flushing logs.
7381 
7382 // <i> When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used.
7383 // <i> Log output will never be corrupted as access to the log backend is exclusive
7384 // <i> but system will spend significant amount of time in critical section
7385 
7386 #ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED
7387 #define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0
7388 #endif
7389 
7390 // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
7391 
7392 // <16=> 16
7393 // <32=> 32
7394 // <64=> 64
7395 // <128=> 128
7396 // <256=> 256
7397 // <512=> 512
7398 // <1024=> 1024
7399 
7400 #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
7401 #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
7402 #endif
7403 
7404 // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
7405 
7406 // <16=> 16
7407 // <32=> 32
7408 // <64=> 64
7409 // <128=> 128
7410 // <256=> 256
7411 // <512=> 512
7412 // <1024=> 1024
7413 
7414 #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
7415 #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
7416 #endif
7417 
7418 // <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
7419 //==========================================================
7420 #ifndef NRF_LOG_USES_COLORS
7421 #define NRF_LOG_USES_COLORS 1
7422 #endif
7423 // <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix.
7424 
7425 // <0=> Default
7426 // <1=> Black
7427 // <2=> Red
7428 // <3=> Green
7429 // <4=> Yellow
7430 // <5=> Blue
7431 // <6=> Magenta
7432 // <7=> Cyan
7433 // <8=> White
7434 
7435 #ifndef NRF_LOG_COLOR_DEFAULT
7436 #define NRF_LOG_COLOR_DEFAULT 0
7437 #endif
7438 
7439 // <o> NRF_LOG_ERROR_COLOR - ANSI escape code prefix.
7440 
7441 // <0=> Default
7442 // <1=> Black
7443 // <2=> Red
7444 // <3=> Green
7445 // <4=> Yellow
7446 // <5=> Blue
7447 // <6=> Magenta
7448 // <7=> Cyan
7449 // <8=> White
7450 
7451 #ifndef NRF_LOG_ERROR_COLOR
7452 #define NRF_LOG_ERROR_COLOR 2
7453 #endif
7454 
7455 // <o> NRF_LOG_WARNING_COLOR - ANSI escape code prefix.
7456 
7457 // <0=> Default
7458 // <1=> Black
7459 // <2=> Red
7460 // <3=> Green
7461 // <4=> Yellow
7462 // <5=> Blue
7463 // <6=> Magenta
7464 // <7=> Cyan
7465 // <8=> White
7466 
7467 #ifndef NRF_LOG_WARNING_COLOR
7468 #define NRF_LOG_WARNING_COLOR 4
7469 #endif
7470 
7471 // </e>
7472 
7473 // <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping
7474 
7475 // <i> Function for getting the timestamp is provided by the user
7476 //==========================================================
7477 #ifndef NRF_LOG_USES_TIMESTAMP
7478 #define NRF_LOG_USES_TIMESTAMP 0
7479 #endif
7480 // <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency.
7481 #ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
7482 #define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
7483 #endif
7484 
7485 // </e>
7486 
7487 // <h> nrf_log module configuration
7488 
7489 //==========================================================
7490 // <h> nrf_log in nRF_Core
7491 
7492 //==========================================================
7493 // <e> NRF_MPU_LIB_CONFIG_LOG_ENABLED - Enables logging in the module.
7494 //==========================================================
7495 #ifndef NRF_MPU_LIB_CONFIG_LOG_ENABLED
7496 #define NRF_MPU_LIB_CONFIG_LOG_ENABLED 1
7497 #endif
7498 // <o> NRF_MPU_LIB_CONFIG_LOG_LEVEL - Default Severity level
7499 
7500 // <0=> Off
7501 // <1=> Error
7502 // <2=> Warning
7503 // <3=> Info
7504 // <4=> Debug
7505 
7506 #ifndef NRF_MPU_LIB_CONFIG_LOG_LEVEL
7507 #define NRF_MPU_LIB_CONFIG_LOG_LEVEL 3
7508 #endif
7509 
7510 // <o> NRF_MPU_LIB_CONFIG_INFO_COLOR - ANSI escape code prefix.
7511 
7512 // <0=> Default
7513 // <1=> Black
7514 // <2=> Red
7515 // <3=> Green
7516 // <4=> Yellow
7517 // <5=> Blue
7518 // <6=> Magenta
7519 // <7=> Cyan
7520 // <8=> White
7521 
7522 #ifndef NRF_MPU_LIB_CONFIG_INFO_COLOR
7523 #define NRF_MPU_LIB_CONFIG_INFO_COLOR 0
7524 #endif
7525 
7526 // <o> NRF_MPU_LIB_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7527 
7528 // <0=> Default
7529 // <1=> Black
7530 // <2=> Red
7531 // <3=> Green
7532 // <4=> Yellow
7533 // <5=> Blue
7534 // <6=> Magenta
7535 // <7=> Cyan
7536 // <8=> White
7537 
7538 #ifndef NRF_MPU_LIB_CONFIG_DEBUG_COLOR
7539 #define NRF_MPU_LIB_CONFIG_DEBUG_COLOR 0
7540 #endif
7541 
7542 // </e>
7543 
7544 // <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module.
7545 //==========================================================
7546 #ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED
7547 #define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0
7548 #endif
7549 // <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level
7550 
7551 // <0=> Off
7552 // <1=> Error
7553 // <2=> Warning
7554 // <3=> Info
7555 // <4=> Debug
7556 
7557 #ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL
7558 #define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3
7559 #endif
7560 
7561 // <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix.
7562 
7563 // <0=> Default
7564 // <1=> Black
7565 // <2=> Red
7566 // <3=> Green
7567 // <4=> Yellow
7568 // <5=> Blue
7569 // <6=> Magenta
7570 // <7=> Cyan
7571 // <8=> White
7572 
7573 #ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR
7574 #define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0
7575 #endif
7576 
7577 // <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7578 
7579 // <0=> Default
7580 // <1=> Black
7581 // <2=> Red
7582 // <3=> Green
7583 // <4=> Yellow
7584 // <5=> Blue
7585 // <6=> Magenta
7586 // <7=> Cyan
7587 // <8=> White
7588 
7589 #ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR
7590 #define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0
7591 #endif
7592 
7593 // </e>
7594 
7595 // <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
7596 //==========================================================
7597 #ifndef TASK_MANAGER_CONFIG_LOG_ENABLED
7598 #define TASK_MANAGER_CONFIG_LOG_ENABLED 0
7599 #endif
7600 // <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
7601 
7602 // <0=> Off
7603 // <1=> Error
7604 // <2=> Warning
7605 // <3=> Info
7606 // <4=> Debug
7607 
7608 #ifndef TASK_MANAGER_CONFIG_LOG_LEVEL
7609 #define TASK_MANAGER_CONFIG_LOG_LEVEL 3
7610 #endif
7611 
7612 // <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
7613 
7614 // <0=> Default
7615 // <1=> Black
7616 // <2=> Red
7617 // <3=> Green
7618 // <4=> Yellow
7619 // <5=> Blue
7620 // <6=> Magenta
7621 // <7=> Cyan
7622 // <8=> White
7623 
7624 #ifndef TASK_MANAGER_CONFIG_INFO_COLOR
7625 #define TASK_MANAGER_CONFIG_INFO_COLOR 0
7626 #endif
7627 
7628 // <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7629 
7630 // <0=> Default
7631 // <1=> Black
7632 // <2=> Red
7633 // <3=> Green
7634 // <4=> Yellow
7635 // <5=> Blue
7636 // <6=> Magenta
7637 // <7=> Cyan
7638 // <8=> White
7639 
7640 #ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR
7641 #define TASK_MANAGER_CONFIG_DEBUG_COLOR 0
7642 #endif
7643 
7644 // </e>
7645 
7646 // </h>
7647 //==========================================================
7648 
7649 // <h> nrf_log in nRF_Drivers
7650 
7651 //==========================================================
7652 // <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
7653 //==========================================================
7654 #ifndef CLOCK_CONFIG_LOG_ENABLED
7655 #define CLOCK_CONFIG_LOG_ENABLED 0
7656 #endif
7657 // <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level
7658 
7659 // <0=> Off
7660 // <1=> Error
7661 // <2=> Warning
7662 // <3=> Info
7663 // <4=> Debug
7664 
7665 #ifndef CLOCK_CONFIG_LOG_LEVEL
7666 #define CLOCK_CONFIG_LOG_LEVEL 3
7667 #endif
7668 
7669 // <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
7670 
7671 // <0=> Default
7672 // <1=> Black
7673 // <2=> Red
7674 // <3=> Green
7675 // <4=> Yellow
7676 // <5=> Blue
7677 // <6=> Magenta
7678 // <7=> Cyan
7679 // <8=> White
7680 
7681 #ifndef CLOCK_CONFIG_INFO_COLOR
7682 #define CLOCK_CONFIG_INFO_COLOR 0
7683 #endif
7684 
7685 // <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7686 
7687 // <0=> Default
7688 // <1=> Black
7689 // <2=> Red
7690 // <3=> Green
7691 // <4=> Yellow
7692 // <5=> Blue
7693 // <6=> Magenta
7694 // <7=> Cyan
7695 // <8=> White
7696 
7697 #ifndef CLOCK_CONFIG_DEBUG_COLOR
7698 #define CLOCK_CONFIG_DEBUG_COLOR 0
7699 #endif
7700 
7701 // </e>
7702 
7703 // <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
7704 //==========================================================
7705 #ifndef COMP_CONFIG_LOG_ENABLED
7706 #define COMP_CONFIG_LOG_ENABLED 0
7707 #endif
7708 // <o> COMP_CONFIG_LOG_LEVEL - Default Severity level
7709 
7710 // <0=> Off
7711 // <1=> Error
7712 // <2=> Warning
7713 // <3=> Info
7714 // <4=> Debug
7715 
7716 #ifndef COMP_CONFIG_LOG_LEVEL
7717 #define COMP_CONFIG_LOG_LEVEL 3
7718 #endif
7719 
7720 // <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
7721 
7722 // <0=> Default
7723 // <1=> Black
7724 // <2=> Red
7725 // <3=> Green
7726 // <4=> Yellow
7727 // <5=> Blue
7728 // <6=> Magenta
7729 // <7=> Cyan
7730 // <8=> White
7731 
7732 #ifndef COMP_CONFIG_INFO_COLOR
7733 #define COMP_CONFIG_INFO_COLOR 0
7734 #endif
7735 
7736 // <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7737 
7738 // <0=> Default
7739 // <1=> Black
7740 // <2=> Red
7741 // <3=> Green
7742 // <4=> Yellow
7743 // <5=> Blue
7744 // <6=> Magenta
7745 // <7=> Cyan
7746 // <8=> White
7747 
7748 #ifndef COMP_CONFIG_DEBUG_COLOR
7749 #define COMP_CONFIG_DEBUG_COLOR 0
7750 #endif
7751 
7752 // </e>
7753 
7754 // <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
7755 //==========================================================
7756 #ifndef GPIOTE_CONFIG_LOG_ENABLED
7757 #define GPIOTE_CONFIG_LOG_ENABLED 0
7758 #endif
7759 // <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
7760 
7761 // <0=> Off
7762 // <1=> Error
7763 // <2=> Warning
7764 // <3=> Info
7765 // <4=> Debug
7766 
7767 #ifndef GPIOTE_CONFIG_LOG_LEVEL
7768 #define GPIOTE_CONFIG_LOG_LEVEL 3
7769 #endif
7770 
7771 // <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
7772 
7773 // <0=> Default
7774 // <1=> Black
7775 // <2=> Red
7776 // <3=> Green
7777 // <4=> Yellow
7778 // <5=> Blue
7779 // <6=> Magenta
7780 // <7=> Cyan
7781 // <8=> White
7782 
7783 #ifndef GPIOTE_CONFIG_INFO_COLOR
7784 #define GPIOTE_CONFIG_INFO_COLOR 0
7785 #endif
7786 
7787 // <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7788 
7789 // <0=> Default
7790 // <1=> Black
7791 // <2=> Red
7792 // <3=> Green
7793 // <4=> Yellow
7794 // <5=> Blue
7795 // <6=> Magenta
7796 // <7=> Cyan
7797 // <8=> White
7798 
7799 #ifndef GPIOTE_CONFIG_DEBUG_COLOR
7800 #define GPIOTE_CONFIG_DEBUG_COLOR 0
7801 #endif
7802 
7803 // </e>
7804 
7805 // <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
7806 //==========================================================
7807 #ifndef LPCOMP_CONFIG_LOG_ENABLED
7808 #define LPCOMP_CONFIG_LOG_ENABLED 0
7809 #endif
7810 // <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
7811 
7812 // <0=> Off
7813 // <1=> Error
7814 // <2=> Warning
7815 // <3=> Info
7816 // <4=> Debug
7817 
7818 #ifndef LPCOMP_CONFIG_LOG_LEVEL
7819 #define LPCOMP_CONFIG_LOG_LEVEL 3
7820 #endif
7821 
7822 // <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
7823 
7824 // <0=> Default
7825 // <1=> Black
7826 // <2=> Red
7827 // <3=> Green
7828 // <4=> Yellow
7829 // <5=> Blue
7830 // <6=> Magenta
7831 // <7=> Cyan
7832 // <8=> White
7833 
7834 #ifndef LPCOMP_CONFIG_INFO_COLOR
7835 #define LPCOMP_CONFIG_INFO_COLOR 0
7836 #endif
7837 
7838 // <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7839 
7840 // <0=> Default
7841 // <1=> Black
7842 // <2=> Red
7843 // <3=> Green
7844 // <4=> Yellow
7845 // <5=> Blue
7846 // <6=> Magenta
7847 // <7=> Cyan
7848 // <8=> White
7849 
7850 #ifndef LPCOMP_CONFIG_DEBUG_COLOR
7851 #define LPCOMP_CONFIG_DEBUG_COLOR 0
7852 #endif
7853 
7854 // </e>
7855 
7856 // <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module
7857 //==========================================================
7858 #ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED
7859 #define MAX3421E_HOST_CONFIG_LOG_ENABLED 0
7860 #endif
7861 // <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level
7862 
7863 // <0=> Off
7864 // <1=> Error
7865 // <2=> Warning
7866 // <3=> Info
7867 // <4=> Debug
7868 
7869 #ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL
7870 #define MAX3421E_HOST_CONFIG_LOG_LEVEL 3
7871 #endif
7872 
7873 // <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix.
7874 
7875 // <0=> Default
7876 // <1=> Black
7877 // <2=> Red
7878 // <3=> Green
7879 // <4=> Yellow
7880 // <5=> Blue
7881 // <6=> Magenta
7882 // <7=> Cyan
7883 // <8=> White
7884 
7885 #ifndef MAX3421E_HOST_CONFIG_INFO_COLOR
7886 #define MAX3421E_HOST_CONFIG_INFO_COLOR 0
7887 #endif
7888 
7889 // <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7890 
7891 // <0=> Default
7892 // <1=> Black
7893 // <2=> Red
7894 // <3=> Green
7895 // <4=> Yellow
7896 // <5=> Blue
7897 // <6=> Magenta
7898 // <7=> Cyan
7899 // <8=> White
7900 
7901 #ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR
7902 #define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0
7903 #endif
7904 
7905 // </e>
7906 
7907 // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
7908 //==========================================================
7909 #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
7910 #define NRFX_USBD_CONFIG_LOG_ENABLED 0
7911 #endif
7912 // <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level
7913 
7914 // <0=> Off
7915 // <1=> Error
7916 // <2=> Warning
7917 // <3=> Info
7918 // <4=> Debug
7919 
7920 #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
7921 #define NRFX_USBD_CONFIG_LOG_LEVEL 3
7922 #endif
7923 
7924 // <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
7925 
7926 // <0=> Default
7927 // <1=> Black
7928 // <2=> Red
7929 // <3=> Green
7930 // <4=> Yellow
7931 // <5=> Blue
7932 // <6=> Magenta
7933 // <7=> Cyan
7934 // <8=> White
7935 
7936 #ifndef NRFX_USBD_CONFIG_INFO_COLOR
7937 #define NRFX_USBD_CONFIG_INFO_COLOR 0
7938 #endif
7939 
7940 // <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7941 
7942 // <0=> Default
7943 // <1=> Black
7944 // <2=> Red
7945 // <3=> Green
7946 // <4=> Yellow
7947 // <5=> Blue
7948 // <6=> Magenta
7949 // <7=> Cyan
7950 // <8=> White
7951 
7952 #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
7953 #define NRFX_USBD_CONFIG_DEBUG_COLOR 0
7954 #endif
7955 
7956 // </e>
7957 
7958 // <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
7959 //==========================================================
7960 #ifndef PDM_CONFIG_LOG_ENABLED
7961 #define PDM_CONFIG_LOG_ENABLED 0
7962 #endif
7963 // <o> PDM_CONFIG_LOG_LEVEL - Default Severity level
7964 
7965 // <0=> Off
7966 // <1=> Error
7967 // <2=> Warning
7968 // <3=> Info
7969 // <4=> Debug
7970 
7971 #ifndef PDM_CONFIG_LOG_LEVEL
7972 #define PDM_CONFIG_LOG_LEVEL 3
7973 #endif
7974 
7975 // <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
7976 
7977 // <0=> Default
7978 // <1=> Black
7979 // <2=> Red
7980 // <3=> Green
7981 // <4=> Yellow
7982 // <5=> Blue
7983 // <6=> Magenta
7984 // <7=> Cyan
7985 // <8=> White
7986 
7987 #ifndef PDM_CONFIG_INFO_COLOR
7988 #define PDM_CONFIG_INFO_COLOR 0
7989 #endif
7990 
7991 // <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7992 
7993 // <0=> Default
7994 // <1=> Black
7995 // <2=> Red
7996 // <3=> Green
7997 // <4=> Yellow
7998 // <5=> Blue
7999 // <6=> Magenta
8000 // <7=> Cyan
8001 // <8=> White
8002 
8003 #ifndef PDM_CONFIG_DEBUG_COLOR
8004 #define PDM_CONFIG_DEBUG_COLOR 0
8005 #endif
8006 
8007 // </e>
8008 
8009 // <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
8010 //==========================================================
8011 #ifndef PPI_CONFIG_LOG_ENABLED
8012 #define PPI_CONFIG_LOG_ENABLED 0
8013 #endif
8014 // <o> PPI_CONFIG_LOG_LEVEL - Default Severity level
8015 
8016 // <0=> Off
8017 // <1=> Error
8018 // <2=> Warning
8019 // <3=> Info
8020 // <4=> Debug
8021 
8022 #ifndef PPI_CONFIG_LOG_LEVEL
8023 #define PPI_CONFIG_LOG_LEVEL 3
8024 #endif
8025 
8026 // <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
8027 
8028 // <0=> Default
8029 // <1=> Black
8030 // <2=> Red
8031 // <3=> Green
8032 // <4=> Yellow
8033 // <5=> Blue
8034 // <6=> Magenta
8035 // <7=> Cyan
8036 // <8=> White
8037 
8038 #ifndef PPI_CONFIG_INFO_COLOR
8039 #define PPI_CONFIG_INFO_COLOR 0
8040 #endif
8041 
8042 // <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8043 
8044 // <0=> Default
8045 // <1=> Black
8046 // <2=> Red
8047 // <3=> Green
8048 // <4=> Yellow
8049 // <5=> Blue
8050 // <6=> Magenta
8051 // <7=> Cyan
8052 // <8=> White
8053 
8054 #ifndef PPI_CONFIG_DEBUG_COLOR
8055 #define PPI_CONFIG_DEBUG_COLOR 0
8056 #endif
8057 
8058 // </e>
8059 
8060 // <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
8061 //==========================================================
8062 #ifndef PWM_CONFIG_LOG_ENABLED
8063 #define PWM_CONFIG_LOG_ENABLED 0
8064 #endif
8065 // <o> PWM_CONFIG_LOG_LEVEL - Default Severity level
8066 
8067 // <0=> Off
8068 // <1=> Error
8069 // <2=> Warning
8070 // <3=> Info
8071 // <4=> Debug
8072 
8073 #ifndef PWM_CONFIG_LOG_LEVEL
8074 #define PWM_CONFIG_LOG_LEVEL 3
8075 #endif
8076 
8077 // <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
8078 
8079 // <0=> Default
8080 // <1=> Black
8081 // <2=> Red
8082 // <3=> Green
8083 // <4=> Yellow
8084 // <5=> Blue
8085 // <6=> Magenta
8086 // <7=> Cyan
8087 // <8=> White
8088 
8089 #ifndef PWM_CONFIG_INFO_COLOR
8090 #define PWM_CONFIG_INFO_COLOR 0
8091 #endif
8092 
8093 // <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8094 
8095 // <0=> Default
8096 // <1=> Black
8097 // <2=> Red
8098 // <3=> Green
8099 // <4=> Yellow
8100 // <5=> Blue
8101 // <6=> Magenta
8102 // <7=> Cyan
8103 // <8=> White
8104 
8105 #ifndef PWM_CONFIG_DEBUG_COLOR
8106 #define PWM_CONFIG_DEBUG_COLOR 0
8107 #endif
8108 
8109 // </e>
8110 
8111 // <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
8112 //==========================================================
8113 #ifndef QDEC_CONFIG_LOG_ENABLED
8114 #define QDEC_CONFIG_LOG_ENABLED 0
8115 #endif
8116 // <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level
8117 
8118 // <0=> Off
8119 // <1=> Error
8120 // <2=> Warning
8121 // <3=> Info
8122 // <4=> Debug
8123 
8124 #ifndef QDEC_CONFIG_LOG_LEVEL
8125 #define QDEC_CONFIG_LOG_LEVEL 3
8126 #endif
8127 
8128 // <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
8129 
8130 // <0=> Default
8131 // <1=> Black
8132 // <2=> Red
8133 // <3=> Green
8134 // <4=> Yellow
8135 // <5=> Blue
8136 // <6=> Magenta
8137 // <7=> Cyan
8138 // <8=> White
8139 
8140 #ifndef QDEC_CONFIG_INFO_COLOR
8141 #define QDEC_CONFIG_INFO_COLOR 0
8142 #endif
8143 
8144 // <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8145 
8146 // <0=> Default
8147 // <1=> Black
8148 // <2=> Red
8149 // <3=> Green
8150 // <4=> Yellow
8151 // <5=> Blue
8152 // <6=> Magenta
8153 // <7=> Cyan
8154 // <8=> White
8155 
8156 #ifndef QDEC_CONFIG_DEBUG_COLOR
8157 #define QDEC_CONFIG_DEBUG_COLOR 0
8158 #endif
8159 
8160 // </e>
8161 
8162 // <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
8163 //==========================================================
8164 #ifndef RNG_CONFIG_LOG_ENABLED
8165 #define RNG_CONFIG_LOG_ENABLED 0
8166 #endif
8167 // <o> RNG_CONFIG_LOG_LEVEL - Default Severity level
8168 
8169 // <0=> Off
8170 // <1=> Error
8171 // <2=> Warning
8172 // <3=> Info
8173 // <4=> Debug
8174 
8175 #ifndef RNG_CONFIG_LOG_LEVEL
8176 #define RNG_CONFIG_LOG_LEVEL 3
8177 #endif
8178 
8179 // <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
8180 
8181 // <0=> Default
8182 // <1=> Black
8183 // <2=> Red
8184 // <3=> Green
8185 // <4=> Yellow
8186 // <5=> Blue
8187 // <6=> Magenta
8188 // <7=> Cyan
8189 // <8=> White
8190 
8191 #ifndef RNG_CONFIG_INFO_COLOR
8192 #define RNG_CONFIG_INFO_COLOR 0
8193 #endif
8194 
8195 // <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8196 
8197 // <0=> Default
8198 // <1=> Black
8199 // <2=> Red
8200 // <3=> Green
8201 // <4=> Yellow
8202 // <5=> Blue
8203 // <6=> Magenta
8204 // <7=> Cyan
8205 // <8=> White
8206 
8207 #ifndef RNG_CONFIG_DEBUG_COLOR
8208 #define RNG_CONFIG_DEBUG_COLOR 0
8209 #endif
8210 
8211 // <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers.
8212 
8213 #ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED
8214 #define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0
8215 #endif
8216 
8217 // </e>
8218 
8219 // <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
8220 //==========================================================
8221 #ifndef RTC_CONFIG_LOG_ENABLED
8222 #define RTC_CONFIG_LOG_ENABLED 0
8223 #endif
8224 // <o> RTC_CONFIG_LOG_LEVEL - Default Severity level
8225 
8226 // <0=> Off
8227 // <1=> Error
8228 // <2=> Warning
8229 // <3=> Info
8230 // <4=> Debug
8231 
8232 #ifndef RTC_CONFIG_LOG_LEVEL
8233 #define RTC_CONFIG_LOG_LEVEL 3
8234 #endif
8235 
8236 // <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
8237 
8238 // <0=> Default
8239 // <1=> Black
8240 // <2=> Red
8241 // <3=> Green
8242 // <4=> Yellow
8243 // <5=> Blue
8244 // <6=> Magenta
8245 // <7=> Cyan
8246 // <8=> White
8247 
8248 #ifndef RTC_CONFIG_INFO_COLOR
8249 #define RTC_CONFIG_INFO_COLOR 0
8250 #endif
8251 
8252 // <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8253 
8254 // <0=> Default
8255 // <1=> Black
8256 // <2=> Red
8257 // <3=> Green
8258 // <4=> Yellow
8259 // <5=> Blue
8260 // <6=> Magenta
8261 // <7=> Cyan
8262 // <8=> White
8263 
8264 #ifndef RTC_CONFIG_DEBUG_COLOR
8265 #define RTC_CONFIG_DEBUG_COLOR 0
8266 #endif
8267 
8268 // </e>
8269 
8270 // <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
8271 //==========================================================
8272 #ifndef SAADC_CONFIG_LOG_ENABLED
8273 #define SAADC_CONFIG_LOG_ENABLED 1
8274 #endif
8275 // <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level
8276 
8277 // <0=> Off
8278 // <1=> Error
8279 // <2=> Warning
8280 // <3=> Info
8281 // <4=> Debug
8282 
8283 #ifndef SAADC_CONFIG_LOG_LEVEL
8284 #define SAADC_CONFIG_LOG_LEVEL 1
8285 #endif
8286 
8287 // <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
8288 
8289 // <0=> Default
8290 // <1=> Black
8291 // <2=> Red
8292 // <3=> Green
8293 // <4=> Yellow
8294 // <5=> Blue
8295 // <6=> Magenta
8296 // <7=> Cyan
8297 // <8=> White
8298 
8299 #ifndef SAADC_CONFIG_INFO_COLOR
8300 #define SAADC_CONFIG_INFO_COLOR 0
8301 #endif
8302 
8303 // <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8304 
8305 // <0=> Default
8306 // <1=> Black
8307 // <2=> Red
8308 // <3=> Green
8309 // <4=> Yellow
8310 // <5=> Blue
8311 // <6=> Magenta
8312 // <7=> Cyan
8313 // <8=> White
8314 
8315 #ifndef SAADC_CONFIG_DEBUG_COLOR
8316 #define SAADC_CONFIG_DEBUG_COLOR 0
8317 #endif
8318 
8319 // </e>
8320 
8321 // <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
8322 //==========================================================
8323 #ifndef SPIS_CONFIG_LOG_ENABLED
8324 #define SPIS_CONFIG_LOG_ENABLED 0
8325 #endif
8326 // <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level
8327 
8328 // <0=> Off
8329 // <1=> Error
8330 // <2=> Warning
8331 // <3=> Info
8332 // <4=> Debug
8333 
8334 #ifndef SPIS_CONFIG_LOG_LEVEL
8335 #define SPIS_CONFIG_LOG_LEVEL 3
8336 #endif
8337 
8338 // <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
8339 
8340 // <0=> Default
8341 // <1=> Black
8342 // <2=> Red
8343 // <3=> Green
8344 // <4=> Yellow
8345 // <5=> Blue
8346 // <6=> Magenta
8347 // <7=> Cyan
8348 // <8=> White
8349 
8350 #ifndef SPIS_CONFIG_INFO_COLOR
8351 #define SPIS_CONFIG_INFO_COLOR 0
8352 #endif
8353 
8354 // <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8355 
8356 // <0=> Default
8357 // <1=> Black
8358 // <2=> Red
8359 // <3=> Green
8360 // <4=> Yellow
8361 // <5=> Blue
8362 // <6=> Magenta
8363 // <7=> Cyan
8364 // <8=> White
8365 
8366 #ifndef SPIS_CONFIG_DEBUG_COLOR
8367 #define SPIS_CONFIG_DEBUG_COLOR 0
8368 #endif
8369 
8370 // </e>
8371 
8372 // <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
8373 //==========================================================
8374 #ifndef SPI_CONFIG_LOG_ENABLED
8375 #define SPI_CONFIG_LOG_ENABLED 0
8376 #endif
8377 // <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
8378 
8379 // <0=> Off
8380 // <1=> Error
8381 // <2=> Warning
8382 // <3=> Info
8383 // <4=> Debug
8384 
8385 #ifndef SPI_CONFIG_LOG_LEVEL
8386 #define SPI_CONFIG_LOG_LEVEL 3
8387 #endif
8388 
8389 // <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
8390 
8391 // <0=> Default
8392 // <1=> Black
8393 // <2=> Red
8394 // <3=> Green
8395 // <4=> Yellow
8396 // <5=> Blue
8397 // <6=> Magenta
8398 // <7=> Cyan
8399 // <8=> White
8400 
8401 #ifndef SPI_CONFIG_INFO_COLOR
8402 #define SPI_CONFIG_INFO_COLOR 0
8403 #endif
8404 
8405 // <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8406 
8407 // <0=> Default
8408 // <1=> Black
8409 // <2=> Red
8410 // <3=> Green
8411 // <4=> Yellow
8412 // <5=> Blue
8413 // <6=> Magenta
8414 // <7=> Cyan
8415 // <8=> White
8416 
8417 #ifndef SPI_CONFIG_DEBUG_COLOR
8418 #define SPI_CONFIG_DEBUG_COLOR 0
8419 #endif
8420 
8421 // </e>
8422 
8423 // <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
8424 //==========================================================
8425 #ifndef TIMER_CONFIG_LOG_ENABLED
8426 #define TIMER_CONFIG_LOG_ENABLED 0
8427 #endif
8428 // <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level
8429 
8430 // <0=> Off
8431 // <1=> Error
8432 // <2=> Warning
8433 // <3=> Info
8434 // <4=> Debug
8435 
8436 #ifndef TIMER_CONFIG_LOG_LEVEL
8437 #define TIMER_CONFIG_LOG_LEVEL 3
8438 #endif
8439 
8440 // <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
8441 
8442 // <0=> Default
8443 // <1=> Black
8444 // <2=> Red
8445 // <3=> Green
8446 // <4=> Yellow
8447 // <5=> Blue
8448 // <6=> Magenta
8449 // <7=> Cyan
8450 // <8=> White
8451 
8452 #ifndef TIMER_CONFIG_INFO_COLOR
8453 #define TIMER_CONFIG_INFO_COLOR 0
8454 #endif
8455 
8456 // <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8457 
8458 // <0=> Default
8459 // <1=> Black
8460 // <2=> Red
8461 // <3=> Green
8462 // <4=> Yellow
8463 // <5=> Blue
8464 // <6=> Magenta
8465 // <7=> Cyan
8466 // <8=> White
8467 
8468 #ifndef TIMER_CONFIG_DEBUG_COLOR
8469 #define TIMER_CONFIG_DEBUG_COLOR 0
8470 #endif
8471 
8472 // </e>
8473 
8474 // <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
8475 //==========================================================
8476 #ifndef TWIS_CONFIG_LOG_ENABLED
8477 #define TWIS_CONFIG_LOG_ENABLED 0
8478 #endif
8479 // <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level
8480 
8481 // <0=> Off
8482 // <1=> Error
8483 // <2=> Warning
8484 // <3=> Info
8485 // <4=> Debug
8486 
8487 #ifndef TWIS_CONFIG_LOG_LEVEL
8488 #define TWIS_CONFIG_LOG_LEVEL 3
8489 #endif
8490 
8491 // <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
8492 
8493 // <0=> Default
8494 // <1=> Black
8495 // <2=> Red
8496 // <3=> Green
8497 // <4=> Yellow
8498 // <5=> Blue
8499 // <6=> Magenta
8500 // <7=> Cyan
8501 // <8=> White
8502 
8503 #ifndef TWIS_CONFIG_INFO_COLOR
8504 #define TWIS_CONFIG_INFO_COLOR 0
8505 #endif
8506 
8507 // <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8508 
8509 // <0=> Default
8510 // <1=> Black
8511 // <2=> Red
8512 // <3=> Green
8513 // <4=> Yellow
8514 // <5=> Blue
8515 // <6=> Magenta
8516 // <7=> Cyan
8517 // <8=> White
8518 
8519 #ifndef TWIS_CONFIG_DEBUG_COLOR
8520 #define TWIS_CONFIG_DEBUG_COLOR 0
8521 #endif
8522 
8523 // </e>
8524 
8525 // <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
8526 //==========================================================
8527 #ifndef TWI_CONFIG_LOG_ENABLED
8528 #define TWI_CONFIG_LOG_ENABLED 0
8529 #endif
8530 // <o> TWI_CONFIG_LOG_LEVEL - Default Severity level
8531 
8532 // <0=> Off
8533 // <1=> Error
8534 // <2=> Warning
8535 // <3=> Info
8536 // <4=> Debug
8537 
8538 #ifndef TWI_CONFIG_LOG_LEVEL
8539 #define TWI_CONFIG_LOG_LEVEL 3
8540 #endif
8541 
8542 // <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
8543 
8544 // <0=> Default
8545 // <1=> Black
8546 // <2=> Red
8547 // <3=> Green
8548 // <4=> Yellow
8549 // <5=> Blue
8550 // <6=> Magenta
8551 // <7=> Cyan
8552 // <8=> White
8553 
8554 #ifndef TWI_CONFIG_INFO_COLOR
8555 #define TWI_CONFIG_INFO_COLOR 0
8556 #endif
8557 
8558 // <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8559 
8560 // <0=> Default
8561 // <1=> Black
8562 // <2=> Red
8563 // <3=> Green
8564 // <4=> Yellow
8565 // <5=> Blue
8566 // <6=> Magenta
8567 // <7=> Cyan
8568 // <8=> White
8569 
8570 #ifndef TWI_CONFIG_DEBUG_COLOR
8571 #define TWI_CONFIG_DEBUG_COLOR 0
8572 #endif
8573 
8574 // </e>
8575 
8576 // <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module.
8577 //==========================================================
8578 #ifndef UART_CONFIG_LOG_ENABLED
8579 #define UART_CONFIG_LOG_ENABLED 0
8580 #endif
8581 // <o> UART_CONFIG_LOG_LEVEL - Default Severity level
8582 
8583 // <0=> Off
8584 // <1=> Error
8585 // <2=> Warning
8586 // <3=> Info
8587 // <4=> Debug
8588 
8589 #ifndef UART_CONFIG_LOG_LEVEL
8590 #define UART_CONFIG_LOG_LEVEL 3
8591 #endif
8592 
8593 // <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
8594 
8595 // <0=> Default
8596 // <1=> Black
8597 // <2=> Red
8598 // <3=> Green
8599 // <4=> Yellow
8600 // <5=> Blue
8601 // <6=> Magenta
8602 // <7=> Cyan
8603 // <8=> White
8604 
8605 #ifndef UART_CONFIG_INFO_COLOR
8606 #define UART_CONFIG_INFO_COLOR 0
8607 #endif
8608 
8609 // <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8610 
8611 // <0=> Default
8612 // <1=> Black
8613 // <2=> Red
8614 // <3=> Green
8615 // <4=> Yellow
8616 // <5=> Blue
8617 // <6=> Magenta
8618 // <7=> Cyan
8619 // <8=> White
8620 
8621 #ifndef UART_CONFIG_DEBUG_COLOR
8622 #define UART_CONFIG_DEBUG_COLOR 0
8623 #endif
8624 
8625 // </e>
8626 
8627 // <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module
8628 //==========================================================
8629 #ifndef USBD_CONFIG_LOG_ENABLED
8630 #define USBD_CONFIG_LOG_ENABLED 0
8631 #endif
8632 // <o> USBD_CONFIG_LOG_LEVEL - Default Severity level
8633 
8634 // <0=> Off
8635 // <1=> Error
8636 // <2=> Warning
8637 // <3=> Info
8638 // <4=> Debug
8639 
8640 #ifndef USBD_CONFIG_LOG_LEVEL
8641 #define USBD_CONFIG_LOG_LEVEL 3
8642 #endif
8643 
8644 // <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
8645 
8646 // <0=> Default
8647 // <1=> Black
8648 // <2=> Red
8649 // <3=> Green
8650 // <4=> Yellow
8651 // <5=> Blue
8652 // <6=> Magenta
8653 // <7=> Cyan
8654 // <8=> White
8655 
8656 #ifndef USBD_CONFIG_INFO_COLOR
8657 #define USBD_CONFIG_INFO_COLOR 0
8658 #endif
8659 
8660 // <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8661 
8662 // <0=> Default
8663 // <1=> Black
8664 // <2=> Red
8665 // <3=> Green
8666 // <4=> Yellow
8667 // <5=> Blue
8668 // <6=> Magenta
8669 // <7=> Cyan
8670 // <8=> White
8671 
8672 #ifndef USBD_CONFIG_DEBUG_COLOR
8673 #define USBD_CONFIG_DEBUG_COLOR 0
8674 #endif
8675 
8676 // </e>
8677 
8678 // <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
8679 //==========================================================
8680 #ifndef WDT_CONFIG_LOG_ENABLED
8681 #define WDT_CONFIG_LOG_ENABLED 0
8682 #endif
8683 // <o> WDT_CONFIG_LOG_LEVEL - Default Severity level
8684 
8685 // <0=> Off
8686 // <1=> Error
8687 // <2=> Warning
8688 // <3=> Info
8689 // <4=> Debug
8690 
8691 #ifndef WDT_CONFIG_LOG_LEVEL
8692 #define WDT_CONFIG_LOG_LEVEL 3
8693 #endif
8694 
8695 // <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
8696 
8697 // <0=> Default
8698 // <1=> Black
8699 // <2=> Red
8700 // <3=> Green
8701 // <4=> Yellow
8702 // <5=> Blue
8703 // <6=> Magenta
8704 // <7=> Cyan
8705 // <8=> White
8706 
8707 #ifndef WDT_CONFIG_INFO_COLOR
8708 #define WDT_CONFIG_INFO_COLOR 0
8709 #endif
8710 
8711 // <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8712 
8713 // <0=> Default
8714 // <1=> Black
8715 // <2=> Red
8716 // <3=> Green
8717 // <4=> Yellow
8718 // <5=> Blue
8719 // <6=> Magenta
8720 // <7=> Cyan
8721 // <8=> White
8722 
8723 #ifndef WDT_CONFIG_DEBUG_COLOR
8724 #define WDT_CONFIG_DEBUG_COLOR 0
8725 #endif
8726 
8727 // </e>
8728 
8729 // </h>
8730 //==========================================================
8731 
8732 // <h> nrf_log in nRF_Libraries
8733 
8734 //==========================================================
8735 // <e> APP_BUTTON_CONFIG_LOG_ENABLED - Enables logging in the module.
8736 //==========================================================
8737 #ifndef APP_BUTTON_CONFIG_LOG_ENABLED
8738 #define APP_BUTTON_CONFIG_LOG_ENABLED 0
8739 #endif
8740 // <o> APP_BUTTON_CONFIG_LOG_LEVEL - Default Severity level
8741 
8742 // <0=> Off
8743 // <1=> Error
8744 // <2=> Warning
8745 // <3=> Info
8746 // <4=> Debug
8747 
8748 #ifndef APP_BUTTON_CONFIG_LOG_LEVEL
8749 #define APP_BUTTON_CONFIG_LOG_LEVEL 3
8750 #endif
8751 
8752 // <o> APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
8753 
8754 // <i> If module generates a lot of logs, initial log level can
8755 // <i> be decreased to prevent flooding. Severity level can be
8756 // <i> increased on instance basis.
8757 // <0=> Off
8758 // <1=> Error
8759 // <2=> Warning
8760 // <3=> Info
8761 // <4=> Debug
8762 
8763 #ifndef APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL
8764 #define APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3
8765 #endif
8766 
8767 // <o> APP_BUTTON_CONFIG_INFO_COLOR - ANSI escape code prefix.
8768 
8769 // <0=> Default
8770 // <1=> Black
8771 // <2=> Red
8772 // <3=> Green
8773 // <4=> Yellow
8774 // <5=> Blue
8775 // <6=> Magenta
8776 // <7=> Cyan
8777 // <8=> White
8778 
8779 #ifndef APP_BUTTON_CONFIG_INFO_COLOR
8780 #define APP_BUTTON_CONFIG_INFO_COLOR 0
8781 #endif
8782 
8783 // <o> APP_BUTTON_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8784 
8785 // <0=> Default
8786 // <1=> Black
8787 // <2=> Red
8788 // <3=> Green
8789 // <4=> Yellow
8790 // <5=> Blue
8791 // <6=> Magenta
8792 // <7=> Cyan
8793 // <8=> White
8794 
8795 #ifndef APP_BUTTON_CONFIG_DEBUG_COLOR
8796 #define APP_BUTTON_CONFIG_DEBUG_COLOR 0
8797 #endif
8798 
8799 // </e>
8800 
8801 // <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
8802 //==========================================================
8803 #ifndef APP_TIMER_CONFIG_LOG_ENABLED
8804 #define APP_TIMER_CONFIG_LOG_ENABLED 0
8805 #endif
8806 // <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level
8807 
8808 // <0=> Off
8809 // <1=> Error
8810 // <2=> Warning
8811 // <3=> Info
8812 // <4=> Debug
8813 
8814 #ifndef APP_TIMER_CONFIG_LOG_LEVEL
8815 #define APP_TIMER_CONFIG_LOG_LEVEL 3
8816 #endif
8817 
8818 // <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
8819 
8820 // <i> If module generates a lot of logs, initial log level can
8821 // <i> be decreased to prevent flooding. Severity level can be
8822 // <i> increased on instance basis.
8823 // <0=> Off
8824 // <1=> Error
8825 // <2=> Warning
8826 // <3=> Info
8827 // <4=> Debug
8828 
8829 #ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL
8830 #define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3
8831 #endif
8832 
8833 // <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
8834 
8835 // <0=> Default
8836 // <1=> Black
8837 // <2=> Red
8838 // <3=> Green
8839 // <4=> Yellow
8840 // <5=> Blue
8841 // <6=> Magenta
8842 // <7=> Cyan
8843 // <8=> White
8844 
8845 #ifndef APP_TIMER_CONFIG_INFO_COLOR
8846 #define APP_TIMER_CONFIG_INFO_COLOR 0
8847 #endif
8848 
8849 // <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8850 
8851 // <0=> Default
8852 // <1=> Black
8853 // <2=> Red
8854 // <3=> Green
8855 // <4=> Yellow
8856 // <5=> Blue
8857 // <6=> Magenta
8858 // <7=> Cyan
8859 // <8=> White
8860 
8861 #ifndef APP_TIMER_CONFIG_DEBUG_COLOR
8862 #define APP_TIMER_CONFIG_DEBUG_COLOR 0
8863 #endif
8864 
8865 // </e>
8866 
8867 // <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module.
8868 //==========================================================
8869 #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED
8870 #define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0
8871 #endif
8872 // <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level
8873 
8874 // <0=> Off
8875 // <1=> Error
8876 // <2=> Warning
8877 // <3=> Info
8878 // <4=> Debug
8879 
8880 #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL
8881 #define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3
8882 #endif
8883 
8884 // <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix.
8885 
8886 // <0=> Default
8887 // <1=> Black
8888 // <2=> Red
8889 // <3=> Green
8890 // <4=> Yellow
8891 // <5=> Blue
8892 // <6=> Magenta
8893 // <7=> Cyan
8894 // <8=> White
8895 
8896 #ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR
8897 #define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0
8898 #endif
8899 
8900 // <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8901 
8902 // <0=> Default
8903 // <1=> Black
8904 // <2=> Red
8905 // <3=> Green
8906 // <4=> Yellow
8907 // <5=> Blue
8908 // <6=> Magenta
8909 // <7=> Cyan
8910 // <8=> White
8911 
8912 #ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR
8913 #define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0
8914 #endif
8915 
8916 // </e>
8917 
8918 // <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module.
8919 //==========================================================
8920 #ifndef APP_USBD_CONFIG_LOG_ENABLED
8921 #define APP_USBD_CONFIG_LOG_ENABLED 0
8922 #endif
8923 // <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level
8924 
8925 // <0=> Off
8926 // <1=> Error
8927 // <2=> Warning
8928 // <3=> Info
8929 // <4=> Debug
8930 
8931 #ifndef APP_USBD_CONFIG_LOG_LEVEL
8932 #define APP_USBD_CONFIG_LOG_LEVEL 3
8933 #endif
8934 
8935 // <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
8936 
8937 // <0=> Default
8938 // <1=> Black
8939 // <2=> Red
8940 // <3=> Green
8941 // <4=> Yellow
8942 // <5=> Blue
8943 // <6=> Magenta
8944 // <7=> Cyan
8945 // <8=> White
8946 
8947 #ifndef APP_USBD_CONFIG_INFO_COLOR
8948 #define APP_USBD_CONFIG_INFO_COLOR 0
8949 #endif
8950 
8951 // <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8952 
8953 // <0=> Default
8954 // <1=> Black
8955 // <2=> Red
8956 // <3=> Green
8957 // <4=> Yellow
8958 // <5=> Blue
8959 // <6=> Magenta
8960 // <7=> Cyan
8961 // <8=> White
8962 
8963 #ifndef APP_USBD_CONFIG_DEBUG_COLOR
8964 #define APP_USBD_CONFIG_DEBUG_COLOR 0
8965 #endif
8966 
8967 // </e>
8968 
8969 // <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module.
8970 //==========================================================
8971 #ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED
8972 #define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0
8973 #endif
8974 // <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level
8975 
8976 // <0=> Off
8977 // <1=> Error
8978 // <2=> Warning
8979 // <3=> Info
8980 // <4=> Debug
8981 
8982 #ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL
8983 #define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3
8984 #endif
8985 
8986 // <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix.
8987 
8988 // <0=> Default
8989 // <1=> Black
8990 // <2=> Red
8991 // <3=> Green
8992 // <4=> Yellow
8993 // <5=> Blue
8994 // <6=> Magenta
8995 // <7=> Cyan
8996 // <8=> White
8997 
8998 #ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR
8999 #define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0
9000 #endif
9001 
9002 // <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9003 
9004 // <0=> Default
9005 // <1=> Black
9006 // <2=> Red
9007 // <3=> Green
9008 // <4=> Yellow
9009 // <5=> Blue
9010 // <6=> Magenta
9011 // <7=> Cyan
9012 // <8=> White
9013 
9014 #ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR
9015 #define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0
9016 #endif
9017 
9018 // </e>
9019 
9020 // <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module.
9021 //==========================================================
9022 #ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED
9023 #define APP_USBD_MSC_CONFIG_LOG_ENABLED 0
9024 #endif
9025 // <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level
9026 
9027 // <0=> Off
9028 // <1=> Error
9029 // <2=> Warning
9030 // <3=> Info
9031 // <4=> Debug
9032 
9033 #ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL
9034 #define APP_USBD_MSC_CONFIG_LOG_LEVEL 3
9035 #endif
9036 
9037 // <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix.
9038 
9039 // <0=> Default
9040 // <1=> Black
9041 // <2=> Red
9042 // <3=> Green
9043 // <4=> Yellow
9044 // <5=> Blue
9045 // <6=> Magenta
9046 // <7=> Cyan
9047 // <8=> White
9048 
9049 #ifndef APP_USBD_MSC_CONFIG_INFO_COLOR
9050 #define APP_USBD_MSC_CONFIG_INFO_COLOR 0
9051 #endif
9052 
9053 // <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9054 
9055 // <0=> Default
9056 // <1=> Black
9057 // <2=> Red
9058 // <3=> Green
9059 // <4=> Yellow
9060 // <5=> Blue
9061 // <6=> Magenta
9062 // <7=> Cyan
9063 // <8=> White
9064 
9065 #ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR
9066 #define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0
9067 #endif
9068 
9069 // </e>
9070 
9071 // <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module.
9072 //==========================================================
9073 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED
9074 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0
9075 #endif
9076 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level
9077 
9078 // <0=> Off
9079 // <1=> Error
9080 // <2=> Warning
9081 // <3=> Info
9082 // <4=> Debug
9083 
9084 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL
9085 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3
9086 #endif
9087 
9088 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
9089 
9090 // <0=> Default
9091 // <1=> Black
9092 // <2=> Red
9093 // <3=> Green
9094 // <4=> Yellow
9095 // <5=> Blue
9096 // <6=> Magenta
9097 // <7=> Cyan
9098 // <8=> White
9099 
9100 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR
9101 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0
9102 #endif
9103 
9104 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9105 
9106 // <0=> Default
9107 // <1=> Black
9108 // <2=> Red
9109 // <3=> Green
9110 // <4=> Yellow
9111 // <5=> Blue
9112 // <6=> Magenta
9113 // <7=> Cyan
9114 // <8=> White
9115 
9116 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR
9117 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0
9118 #endif
9119 
9120 // </e>
9121 
9122 // <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module.
9123 //==========================================================
9124 #ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED
9125 #define NRF_ATFIFO_CONFIG_LOG_ENABLED 1
9126 #endif
9127 // <o> NRF_ATFIFO_CONFIG_LOG_LEVEL - Default Severity level
9128 
9129 // <0=> Off
9130 // <1=> Error
9131 // <2=> Warning
9132 // <3=> Info
9133 // <4=> Debug
9134 
9135 #ifndef NRF_ATFIFO_CONFIG_LOG_LEVEL
9136 #define NRF_ATFIFO_CONFIG_LOG_LEVEL 3
9137 #endif
9138 
9139 // <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
9140 
9141 // <0=> Off
9142 // <1=> Error
9143 // <2=> Warning
9144 // <3=> Info
9145 // <4=> Debug
9146 
9147 #ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL
9148 #define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3
9149 #endif
9150 
9151 // <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix.
9152 
9153 // <0=> Default
9154 // <1=> Black
9155 // <2=> Red
9156 // <3=> Green
9157 // <4=> Yellow
9158 // <5=> Blue
9159 // <6=> Magenta
9160 // <7=> Cyan
9161 // <8=> White
9162 
9163 #ifndef NRF_ATFIFO_CONFIG_INFO_COLOR
9164 #define NRF_ATFIFO_CONFIG_INFO_COLOR 0
9165 #endif
9166 
9167 // <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9168 
9169 // <0=> Default
9170 // <1=> Black
9171 // <2=> Red
9172 // <3=> Green
9173 // <4=> Yellow
9174 // <5=> Blue
9175 // <6=> Magenta
9176 // <7=> Cyan
9177 // <8=> White
9178 
9179 #ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR
9180 #define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0
9181 #endif
9182 
9183 // </e>
9184 
9185 // <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module.
9186 //==========================================================
9187 #ifndef NRF_BALLOC_CONFIG_LOG_ENABLED
9188 #define NRF_BALLOC_CONFIG_LOG_ENABLED 0
9189 #endif
9190 // <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level
9191 
9192 // <0=> Off
9193 // <1=> Error
9194 // <2=> Warning
9195 // <3=> Info
9196 // <4=> Debug
9197 
9198 #ifndef NRF_BALLOC_CONFIG_LOG_LEVEL
9199 #define NRF_BALLOC_CONFIG_LOG_LEVEL 3
9200 #endif
9201 
9202 // <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
9203 
9204 // <i> If module generates a lot of logs, initial log level can
9205 // <i> be decreased to prevent flooding. Severity level can be
9206 // <i> increased on instance basis.
9207 // <0=> Off
9208 // <1=> Error
9209 // <2=> Warning
9210 // <3=> Info
9211 // <4=> Debug
9212 
9213 #ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL
9214 #define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3
9215 #endif
9216 
9217 // <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix.
9218 
9219 // <0=> Default
9220 // <1=> Black
9221 // <2=> Red
9222 // <3=> Green
9223 // <4=> Yellow
9224 // <5=> Blue
9225 // <6=> Magenta
9226 // <7=> Cyan
9227 // <8=> White
9228 
9229 #ifndef NRF_BALLOC_CONFIG_INFO_COLOR
9230 #define NRF_BALLOC_CONFIG_INFO_COLOR 0
9231 #endif
9232 
9233 // <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9234 
9235 // <0=> Default
9236 // <1=> Black
9237 // <2=> Red
9238 // <3=> Green
9239 // <4=> Yellow
9240 // <5=> Blue
9241 // <6=> Magenta
9242 // <7=> Cyan
9243 // <8=> White
9244 
9245 #ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR
9246 #define NRF_BALLOC_CONFIG_DEBUG_COLOR 0
9247 #endif
9248 
9249 // </e>
9250 
9251 // <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module.
9252 //==========================================================
9253 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED
9254 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0
9255 #endif
9256 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level
9257 
9258 // <0=> Off
9259 // <1=> Error
9260 // <2=> Warning
9261 // <3=> Info
9262 // <4=> Debug
9263 
9264 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL
9265 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3
9266 #endif
9267 
9268 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
9269 
9270 // <0=> Off
9271 // <1=> Error
9272 // <2=> Warning
9273 // <3=> Info
9274 // <4=> Debug
9275 
9276 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL
9277 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3
9278 #endif
9279 
9280 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix.
9281 
9282 // <0=> Default
9283 // <1=> Black
9284 // <2=> Red
9285 // <3=> Green
9286 // <4=> Yellow
9287 // <5=> Blue
9288 // <6=> Magenta
9289 // <7=> Cyan
9290 // <8=> White
9291 
9292 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR
9293 #define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0
9294 #endif
9295 
9296 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9297 
9298 // <0=> Default
9299 // <1=> Black
9300 // <2=> Red
9301 // <3=> Green
9302 // <4=> Yellow
9303 // <5=> Blue
9304 // <6=> Magenta
9305 // <7=> Cyan
9306 // <8=> White
9307 
9308 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR
9309 #define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0
9310 #endif
9311 
9312 // </e>
9313 
9314 // <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module.
9315 //==========================================================
9316 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED
9317 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0
9318 #endif
9319 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level
9320 
9321 // <0=> Off
9322 // <1=> Error
9323 // <2=> Warning
9324 // <3=> Info
9325 // <4=> Debug
9326 
9327 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL
9328 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3
9329 #endif
9330 
9331 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
9332 
9333 // <0=> Off
9334 // <1=> Error
9335 // <2=> Warning
9336 // <3=> Info
9337 // <4=> Debug
9338 
9339 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL
9340 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3
9341 #endif
9342 
9343 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
9344 
9345 // <0=> Default
9346 // <1=> Black
9347 // <2=> Red
9348 // <3=> Green
9349 // <4=> Yellow
9350 // <5=> Blue
9351 // <6=> Magenta
9352 // <7=> Cyan
9353 // <8=> White
9354 
9355 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR
9356 #define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0
9357 #endif
9358 
9359 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9360 
9361 // <0=> Default
9362 // <1=> Black
9363 // <2=> Red
9364 // <3=> Green
9365 // <4=> Yellow
9366 // <5=> Blue
9367 // <6=> Magenta
9368 // <7=> Cyan
9369 // <8=> White
9370 
9371 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR
9372 #define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0
9373 #endif
9374 
9375 // </e>
9376 
9377 // <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
9378 //==========================================================
9379 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
9380 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0
9381 #endif
9382 // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level
9383 
9384 // <0=> Off
9385 // <1=> Error
9386 // <2=> Warning
9387 // <3=> Info
9388 // <4=> Debug
9389 
9390 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
9391 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3
9392 #endif
9393 
9394 // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
9395 
9396 // <0=> Off
9397 // <1=> Error
9398 // <2=> Warning
9399 // <3=> Info
9400 // <4=> Debug
9401 
9402 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL
9403 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3
9404 #endif
9405 
9406 // <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix.
9407 
9408 // <0=> Default
9409 // <1=> Black
9410 // <2=> Red
9411 // <3=> Green
9412 // <4=> Yellow
9413 // <5=> Blue
9414 // <6=> Magenta
9415 // <7=> Cyan
9416 // <8=> White
9417 
9418 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR
9419 #define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0
9420 #endif
9421 
9422 // <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9423 
9424 // <0=> Default
9425 // <1=> Black
9426 // <2=> Red
9427 // <3=> Green
9428 // <4=> Yellow
9429 // <5=> Blue
9430 // <6=> Magenta
9431 // <7=> Cyan
9432 // <8=> White
9433 
9434 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR
9435 #define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0
9436 #endif
9437 
9438 // </e>
9439 
9440 // <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
9441 //==========================================================
9442 #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED
9443 #define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0
9444 #endif
9445 // <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level
9446 
9447 // <0=> Off
9448 // <1=> Error
9449 // <2=> Warning
9450 // <3=> Info
9451 // <4=> Debug
9452 
9453 #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL
9454 #define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3
9455 #endif
9456 
9457 // <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
9458 
9459 // <0=> Default
9460 // <1=> Black
9461 // <2=> Red
9462 // <3=> Green
9463 // <4=> Yellow
9464 // <5=> Blue
9465 // <6=> Magenta
9466 // <7=> Cyan
9467 // <8=> White
9468 
9469 #ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR
9470 #define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0
9471 #endif
9472 
9473 // <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9474 
9475 // <0=> Default
9476 // <1=> Black
9477 // <2=> Red
9478 // <3=> Green
9479 // <4=> Yellow
9480 // <5=> Blue
9481 // <6=> Magenta
9482 // <7=> Cyan
9483 // <8=> White
9484 
9485 #ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR
9486 #define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0
9487 #endif
9488 
9489 // </e>
9490 
9491 // <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
9492 //==========================================================
9493 #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
9494 #define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0
9495 #endif
9496 // <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
9497 
9498 // <0=> Off
9499 // <1=> Error
9500 // <2=> Warning
9501 // <3=> Info
9502 // <4=> Debug
9503 
9504 #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
9505 #define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
9506 #endif
9507 
9508 // <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
9509 
9510 // <0=> Default
9511 // <1=> Black
9512 // <2=> Red
9513 // <3=> Green
9514 // <4=> Yellow
9515 // <5=> Blue
9516 // <6=> Magenta
9517 // <7=> Cyan
9518 // <8=> White
9519 
9520 #ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
9521 #define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
9522 #endif
9523 
9524 // <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9525 
9526 // <0=> Default
9527 // <1=> Black
9528 // <2=> Red
9529 // <3=> Green
9530 // <4=> Yellow
9531 // <5=> Blue
9532 // <6=> Magenta
9533 // <7=> Cyan
9534 // <8=> White
9535 
9536 #ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
9537 #define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
9538 #endif
9539 
9540 // </e>
9541 
9542 // <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
9543 //==========================================================
9544 #ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED
9545 #define NRF_CLI_UART_CONFIG_LOG_ENABLED 0
9546 #endif
9547 // <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level
9548 
9549 // <0=> Off
9550 // <1=> Error
9551 // <2=> Warning
9552 // <3=> Info
9553 // <4=> Debug
9554 
9555 #ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL
9556 #define NRF_CLI_UART_CONFIG_LOG_LEVEL 3
9557 #endif
9558 
9559 // <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
9560 
9561 // <0=> Default
9562 // <1=> Black
9563 // <2=> Red
9564 // <3=> Green
9565 // <4=> Yellow
9566 // <5=> Blue
9567 // <6=> Magenta
9568 // <7=> Cyan
9569 // <8=> White
9570 
9571 #ifndef NRF_CLI_UART_CONFIG_INFO_COLOR
9572 #define NRF_CLI_UART_CONFIG_INFO_COLOR 0
9573 #endif
9574 
9575 // <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9576 
9577 // <0=> Default
9578 // <1=> Black
9579 // <2=> Red
9580 // <3=> Green
9581 // <4=> Yellow
9582 // <5=> Blue
9583 // <6=> Magenta
9584 // <7=> Cyan
9585 // <8=> White
9586 
9587 #ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR
9588 #define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0
9589 #endif
9590 
9591 // </e>
9592 
9593 // <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
9594 //==========================================================
9595 #ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED
9596 #define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0
9597 #endif
9598 // <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
9599 
9600 // <0=> Off
9601 // <1=> Error
9602 // <2=> Warning
9603 // <3=> Info
9604 // <4=> Debug
9605 
9606 #ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL
9607 #define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3
9608 #endif
9609 
9610 // <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
9611 
9612 // <0=> Default
9613 // <1=> Black
9614 // <2=> Red
9615 // <3=> Green
9616 // <4=> Yellow
9617 // <5=> Blue
9618 // <6=> Magenta
9619 // <7=> Cyan
9620 // <8=> White
9621 
9622 #ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR
9623 #define NRF_LIBUARTE_CONFIG_INFO_COLOR 0
9624 #endif
9625 
9626 // <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9627 
9628 // <0=> Default
9629 // <1=> Black
9630 // <2=> Red
9631 // <3=> Green
9632 // <4=> Yellow
9633 // <5=> Blue
9634 // <6=> Magenta
9635 // <7=> Cyan
9636 // <8=> White
9637 
9638 #ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR
9639 #define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0
9640 #endif
9641 
9642 // </e>
9643 
9644 // <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module.
9645 //==========================================================
9646 #ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED
9647 #define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0
9648 #endif
9649 // <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level
9650 
9651 // <0=> Off
9652 // <1=> Error
9653 // <2=> Warning
9654 // <3=> Info
9655 // <4=> Debug
9656 
9657 #ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL
9658 #define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3
9659 #endif
9660 
9661 // <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix.
9662 
9663 // <0=> Default
9664 // <1=> Black
9665 // <2=> Red
9666 // <3=> Green
9667 // <4=> Yellow
9668 // <5=> Blue
9669 // <6=> Magenta
9670 // <7=> Cyan
9671 // <8=> White
9672 
9673 #ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR
9674 #define NRF_MEMOBJ_CONFIG_INFO_COLOR 0
9675 #endif
9676 
9677 // <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9678 
9679 // <0=> Default
9680 // <1=> Black
9681 // <2=> Red
9682 // <3=> Green
9683 // <4=> Yellow
9684 // <5=> Blue
9685 // <6=> Magenta
9686 // <7=> Cyan
9687 // <8=> White
9688 
9689 #ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR
9690 #define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0
9691 #endif
9692 
9693 // </e>
9694 
9695 // <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module.
9696 //==========================================================
9697 #ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED
9698 #define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0
9699 #endif
9700 // <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level
9701 
9702 // <0=> Off
9703 // <1=> Error
9704 // <2=> Warning
9705 // <3=> Info
9706 // <4=> Debug
9707 
9708 #ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL
9709 #define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3
9710 #endif
9711 
9712 // <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix.
9713 
9714 // <0=> Default
9715 // <1=> Black
9716 // <2=> Red
9717 // <3=> Green
9718 // <4=> Yellow
9719 // <5=> Blue
9720 // <6=> Magenta
9721 // <7=> Cyan
9722 // <8=> White
9723 
9724 #ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR
9725 #define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0
9726 #endif
9727 
9728 // <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9729 
9730 // <0=> Default
9731 // <1=> Black
9732 // <2=> Red
9733 // <3=> Green
9734 // <4=> Yellow
9735 // <5=> Blue
9736 // <6=> Magenta
9737 // <7=> Cyan
9738 // <8=> White
9739 
9740 #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR
9741 #define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0
9742 #endif
9743 
9744 // </e>
9745 
9746 // <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module.
9747 //==========================================================
9748 #ifndef NRF_QUEUE_CONFIG_LOG_ENABLED
9749 #define NRF_QUEUE_CONFIG_LOG_ENABLED 0
9750 #endif
9751 // <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level
9752 
9753 // <0=> Off
9754 // <1=> Error
9755 // <2=> Warning
9756 // <3=> Info
9757 // <4=> Debug
9758 
9759 #ifndef NRF_QUEUE_CONFIG_LOG_LEVEL
9760 #define NRF_QUEUE_CONFIG_LOG_LEVEL 3
9761 #endif
9762 
9763 // <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
9764 
9765 // <0=> Off
9766 // <1=> Error
9767 // <2=> Warning
9768 // <3=> Info
9769 // <4=> Debug
9770 
9771 #ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL
9772 #define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3
9773 #endif
9774 
9775 // <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix.
9776 
9777 // <0=> Default
9778 // <1=> Black
9779 // <2=> Red
9780 // <3=> Green
9781 // <4=> Yellow
9782 // <5=> Blue
9783 // <6=> Magenta
9784 // <7=> Cyan
9785 // <8=> White
9786 
9787 #ifndef NRF_QUEUE_CONFIG_INFO_COLOR
9788 #define NRF_QUEUE_CONFIG_INFO_COLOR 0
9789 #endif
9790 
9791 // <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9792 
9793 // <0=> Default
9794 // <1=> Black
9795 // <2=> Red
9796 // <3=> Green
9797 // <4=> Yellow
9798 // <5=> Blue
9799 // <6=> Magenta
9800 // <7=> Cyan
9801 // <8=> White
9802 
9803 #ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR
9804 #define NRF_QUEUE_CONFIG_DEBUG_COLOR 0
9805 #endif
9806 
9807 // </e>
9808 
9809 // <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module.
9810 //==========================================================
9811 #ifndef NRF_SDH_ANT_LOG_ENABLED
9812 #define NRF_SDH_ANT_LOG_ENABLED 0
9813 #endif
9814 // <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level
9815 
9816 // <0=> Off
9817 // <1=> Error
9818 // <2=> Warning
9819 // <3=> Info
9820 // <4=> Debug
9821 
9822 #ifndef NRF_SDH_ANT_LOG_LEVEL
9823 #define NRF_SDH_ANT_LOG_LEVEL 3
9824 #endif
9825 
9826 // <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix.
9827 
9828 // <0=> Default
9829 // <1=> Black
9830 // <2=> Red
9831 // <3=> Green
9832 // <4=> Yellow
9833 // <5=> Blue
9834 // <6=> Magenta
9835 // <7=> Cyan
9836 // <8=> White
9837 
9838 #ifndef NRF_SDH_ANT_INFO_COLOR
9839 #define NRF_SDH_ANT_INFO_COLOR 0
9840 #endif
9841 
9842 // <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix.
9843 
9844 // <0=> Default
9845 // <1=> Black
9846 // <2=> Red
9847 // <3=> Green
9848 // <4=> Yellow
9849 // <5=> Blue
9850 // <6=> Magenta
9851 // <7=> Cyan
9852 // <8=> White
9853 
9854 #ifndef NRF_SDH_ANT_DEBUG_COLOR
9855 #define NRF_SDH_ANT_DEBUG_COLOR 0
9856 #endif
9857 
9858 // </e>
9859 
9860 // <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module.
9861 //==========================================================
9862 #ifndef NRF_SDH_BLE_LOG_ENABLED
9863 #define NRF_SDH_BLE_LOG_ENABLED 1
9864 #endif
9865 // <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level
9866 
9867 // <0=> Off
9868 // <1=> Error
9869 // <2=> Warning
9870 // <3=> Info
9871 // <4=> Debug
9872 
9873 #ifndef NRF_SDH_BLE_LOG_LEVEL
9874 #define NRF_SDH_BLE_LOG_LEVEL 4
9875 #endif
9876 
9877 // <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix.
9878 
9879 // <0=> Default
9880 // <1=> Black
9881 // <2=> Red
9882 // <3=> Green
9883 // <4=> Yellow
9884 // <5=> Blue
9885 // <6=> Magenta
9886 // <7=> Cyan
9887 // <8=> White
9888 
9889 #ifndef NRF_SDH_BLE_INFO_COLOR
9890 #define NRF_SDH_BLE_INFO_COLOR 0
9891 #endif
9892 
9893 // <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix.
9894 
9895 // <0=> Default
9896 // <1=> Black
9897 // <2=> Red
9898 // <3=> Green
9899 // <4=> Yellow
9900 // <5=> Blue
9901 // <6=> Magenta
9902 // <7=> Cyan
9903 // <8=> White
9904 
9905 #ifndef NRF_SDH_BLE_DEBUG_COLOR
9906 #define NRF_SDH_BLE_DEBUG_COLOR 0
9907 #endif
9908 
9909 // </e>
9910 
9911 // <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module.
9912 //==========================================================
9913 #ifndef NRF_SDH_LOG_ENABLED
9914 #define NRF_SDH_LOG_ENABLED 1
9915 #endif
9916 // <o> NRF_SDH_LOG_LEVEL - Default Severity level
9917 
9918 // <0=> Off
9919 // <1=> Error
9920 // <2=> Warning
9921 // <3=> Info
9922 // <4=> Debug
9923 
9924 #ifndef NRF_SDH_LOG_LEVEL
9925 #define NRF_SDH_LOG_LEVEL 4
9926 #endif
9927 
9928 // <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix.
9929 
9930 // <0=> Default
9931 // <1=> Black
9932 // <2=> Red
9933 // <3=> Green
9934 // <4=> Yellow
9935 // <5=> Blue
9936 // <6=> Magenta
9937 // <7=> Cyan
9938 // <8=> White
9939 
9940 #ifndef NRF_SDH_INFO_COLOR
9941 #define NRF_SDH_INFO_COLOR 0
9942 #endif
9943 
9944 // <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix.
9945 
9946 // <0=> Default
9947 // <1=> Black
9948 // <2=> Red
9949 // <3=> Green
9950 // <4=> Yellow
9951 // <5=> Blue
9952 // <6=> Magenta
9953 // <7=> Cyan
9954 // <8=> White
9955 
9956 #ifndef NRF_SDH_DEBUG_COLOR
9957 #define NRF_SDH_DEBUG_COLOR 0
9958 #endif
9959 
9960 // </e>
9961 
9962 // <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module.
9963 //==========================================================
9964 #ifndef NRF_SDH_SOC_LOG_ENABLED
9965 #define NRF_SDH_SOC_LOG_ENABLED 1
9966 #endif
9967 // <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level
9968 
9969 // <0=> Off
9970 // <1=> Error
9971 // <2=> Warning
9972 // <3=> Info
9973 // <4=> Debug
9974 
9975 #ifndef NRF_SDH_SOC_LOG_LEVEL
9976 #define NRF_SDH_SOC_LOG_LEVEL 3
9977 #endif
9978 
9979 // <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix.
9980 
9981 // <0=> Default
9982 // <1=> Black
9983 // <2=> Red
9984 // <3=> Green
9985 // <4=> Yellow
9986 // <5=> Blue
9987 // <6=> Magenta
9988 // <7=> Cyan
9989 // <8=> White
9990 
9991 #ifndef NRF_SDH_SOC_INFO_COLOR
9992 #define NRF_SDH_SOC_INFO_COLOR 0
9993 #endif
9994 
9995 // <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix.
9996 
9997 // <0=> Default
9998 // <1=> Black
9999 // <2=> Red
10000 // <3=> Green
10001 // <4=> Yellow
10002 // <5=> Blue
10003 // <6=> Magenta
10004 // <7=> Cyan
10005 // <8=> White
10006 
10007 #ifndef NRF_SDH_SOC_DEBUG_COLOR
10008 #define NRF_SDH_SOC_DEBUG_COLOR 0
10009 #endif
10010 
10011 // </e>
10012 
10013 // <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module.
10014 //==========================================================
10015 #ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED
10016 #define NRF_SORTLIST_CONFIG_LOG_ENABLED 0
10017 #endif
10018 // <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level
10019 
10020 // <0=> Off
10021 // <1=> Error
10022 // <2=> Warning
10023 // <3=> Info
10024 // <4=> Debug
10025 
10026 #ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL
10027 #define NRF_SORTLIST_CONFIG_LOG_LEVEL 3
10028 #endif
10029 
10030 // <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix.
10031 
10032 // <0=> Default
10033 // <1=> Black
10034 // <2=> Red
10035 // <3=> Green
10036 // <4=> Yellow
10037 // <5=> Blue
10038 // <6=> Magenta
10039 // <7=> Cyan
10040 // <8=> White
10041 
10042 #ifndef NRF_SORTLIST_CONFIG_INFO_COLOR
10043 #define NRF_SORTLIST_CONFIG_INFO_COLOR 0
10044 #endif
10045 
10046 // <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10047 
10048 // <0=> Default
10049 // <1=> Black
10050 // <2=> Red
10051 // <3=> Green
10052 // <4=> Yellow
10053 // <5=> Blue
10054 // <6=> Magenta
10055 // <7=> Cyan
10056 // <8=> White
10057 
10058 #ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR
10059 #define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0
10060 #endif
10061 
10062 // </e>
10063 
10064 // <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module.
10065 //==========================================================
10066 #ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED
10067 #define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0
10068 #endif
10069 // <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level
10070 
10071 // <0=> Off
10072 // <1=> Error
10073 // <2=> Warning
10074 // <3=> Info
10075 // <4=> Debug
10076 
10077 #ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL
10078 #define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3
10079 #endif
10080 
10081 // <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix.
10082 
10083 // <0=> Default
10084 // <1=> Black
10085 // <2=> Red
10086 // <3=> Green
10087 // <4=> Yellow
10088 // <5=> Blue
10089 // <6=> Magenta
10090 // <7=> Cyan
10091 // <8=> White
10092 
10093 #ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR
10094 #define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0
10095 #endif
10096 
10097 // <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10098 
10099 // <0=> Default
10100 // <1=> Black
10101 // <2=> Red
10102 // <3=> Green
10103 // <4=> Yellow
10104 // <5=> Blue
10105 // <6=> Magenta
10106 // <7=> Cyan
10107 // <8=> White
10108 
10109 #ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR
10110 #define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0
10111 #endif
10112 
10113 // </e>
10114 
10115 // <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules.
10116 //==========================================================
10117 #ifndef PM_LOG_ENABLED
10118 #define PM_LOG_ENABLED 1
10119 #endif
10120 // <o> PM_LOG_LEVEL - Default Severity level
10121 
10122 // <0=> Off
10123 // <1=> Error
10124 // <2=> Warning
10125 // <3=> Info
10126 // <4=> Debug
10127 
10128 #ifndef PM_LOG_LEVEL
10129 #define PM_LOG_LEVEL 3
10130 #endif
10131 
10132 // <o> PM_LOG_INFO_COLOR - ANSI escape code prefix.
10133 
10134 // <0=> Default
10135 // <1=> Black
10136 // <2=> Red
10137 // <3=> Green
10138 // <4=> Yellow
10139 // <5=> Blue
10140 // <6=> Magenta
10141 // <7=> Cyan
10142 // <8=> White
10143 
10144 #ifndef PM_LOG_INFO_COLOR
10145 #define PM_LOG_INFO_COLOR 0
10146 #endif
10147 
10148 // <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix.
10149 
10150 // <0=> Default
10151 // <1=> Black
10152 // <2=> Red
10153 // <3=> Green
10154 // <4=> Yellow
10155 // <5=> Blue
10156 // <6=> Magenta
10157 // <7=> Cyan
10158 // <8=> White
10159 
10160 #ifndef PM_LOG_DEBUG_COLOR
10161 #define PM_LOG_DEBUG_COLOR 0
10162 #endif
10163 
10164 // </e>
10165 
10166 // </h>
10167 //==========================================================
10168 
10169 // <h> nrf_log in nRF_Serialization
10170 
10171 //==========================================================
10172 // <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module.
10173 //==========================================================
10174 #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED
10175 #define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0
10176 #endif
10177 // <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level
10178 
10179 // <0=> Off
10180 // <1=> Error
10181 // <2=> Warning
10182 // <3=> Info
10183 // <4=> Debug
10184 
10185 #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL
10186 #define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3
10187 #endif
10188 
10189 // <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix.
10190 
10191 // <0=> Default
10192 // <1=> Black
10193 // <2=> Red
10194 // <3=> Green
10195 // <4=> Yellow
10196 // <5=> Blue
10197 // <6=> Magenta
10198 // <7=> Cyan
10199 // <8=> White
10200 
10201 #ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR
10202 #define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0
10203 #endif
10204 
10205 // <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10206 
10207 // <0=> Default
10208 // <1=> Black
10209 // <2=> Red
10210 // <3=> Green
10211 // <4=> Yellow
10212 // <5=> Blue
10213 // <6=> Magenta
10214 // <7=> Cyan
10215 // <8=> White
10216 
10217 #ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR
10218 #define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0
10219 #endif
10220 
10221 // </e>
10222 
10223 // </h>
10224 //==========================================================
10225 
10226 // </h>
10227 //==========================================================
10228 
10229 // </e>
10230 
10231 // <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter
10232 
10233 #ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED
10234 #define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1
10235 #endif
10236 
10237 // </h>
10238 //==========================================================
10239 
10240 // <h> nRF_NFC
10241 
10242 //==========================================================
10243 // <q> NFC_AC_REC_ENABLED - nfc_ac_rec - NFC NDEF Alternative Carrier record encoder
10244 
10245 #ifndef NFC_AC_REC_ENABLED
10246 #define NFC_AC_REC_ENABLED 0
10247 #endif
10248 
10249 // <q> NFC_AC_REC_PARSER_ENABLED - nfc_ac_rec_parser - Alternative Carrier record parser
10250 
10251 #ifndef NFC_AC_REC_PARSER_ENABLED
10252 #define NFC_AC_REC_PARSER_ENABLED 0
10253 #endif
10254 
10255 // <e> NFC_BLE_OOB_ADVDATA_ENABLED - nfc_ble_oob_advdata - AD data for OOB pairing encoder
10256 //==========================================================
10257 #ifndef NFC_BLE_OOB_ADVDATA_ENABLED
10258 #define NFC_BLE_OOB_ADVDATA_ENABLED 0
10259 #endif
10260 // <o> ADVANCED_ADVDATA_SUPPORT - Non-mandatory AD types for BLE OOB pairing are encoded inside the NDEF message (e.g. service UUIDs)
10261 
10262 // <1=> Enabled
10263 // <0=> Disabled
10264 
10265 #ifndef ADVANCED_ADVDATA_SUPPORT
10266 #define ADVANCED_ADVDATA_SUPPORT 0
10267 #endif
10268 
10269 // </e>
10270 
10271 // <q> NFC_BLE_OOB_ADVDATA_PARSER_ENABLED - nfc_ble_oob_advdata_parser - BLE OOB pairing AD data parser
10272 
10273 #ifndef NFC_BLE_OOB_ADVDATA_PARSER_ENABLED
10274 #define NFC_BLE_OOB_ADVDATA_PARSER_ENABLED 0
10275 #endif
10276 
10277 // <e> NFC_BLE_PAIR_LIB_ENABLED - nfc_ble_pair_lib - Library parameters
10278 //==========================================================
10279 #ifndef NFC_BLE_PAIR_LIB_ENABLED
10280 #define NFC_BLE_PAIR_LIB_ENABLED 0
10281 #endif
10282 // <e> NFC_BLE_PAIR_LIB_LOG_ENABLED - Enables logging in the module.
10283 //==========================================================
10284 #ifndef NFC_BLE_PAIR_LIB_LOG_ENABLED
10285 #define NFC_BLE_PAIR_LIB_LOG_ENABLED 0
10286 #endif
10287 // <o> NFC_BLE_PAIR_LIB_LOG_LEVEL - Default Severity level
10288 
10289 // <0=> Off
10290 // <1=> Error
10291 // <2=> Warning
10292 // <3=> Info
10293 // <4=> Debug
10294 
10295 #ifndef NFC_BLE_PAIR_LIB_LOG_LEVEL
10296 #define NFC_BLE_PAIR_LIB_LOG_LEVEL 3
10297 #endif
10298 
10299 // <o> NFC_BLE_PAIR_LIB_INFO_COLOR - ANSI escape code prefix.
10300 
10301 // <0=> Default
10302 // <1=> Black
10303 // <2=> Red
10304 // <3=> Green
10305 // <4=> Yellow
10306 // <5=> Blue
10307 // <6=> Magenta
10308 // <7=> Cyan
10309 // <8=> White
10310 
10311 #ifndef NFC_BLE_PAIR_LIB_INFO_COLOR
10312 #define NFC_BLE_PAIR_LIB_INFO_COLOR 0
10313 #endif
10314 
10315 // <o> NFC_BLE_PAIR_LIB_DEBUG_COLOR - ANSI escape code prefix.
10316 
10317 // <0=> Default
10318 // <1=> Black
10319 // <2=> Red
10320 // <3=> Green
10321 // <4=> Yellow
10322 // <5=> Blue
10323 // <6=> Magenta
10324 // <7=> Cyan
10325 // <8=> White
10326 
10327 #ifndef NFC_BLE_PAIR_LIB_DEBUG_COLOR
10328 #define NFC_BLE_PAIR_LIB_DEBUG_COLOR 0
10329 #endif
10330 
10331 // </e>
10332 
10333 // <h> NFC_BLE_PAIR_LIB_SECURITY_PARAMETERS - Common Peer Manager security parameters.
10334 
10335 //==========================================================
10336 // <e> BLE_NFC_SEC_PARAM_BOND - Enables device bonding.
10337 
10338 // <i> If bonding is enabled at least one of the BLE_NFC_SEC_PARAM_KDIST options must be enabled.
10339 //==========================================================
10340 #ifndef BLE_NFC_SEC_PARAM_BOND
10341 #define BLE_NFC_SEC_PARAM_BOND 1
10342 #endif
10343 // <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ENC - Enables Long Term Key and Master Identification distribution by device.
10344 
10345 #ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ENC
10346 #define BLE_NFC_SEC_PARAM_KDIST_OWN_ENC 1
10347 #endif
10348 
10349 // <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ID - Enables Identity Resolving Key and Identity Address Information distribution by device.
10350 
10351 #ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ID
10352 #define BLE_NFC_SEC_PARAM_KDIST_OWN_ID 1
10353 #endif
10354 
10355 // <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ENC - Enables Long Term Key and Master Identification distribution by peer.
10356 
10357 #ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ENC
10358 #define BLE_NFC_SEC_PARAM_KDIST_PEER_ENC 1
10359 #endif
10360 
10361 // <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ID - Enables Identity Resolving Key and Identity Address Information distribution by peer.
10362 
10363 #ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ID
10364 #define BLE_NFC_SEC_PARAM_KDIST_PEER_ID 1
10365 #endif
10366 
10367 // </e>
10368 
10369 // <o> BLE_NFC_SEC_PARAM_MIN_KEY_SIZE - Minimal size of a security key.
10370 
10371 // <7=> 7
10372 // <8=> 8
10373 // <9=> 9
10374 // <10=> 10
10375 // <11=> 11
10376 // <12=> 12
10377 // <13=> 13
10378 // <14=> 14
10379 // <15=> 15
10380 // <16=> 16
10381 
10382 #ifndef BLE_NFC_SEC_PARAM_MIN_KEY_SIZE
10383 #define BLE_NFC_SEC_PARAM_MIN_KEY_SIZE 7
10384 #endif
10385 
10386 // <o> BLE_NFC_SEC_PARAM_MAX_KEY_SIZE - Maximal size of a security key.
10387 
10388 // <7=> 7
10389 // <8=> 8
10390 // <9=> 9
10391 // <10=> 10
10392 // <11=> 11
10393 // <12=> 12
10394 // <13=> 13
10395 // <14=> 14
10396 // <15=> 15
10397 // <16=> 16
10398 
10399 #ifndef BLE_NFC_SEC_PARAM_MAX_KEY_SIZE
10400 #define BLE_NFC_SEC_PARAM_MAX_KEY_SIZE 16
10401 #endif
10402 
10403 // </h>
10404 //==========================================================
10405 
10406 // </e>
10407 
10408 // <q> NFC_BLE_PAIR_MSG_ENABLED - nfc_ble_pair_msg - NDEF message for OOB pairing encoder
10409 
10410 #ifndef NFC_BLE_PAIR_MSG_ENABLED
10411 #define NFC_BLE_PAIR_MSG_ENABLED 0
10412 #endif
10413 
10414 // <q> NFC_CH_COMMON_ENABLED - nfc_ble_pair_common - OOB pairing common data
10415 
10416 #ifndef NFC_CH_COMMON_ENABLED
10417 #define NFC_CH_COMMON_ENABLED 0
10418 #endif
10419 
10420 // <q> NFC_EP_OOB_REC_ENABLED - nfc_ep_oob_rec - EP record for BLE pairing encoder
10421 
10422 #ifndef NFC_EP_OOB_REC_ENABLED
10423 #define NFC_EP_OOB_REC_ENABLED 0
10424 #endif
10425 
10426 // <q> NFC_HS_REC_ENABLED - nfc_hs_rec - Handover Select NDEF record encoder
10427 
10428 #ifndef NFC_HS_REC_ENABLED
10429 #define NFC_HS_REC_ENABLED 0
10430 #endif
10431 
10432 // <q> NFC_LE_OOB_REC_ENABLED - nfc_le_oob_rec - LE record for BLE pairing encoder
10433 
10434 #ifndef NFC_LE_OOB_REC_ENABLED
10435 #define NFC_LE_OOB_REC_ENABLED 0
10436 #endif
10437 
10438 // <q> NFC_LE_OOB_REC_PARSER_ENABLED - nfc_le_oob_rec_parser - LE record parser
10439 
10440 #ifndef NFC_LE_OOB_REC_PARSER_ENABLED
10441 #define NFC_LE_OOB_REC_PARSER_ENABLED 0
10442 #endif
10443 
10444 // <q> NFC_NDEF_LAUNCHAPP_MSG_ENABLED - nfc_launchapp_msg - Encoding data for NDEF Application Launching message for NFC Tag
10445 
10446 #ifndef NFC_NDEF_LAUNCHAPP_MSG_ENABLED
10447 #define NFC_NDEF_LAUNCHAPP_MSG_ENABLED 0
10448 #endif
10449 
10450 // <q> NFC_NDEF_LAUNCHAPP_REC_ENABLED - nfc_launchapp_rec - Encoding data for NDEF Application Launching record for NFC Tag
10451 
10452 #ifndef NFC_NDEF_LAUNCHAPP_REC_ENABLED
10453 #define NFC_NDEF_LAUNCHAPP_REC_ENABLED 0
10454 #endif
10455 
10456 // <e> NFC_NDEF_MSG_ENABLED - nfc_ndef_msg - NFC NDEF Message generator module
10457 //==========================================================
10458 #ifndef NFC_NDEF_MSG_ENABLED
10459 #define NFC_NDEF_MSG_ENABLED 0
10460 #endif
10461 // <o> NFC_NDEF_MSG_TAG_TYPE - NFC Tag Type
10462 
10463 // <2=> Type 2 Tag
10464 // <4=> Type 4 Tag
10465 
10466 #ifndef NFC_NDEF_MSG_TAG_TYPE
10467 #define NFC_NDEF_MSG_TAG_TYPE 2
10468 #endif
10469 
10470 // </e>
10471 
10472 // <e> NFC_NDEF_MSG_PARSER_ENABLED - nfc_ndef_msg_parser - NFC NDEF message parser module
10473 //==========================================================
10474 #ifndef NFC_NDEF_MSG_PARSER_ENABLED
10475 #define NFC_NDEF_MSG_PARSER_ENABLED 0
10476 #endif
10477 // <e> NFC_NDEF_MSG_PARSER_LOG_ENABLED - Enables logging in the module.
10478 //==========================================================
10479 #ifndef NFC_NDEF_MSG_PARSER_LOG_ENABLED
10480 #define NFC_NDEF_MSG_PARSER_LOG_ENABLED 0
10481 #endif
10482 // <o> NFC_NDEF_MSG_PARSER_LOG_LEVEL - Default Severity level
10483 
10484 // <0=> Off
10485 // <1=> Error
10486 // <2=> Warning
10487 // <3=> Info
10488 // <4=> Debug
10489 
10490 #ifndef NFC_NDEF_MSG_PARSER_LOG_LEVEL
10491 #define NFC_NDEF_MSG_PARSER_LOG_LEVEL 3
10492 #endif
10493 
10494 // <o> NFC_NDEF_MSG_PARSER_INFO_COLOR - ANSI escape code prefix.
10495 
10496 // <0=> Default
10497 // <1=> Black
10498 // <2=> Red
10499 // <3=> Green
10500 // <4=> Yellow
10501 // <5=> Blue
10502 // <6=> Magenta
10503 // <7=> Cyan
10504 // <8=> White
10505 
10506 #ifndef NFC_NDEF_MSG_PARSER_INFO_COLOR
10507 #define NFC_NDEF_MSG_PARSER_INFO_COLOR 0
10508 #endif
10509 
10510 // </e>
10511 
10512 // </e>
10513 
10514 // <q> NFC_NDEF_RECORD_ENABLED - nfc_ndef_record - NFC NDEF Record generator module
10515 
10516 #ifndef NFC_NDEF_RECORD_ENABLED
10517 #define NFC_NDEF_RECORD_ENABLED 0
10518 #endif
10519 
10520 // <e> NFC_NDEF_RECORD_PARSER_ENABLED - nfc_ndef_record_parser - NFC NDEF Record parser module
10521 //==========================================================
10522 #ifndef NFC_NDEF_RECORD_PARSER_ENABLED
10523 #define NFC_NDEF_RECORD_PARSER_ENABLED 0
10524 #endif
10525 // <e> NFC_NDEF_RECORD_PARSER_LOG_ENABLED - Enables logging in the module.
10526 //==========================================================
10527 #ifndef NFC_NDEF_RECORD_PARSER_LOG_ENABLED
10528 #define NFC_NDEF_RECORD_PARSER_LOG_ENABLED 0
10529 #endif
10530 // <o> NFC_NDEF_RECORD_PARSER_LOG_LEVEL - Default Severity level
10531 
10532 // <0=> Off
10533 // <1=> Error
10534 // <2=> Warning
10535 // <3=> Info
10536 // <4=> Debug
10537 
10538 #ifndef NFC_NDEF_RECORD_PARSER_LOG_LEVEL
10539 #define NFC_NDEF_RECORD_PARSER_LOG_LEVEL 3
10540 #endif
10541 
10542 // <o> NFC_NDEF_RECORD_PARSER_INFO_COLOR - ANSI escape code prefix.
10543 
10544 // <0=> Default
10545 // <1=> Black
10546 // <2=> Red
10547 // <3=> Green
10548 // <4=> Yellow
10549 // <5=> Blue
10550 // <6=> Magenta
10551 // <7=> Cyan
10552 // <8=> White
10553 
10554 #ifndef NFC_NDEF_RECORD_PARSER_INFO_COLOR
10555 #define NFC_NDEF_RECORD_PARSER_INFO_COLOR 0
10556 #endif
10557 
10558 // </e>
10559 
10560 // </e>
10561 
10562 // <q> NFC_NDEF_TEXT_RECORD_ENABLED - nfc_text_rec - Encoding data for a text record for NFC Tag
10563 
10564 #ifndef NFC_NDEF_TEXT_RECORD_ENABLED
10565 #define NFC_NDEF_TEXT_RECORD_ENABLED 0
10566 #endif
10567 
10568 // <q> NFC_NDEF_URI_MSG_ENABLED - nfc_uri_msg - Encoding data for NDEF message with URI record for NFC Tag
10569 
10570 #ifndef NFC_NDEF_URI_MSG_ENABLED
10571 #define NFC_NDEF_URI_MSG_ENABLED 0
10572 #endif
10573 
10574 // <q> NFC_NDEF_URI_REC_ENABLED - nfc_uri_rec - Encoding data for a URI record for NFC Tag
10575 
10576 #ifndef NFC_NDEF_URI_REC_ENABLED
10577 #define NFC_NDEF_URI_REC_ENABLED 0
10578 #endif
10579 
10580 // <e> NFC_PLATFORM_ENABLED - nfc_platform - NFC platform module for Clock control.
10581 //==========================================================
10582 #ifndef NFC_PLATFORM_ENABLED
10583 #define NFC_PLATFORM_ENABLED 0
10584 #endif
10585 // <e> NFC_PLATFORM_LOG_ENABLED - Enables logging in the module.
10586 //==========================================================
10587 #ifndef NFC_PLATFORM_LOG_ENABLED
10588 #define NFC_PLATFORM_LOG_ENABLED 0
10589 #endif
10590 // <o> NFC_PLATFORM_LOG_LEVEL - Default Severity level
10591 
10592 // <0=> Off
10593 // <1=> Error
10594 // <2=> Warning
10595 // <3=> Info
10596 // <4=> Debug
10597 
10598 #ifndef NFC_PLATFORM_LOG_LEVEL
10599 #define NFC_PLATFORM_LOG_LEVEL 3
10600 #endif
10601 
10602 // <o> NFC_PLATFORM_INFO_COLOR - ANSI escape code prefix.
10603 
10604 // <0=> Default
10605 // <1=> Black
10606 // <2=> Red
10607 // <3=> Green
10608 // <4=> Yellow
10609 // <5=> Blue
10610 // <6=> Magenta
10611 // <7=> Cyan
10612 // <8=> White
10613 
10614 #ifndef NFC_PLATFORM_INFO_COLOR
10615 #define NFC_PLATFORM_INFO_COLOR 0
10616 #endif
10617 
10618 // <o> NFC_PLATFORM_DEBUG_COLOR - ANSI escape code prefix.
10619 
10620 // <0=> Default
10621 // <1=> Black
10622 // <2=> Red
10623 // <3=> Green
10624 // <4=> Yellow
10625 // <5=> Blue
10626 // <6=> Magenta
10627 // <7=> Cyan
10628 // <8=> White
10629 
10630 #ifndef NFC_PLATFORM_DEBUG_COLOR
10631 #define NFC_PLATFORM_DEBUG_COLOR 0
10632 #endif
10633 
10634 // </e>
10635 
10636 // </e>
10637 
10638 // <e> NFC_T2T_PARSER_ENABLED - nfc_type_2_tag_parser - Parser for decoding Type 2 Tag data
10639 //==========================================================
10640 #ifndef NFC_T2T_PARSER_ENABLED
10641 #define NFC_T2T_PARSER_ENABLED 0
10642 #endif
10643 // <e> NFC_T2T_PARSER_LOG_ENABLED - Enables logging in the module.
10644 //==========================================================
10645 #ifndef NFC_T2T_PARSER_LOG_ENABLED
10646 #define NFC_T2T_PARSER_LOG_ENABLED 0
10647 #endif
10648 // <o> NFC_T2T_PARSER_LOG_LEVEL - Default Severity level
10649 
10650 // <0=> Off
10651 // <1=> Error
10652 // <2=> Warning
10653 // <3=> Info
10654 // <4=> Debug
10655 
10656 #ifndef NFC_T2T_PARSER_LOG_LEVEL
10657 #define NFC_T2T_PARSER_LOG_LEVEL 3
10658 #endif
10659 
10660 // <o> NFC_T2T_PARSER_INFO_COLOR - ANSI escape code prefix.
10661 
10662 // <0=> Default
10663 // <1=> Black
10664 // <2=> Red
10665 // <3=> Green
10666 // <4=> Yellow
10667 // <5=> Blue
10668 // <6=> Magenta
10669 // <7=> Cyan
10670 // <8=> White
10671 
10672 #ifndef NFC_T2T_PARSER_INFO_COLOR
10673 #define NFC_T2T_PARSER_INFO_COLOR 0
10674 #endif
10675 
10676 // </e>
10677 
10678 // </e>
10679 
10680 // <e> NFC_T4T_APDU_ENABLED - nfc_t4t_apdu - APDU encoder/decoder for Type 4 Tag
10681 //==========================================================
10682 #ifndef NFC_T4T_APDU_ENABLED
10683 #define NFC_T4T_APDU_ENABLED 0
10684 #endif
10685 // <e> NFC_T4T_APDU_LOG_ENABLED - Enables logging in the module.
10686 //==========================================================
10687 #ifndef NFC_T4T_APDU_LOG_ENABLED
10688 #define NFC_T4T_APDU_LOG_ENABLED 0
10689 #endif
10690 // <o> NFC_T4T_APDU_LOG_LEVEL - Default Severity level
10691 
10692 // <0=> Off
10693 // <1=> Error
10694 // <2=> Warning
10695 // <3=> Info
10696 // <4=> Debug
10697 
10698 #ifndef NFC_T4T_APDU_LOG_LEVEL
10699 #define NFC_T4T_APDU_LOG_LEVEL 3
10700 #endif
10701 
10702 // <o> NFC_T4T_APDU_LOG_COLOR - ANSI escape code prefix.
10703 
10704 // <0=> Default
10705 // <1=> Black
10706 // <2=> Red
10707 // <3=> Green
10708 // <4=> Yellow
10709 // <5=> Blue
10710 // <6=> Magenta
10711 // <7=> Cyan
10712 // <8=> White
10713 
10714 #ifndef NFC_T4T_APDU_LOG_COLOR
10715 #define NFC_T4T_APDU_LOG_COLOR 0
10716 #endif
10717 
10718 // </e>
10719 
10720 // </e>
10721 
10722 // <e> NFC_T4T_CC_FILE_PARSER_ENABLED - nfc_t4t_cc_file - Capability Container file for Type 4 Tag
10723 //==========================================================
10724 #ifndef NFC_T4T_CC_FILE_PARSER_ENABLED
10725 #define NFC_T4T_CC_FILE_PARSER_ENABLED 0
10726 #endif
10727 // <e> NFC_T4T_CC_FILE_PARSER_LOG_ENABLED - Enables logging in the module.
10728 //==========================================================
10729 #ifndef NFC_T4T_CC_FILE_PARSER_LOG_ENABLED
10730 #define NFC_T4T_CC_FILE_PARSER_LOG_ENABLED 0
10731 #endif
10732 // <o> NFC_T4T_CC_FILE_PARSER_LOG_LEVEL - Default Severity level
10733 
10734 // <0=> Off
10735 // <1=> Error
10736 // <2=> Warning
10737 // <3=> Info
10738 // <4=> Debug
10739 
10740 #ifndef NFC_T4T_CC_FILE_PARSER_LOG_LEVEL
10741 #define NFC_T4T_CC_FILE_PARSER_LOG_LEVEL 3
10742 #endif
10743 
10744 // <o> NFC_T4T_CC_FILE_PARSER_INFO_COLOR - ANSI escape code prefix.
10745 
10746 // <0=> Default
10747 // <1=> Black
10748 // <2=> Red
10749 // <3=> Green
10750 // <4=> Yellow
10751 // <5=> Blue
10752 // <6=> Magenta
10753 // <7=> Cyan
10754 // <8=> White
10755 
10756 #ifndef NFC_T4T_CC_FILE_PARSER_INFO_COLOR
10757 #define NFC_T4T_CC_FILE_PARSER_INFO_COLOR 0
10758 #endif
10759 
10760 // </e>
10761 
10762 // </e>
10763 
10764 // <e> NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED - nfc_t4t_hl_detection_procedures - NDEF Detection Procedure for Type 4 Tag
10765 //==========================================================
10766 #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED
10767 #define NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED 0
10768 #endif
10769 // <e> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED - Enables logging in the module.
10770 //==========================================================
10771 #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED
10772 #define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED 0
10773 #endif
10774 // <o> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL - Default Severity level
10775 
10776 // <0=> Off
10777 // <1=> Error
10778 // <2=> Warning
10779 // <3=> Info
10780 // <4=> Debug
10781 
10782 #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL
10783 #define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL 3
10784 #endif
10785 
10786 // <o> NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR - ANSI escape code prefix.
10787 
10788 // <0=> Default
10789 // <1=> Black
10790 // <2=> Red
10791 // <3=> Green
10792 // <4=> Yellow
10793 // <5=> Blue
10794 // <6=> Magenta
10795 // <7=> Cyan
10796 // <8=> White
10797 
10798 #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR
10799 #define NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR 0
10800 #endif
10801 
10802 // </e>
10803 
10804 // <o> APDU_BUFF_SIZE - Size (in bytes) of the buffer for APDU storage
10805 #ifndef APDU_BUFF_SIZE
10806 #define APDU_BUFF_SIZE 250
10807 #endif
10808 
10809 // <o> CC_STORAGE_BUFF_SIZE - Size (in bytes) of the buffer for CC file storage
10810 #ifndef CC_STORAGE_BUFF_SIZE
10811 #define CC_STORAGE_BUFF_SIZE 64
10812 #endif
10813 
10814 // </e>
10815 
10816 // <e> NFC_T4T_TLV_BLOCK_PARSER_ENABLED - nfc_t4t_tlv_block - TLV block for Type 4 Tag
10817 //==========================================================
10818 #ifndef NFC_T4T_TLV_BLOCK_PARSER_ENABLED
10819 #define NFC_T4T_TLV_BLOCK_PARSER_ENABLED 0
10820 #endif
10821 // <e> NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED - Enables logging in the module.
10822 //==========================================================
10823 #ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED
10824 #define NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED 0
10825 #endif
10826 // <o> NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL - Default Severity level
10827 
10828 // <0=> Off
10829 // <1=> Error
10830 // <2=> Warning
10831 // <3=> Info
10832 // <4=> Debug
10833 
10834 #ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL
10835 #define NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL 3
10836 #endif
10837 
10838 // <o> NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR - ANSI escape code prefix.
10839 
10840 // <0=> Default
10841 // <1=> Black
10842 // <2=> Red
10843 // <3=> Green
10844 // <4=> Yellow
10845 // <5=> Blue
10846 // <6=> Magenta
10847 // <7=> Cyan
10848 // <8=> White
10849 
10850 #ifndef NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR
10851 #define NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR 0
10852 #endif
10853 
10854 // </e>
10855 
10856 // </e>
10857 
10858 // </h>
10859 //==========================================================
10860 
10861 // <h> nRF_Segger_RTT
10862 
10863 //==========================================================
10864 // <h> segger_rtt - SEGGER RTT
10865 
10866 //==========================================================
10867 // <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_UP - Size of upstream buffer.
10868 // <i> Note that either @ref NRF_LOG_BACKEND_RTT_OUTPUT_BUFFER_SIZE
10869 // <i> or this value is actually used. It depends on which one is bigger.
10870 
10871 #ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_UP
10872 #define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 512
10873 #endif
10874 
10875 // <o> SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS - Maximum number of upstream buffers.
10876 #ifndef SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS
10877 #define SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 2
10878 #endif
10879 
10880 // <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN - Size of downstream buffer.
10881 #ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN
10882 #define SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN 16
10883 #endif
10884 
10885 // <o> SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS - Maximum number of downstream buffers.
10886 #ifndef SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS
10887 #define SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS 2
10888 #endif
10889 
10890 // <o> SEGGER_RTT_CONFIG_DEFAULT_MODE - RTT behavior if the buffer is full.
10891 
10892 // <i> The following modes are supported:
10893 // <i> - SKIP - Do not block, output nothing.
10894 // <i> - TRIM - Do not block, output as much as fits.
10895 // <i> - BLOCK - Wait until there is space in the buffer.
10896 // <0=> SKIP
10897 // <1=> TRIM
10898 // <2=> BLOCK_IF_FIFO_FULL
10899 
10900 #ifndef SEGGER_RTT_CONFIG_DEFAULT_MODE
10901 #define SEGGER_RTT_CONFIG_DEFAULT_MODE 0
10902 #endif
10903 
10904 // </h>
10905 //==========================================================
10906 
10907 // </h>
10908 //==========================================================
10909 
10910 // <h> nRF_SoftDevice
10911 
10912 //==========================================================
10913 // <e> NRF_SDH_BLE_ENABLED - nrf_sdh_ble - SoftDevice BLE event handler
10914 //==========================================================
10915 #ifndef NRF_SDH_BLE_ENABLED
10916 #define NRF_SDH_BLE_ENABLED 1
10917 #endif
10918 // <h> BLE Stack configuration - Stack configuration parameters
10919 
10920 // <i> The SoftDevice handler will configure the stack with these parameters when calling @ref nrf_sdh_ble_default_cfg_set.
10921 // <i> Other libraries might depend on these values; keep them up-to-date even if you are not explicitely calling @ref nrf_sdh_ble_default_cfg_set.
10922 //==========================================================
10923 // <o> NRF_SDH_BLE_GAP_DATA_LENGTH <27-251>
10924 
10925 // <i> Requested BLE GAP data length to be negotiated.
10926 
10927 #ifndef NRF_SDH_BLE_GAP_DATA_LENGTH
10928 #define NRF_SDH_BLE_GAP_DATA_LENGTH 101
10929 #endif
10930 
10931 // <o> NRF_SDH_BLE_PERIPHERAL_LINK_COUNT - Maximum number of peripheral links.
10932 #ifndef NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
10933 #define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 1
10934 #endif
10935 
10936 // <o> NRF_SDH_BLE_CENTRAL_LINK_COUNT - Maximum number of central links.
10937 #ifndef NRF_SDH_BLE_CENTRAL_LINK_COUNT
10938 #define NRF_SDH_BLE_CENTRAL_LINK_COUNT 0
10939 #endif
10940 
10941 // <o> NRF_SDH_BLE_TOTAL_LINK_COUNT - Total link count.
10942 // <i> Maximum number of total concurrent connections using the default configuration.
10943 
10944 #ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT
10945 #define NRF_SDH_BLE_TOTAL_LINK_COUNT 1
10946 #endif
10947 
10948 // <o> NRF_SDH_BLE_GAP_EVENT_LENGTH - GAP event length.
10949 // <i> The time set aside for this connection on every connection interval in 1.25 ms units.
10950 
10951 #ifndef NRF_SDH_BLE_GAP_EVENT_LENGTH
10952 #define NRF_SDH_BLE_GAP_EVENT_LENGTH 40
10953 #endif
10954 
10955 // <o> NRF_SDH_BLE_GATT_MAX_MTU_SIZE - Static maximum MTU size.
10956 #ifndef NRF_SDH_BLE_GATT_MAX_MTU_SIZE
10957 #define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 104
10958 #endif
10959 
10960 // <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4.
10961 #ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
10962 #define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408
10963 #endif
10964 
10965 // <o> NRF_SDH_BLE_VS_UUID_COUNT - The number of vendor-specific UUIDs.
10966 #ifndef NRF_SDH_BLE_VS_UUID_COUNT
10967 #define NRF_SDH_BLE_VS_UUID_COUNT 1
10968 #endif
10969 
10970 // <q> NRF_SDH_BLE_SERVICE_CHANGED - Include the Service Changed characteristic in the Attribute Table.
10971 
10972 #ifndef NRF_SDH_BLE_SERVICE_CHANGED
10973 #define NRF_SDH_BLE_SERVICE_CHANGED 1
10974 #endif
10975 
10976 // </h>
10977 //==========================================================
10978 
10979 // <h> BLE Observers - Observers and priority levels
10980 
10981 //==========================================================
10982 // <o> NRF_SDH_BLE_OBSERVER_PRIO_LEVELS - Total number of priority levels for BLE observers.
10983 // <i> This setting configures the number of priority levels available for BLE event handlers.
10984 // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
10985 
10986 #ifndef NRF_SDH_BLE_OBSERVER_PRIO_LEVELS
10987 #define NRF_SDH_BLE_OBSERVER_PRIO_LEVELS 4
10988 #endif
10989 
10990 // <h> BLE Observers priorities - Invididual priorities
10991 
10992 //==========================================================
10993 // <o> BLE_ADV_BLE_OBSERVER_PRIO
10994 // <i> Priority with which BLE events are dispatched to the Advertising module.
10995 
10996 #ifndef BLE_ADV_BLE_OBSERVER_PRIO
10997 #define BLE_ADV_BLE_OBSERVER_PRIO 1
10998 #endif
10999 
11000 // <o> BLE_ANCS_C_BLE_OBSERVER_PRIO
11001 // <i> Priority with which BLE events are dispatched to the Apple Notification Service Client.
11002 
11003 #ifndef BLE_ANCS_C_BLE_OBSERVER_PRIO
11004 #define BLE_ANCS_C_BLE_OBSERVER_PRIO 2
11005 #endif
11006 
11007 // <o> BLE_ANS_C_BLE_OBSERVER_PRIO
11008 // <i> Priority with which BLE events are dispatched to the Alert Notification Service Client.
11009 
11010 #ifndef BLE_ANS_C_BLE_OBSERVER_PRIO
11011 #define BLE_ANS_C_BLE_OBSERVER_PRIO 2
11012 #endif
11013 
11014 // <o> BLE_BAS_BLE_OBSERVER_PRIO
11015 // <i> Priority with which BLE events are dispatched to the Battery Service.
11016 
11017 #ifndef BLE_BAS_BLE_OBSERVER_PRIO
11018 #define BLE_BAS_BLE_OBSERVER_PRIO 2
11019 #endif
11020 
11021 // <o> BLE_BAS_C_BLE_OBSERVER_PRIO
11022 // <i> Priority with which BLE events are dispatched to the Battery Service Client.
11023 
11024 #ifndef BLE_BAS_C_BLE_OBSERVER_PRIO
11025 #define BLE_BAS_C_BLE_OBSERVER_PRIO 2
11026 #endif
11027 
11028 // <o> BLE_BPS_BLE_OBSERVER_PRIO
11029 // <i> Priority with which BLE events are dispatched to the Blood Pressure Service.
11030 
11031 #ifndef BLE_BPS_BLE_OBSERVER_PRIO
11032 #define BLE_BPS_BLE_OBSERVER_PRIO 2
11033 #endif
11034 
11035 // <o> BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
11036 // <i> Priority with which BLE events are dispatched to the Connection parameters module.
11037 
11038 #ifndef BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
11039 #define BLE_CONN_PARAMS_BLE_OBSERVER_PRIO 1
11040 #endif
11041 
11042 // <o> BLE_CONN_STATE_BLE_OBSERVER_PRIO
11043 // <i> Priority with which BLE events are dispatched to the Connection State module.
11044 
11045 #ifndef BLE_CONN_STATE_BLE_OBSERVER_PRIO
11046 #define BLE_CONN_STATE_BLE_OBSERVER_PRIO 0
11047 #endif
11048 
11049 // <o> BLE_CSCS_BLE_OBSERVER_PRIO
11050 // <i> Priority with which BLE events are dispatched to the Cycling Speed and Cadence Service.
11051 
11052 #ifndef BLE_CSCS_BLE_OBSERVER_PRIO
11053 #define BLE_CSCS_BLE_OBSERVER_PRIO 2
11054 #endif
11055 
11056 // <o> BLE_CTS_C_BLE_OBSERVER_PRIO
11057 // <i> Priority with which BLE events are dispatched to the Current Time Service Client.
11058 
11059 #ifndef BLE_CTS_C_BLE_OBSERVER_PRIO
11060 #define BLE_CTS_C_BLE_OBSERVER_PRIO 2
11061 #endif
11062 
11063 // <o> BLE_DB_DISC_BLE_OBSERVER_PRIO
11064 // <i> Priority with which BLE events are dispatched to the Database Discovery module.
11065 
11066 #ifndef BLE_DB_DISC_BLE_OBSERVER_PRIO
11067 #define BLE_DB_DISC_BLE_OBSERVER_PRIO 1
11068 #endif
11069 
11070 // <o> BLE_DFU_BLE_OBSERVER_PRIO
11071 // <i> Priority with which BLE events are dispatched to the DFU Service.
11072 
11073 #ifndef BLE_DFU_BLE_OBSERVER_PRIO
11074 #define BLE_DFU_BLE_OBSERVER_PRIO 2
11075 #endif
11076 
11077 // <o> BLE_DIS_C_BLE_OBSERVER_PRIO
11078 // <i> Priority with which BLE events are dispatched to the Device Information Client.
11079 
11080 #ifndef BLE_DIS_C_BLE_OBSERVER_PRIO
11081 #define BLE_DIS_C_BLE_OBSERVER_PRIO 2
11082 #endif
11083 
11084 // <o> BLE_GLS_BLE_OBSERVER_PRIO
11085 // <i> Priority with which BLE events are dispatched to the Glucose Service.
11086 
11087 #ifndef BLE_GLS_BLE_OBSERVER_PRIO
11088 #define BLE_GLS_BLE_OBSERVER_PRIO 2
11089 #endif
11090 
11091 // <o> BLE_HIDS_BLE_OBSERVER_PRIO
11092 // <i> Priority with which BLE events are dispatched to the Human Interface Device Service.
11093 
11094 #ifndef BLE_HIDS_BLE_OBSERVER_PRIO
11095 #define BLE_HIDS_BLE_OBSERVER_PRIO 2
11096 #endif
11097 
11098 // <o> BLE_HRS_BLE_OBSERVER_PRIO
11099 // <i> Priority with which BLE events are dispatched to the Heart Rate Service.
11100 
11101 #ifndef BLE_HRS_BLE_OBSERVER_PRIO
11102 #define BLE_HRS_BLE_OBSERVER_PRIO 2
11103 #endif
11104 
11105 // <o> BLE_HRS_C_BLE_OBSERVER_PRIO
11106 // <i> Priority with which BLE events are dispatched to the Heart Rate Service Client.
11107 
11108 #ifndef BLE_HRS_C_BLE_OBSERVER_PRIO
11109 #define BLE_HRS_C_BLE_OBSERVER_PRIO 2
11110 #endif
11111 
11112 // <o> BLE_HTS_BLE_OBSERVER_PRIO
11113 // <i> Priority with which BLE events are dispatched to the Health Thermometer Service.
11114 
11115 #ifndef BLE_HTS_BLE_OBSERVER_PRIO
11116 #define BLE_HTS_BLE_OBSERVER_PRIO 2
11117 #endif
11118 
11119 // <o> BLE_IAS_BLE_OBSERVER_PRIO
11120 // <i> Priority with which BLE events are dispatched to the Immediate Alert Service.
11121 
11122 #ifndef BLE_IAS_BLE_OBSERVER_PRIO
11123 #define BLE_IAS_BLE_OBSERVER_PRIO 2
11124 #endif
11125 
11126 // <o> BLE_IAS_C_BLE_OBSERVER_PRIO
11127 // <i> Priority with which BLE events are dispatched to the Immediate Alert Service Client.
11128 
11129 #ifndef BLE_IAS_C_BLE_OBSERVER_PRIO
11130 #define BLE_IAS_C_BLE_OBSERVER_PRIO 2
11131 #endif
11132 
11133 // <o> BLE_LBS_BLE_OBSERVER_PRIO
11134 // <i> Priority with which BLE events are dispatched to the LED Button Service.
11135 
11136 #ifndef BLE_LBS_BLE_OBSERVER_PRIO
11137 #define BLE_LBS_BLE_OBSERVER_PRIO 2
11138 #endif
11139 
11140 // <o> BLE_LBS_C_BLE_OBSERVER_PRIO
11141 // <i> Priority with which BLE events are dispatched to the LED Button Service Client.
11142 
11143 #ifndef BLE_LBS_C_BLE_OBSERVER_PRIO
11144 #define BLE_LBS_C_BLE_OBSERVER_PRIO 2
11145 #endif
11146 
11147 // <o> BLE_LLS_BLE_OBSERVER_PRIO
11148 // <i> Priority with which BLE events are dispatched to the Link Loss Service.
11149 
11150 #ifndef BLE_LLS_BLE_OBSERVER_PRIO
11151 #define BLE_LLS_BLE_OBSERVER_PRIO 2
11152 #endif
11153 
11154 // <o> BLE_LNS_BLE_OBSERVER_PRIO
11155 // <i> Priority with which BLE events are dispatched to the Location Navigation Service.
11156 
11157 #ifndef BLE_LNS_BLE_OBSERVER_PRIO
11158 #define BLE_LNS_BLE_OBSERVER_PRIO 2
11159 #endif
11160 
11161 // <o> BLE_NUS_BLE_OBSERVER_PRIO
11162 // <i> Priority with which BLE events are dispatched to the UART Service.
11163 
11164 #ifndef BLE_NUS_BLE_OBSERVER_PRIO
11165 #define BLE_NUS_BLE_OBSERVER_PRIO 2
11166 #endif
11167 
11168 // <o> BLE_NUS_C_BLE_OBSERVER_PRIO
11169 // <i> Priority with which BLE events are dispatched to the UART Central Service.
11170 
11171 #ifndef BLE_NUS_C_BLE_OBSERVER_PRIO
11172 #define BLE_NUS_C_BLE_OBSERVER_PRIO 2
11173 #endif
11174 
11175 // <o> BLE_OTS_BLE_OBSERVER_PRIO
11176 // <i> Priority with which BLE events are dispatched to the Object transfer service.
11177 
11178 #ifndef BLE_OTS_BLE_OBSERVER_PRIO
11179 #define BLE_OTS_BLE_OBSERVER_PRIO 2
11180 #endif
11181 
11182 // <o> BLE_OTS_C_BLE_OBSERVER_PRIO
11183 // <i> Priority with which BLE events are dispatched to the Object transfer service client.
11184 
11185 #ifndef BLE_OTS_C_BLE_OBSERVER_PRIO
11186 #define BLE_OTS_C_BLE_OBSERVER_PRIO 2
11187 #endif
11188 
11189 // <o> BLE_RSCS_BLE_OBSERVER_PRIO
11190 // <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Service.
11191 
11192 #ifndef BLE_RSCS_BLE_OBSERVER_PRIO
11193 #define BLE_RSCS_BLE_OBSERVER_PRIO 2
11194 #endif
11195 
11196 // <o> BLE_RSCS_C_BLE_OBSERVER_PRIO
11197 // <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Client.
11198 
11199 #ifndef BLE_RSCS_C_BLE_OBSERVER_PRIO
11200 #define BLE_RSCS_C_BLE_OBSERVER_PRIO 2
11201 #endif
11202 
11203 // <o> BLE_TPS_BLE_OBSERVER_PRIO
11204 // <i> Priority with which BLE events are dispatched to the TX Power Service.
11205 
11206 #ifndef BLE_TPS_BLE_OBSERVER_PRIO
11207 #define BLE_TPS_BLE_OBSERVER_PRIO 2
11208 #endif
11209 
11210 // <o> BSP_BTN_BLE_OBSERVER_PRIO
11211 // <i> Priority with which BLE events are dispatched to the Button Control module.
11212 
11213 #ifndef BSP_BTN_BLE_OBSERVER_PRIO
11214 #define BSP_BTN_BLE_OBSERVER_PRIO 1
11215 #endif
11216 
11217 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11218 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11219 
11220 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11221 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11222 #endif
11223 
11224 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11225 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11226 
11227 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11228 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11229 #endif
11230 
11231 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11232 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11233 
11234 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11235 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11236 #endif
11237 
11238 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11239 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11240 
11241 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11242 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11243 #endif
11244 
11245 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11246 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11247 
11248 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11249 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11250 #endif
11251 
11252 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11253 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11254 
11255 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11256 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11257 #endif
11258 
11259 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11260 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11261 
11262 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11263 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11264 #endif
11265 
11266 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11267 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11268 
11269 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11270 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11271 #endif
11272 
11273 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11274 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11275 
11276 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11277 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11278 #endif
11279 
11280 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11281 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11282 
11283 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11284 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11285 #endif
11286 
11287 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11288 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11289 
11290 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11291 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11292 #endif
11293 
11294 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11295 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11296 
11297 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11298 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11299 #endif
11300 
11301 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11302 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11303 
11304 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11305 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11306 #endif
11307 
11308 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11309 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11310 
11311 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11312 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11313 #endif
11314 
11315 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11316 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11317 
11318 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11319 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11320 #endif
11321 
11322 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11323 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11324 
11325 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11326 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11327 #endif
11328 
11329 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11330 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11331 
11332 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11333 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11334 #endif
11335 
11336 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11337 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11338 
11339 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11340 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11341 #endif
11342 
11343 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11344 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11345 
11346 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11347 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11348 #endif
11349 
11350 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11351 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11352 
11353 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11354 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11355 #endif
11356 
11357 // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11358 // <i> Priority with which BLE events are dispatched to the NFC pairing library.
11359 
11360 #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11361 #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11362 #endif
11363 
11364 // <o> NRF_BLE_BMS_BLE_OBSERVER_PRIO
11365 // <i> Priority with which BLE events are dispatched to the Bond Management Service.
11366 
11367 #ifndef NRF_BLE_BMS_BLE_OBSERVER_PRIO
11368 #define NRF_BLE_BMS_BLE_OBSERVER_PRIO 2
11369 #endif
11370 
11371 // <o> NRF_BLE_CGMS_BLE_OBSERVER_PRIO
11372 // <i> Priority with which BLE events are dispatched to the Contiuon Glucose Monitoring Service.
11373 
11374 #ifndef NRF_BLE_CGMS_BLE_OBSERVER_PRIO
11375 #define NRF_BLE_CGMS_BLE_OBSERVER_PRIO 2
11376 #endif
11377 
11378 // <o> NRF_BLE_ES_BLE_OBSERVER_PRIO
11379 // <i> Priority with which BLE events are dispatched to the Eddystone module.
11380 
11381 #ifndef NRF_BLE_ES_BLE_OBSERVER_PRIO
11382 #define NRF_BLE_ES_BLE_OBSERVER_PRIO 2
11383 #endif
11384 
11385 // <o> NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
11386 // <i> Priority with which BLE events are dispatched to the GATT Service Client.
11387 
11388 #ifndef NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
11389 #define NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO 2
11390 #endif
11391 
11392 // <o> NRF_BLE_GATT_BLE_OBSERVER_PRIO
11393 // <i> Priority with which BLE events are dispatched to the GATT module.
11394 
11395 #ifndef NRF_BLE_GATT_BLE_OBSERVER_PRIO
11396 #define NRF_BLE_GATT_BLE_OBSERVER_PRIO 3
11397 #endif
11398 
11399 // <o> NRF_BLE_GQ_BLE_OBSERVER_PRIO
11400 // <i> Priority with which BLE events are dispatched to the GATT Queue module.
11401 
11402 #ifndef NRF_BLE_GQ_BLE_OBSERVER_PRIO
11403 #define NRF_BLE_GQ_BLE_OBSERVER_PRIO 1
11404 #endif
11405 
11406 // <o> NRF_BLE_QWR_BLE_OBSERVER_PRIO
11407 // <i> Priority with which BLE events are dispatched to the Queued writes module.
11408 
11409 #ifndef NRF_BLE_QWR_BLE_OBSERVER_PRIO
11410 #define NRF_BLE_QWR_BLE_OBSERVER_PRIO 3
11411 #endif
11412 
11413 // <o> NRF_BLE_SCAN_OBSERVER_PRIO
11414 // <i> Priority for dispatching the BLE events to the Scanning Module.
11415 
11416 #ifndef NRF_BLE_SCAN_OBSERVER_PRIO
11417 #define NRF_BLE_SCAN_OBSERVER_PRIO 1
11418 #endif
11419 
11420 // <o> PM_BLE_OBSERVER_PRIO - Priority with which BLE events are dispatched to the Peer Manager module.
11421 #ifndef PM_BLE_OBSERVER_PRIO
11422 #define PM_BLE_OBSERVER_PRIO 1
11423 #endif
11424 
11425 // </h>
11426 //==========================================================
11427 
11428 // </h>
11429 //==========================================================
11430 
11431 // </e>
11432 
11433 // <e> NRF_SDH_ENABLED - nrf_sdh - SoftDevice handler
11434 //==========================================================
11435 #ifndef NRF_SDH_ENABLED
11436 #define NRF_SDH_ENABLED 1
11437 #endif
11438 // <h> Dispatch model
11439 
11440 // <i> This setting configures how Stack events are dispatched to the application.
11441 //==========================================================
11442 // <o> NRF_SDH_DISPATCH_MODEL
11443 
11444 // <i> NRF_SDH_DISPATCH_MODEL_INTERRUPT: SoftDevice events are passed to the application from the interrupt context.
11445 // <i> NRF_SDH_DISPATCH_MODEL_APPSH: SoftDevice events are scheduled using @ref app_scheduler.
11446 // <i> NRF_SDH_DISPATCH_MODEL_POLLING: SoftDevice events are to be fetched manually.
11447 // <0=> NRF_SDH_DISPATCH_MODEL_INTERRUPT
11448 // <1=> NRF_SDH_DISPATCH_MODEL_APPSH
11449 // <2=> NRF_SDH_DISPATCH_MODEL_POLLING
11450 
11451 #ifndef NRF_SDH_DISPATCH_MODEL
11452 #define NRF_SDH_DISPATCH_MODEL 0
11453 #endif
11454 
11455 // </h>
11456 //==========================================================
11457 
11458 // <h> Clock - SoftDevice clock configuration
11459 
11460 //==========================================================
11461 // <o> NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.
11462 
11463 // <0=> NRF_CLOCK_LF_SRC_RC
11464 // <1=> NRF_CLOCK_LF_SRC_XTAL
11465 // <2=> NRF_CLOCK_LF_SRC_SYNTH
11466 
11467 #ifndef NRF_SDH_CLOCK_LF_SRC
11468 #define NRF_SDH_CLOCK_LF_SRC 0
11469 #endif
11470 
11471 // <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval.
11472 #ifndef NRF_SDH_CLOCK_LF_RC_CTIV
11473 #define NRF_SDH_CLOCK_LF_RC_CTIV 16
11474 #endif
11475 
11476 // <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature.
11477 // <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
11478 // <i> if the temperature has not changed.
11479 
11480 #ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
11481 #define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
11482 #endif
11483 
11484 // <o> NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.
11485 
11486 // <0=> NRF_CLOCK_LF_ACCURACY_250_PPM
11487 // <1=> NRF_CLOCK_LF_ACCURACY_500_PPM
11488 // <2=> NRF_CLOCK_LF_ACCURACY_150_PPM
11489 // <3=> NRF_CLOCK_LF_ACCURACY_100_PPM
11490 // <4=> NRF_CLOCK_LF_ACCURACY_75_PPM
11491 // <5=> NRF_CLOCK_LF_ACCURACY_50_PPM
11492 // <6=> NRF_CLOCK_LF_ACCURACY_30_PPM
11493 // <7=> NRF_CLOCK_LF_ACCURACY_20_PPM
11494 // <8=> NRF_CLOCK_LF_ACCURACY_10_PPM
11495 // <9=> NRF_CLOCK_LF_ACCURACY_5_PPM
11496 // <10=> NRF_CLOCK_LF_ACCURACY_2_PPM
11497 // <11=> NRF_CLOCK_LF_ACCURACY_1_PPM
11498 
11499 #ifndef NRF_SDH_CLOCK_LF_ACCURACY
11500 #define NRF_SDH_CLOCK_LF_ACCURACY 7
11501 #endif
11502 
11503 // </h>
11504 //==========================================================
11505 
11506 // <h> SDH Observers - Observers and priority levels
11507 
11508 //==========================================================
11509 // <o> NRF_SDH_REQ_OBSERVER_PRIO_LEVELS - Total number of priority levels for request observers.
11510 // <i> This setting configures the number of priority levels available for the SoftDevice request event handlers.
11511 // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
11512 
11513 #ifndef NRF_SDH_REQ_OBSERVER_PRIO_LEVELS
11514 #define NRF_SDH_REQ_OBSERVER_PRIO_LEVELS 2
11515 #endif
11516 
11517 // <o> NRF_SDH_STATE_OBSERVER_PRIO_LEVELS - Total number of priority levels for state observers.
11518 // <i> This setting configures the number of priority levels available for the SoftDevice state event handlers.
11519 // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
11520 
11521 #ifndef NRF_SDH_STATE_OBSERVER_PRIO_LEVELS
11522 #define NRF_SDH_STATE_OBSERVER_PRIO_LEVELS 2
11523 #endif
11524 
11525 // <o> NRF_SDH_STACK_OBSERVER_PRIO_LEVELS - Total number of priority levels for stack event observers.
11526 // <i> This setting configures the number of priority levels available for the SoftDevice stack event handlers (ANT, BLE, SoC).
11527 // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
11528 
11529 #ifndef NRF_SDH_STACK_OBSERVER_PRIO_LEVELS
11530 #define NRF_SDH_STACK_OBSERVER_PRIO_LEVELS 2
11531 #endif
11532 
11533 // <h> State Observers priorities - Invididual priorities
11534 
11535 //==========================================================
11536 // <o> CLOCK_CONFIG_STATE_OBSERVER_PRIO
11537 // <i> Priority with which state events are dispatched to the Clock driver.
11538 
11539 #ifndef CLOCK_CONFIG_STATE_OBSERVER_PRIO
11540 #define CLOCK_CONFIG_STATE_OBSERVER_PRIO 0
11541 #endif
11542 
11543 // <o> POWER_CONFIG_STATE_OBSERVER_PRIO
11544 // <i> Priority with which state events are dispatched to the Power driver.
11545 
11546 #ifndef POWER_CONFIG_STATE_OBSERVER_PRIO
11547 #define POWER_CONFIG_STATE_OBSERVER_PRIO 0
11548 #endif
11549 
11550 // <o> RNG_CONFIG_STATE_OBSERVER_PRIO
11551 // <i> Priority with which state events are dispatched to this module.
11552 
11553 #ifndef RNG_CONFIG_STATE_OBSERVER_PRIO
11554 #define RNG_CONFIG_STATE_OBSERVER_PRIO 0
11555 #endif
11556 
11557 // </h>
11558 //==========================================================
11559 
11560 // <h> Stack Event Observers priorities - Invididual priorities
11561 
11562 //==========================================================
11563 // <o> NRF_SDH_ANT_STACK_OBSERVER_PRIO
11564 // <i> This setting configures the priority with which ANT events are processed with respect to other events coming from the stack.
11565 // <i> Modify this setting if you need to have ANT events dispatched before or after other stack events, such as BLE or SoC.
11566 // <i> Zero is the highest priority.
11567 
11568 #ifndef NRF_SDH_ANT_STACK_OBSERVER_PRIO
11569 #define NRF_SDH_ANT_STACK_OBSERVER_PRIO 0
11570 #endif
11571 
11572 // <o> NRF_SDH_BLE_STACK_OBSERVER_PRIO
11573 // <i> This setting configures the priority with which BLE events are processed with respect to other events coming from the stack.
11574 // <i> Modify this setting if you need to have BLE events dispatched before or after other stack events, such as ANT or SoC.
11575 // <i> Zero is the highest priority.
11576 
11577 #ifndef NRF_SDH_BLE_STACK_OBSERVER_PRIO
11578 #define NRF_SDH_BLE_STACK_OBSERVER_PRIO 0
11579 #endif
11580 
11581 // <o> NRF_SDH_SOC_STACK_OBSERVER_PRIO
11582 // <i> This setting configures the priority with which SoC events are processed with respect to other events coming from the stack.
11583 // <i> Modify this setting if you need to have SoC events dispatched before or after other stack events, such as ANT or BLE.
11584 // <i> Zero is the highest priority.
11585 
11586 #ifndef NRF_SDH_SOC_STACK_OBSERVER_PRIO
11587 #define NRF_SDH_SOC_STACK_OBSERVER_PRIO 0
11588 #endif
11589 
11590 // </h>
11591 //==========================================================
11592 
11593 // </h>
11594 //==========================================================
11595 
11596 // </e>
11597 
11598 // <e> NRF_SDH_SOC_ENABLED - nrf_sdh_soc - SoftDevice SoC event handler
11599 //==========================================================
11600 #ifndef NRF_SDH_SOC_ENABLED
11601 #define NRF_SDH_SOC_ENABLED 1
11602 #endif
11603 // <h> SoC Observers - Observers and priority levels
11604 
11605 //==========================================================
11606 // <o> NRF_SDH_SOC_OBSERVER_PRIO_LEVELS - Total number of priority levels for SoC observers.
11607 // <i> This setting configures the number of priority levels available for the SoC event handlers.
11608 // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
11609 
11610 #ifndef NRF_SDH_SOC_OBSERVER_PRIO_LEVELS
11611 #define NRF_SDH_SOC_OBSERVER_PRIO_LEVELS 2
11612 #endif
11613 
11614 // <h> SoC Observers priorities - Invididual priorities
11615 
11616 //==========================================================
11617 // <o> BLE_DFU_SOC_OBSERVER_PRIO
11618 // <i> Priority with which BLE events are dispatched to the DFU Service.
11619 
11620 #ifndef BLE_DFU_SOC_OBSERVER_PRIO
11621 #define BLE_DFU_SOC_OBSERVER_PRIO 1
11622 #endif
11623 
11624 // <o> CLOCK_CONFIG_SOC_OBSERVER_PRIO
11625 // <i> Priority with which SoC events are dispatched to the Clock driver.
11626 
11627 #ifndef CLOCK_CONFIG_SOC_OBSERVER_PRIO
11628 #define CLOCK_CONFIG_SOC_OBSERVER_PRIO 0
11629 #endif
11630 
11631 // <o> POWER_CONFIG_SOC_OBSERVER_PRIO
11632 // <i> Priority with which SoC events are dispatched to the Power driver.
11633 
11634 #ifndef POWER_CONFIG_SOC_OBSERVER_PRIO
11635 #define POWER_CONFIG_SOC_OBSERVER_PRIO 0
11636 #endif
11637 
11638 // </h>
11639 //==========================================================
11640 
11641 // </h>
11642 //==========================================================
11643 
11644 // </e>
11645 
11646 // </h>
11647 //==========================================================
11648 
11649 // <<< end of configuration section >>>
11650 #endif //SDK_CONFIG_H
11651