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