1 /* 2 * Copyright (c) 2018 - 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_NRF52811_H__ 33 #define NRFX_CONFIG_NRF52811_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 // <<< Use Configuration Wizard in Context Menu >>>\n 40 41 // <h> nRF_Drivers 42 43 // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver 44 //========================================================== 45 #ifndef NRFX_CLOCK_ENABLED 46 #define NRFX_CLOCK_ENABLED 0 47 #endif 48 // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source 49 50 // <0=> RC 51 // <1=> XTAL 52 // <2=> Synth 53 // <131073=> External Low Swing 54 // <196609=> External Full Swing 55 56 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 57 #define NRFX_CLOCK_CONFIG_LF_SRC 1 58 #endif 59 60 // <q> NRFX_CLOCK_CONFIG_LF_CAL_ENABLED - Enables LF Clock Calibration Support 61 62 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 63 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0 64 #endif 65 66 // <q> NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED - Enables two-stage LFXO start procedure 67 68 // <i> If set to a non-zero value, LFRC will be started before LFXO and corresponding 69 // <i> event will be generated. It means that CPU will be woken up when LFRC 70 // <i> oscillator starts, but user callback will be invoked only after LFXO 71 // <i> finally starts. 72 73 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 74 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0 75 #endif 76 77 // <o> NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 78 79 // <0=> 0 (highest) 80 // <1=> 1 81 // <2=> 2 82 // <3=> 3 83 // <4=> 4 84 // <5=> 5 85 // <6=> 6 86 // <7=> 7 87 88 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 89 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 7 90 #endif 91 92 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module. 93 //========================================================== 94 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 95 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 96 #endif 97 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level 98 99 // <0=> Off 100 // <1=> Error 101 // <2=> Warning 102 // <3=> Info 103 // <4=> Debug 104 105 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 106 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 107 #endif 108 109 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix. 110 111 // <0=> Default 112 // <1=> Black 113 // <2=> Red 114 // <3=> Green 115 // <4=> Yellow 116 // <5=> Blue 117 // <6=> Magenta 118 // <7=> Cyan 119 // <8=> White 120 121 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR 122 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0 123 #endif 124 125 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 126 127 // <0=> Default 128 // <1=> Black 129 // <2=> Red 130 // <3=> Green 131 // <4=> Yellow 132 // <5=> Blue 133 // <6=> Magenta 134 // <7=> Cyan 135 // <8=> White 136 137 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR 138 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0 139 #endif 140 141 // </e> 142 143 // </e> 144 145 // <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver 146 //========================================================== 147 #ifndef NRFX_COMP_ENABLED 148 #define NRFX_COMP_ENABLED 0 149 #endif 150 151 // <o> NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 152 153 // <0=> 0 (highest) 154 // <1=> 1 155 // <2=> 2 156 // <3=> 3 157 // <4=> 4 158 // <5=> 5 159 // <6=> 6 160 // <7=> 7 161 162 #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 163 #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 7 164 #endif 165 166 // <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module. 167 //========================================================== 168 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED 169 #define NRFX_COMP_CONFIG_LOG_ENABLED 0 170 #endif 171 // <o> NRFX_COMP_CONFIG_LOG_LEVEL - Default Severity level 172 173 // <0=> Off 174 // <1=> Error 175 // <2=> Warning 176 // <3=> Info 177 // <4=> Debug 178 179 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL 180 #define NRFX_COMP_CONFIG_LOG_LEVEL 3 181 #endif 182 183 // <o> NRFX_COMP_CONFIG_INFO_COLOR - ANSI escape code prefix. 184 185 // <0=> Default 186 // <1=> Black 187 // <2=> Red 188 // <3=> Green 189 // <4=> Yellow 190 // <5=> Blue 191 // <6=> Magenta 192 // <7=> Cyan 193 // <8=> White 194 195 #ifndef NRFX_COMP_CONFIG_INFO_COLOR 196 #define NRFX_COMP_CONFIG_INFO_COLOR 0 197 #endif 198 199 // <o> NRFX_COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 200 201 // <0=> Default 202 // <1=> Black 203 // <2=> Red 204 // <3=> Green 205 // <4=> Yellow 206 // <5=> Blue 207 // <6=> Magenta 208 // <7=> Cyan 209 // <8=> White 210 211 #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR 212 #define NRFX_COMP_CONFIG_DEBUG_COLOR 0 213 #endif 214 215 // </e> 216 217 // </e> 218 219 // <e> NRFX_EGU_ENABLED - nrfx_egu - EGU peripheral driver. 220 //========================================================== 221 #ifndef NRFX_EGU_ENABLED 222 #define NRFX_EGU_ENABLED 0 223 #endif 224 225 // <q> NRFX_EGU0_ENABLED - Enable EGU0 instance. 226 227 #ifndef NRFX_EGU0_ENABLED 228 #define NRFX_EGU0_ENABLED 0 229 #endif 230 231 // <q> NRFX_EGU1_ENABLED - Enable EGU1 instance. 232 233 #ifndef NRFX_EGU1_ENABLED 234 #define NRFX_EGU1_ENABLED 0 235 #endif 236 237 // <o> NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 238 239 // <0=> 0 (highest) 240 // <1=> 1 241 // <2=> 2 242 // <3=> 3 243 // <4=> 4 244 // <5=> 5 245 // <6=> 6 246 // <7=> 7 247 248 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 249 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 7 250 #endif 251 252 // </e> 253 254 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver 255 //========================================================== 256 #ifndef NRFX_GPIOTE_ENABLED 257 #define NRFX_GPIOTE_ENABLED 0 258 #endif 259 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins 260 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 261 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1 262 #endif 263 264 // <o> NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 265 266 // <0=> 0 (highest) 267 // <1=> 1 268 // <2=> 2 269 // <3=> 3 270 // <4=> 4 271 // <5=> 5 272 // <6=> 6 273 // <7=> 7 274 275 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 276 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 7 277 #endif 278 279 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module. 280 //========================================================== 281 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 282 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 283 #endif 284 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level 285 286 // <0=> Off 287 // <1=> Error 288 // <2=> Warning 289 // <3=> Info 290 // <4=> Debug 291 292 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 293 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 294 #endif 295 296 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 297 298 // <0=> Default 299 // <1=> Black 300 // <2=> Red 301 // <3=> Green 302 // <4=> Yellow 303 // <5=> Blue 304 // <6=> Magenta 305 // <7=> Cyan 306 // <8=> White 307 308 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR 309 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0 310 #endif 311 312 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 313 314 // <0=> Default 315 // <1=> Black 316 // <2=> Red 317 // <3=> Green 318 // <4=> Yellow 319 // <5=> Blue 320 // <6=> Magenta 321 // <7=> Cyan 322 // <8=> White 323 324 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR 325 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0 326 #endif 327 328 // </e> 329 330 // </e> 331 332 // <e> NRFX_NVMC_ENABLED - nrfx_nvmc - NVMC peripheral driver 333 //========================================================== 334 #ifndef NRFX_NVMC_ENABLED 335 #define NRFX_NVMC_ENABLED 0 336 #endif 337 338 // </e> 339 340 // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver 341 //========================================================== 342 #ifndef NRFX_PDM_ENABLED 343 #define NRFX_PDM_ENABLED 0 344 #endif 345 346 // <o> NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 347 348 // <0=> 0 (highest) 349 // <1=> 1 350 // <2=> 2 351 // <3=> 3 352 // <4=> 4 353 // <5=> 5 354 // <6=> 6 355 // <7=> 7 356 357 #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 358 #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 7 359 #endif 360 361 // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module. 362 //========================================================== 363 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED 364 #define NRFX_PDM_CONFIG_LOG_ENABLED 0 365 #endif 366 // <o> NRFX_PDM_CONFIG_LOG_LEVEL - Default Severity level 367 368 // <0=> Off 369 // <1=> Error 370 // <2=> Warning 371 // <3=> Info 372 // <4=> Debug 373 374 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL 375 #define NRFX_PDM_CONFIG_LOG_LEVEL 3 376 #endif 377 378 // <o> NRFX_PDM_CONFIG_INFO_COLOR - ANSI escape code prefix. 379 380 // <0=> Default 381 // <1=> Black 382 // <2=> Red 383 // <3=> Green 384 // <4=> Yellow 385 // <5=> Blue 386 // <6=> Magenta 387 // <7=> Cyan 388 // <8=> White 389 390 #ifndef NRFX_PDM_CONFIG_INFO_COLOR 391 #define NRFX_PDM_CONFIG_INFO_COLOR 0 392 #endif 393 394 // <o> NRFX_PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 395 396 // <0=> Default 397 // <1=> Black 398 // <2=> Red 399 // <3=> Green 400 // <4=> Yellow 401 // <5=> Blue 402 // <6=> Magenta 403 // <7=> Cyan 404 // <8=> White 405 406 #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR 407 #define NRFX_PDM_CONFIG_DEBUG_COLOR 0 408 #endif 409 410 // </e> 411 412 // </e> 413 414 // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver 415 //========================================================== 416 #ifndef NRFX_POWER_ENABLED 417 #define NRFX_POWER_ENABLED 0 418 #endif 419 // <o> NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 420 421 // <0=> 0 (highest) 422 // <1=> 1 423 // <2=> 2 424 // <3=> 3 425 // <4=> 4 426 // <5=> 5 427 // <6=> 6 428 // <7=> 7 429 430 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 431 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 7 432 #endif 433 434 // </e> 435 436 // <e> NRFX_PPI_ENABLED - nrfx_ppi - PPI peripheral allocator 437 //========================================================== 438 #ifndef NRFX_PPI_ENABLED 439 #define NRFX_PPI_ENABLED 0 440 #endif 441 // <e> NRFX_PPI_CONFIG_LOG_ENABLED - Enables logging in the module. 442 //========================================================== 443 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED 444 #define NRFX_PPI_CONFIG_LOG_ENABLED 0 445 #endif 446 // <o> NRFX_PPI_CONFIG_LOG_LEVEL - Default Severity level 447 448 // <0=> Off 449 // <1=> Error 450 // <2=> Warning 451 // <3=> Info 452 // <4=> Debug 453 454 #ifndef NRFX_PPI_CONFIG_LOG_LEVEL 455 #define NRFX_PPI_CONFIG_LOG_LEVEL 3 456 #endif 457 458 // <o> NRFX_PPI_CONFIG_INFO_COLOR - ANSI escape code prefix. 459 460 // <0=> Default 461 // <1=> Black 462 // <2=> Red 463 // <3=> Green 464 // <4=> Yellow 465 // <5=> Blue 466 // <6=> Magenta 467 // <7=> Cyan 468 // <8=> White 469 470 #ifndef NRFX_PPI_CONFIG_INFO_COLOR 471 #define NRFX_PPI_CONFIG_INFO_COLOR 0 472 #endif 473 474 // <o> NRFX_PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 475 476 // <0=> Default 477 // <1=> Black 478 // <2=> Red 479 // <3=> Green 480 // <4=> Yellow 481 // <5=> Blue 482 // <6=> Magenta 483 // <7=> Cyan 484 // <8=> White 485 486 #ifndef NRFX_PPI_CONFIG_DEBUG_COLOR 487 #define NRFX_PPI_CONFIG_DEBUG_COLOR 0 488 #endif 489 490 // </e> 491 492 // </e> 493 494 // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module 495 //========================================================== 496 #ifndef NRFX_PRS_ENABLED 497 #define NRFX_PRS_ENABLED 0 498 #endif 499 // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module. 500 501 502 #ifndef NRFX_PRS_BOX_0_ENABLED 503 #define NRFX_PRS_BOX_0_ENABLED 0 504 #endif 505 506 // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module. 507 508 509 #ifndef NRFX_PRS_BOX_1_ENABLED 510 #define NRFX_PRS_BOX_1_ENABLED 0 511 #endif 512 513 // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module. 514 515 516 #ifndef NRFX_PRS_BOX_2_ENABLED 517 #define NRFX_PRS_BOX_2_ENABLED 0 518 #endif 519 520 521 // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module. 522 //========================================================== 523 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 524 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 525 #endif 526 // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default Severity level 527 528 // <0=> Off 529 // <1=> Error 530 // <2=> Warning 531 // <3=> Info 532 // <4=> Debug 533 534 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 535 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 536 #endif 537 538 // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix. 539 540 // <0=> Default 541 // <1=> Black 542 // <2=> Red 543 // <3=> Green 544 // <4=> Yellow 545 // <5=> Blue 546 // <6=> Magenta 547 // <7=> Cyan 548 // <8=> White 549 550 #ifndef NRFX_PRS_CONFIG_INFO_COLOR 551 #define NRFX_PRS_CONFIG_INFO_COLOR 0 552 #endif 553 554 // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 555 556 // <0=> Default 557 // <1=> Black 558 // <2=> Red 559 // <3=> Green 560 // <4=> Yellow 561 // <5=> Blue 562 // <6=> Magenta 563 // <7=> Cyan 564 // <8=> White 565 566 #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR 567 #define NRFX_PRS_CONFIG_DEBUG_COLOR 0 568 #endif 569 570 // </e> 571 572 // </e> 573 574 // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver 575 //========================================================== 576 #ifndef NRFX_PWM_ENABLED 577 #define NRFX_PWM_ENABLED 0 578 #endif 579 580 // <q> NRFX_PWM0_ENABLED - Enable PWM0 instance 581 582 #ifndef NRFX_PWM0_ENABLED 583 #define NRFX_PWM0_ENABLED 0 584 #endif 585 586 // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 587 588 // <0=> 0 (highest) 589 // <1=> 1 590 // <2=> 2 591 // <3=> 3 592 // <4=> 4 593 // <5=> 5 594 // <6=> 6 595 // <7=> 7 596 597 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 598 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 7 599 #endif 600 601 // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module. 602 //========================================================== 603 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED 604 #define NRFX_PWM_CONFIG_LOG_ENABLED 0 605 #endif 606 // <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default Severity level 607 608 // <0=> Off 609 // <1=> Error 610 // <2=> Warning 611 // <3=> Info 612 // <4=> Debug 613 614 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 615 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 616 #endif 617 618 // <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix. 619 620 // <0=> Default 621 // <1=> Black 622 // <2=> Red 623 // <3=> Green 624 // <4=> Yellow 625 // <5=> Blue 626 // <6=> Magenta 627 // <7=> Cyan 628 // <8=> White 629 630 #ifndef NRFX_PWM_CONFIG_INFO_COLOR 631 #define NRFX_PWM_CONFIG_INFO_COLOR 0 632 #endif 633 634 // <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 635 636 // <0=> Default 637 // <1=> Black 638 // <2=> Red 639 // <3=> Green 640 // <4=> Yellow 641 // <5=> Blue 642 // <6=> Magenta 643 // <7=> Cyan 644 // <8=> White 645 646 #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR 647 #define NRFX_PWM_CONFIG_DEBUG_COLOR 0 648 #endif 649 650 // </e> 651 652 // </e> 653 654 // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver 655 //========================================================== 656 #ifndef NRFX_QDEC_ENABLED 657 #define NRFX_QDEC_ENABLED 0 658 #endif 659 660 // <o> NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 661 662 // <0=> 0 (highest) 663 // <1=> 1 664 // <2=> 2 665 // <3=> 3 666 // <4=> 4 667 // <5=> 5 668 // <6=> 6 669 // <7=> 7 670 671 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 672 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 7 673 #endif 674 675 // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module. 676 //========================================================== 677 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 678 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 679 #endif 680 // <o> NRFX_QDEC_CONFIG_LOG_LEVEL - Default Severity level 681 682 // <0=> Off 683 // <1=> Error 684 // <2=> Warning 685 // <3=> Info 686 // <4=> Debug 687 688 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 689 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 690 #endif 691 692 // <o> NRFX_QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix. 693 694 // <0=> Default 695 // <1=> Black 696 // <2=> Red 697 // <3=> Green 698 // <4=> Yellow 699 // <5=> Blue 700 // <6=> Magenta 701 // <7=> Cyan 702 // <8=> White 703 704 #ifndef NRFX_QDEC_CONFIG_INFO_COLOR 705 #define NRFX_QDEC_CONFIG_INFO_COLOR 0 706 #endif 707 708 // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 709 710 // <0=> Default 711 // <1=> Black 712 // <2=> Red 713 // <3=> Green 714 // <4=> Yellow 715 // <5=> Blue 716 // <6=> Magenta 717 // <7=> Cyan 718 // <8=> White 719 720 #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR 721 #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0 722 #endif 723 724 // </e> 725 726 // </e> 727 728 // <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver 729 //========================================================== 730 #ifndef NRFX_RNG_ENABLED 731 #define NRFX_RNG_ENABLED 0 732 #endif 733 734 // <o> NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 735 736 // <0=> 0 (highest) 737 // <1=> 1 738 // <2=> 2 739 // <3=> 3 740 // <4=> 4 741 // <5=> 5 742 // <6=> 6 743 // <7=> 7 744 745 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 746 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 7 747 #endif 748 749 // <e> NRFX_RNG_CONFIG_LOG_ENABLED - Enables logging in the module. 750 //========================================================== 751 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED 752 #define NRFX_RNG_CONFIG_LOG_ENABLED 0 753 #endif 754 // <o> NRFX_RNG_CONFIG_LOG_LEVEL - Default Severity level 755 756 // <0=> Off 757 // <1=> Error 758 // <2=> Warning 759 // <3=> Info 760 // <4=> Debug 761 762 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL 763 #define NRFX_RNG_CONFIG_LOG_LEVEL 3 764 #endif 765 766 // <o> NRFX_RNG_CONFIG_INFO_COLOR - ANSI escape code prefix. 767 768 // <0=> Default 769 // <1=> Black 770 // <2=> Red 771 // <3=> Green 772 // <4=> Yellow 773 // <5=> Blue 774 // <6=> Magenta 775 // <7=> Cyan 776 // <8=> White 777 778 #ifndef NRFX_RNG_CONFIG_INFO_COLOR 779 #define NRFX_RNG_CONFIG_INFO_COLOR 0 780 #endif 781 782 // <o> NRFX_RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 783 784 // <0=> Default 785 // <1=> Black 786 // <2=> Red 787 // <3=> Green 788 // <4=> Yellow 789 // <5=> Blue 790 // <6=> Magenta 791 // <7=> Cyan 792 // <8=> White 793 794 #ifndef NRFX_RNG_CONFIG_DEBUG_COLOR 795 #define NRFX_RNG_CONFIG_DEBUG_COLOR 0 796 #endif 797 798 // </e> 799 800 // </e> 801 802 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver 803 //========================================================== 804 #ifndef NRFX_RTC_ENABLED 805 #define NRFX_RTC_ENABLED 0 806 #endif 807 // <q> NRFX_RTC0_ENABLED - Enable RTC0 instance 808 809 #ifndef NRFX_RTC0_ENABLED 810 #define NRFX_RTC0_ENABLED 0 811 #endif 812 813 // <q> NRFX_RTC1_ENABLED - Enable RTC1 instance 814 815 #ifndef NRFX_RTC1_ENABLED 816 #define NRFX_RTC1_ENABLED 0 817 #endif 818 819 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 820 821 // <0=> 0 (highest) 822 // <1=> 1 823 // <2=> 2 824 // <3=> 3 825 // <4=> 4 826 // <5=> 5 827 // <6=> 6 828 // <7=> 7 829 830 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 831 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7 832 #endif 833 834 // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module. 835 //========================================================== 836 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 837 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 838 #endif 839 // <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default Severity level 840 841 // <0=> Off 842 // <1=> Error 843 // <2=> Warning 844 // <3=> Info 845 // <4=> Debug 846 847 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 848 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 849 #endif 850 851 // <o> NRFX_RTC_CONFIG_INFO_COLOR - ANSI escape code prefix. 852 853 // <0=> Default 854 // <1=> Black 855 // <2=> Red 856 // <3=> Green 857 // <4=> Yellow 858 // <5=> Blue 859 // <6=> Magenta 860 // <7=> Cyan 861 // <8=> White 862 863 #ifndef NRFX_RTC_CONFIG_INFO_COLOR 864 #define NRFX_RTC_CONFIG_INFO_COLOR 0 865 #endif 866 867 // <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 868 869 // <0=> Default 870 // <1=> Black 871 // <2=> Red 872 // <3=> Green 873 // <4=> Yellow 874 // <5=> Blue 875 // <6=> Magenta 876 // <7=> Cyan 877 // <8=> White 878 879 #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR 880 #define NRFX_RTC_CONFIG_DEBUG_COLOR 0 881 #endif 882 883 // </e> 884 885 // </e> 886 887 // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver 888 //========================================================== 889 #ifndef NRFX_SAADC_ENABLED 890 #define NRFX_SAADC_ENABLED 0 891 #endif 892 893 // <o> NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 894 895 // <0=> 0 (highest) 896 // <1=> 1 897 // <2=> 2 898 // <3=> 3 899 // <4=> 4 900 // <5=> 5 901 // <6=> 6 902 // <7=> 7 903 904 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 905 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 7 906 #endif 907 908 // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module. 909 //========================================================== 910 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 911 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 912 #endif 913 914 // <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default Severity level 915 916 // <0=> Off 917 // <1=> Error 918 // <2=> Warning 919 // <3=> Info 920 // <4=> Debug 921 922 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 923 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 924 #endif 925 926 // <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix. 927 928 // <0=> Default 929 // <1=> Black 930 // <2=> Red 931 // <3=> Green 932 // <4=> Yellow 933 // <5=> Blue 934 // <6=> Magenta 935 // <7=> Cyan 936 // <8=> White 937 938 #ifndef NRFX_SAADC_CONFIG_INFO_COLOR 939 #define NRFX_SAADC_CONFIG_INFO_COLOR 0 940 #endif 941 942 // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 943 944 // <0=> Default 945 // <1=> Black 946 // <2=> Red 947 // <3=> Green 948 // <4=> Yellow 949 // <5=> Blue 950 // <6=> Magenta 951 // <7=> Cyan 952 // <8=> White 953 954 #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR 955 #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0 956 #endif 957 958 // </e> 959 960 // </e> 961 962 // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver 963 //========================================================== 964 #ifndef NRFX_SPIM_ENABLED 965 #define NRFX_SPIM_ENABLED 0 966 #endif 967 968 // <q> NRFX_SPIM0_ENABLED - Enable SPIM0 instance 969 970 #ifndef NRFX_SPIM0_ENABLED 971 #define NRFX_SPIM0_ENABLED 0 972 #endif 973 974 #ifndef NRFX_SPIM1_ENABLED 975 #define NRFX_SPIM1_ENABLED 0 976 #endif 977 978 // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 979 980 // <0=> 0 (highest) 981 // <1=> 1 982 // <2=> 2 983 // <3=> 3 984 // <4=> 4 985 // <5=> 5 986 // <6=> 6 987 // <7=> 7 988 989 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 990 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 7 991 #endif 992 993 // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module. 994 //========================================================== 995 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 996 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 997 #endif 998 // <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default Severity level 999 1000 // <0=> Off 1001 // <1=> Error 1002 // <2=> Warning 1003 // <3=> Info 1004 // <4=> Debug 1005 1006 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 1007 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 1008 #endif 1009 1010 // <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix. 1011 1012 // <0=> Default 1013 // <1=> Black 1014 // <2=> Red 1015 // <3=> Green 1016 // <4=> Yellow 1017 // <5=> Blue 1018 // <6=> Magenta 1019 // <7=> Cyan 1020 // <8=> White 1021 1022 #ifndef NRFX_SPIM_CONFIG_INFO_COLOR 1023 #define NRFX_SPIM_CONFIG_INFO_COLOR 0 1024 #endif 1025 1026 // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1027 1028 // <0=> Default 1029 // <1=> Black 1030 // <2=> Red 1031 // <3=> Green 1032 // <4=> Yellow 1033 // <5=> Blue 1034 // <6=> Magenta 1035 // <7=> Cyan 1036 // <8=> White 1037 1038 #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR 1039 #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0 1040 #endif 1041 1042 // </e> 1043 1044 // </e> 1045 1046 // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver 1047 //========================================================== 1048 #ifndef NRFX_SPIS_ENABLED 1049 #define NRFX_SPIS_ENABLED 0 1050 #endif 1051 // <q> NRFX_SPIS0_ENABLED - Enable SPIS0 instance 1052 1053 1054 #ifndef NRFX_SPIS0_ENABLED 1055 #define NRFX_SPIS0_ENABLED 0 1056 #endif 1057 1058 #ifndef NRFX_SPIS1_ENABLED 1059 #define NRFX_SPIS1_ENABLED 0 1060 #endif 1061 1062 // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1063 1064 // <0=> 0 (highest) 1065 // <1=> 1 1066 // <2=> 2 1067 // <3=> 3 1068 // <4=> 4 1069 // <5=> 5 1070 // <6=> 6 1071 // <7=> 7 1072 1073 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1074 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 7 1075 #endif 1076 1077 // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module. 1078 //========================================================== 1079 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 1080 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 1081 #endif 1082 // <o> NRFX_SPIS_CONFIG_LOG_LEVEL - Default Severity level 1083 1084 // <0=> Off 1085 // <1=> Error 1086 // <2=> Warning 1087 // <3=> Info 1088 // <4=> Debug 1089 1090 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 1091 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 1092 #endif 1093 1094 // <o> NRFX_SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix. 1095 1096 // <0=> Default 1097 // <1=> Black 1098 // <2=> Red 1099 // <3=> Green 1100 // <4=> Yellow 1101 // <5=> Blue 1102 // <6=> Magenta 1103 // <7=> Cyan 1104 // <8=> White 1105 1106 #ifndef NRFX_SPIS_CONFIG_INFO_COLOR 1107 #define NRFX_SPIS_CONFIG_INFO_COLOR 0 1108 #endif 1109 1110 // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1111 1112 // <0=> Default 1113 // <1=> Black 1114 // <2=> Red 1115 // <3=> Green 1116 // <4=> Yellow 1117 // <5=> Blue 1118 // <6=> Magenta 1119 // <7=> Cyan 1120 // <8=> White 1121 1122 #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR 1123 #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0 1124 #endif 1125 1126 // </e> 1127 1128 // </e> 1129 1130 // <e> NRFX_SPI_ENABLED - nrfx_spi - SPI peripheral driver 1131 //========================================================== 1132 #ifndef NRFX_SPI_ENABLED 1133 #define NRFX_SPI_ENABLED 0 1134 #endif 1135 // <q> NRFX_SPI0_ENABLED - Enable SPI0 instance 1136 1137 1138 #ifndef NRFX_SPI0_ENABLED 1139 #define NRFX_SPI0_ENABLED 0 1140 #endif 1141 1142 // <q> NRFX_SPI1_ENABLED - Enable SPI1 instance 1143 1144 1145 #ifndef NRFX_SPI1_ENABLED 1146 #define NRFX_SPI1_ENABLED 0 1147 #endif 1148 1149 // <o> NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1150 1151 // <0=> 0 (highest) 1152 // <1=> 1 1153 // <2=> 2 1154 // <3=> 3 1155 // <4=> 4 1156 // <5=> 5 1157 // <6=> 6 1158 // <7=> 7 1159 1160 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 1161 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 7 1162 #endif 1163 1164 // <e> NRFX_SPI_CONFIG_LOG_ENABLED - Enables logging in the module. 1165 //========================================================== 1166 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED 1167 #define NRFX_SPI_CONFIG_LOG_ENABLED 0 1168 #endif 1169 // <o> NRFX_SPI_CONFIG_LOG_LEVEL - Default Severity level 1170 1171 // <0=> Off 1172 // <1=> Error 1173 // <2=> Warning 1174 // <3=> Info 1175 // <4=> Debug 1176 1177 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL 1178 #define NRFX_SPI_CONFIG_LOG_LEVEL 3 1179 #endif 1180 1181 // <o> NRFX_SPI_CONFIG_INFO_COLOR - ANSI escape code prefix. 1182 1183 // <0=> Default 1184 // <1=> Black 1185 // <2=> Red 1186 // <3=> Green 1187 // <4=> Yellow 1188 // <5=> Blue 1189 // <6=> Magenta 1190 // <7=> Cyan 1191 // <8=> White 1192 1193 #ifndef NRFX_SPI_CONFIG_INFO_COLOR 1194 #define NRFX_SPI_CONFIG_INFO_COLOR 0 1195 #endif 1196 1197 // <o> NRFX_SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1198 1199 // <0=> Default 1200 // <1=> Black 1201 // <2=> Red 1202 // <3=> Green 1203 // <4=> Yellow 1204 // <5=> Blue 1205 // <6=> Magenta 1206 // <7=> Cyan 1207 // <8=> White 1208 1209 #ifndef NRFX_SPI_CONFIG_DEBUG_COLOR 1210 #define NRFX_SPI_CONFIG_DEBUG_COLOR 0 1211 #endif 1212 1213 // </e> 1214 1215 // </e> 1216 1217 // <q> NRFX_SYSTICK_ENABLED - nrfx_systick - ARM(R) SysTick driver 1218 1219 1220 #ifndef NRFX_SYSTICK_ENABLED 1221 #define NRFX_SYSTICK_ENABLED 0 1222 #endif 1223 1224 // <e> NRFX_TEMP_ENABLED - nrfx_temp - TEMP peripheral driver 1225 //========================================================== 1226 #ifndef NRFX_TEMP_ENABLED 1227 #define NRFX_TEMP_ENABLED 0 1228 #endif 1229 1230 // <o> NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1231 1232 // <0=> 0 (highest) 1233 // <1=> 1 1234 // <2=> 2 1235 // <3=> 3 1236 // <4=> 4 1237 // <5=> 5 1238 // <6=> 6 1239 // <7=> 7 1240 1241 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 1242 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 7 1243 #endif 1244 1245 // </e> 1246 1247 // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver 1248 //========================================================== 1249 #ifndef NRFX_TIMER_ENABLED 1250 #define NRFX_TIMER_ENABLED 0 1251 #endif 1252 1253 // <q> NRFX_TIMER0_ENABLED - Enable TIMER0 instance 1254 1255 #ifndef NRFX_TIMER0_ENABLED 1256 #define NRFX_TIMER0_ENABLED 0 1257 #endif 1258 1259 // <q> NRFX_TIMER1_ENABLED - Enable TIMER1 instance 1260 1261 #ifndef NRFX_TIMER1_ENABLED 1262 #define NRFX_TIMER1_ENABLED 0 1263 #endif 1264 1265 // <q> NRFX_TIMER2_ENABLED - Enable TIMER2 instance 1266 1267 #ifndef NRFX_TIMER2_ENABLED 1268 #define NRFX_TIMER2_ENABLED 0 1269 #endif 1270 1271 // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1272 1273 // <0=> 0 (highest) 1274 // <1=> 1 1275 // <2=> 2 1276 // <3=> 3 1277 // <4=> 4 1278 // <5=> 5 1279 // <6=> 6 1280 // <7=> 7 1281 1282 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1283 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 7 1284 #endif 1285 1286 // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module. 1287 //========================================================== 1288 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 1289 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 1290 #endif 1291 // <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default Severity level 1292 1293 // <0=> Off 1294 // <1=> Error 1295 // <2=> Warning 1296 // <3=> Info 1297 // <4=> Debug 1298 1299 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 1300 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 1301 #endif 1302 1303 // <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix. 1304 1305 // <0=> Default 1306 // <1=> Black 1307 // <2=> Red 1308 // <3=> Green 1309 // <4=> Yellow 1310 // <5=> Blue 1311 // <6=> Magenta 1312 // <7=> Cyan 1313 // <8=> White 1314 1315 #ifndef NRFX_TIMER_CONFIG_INFO_COLOR 1316 #define NRFX_TIMER_CONFIG_INFO_COLOR 0 1317 #endif 1318 1319 // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1320 1321 // <0=> Default 1322 // <1=> Black 1323 // <2=> Red 1324 // <3=> Green 1325 // <4=> Yellow 1326 // <5=> Blue 1327 // <6=> Magenta 1328 // <7=> Cyan 1329 // <8=> White 1330 1331 #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR 1332 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0 1333 #endif 1334 1335 // </e> 1336 1337 // </e> 1338 1339 // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver 1340 //========================================================== 1341 #ifndef NRFX_TWIM_ENABLED 1342 #define NRFX_TWIM_ENABLED 0 1343 #endif 1344 1345 // <q> NRFX_TWIM0_ENABLED - Enable TWIM0 instance 1346 1347 #ifndef NRFX_TWIM0_ENABLED 1348 #define NRFX_TWIM0_ENABLED 0 1349 #endif 1350 1351 // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1352 1353 // <0=> 0 (highest) 1354 // <1=> 1 1355 // <2=> 2 1356 // <3=> 3 1357 // <4=> 4 1358 // <5=> 5 1359 // <6=> 6 1360 // <7=> 7 1361 1362 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1363 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 7 1364 #endif 1365 1366 // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module. 1367 //========================================================== 1368 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 1369 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 1370 #endif 1371 // <o> NRFX_TWIM_CONFIG_LOG_LEVEL - Default Severity level 1372 1373 // <0=> Off 1374 // <1=> Error 1375 // <2=> Warning 1376 // <3=> Info 1377 // <4=> Debug 1378 1379 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 1380 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 1381 #endif 1382 1383 // <o> NRFX_TWIM_CONFIG_INFO_COLOR - ANSI escape code prefix. 1384 1385 // <0=> Default 1386 // <1=> Black 1387 // <2=> Red 1388 // <3=> Green 1389 // <4=> Yellow 1390 // <5=> Blue 1391 // <6=> Magenta 1392 // <7=> Cyan 1393 // <8=> White 1394 1395 #ifndef NRFX_TWIM_CONFIG_INFO_COLOR 1396 #define NRFX_TWIM_CONFIG_INFO_COLOR 0 1397 #endif 1398 1399 // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1400 1401 // <0=> Default 1402 // <1=> Black 1403 // <2=> Red 1404 // <3=> Green 1405 // <4=> Yellow 1406 // <5=> Blue 1407 // <6=> Magenta 1408 // <7=> Cyan 1409 // <8=> White 1410 1411 #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR 1412 #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0 1413 #endif 1414 1415 // </e> 1416 1417 // </e> 1418 1419 // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver 1420 //========================================================== 1421 #ifndef NRFX_TWIS_ENABLED 1422 #define NRFX_TWIS_ENABLED 0 1423 #endif 1424 1425 // <q> NRFX_TWIS0_ENABLED - Enable TWIS0 instance 1426 1427 #ifndef NRFX_TWIS0_ENABLED 1428 #define NRFX_TWIS0_ENABLED 0 1429 #endif 1430 1431 // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once 1432 1433 // <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. 1434 1435 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1436 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1437 #endif 1438 1439 // <q> NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode 1440 1441 // <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. 1442 1443 #ifndef NRFX_TWIS_NO_SYNC_MODE 1444 #define NRFX_TWIS_NO_SYNC_MODE 0 1445 #endif 1446 1447 // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1448 1449 // <0=> 0 (highest) 1450 // <1=> 1 1451 // <2=> 2 1452 // <3=> 3 1453 // <4=> 4 1454 // <5=> 5 1455 // <6=> 6 1456 // <7=> 7 1457 1458 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1459 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 7 1460 #endif 1461 1462 // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module. 1463 //========================================================== 1464 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1465 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1466 #endif 1467 // <o> NRFX_TWIS_CONFIG_LOG_LEVEL - Default Severity level 1468 1469 // <0=> Off 1470 // <1=> Error 1471 // <2=> Warning 1472 // <3=> Info 1473 // <4=> Debug 1474 1475 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1476 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1477 #endif 1478 1479 // <o> NRFX_TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix. 1480 1481 // <0=> Default 1482 // <1=> Black 1483 // <2=> Red 1484 // <3=> Green 1485 // <4=> Yellow 1486 // <5=> Blue 1487 // <6=> Magenta 1488 // <7=> Cyan 1489 // <8=> White 1490 1491 #ifndef NRFX_TWIS_CONFIG_INFO_COLOR 1492 #define NRFX_TWIS_CONFIG_INFO_COLOR 0 1493 #endif 1494 1495 // <o> NRFX_TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1496 1497 // <0=> Default 1498 // <1=> Black 1499 // <2=> Red 1500 // <3=> Green 1501 // <4=> Yellow 1502 // <5=> Blue 1503 // <6=> Magenta 1504 // <7=> Cyan 1505 // <8=> White 1506 1507 #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR 1508 #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0 1509 #endif 1510 1511 // </e> 1512 1513 // </e> 1514 1515 // <e> NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver 1516 //========================================================== 1517 #ifndef NRFX_TWI_ENABLED 1518 #define NRFX_TWI_ENABLED 0 1519 #endif 1520 1521 // <q> NRFX_TWI0_ENABLED - Enable TWI0 instance 1522 1523 #ifndef NRFX_TWI0_ENABLED 1524 #define NRFX_TWI0_ENABLED 0 1525 #endif 1526 1527 // <o> NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1528 1529 // <0=> 0 (highest) 1530 // <1=> 1 1531 // <2=> 2 1532 // <3=> 3 1533 // <4=> 4 1534 // <5=> 5 1535 // <6=> 6 1536 // <7=> 7 1537 1538 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 1539 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 7 1540 #endif 1541 1542 // <e> NRFX_TWI_CONFIG_LOG_ENABLED - Enables logging in the module. 1543 //========================================================== 1544 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED 1545 #define NRFX_TWI_CONFIG_LOG_ENABLED 0 1546 #endif 1547 // <o> NRFX_TWI_CONFIG_LOG_LEVEL - Default Severity level 1548 1549 // <0=> Off 1550 // <1=> Error 1551 // <2=> Warning 1552 // <3=> Info 1553 // <4=> Debug 1554 1555 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL 1556 #define NRFX_TWI_CONFIG_LOG_LEVEL 3 1557 #endif 1558 1559 // <o> NRFX_TWI_CONFIG_INFO_COLOR - ANSI escape code prefix. 1560 1561 // <0=> Default 1562 // <1=> Black 1563 // <2=> Red 1564 // <3=> Green 1565 // <4=> Yellow 1566 // <5=> Blue 1567 // <6=> Magenta 1568 // <7=> Cyan 1569 // <8=> White 1570 1571 #ifndef NRFX_TWI_CONFIG_INFO_COLOR 1572 #define NRFX_TWI_CONFIG_INFO_COLOR 0 1573 #endif 1574 1575 // <o> NRFX_TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1576 1577 // <0=> Default 1578 // <1=> Black 1579 // <2=> Red 1580 // <3=> Green 1581 // <4=> Yellow 1582 // <5=> Blue 1583 // <6=> Magenta 1584 // <7=> Cyan 1585 // <8=> White 1586 1587 #ifndef NRFX_TWI_CONFIG_DEBUG_COLOR 1588 #define NRFX_TWI_CONFIG_DEBUG_COLOR 0 1589 #endif 1590 1591 // </e> 1592 1593 // </e> 1594 1595 // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver 1596 //========================================================== 1597 #ifndef NRFX_UARTE_ENABLED 1598 #define NRFX_UARTE_ENABLED 0 1599 #endif 1600 1601 // <q> NRFX_UARTE0_ENABLED - Enable UARTE0 instance 1602 1603 #ifndef NRFX_UARTE0_ENABLED 1604 #define NRFX_UARTE0_ENABLED 0 1605 #endif 1606 1607 // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1608 1609 // <0=> 0 (highest) 1610 // <1=> 1 1611 // <2=> 2 1612 // <3=> 3 1613 // <4=> 4 1614 // <5=> 5 1615 // <6=> 6 1616 // <7=> 7 1617 1618 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1619 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7 1620 #endif 1621 1622 // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module. 1623 //========================================================== 1624 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1625 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1626 #endif 1627 // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default Severity level 1628 1629 // <0=> Off 1630 // <1=> Error 1631 // <2=> Warning 1632 // <3=> Info 1633 // <4=> Debug 1634 1635 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1636 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1637 #endif 1638 1639 // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 1640 1641 // <0=> Default 1642 // <1=> Black 1643 // <2=> Red 1644 // <3=> Green 1645 // <4=> Yellow 1646 // <5=> Blue 1647 // <6=> Magenta 1648 // <7=> Cyan 1649 // <8=> White 1650 1651 #ifndef NRFX_UARTE_CONFIG_INFO_COLOR 1652 #define NRFX_UARTE_CONFIG_INFO_COLOR 0 1653 #endif 1654 1655 // <o> NRFX_UARTE_CONFIG_DEBUG_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_UARTE_CONFIG_DEBUG_COLOR 1668 #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0 1669 #endif 1670 1671 // </e> 1672 1673 // </e> 1674 1675 // <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver 1676 //========================================================== 1677 #ifndef NRFX_UART_ENABLED 1678 #define NRFX_UART_ENABLED 0 1679 #endif 1680 1681 // <q> NRFX_UART0_ENABLED - Enable UART0 instance 1682 1683 #ifndef NRFX_UART0_ENABLED 1684 #define NRFX_UART0_ENABLED 0 1685 #endif 1686 1687 // <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1688 1689 // <0=> 0 (highest) 1690 // <1=> 1 1691 // <2=> 2 1692 // <3=> 3 1693 // <4=> 4 1694 // <5=> 5 1695 // <6=> 6 1696 // <7=> 7 1697 1698 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1699 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 7 1700 #endif 1701 1702 // <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module. 1703 //========================================================== 1704 #ifndef NRFX_UART_CONFIG_LOG_ENABLED 1705 #define NRFX_UART_CONFIG_LOG_ENABLED 0 1706 #endif 1707 // <o> NRFX_UART_CONFIG_LOG_LEVEL - Default Severity level 1708 1709 // <0=> Off 1710 // <1=> Error 1711 // <2=> Warning 1712 // <3=> Info 1713 // <4=> Debug 1714 1715 #ifndef NRFX_UART_CONFIG_LOG_LEVEL 1716 #define NRFX_UART_CONFIG_LOG_LEVEL 3 1717 #endif 1718 1719 // <o> NRFX_UART_CONFIG_INFO_COLOR - ANSI escape code prefix. 1720 1721 // <0=> Default 1722 // <1=> Black 1723 // <2=> Red 1724 // <3=> Green 1725 // <4=> Yellow 1726 // <5=> Blue 1727 // <6=> Magenta 1728 // <7=> Cyan 1729 // <8=> White 1730 1731 #ifndef NRFX_UART_CONFIG_INFO_COLOR 1732 #define NRFX_UART_CONFIG_INFO_COLOR 0 1733 #endif 1734 1735 // <o> NRFX_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1736 1737 // <0=> Default 1738 // <1=> Black 1739 // <2=> Red 1740 // <3=> Green 1741 // <4=> Yellow 1742 // <5=> Blue 1743 // <6=> Magenta 1744 // <7=> Cyan 1745 // <8=> White 1746 1747 #ifndef NRFX_UART_CONFIG_DEBUG_COLOR 1748 #define NRFX_UART_CONFIG_DEBUG_COLOR 0 1749 #endif 1750 1751 // </e> 1752 1753 // </e> 1754 1755 // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver 1756 //========================================================== 1757 #ifndef NRFX_WDT_ENABLED 1758 #define NRFX_WDT_ENABLED 0 1759 #endif 1760 1761 // <q> NRFX_WDT0_ENABLED - Enable WDT0 instance 1762 1763 #ifndef NRFX_WDT0_ENABLED 1764 #define NRFX_WDT0_ENABLED 0 1765 #endif 1766 1767 // <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1768 1769 // <0=> Include WDT IRQ handling 1770 // <1=> Remove WDT IRQ handling 1771 1772 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1773 #define NRFX_WDT_CONFIG_NO_IRQ 0 1774 #endif 1775 1776 // <o> NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1777 1778 // <0=> 0 (highest) 1779 // <1=> 1 1780 // <2=> 2 1781 // <3=> 3 1782 // <4=> 4 1783 // <5=> 5 1784 // <6=> 6 1785 // <7=> 7 1786 1787 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1788 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 7 1789 #endif 1790 1791 // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module. 1792 //========================================================== 1793 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1794 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1795 #endif 1796 // <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default Severity level 1797 1798 // <0=> Off 1799 // <1=> Error 1800 // <2=> Warning 1801 // <3=> Info 1802 // <4=> Debug 1803 1804 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1805 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1806 #endif 1807 1808 // <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix. 1809 1810 // <0=> Default 1811 // <1=> Black 1812 // <2=> Red 1813 // <3=> Green 1814 // <4=> Yellow 1815 // <5=> Blue 1816 // <6=> Magenta 1817 // <7=> Cyan 1818 // <8=> White 1819 1820 #ifndef NRFX_WDT_CONFIG_INFO_COLOR 1821 #define NRFX_WDT_CONFIG_INFO_COLOR 0 1822 #endif 1823 1824 // <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1825 1826 // <0=> Default 1827 // <1=> Black 1828 // <2=> Red 1829 // <3=> Green 1830 // <4=> Yellow 1831 // <5=> Blue 1832 // <6=> Magenta 1833 // <7=> Cyan 1834 // <8=> White 1835 1836 #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR 1837 #define NRFX_WDT_CONFIG_DEBUG_COLOR 0 1838 #endif 1839 1840 // </e> 1841 1842 // </e> 1843 1844 // </h> 1845 1846 #endif // NRFX_CONFIG_NRF52811_H__ 1847