1 /* 2 * Copyright (c) 2018 - 2023, Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef NRFX_CONFIG_NRF52811_H__ 8 #define NRFX_CONFIG_NRF52811_H__ 9 10 #ifndef NRFX_CONFIG_H__ 11 #error "This file should not be included directly. Include nrfx_config.h instead." 12 #endif 13 14 15 /** 16 * @brief NRFX_DEFAULT_IRQ_PRIORITY 17 * 18 * Integer value. Minimum: 0 Maximum: 7 19 */ 20 #ifndef NRFX_DEFAULT_IRQ_PRIORITY 21 #define NRFX_DEFAULT_IRQ_PRIORITY 7 22 #endif 23 24 /** 25 * @brief NRFX_CLOCK_ENABLED 26 * 27 * Boolean. Accepted values 0 and 1. 28 */ 29 #ifndef NRFX_CLOCK_ENABLED 30 #define NRFX_CLOCK_ENABLED 0 31 #endif 32 33 /** 34 * @brief NRFX_CLOCK_CONFIG_LF_SRC 35 * 36 * Integer value. 37 * Supported values: 38 * - RC = 0 39 * - XTAL = 1 40 * - Synth = 2 41 * - External Low Swing = 131073 42 * - External Full Swing = 196609 43 */ 44 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 45 #define NRFX_CLOCK_CONFIG_LF_SRC 1 46 #endif 47 48 /** 49 * @brief NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 50 * 51 * Boolean. Accepted values 0 and 1. 52 */ 53 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 54 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0 55 #endif 56 57 /** 58 * @brief NRFX_CLOCK_CONFIG_CT_ENABLED 59 * 60 * Boolean. Accepted values 0 and 1. 61 */ 62 #ifndef NRFX_CLOCK_CONFIG_CT_ENABLED 63 #define NRFX_CLOCK_CONFIG_CT_ENABLED 0 64 #endif 65 66 /** 67 * @brief NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 68 * 69 * Boolean. Accepted values 0 and 1. 70 */ 71 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 72 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0 73 #endif 74 75 /** 76 * @brief NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 77 * 78 * Integer value. Minimum: 0 Maximum: 7 79 */ 80 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 81 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 82 #endif 83 84 /** 85 * @brief NRFX_CLOCK_CONFIG_LOG_ENABLED 86 * 87 * Boolean. Accepted values 0 and 1. 88 */ 89 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 90 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 91 #endif 92 93 /** 94 * @brief NRFX_CLOCK_CONFIG_LOG_LEVEL 95 * 96 * Integer value. 97 * Supported values: 98 * - Off = 0 99 * - Error = 1 100 * - Warning = 2 101 * - Info = 3 102 * - Debug = 4 103 */ 104 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 105 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 106 #endif 107 108 /** 109 * @brief NRFX_COMP_ENABLED 110 * 111 * Boolean. Accepted values 0 and 1. 112 */ 113 #ifndef NRFX_COMP_ENABLED 114 #define NRFX_COMP_ENABLED 0 115 #endif 116 117 /** 118 * @brief NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 119 * 120 * Integer value. Minimum: 0 Maximum: 7 121 */ 122 #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 123 #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 124 #endif 125 126 /** 127 * @brief NRFX_COMP_CONFIG_LOG_ENABLED 128 * 129 * Boolean. Accepted values 0 and 1. 130 */ 131 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED 132 #define NRFX_COMP_CONFIG_LOG_ENABLED 0 133 #endif 134 135 /** 136 * @brief NRFX_COMP_CONFIG_LOG_LEVEL 137 * 138 * Integer value. 139 * Supported values: 140 * - Off = 0 141 * - Error = 1 142 * - Warning = 2 143 * - Info = 3 144 * - Debug = 4 145 */ 146 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL 147 #define NRFX_COMP_CONFIG_LOG_LEVEL 3 148 #endif 149 150 /** 151 * @brief NRFX_EGU_ENABLED 152 * 153 * Boolean. Accepted values 0 and 1. 154 */ 155 #ifndef NRFX_EGU_ENABLED 156 #define NRFX_EGU_ENABLED 0 157 #endif 158 159 /** 160 * @brief NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 161 * 162 * Integer value. Minimum: 0 Maximum: 7 163 */ 164 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 165 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 166 #endif 167 168 /** 169 * @brief NRFX_EGU0_ENABLED 170 * 171 * Boolean. Accepted values 0 and 1. 172 */ 173 #ifndef NRFX_EGU0_ENABLED 174 #define NRFX_EGU0_ENABLED 0 175 #endif 176 177 /** 178 * @brief NRFX_EGU1_ENABLED 179 * 180 * Boolean. Accepted values 0 and 1. 181 */ 182 #ifndef NRFX_EGU1_ENABLED 183 #define NRFX_EGU1_ENABLED 0 184 #endif 185 186 /** 187 * @brief NRFX_GPIOTE_ENABLED 188 * 189 * Boolean. Accepted values 0 and 1. 190 */ 191 #ifndef NRFX_GPIOTE_ENABLED 192 #define NRFX_GPIOTE_ENABLED 0 193 #endif 194 195 /** 196 * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 197 * 198 * Integer value. Minimum: 0 Maximum: 7 199 */ 200 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 201 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 202 #endif 203 204 /** 205 * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 206 * 207 * Integer value. Minimum: 0 Maximum: 15 208 */ 209 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 210 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 1 211 #endif 212 213 /** 214 * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED 215 * 216 * Boolean. Accepted values 0 and 1. 217 */ 218 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 219 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 220 #endif 221 222 /** 223 * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL 224 * 225 * Integer value. 226 * Supported values: 227 * - Off = 0 228 * - Error = 1 229 * - Warning = 2 230 * - Info = 3 231 * - Debug = 4 232 */ 233 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 234 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 235 #endif 236 237 /** 238 * @brief NRFX_NVMC_ENABLED 239 * 240 * Boolean. Accepted values 0 and 1. 241 */ 242 #ifndef NRFX_NVMC_ENABLED 243 #define NRFX_NVMC_ENABLED 0 244 #endif 245 246 /** 247 * @brief NRFX_PDM_ENABLED 248 * 249 * Boolean. Accepted values 0 and 1. 250 */ 251 #ifndef NRFX_PDM_ENABLED 252 #define NRFX_PDM_ENABLED 0 253 #endif 254 255 /** 256 * @brief NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 257 * 258 * Integer value. Minimum: 0 Maximum: 7 259 */ 260 #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 261 #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 262 #endif 263 264 /** 265 * @brief NRFX_PDM_CONFIG_LOG_ENABLED 266 * 267 * Boolean. Accepted values 0 and 1. 268 */ 269 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED 270 #define NRFX_PDM_CONFIG_LOG_ENABLED 0 271 #endif 272 273 /** 274 * @brief NRFX_PDM_CONFIG_LOG_LEVEL 275 * 276 * Integer value. 277 * Supported values: 278 * - Off = 0 279 * - Error = 1 280 * - Warning = 2 281 * - Info = 3 282 * - Debug = 4 283 */ 284 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL 285 #define NRFX_PDM_CONFIG_LOG_LEVEL 3 286 #endif 287 288 /** 289 * @brief NRFX_POWER_ENABLED 290 * 291 * Boolean. Accepted values 0 and 1. 292 */ 293 #ifndef NRFX_POWER_ENABLED 294 #define NRFX_POWER_ENABLED 0 295 #endif 296 297 /** 298 * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 299 * 300 * Integer value. Minimum: 0 Maximum: 7 301 */ 302 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 303 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 304 #endif 305 306 /** 307 * @brief NRFX_PPI_ENABLED 308 * 309 * Boolean. Accepted values 0 and 1. 310 */ 311 #ifndef NRFX_PPI_ENABLED 312 #define NRFX_PPI_ENABLED 0 313 #endif 314 315 /** 316 * @brief NRFX_PPI_CONFIG_LOG_ENABLED 317 * 318 * Boolean. Accepted values 0 and 1. 319 */ 320 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED 321 #define NRFX_PPI_CONFIG_LOG_ENABLED 0 322 #endif 323 324 /** 325 * @brief NRFX_PPI_CONFIG_LOG_LEVEL 326 * 327 * Integer value. 328 * Supported values: 329 * - Off = 0 330 * - Error = 1 331 * - Warning = 2 332 * - Info = 3 333 * - Debug = 4 334 */ 335 #ifndef NRFX_PPI_CONFIG_LOG_LEVEL 336 #define NRFX_PPI_CONFIG_LOG_LEVEL 3 337 #endif 338 339 /** 340 * @brief NRFX_PRS_ENABLED 341 * 342 * Boolean. Accepted values 0 and 1. 343 */ 344 #ifndef NRFX_PRS_ENABLED 345 #define NRFX_PRS_ENABLED 0 346 #endif 347 348 /** 349 * @brief NRFX_PRS_CONFIG_LOG_ENABLED 350 * 351 * Boolean. Accepted values 0 and 1. 352 */ 353 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 354 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 355 #endif 356 357 /** 358 * @brief NRFX_PRS_CONFIG_LOG_LEVEL 359 * 360 * Integer value. 361 * Supported values: 362 * - Off = 0 363 * - Error = 1 364 * - Warning = 2 365 * - Info = 3 366 * - Debug = 4 367 */ 368 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 369 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 370 #endif 371 372 /** 373 * @brief NRFX_PRS_BOX_0_ENABLED 374 * 375 * Boolean. Accepted values 0 and 1. 376 */ 377 #ifndef NRFX_PRS_BOX_0_ENABLED 378 #define NRFX_PRS_BOX_0_ENABLED 0 379 #endif 380 381 /** 382 * @brief NRFX_PRS_BOX_1_ENABLED 383 * 384 * Boolean. Accepted values 0 and 1. 385 */ 386 #ifndef NRFX_PRS_BOX_1_ENABLED 387 #define NRFX_PRS_BOX_1_ENABLED 0 388 #endif 389 390 /** 391 * @brief NRFX_PRS_BOX_2_ENABLED 392 * 393 * Boolean. Accepted values 0 and 1. 394 */ 395 #ifndef NRFX_PRS_BOX_2_ENABLED 396 #define NRFX_PRS_BOX_2_ENABLED 0 397 #endif 398 399 /** 400 * @brief NRFX_PRS_BOX_4_ENABLED 401 * 402 * Boolean. Accepted values 0 and 1. 403 */ 404 #ifndef NRFX_PRS_BOX_4_ENABLED 405 #define NRFX_PRS_BOX_4_ENABLED 0 406 #endif 407 408 /** 409 * @brief NRFX_PWM_ENABLED 410 * 411 * Boolean. Accepted values 0 and 1. 412 */ 413 #ifndef NRFX_PWM_ENABLED 414 #define NRFX_PWM_ENABLED 0 415 #endif 416 417 /** 418 * @brief NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 419 * 420 * Integer value. Minimum: 0 Maximum: 7 421 */ 422 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 423 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 424 #endif 425 426 /** 427 * @brief NRFX_PWM_CONFIG_LOG_ENABLED 428 * 429 * Boolean. Accepted values 0 and 1. 430 */ 431 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED 432 #define NRFX_PWM_CONFIG_LOG_ENABLED 0 433 #endif 434 435 /** 436 * @brief NRFX_PWM_CONFIG_LOG_LEVEL 437 * 438 * Integer value. 439 * Supported values: 440 * - Off = 0 441 * - Error = 1 442 * - Warning = 2 443 * - Info = 3 444 * - Debug = 4 445 */ 446 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 447 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 448 #endif 449 450 /** 451 * @brief NRFX_PWM0_ENABLED 452 * 453 * Boolean. Accepted values 0 and 1. 454 */ 455 #ifndef NRFX_PWM0_ENABLED 456 #define NRFX_PWM0_ENABLED 0 457 #endif 458 459 /** 460 * @brief NRFX_QDEC_ENABLED 461 * 462 * Boolean. Accepted values 0 and 1. 463 */ 464 #ifndef NRFX_QDEC_ENABLED 465 #define NRFX_QDEC_ENABLED 0 466 #endif 467 468 /** 469 * @brief NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 470 * 471 * Integer value. Minimum: 0 Maximum: 7 472 */ 473 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 474 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 475 #endif 476 477 /** 478 * @brief NRFX_QDEC_CONFIG_LOG_ENABLED 479 * 480 * Boolean. Accepted values 0 and 1. 481 */ 482 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 483 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 484 #endif 485 486 /** 487 * @brief NRFX_QDEC_CONFIG_LOG_LEVEL 488 * 489 * Integer value. 490 * Supported values: 491 * - Off = 0 492 * - Error = 1 493 * - Warning = 2 494 * - Info = 3 495 * - Debug = 4 496 */ 497 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 498 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 499 #endif 500 501 /** 502 * @brief NRFX_RNG_ENABLED 503 * 504 * Boolean. Accepted values 0 and 1. 505 */ 506 #ifndef NRFX_RNG_ENABLED 507 #define NRFX_RNG_ENABLED 0 508 #endif 509 510 /** 511 * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 512 * 513 * Integer value. Minimum: 0 Maximum: 7 514 */ 515 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 516 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 517 #endif 518 519 /** 520 * @brief NRFX_RNG_CONFIG_LOG_ENABLED 521 * 522 * Boolean. Accepted values 0 and 1. 523 */ 524 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED 525 #define NRFX_RNG_CONFIG_LOG_ENABLED 0 526 #endif 527 528 /** 529 * @brief NRFX_RNG_CONFIG_LOG_LEVEL 530 * 531 * Integer value. 532 * Supported values: 533 * - Off = 0 534 * - Error = 1 535 * - Warning = 2 536 * - Info = 3 537 * - Debug = 4 538 */ 539 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL 540 #define NRFX_RNG_CONFIG_LOG_LEVEL 3 541 #endif 542 543 /** 544 * @brief NRFX_RTC_ENABLED 545 * 546 * Boolean. Accepted values 0 and 1. 547 */ 548 #ifndef NRFX_RTC_ENABLED 549 #define NRFX_RTC_ENABLED 0 550 #endif 551 552 /** 553 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 554 * 555 * Integer value. Minimum: 0 Maximum: 7 556 */ 557 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 558 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 559 #endif 560 561 /** 562 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 563 * 564 * Boolean. Accepted values 0 and 1. 565 */ 566 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 567 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 568 #endif 569 570 /** 571 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 572 * 573 * Integer value. 574 * Supported values: 575 * - Off = 0 576 * - Error = 1 577 * - Warning = 2 578 * - Info = 3 579 * - Debug = 4 580 */ 581 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 582 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 583 #endif 584 585 /** 586 * @brief NRFX_RTC0_ENABLED 587 * 588 * Boolean. Accepted values 0 and 1. 589 */ 590 #ifndef NRFX_RTC0_ENABLED 591 #define NRFX_RTC0_ENABLED 0 592 #endif 593 594 /** 595 * @brief NRFX_RTC1_ENABLED 596 * 597 * Boolean. Accepted values 0 and 1. 598 */ 599 #ifndef NRFX_RTC1_ENABLED 600 #define NRFX_RTC1_ENABLED 0 601 #endif 602 603 /** 604 * @brief NRFX_SAADC_ENABLED 605 * 606 * Boolean. Accepted values 0 and 1. 607 */ 608 #ifndef NRFX_SAADC_ENABLED 609 #define NRFX_SAADC_ENABLED 0 610 #endif 611 612 /** 613 * @brief NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 614 * 615 * Integer value. Minimum: 0 Maximum: 7 616 */ 617 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 618 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 619 #endif 620 621 /** 622 * @brief NRFX_SAADC_CONFIG_LOG_ENABLED 623 * 624 * Boolean. Accepted values 0 and 1. 625 */ 626 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 627 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 628 #endif 629 630 /** 631 * @brief NRFX_SAADC_CONFIG_LOG_LEVEL 632 * 633 * Integer value. 634 * Supported values: 635 * - Off = 0 636 * - Error = 1 637 * - Warning = 2 638 * - Info = 3 639 * - Debug = 4 640 */ 641 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 642 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 643 #endif 644 645 /** 646 * @brief NRFX_SPI_ENABLED 647 * 648 * Boolean. Accepted values 0 and 1. 649 */ 650 #ifndef NRFX_SPI_ENABLED 651 #define NRFX_SPI_ENABLED 0 652 #endif 653 654 /** 655 * @brief NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 656 * 657 * Integer value. Minimum: 0 Maximum: 7 658 */ 659 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 660 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 661 #endif 662 663 /** 664 * @brief NRFX_SPI_CONFIG_LOG_ENABLED 665 * 666 * Boolean. Accepted values 0 and 1. 667 */ 668 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED 669 #define NRFX_SPI_CONFIG_LOG_ENABLED 0 670 #endif 671 672 /** 673 * @brief NRFX_SPI_CONFIG_LOG_LEVEL 674 * 675 * Integer value. 676 * Supported values: 677 * - Off = 0 678 * - Error = 1 679 * - Warning = 2 680 * - Info = 3 681 * - Debug = 4 682 */ 683 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL 684 #define NRFX_SPI_CONFIG_LOG_LEVEL 3 685 #endif 686 687 /** 688 * @brief NRFX_SPI1_ENABLED 689 * 690 * Boolean. Accepted values 0 and 1. 691 */ 692 #ifndef NRFX_SPI1_ENABLED 693 #define NRFX_SPI1_ENABLED 0 694 #endif 695 696 /** 697 * @brief NRFX_SPI0_ENABLED 698 * 699 * Boolean. Accepted values 0 and 1. 700 */ 701 #ifndef NRFX_SPI0_ENABLED 702 #define NRFX_SPI0_ENABLED 0 703 #endif 704 705 /** 706 * @brief NRFX_SPIM_ENABLED 707 * 708 * Boolean. Accepted values 0 and 1. 709 */ 710 #ifndef NRFX_SPIM_ENABLED 711 #define NRFX_SPIM_ENABLED 0 712 #endif 713 714 /** 715 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 716 * 717 * Integer value. Minimum: 0 Maximum: 7 718 */ 719 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 720 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 721 #endif 722 723 /** 724 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 725 * 726 * Boolean. Accepted values 0 and 1. 727 */ 728 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 729 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 730 #endif 731 732 /** 733 * @brief NRFX_SPIM_CONFIG_LOG_LEVEL 734 * 735 * Integer value. 736 * Supported values: 737 * - Off = 0 738 * - Error = 1 739 * - Warning = 2 740 * - Info = 3 741 * - Debug = 4 742 */ 743 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 744 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 745 #endif 746 747 /** 748 * @brief NRFX_SPIM1_ENABLED 749 * 750 * Boolean. Accepted values 0 and 1. 751 */ 752 #ifndef NRFX_SPIM1_ENABLED 753 #define NRFX_SPIM1_ENABLED 0 754 #endif 755 756 /** 757 * @brief NRFX_SPIM0_ENABLED 758 * 759 * Boolean. Accepted values 0 and 1. 760 */ 761 #ifndef NRFX_SPIM0_ENABLED 762 #define NRFX_SPIM0_ENABLED 0 763 #endif 764 765 /** 766 * @brief NRFX_SPIS_ENABLED 767 * 768 * Boolean. Accepted values 0 and 1. 769 */ 770 #ifndef NRFX_SPIS_ENABLED 771 #define NRFX_SPIS_ENABLED 0 772 #endif 773 774 /** 775 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 776 * 777 * Integer value. Minimum: 0 Maximum: 7 778 */ 779 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 780 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 781 #endif 782 783 /** 784 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 785 * 786 * Boolean. Accepted values 0 and 1. 787 */ 788 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 789 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 790 #endif 791 792 /** 793 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 794 * 795 * Integer value. 796 * Supported values: 797 * - Off = 0 798 * - Error = 1 799 * - Warning = 2 800 * - Info = 3 801 * - Debug = 4 802 */ 803 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 804 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 805 #endif 806 807 /** 808 * @brief NRFX_SPIS1_ENABLED 809 * 810 * Boolean. Accepted values 0 and 1. 811 */ 812 #ifndef NRFX_SPIS1_ENABLED 813 #define NRFX_SPIS1_ENABLED 0 814 #endif 815 816 /** 817 * @brief NRFX_SPIS0_ENABLED 818 * 819 * Boolean. Accepted values 0 and 1. 820 */ 821 #ifndef NRFX_SPIS0_ENABLED 822 #define NRFX_SPIS0_ENABLED 0 823 #endif 824 825 /** 826 * @brief NRFX_SYSTICK_ENABLED 827 * 828 * Boolean. Accepted values 0 and 1. 829 */ 830 #ifndef NRFX_SYSTICK_ENABLED 831 #define NRFX_SYSTICK_ENABLED 0 832 #endif 833 834 /** 835 * @brief NRFX_TEMP_ENABLED 836 * 837 * Boolean. Accepted values 0 and 1. 838 */ 839 #ifndef NRFX_TEMP_ENABLED 840 #define NRFX_TEMP_ENABLED 0 841 #endif 842 843 /** 844 * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 845 * 846 * Integer value. Minimum: 0 Maximum: 7 847 */ 848 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 849 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 850 #endif 851 852 /** 853 * @brief NRFX_TEMP_CONFIG_LOG_ENABLED 854 * 855 * Boolean. Accepted values 0 and 1. 856 */ 857 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED 858 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0 859 #endif 860 861 /** 862 * @brief NRFX_TEMP_CONFIG_LOG_LEVEL 863 * 864 * Integer value. 865 * Supported values: 866 * - Off = 0 867 * - Error = 1 868 * - Warning = 2 869 * - Info = 3 870 * - Debug = 4 871 */ 872 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL 873 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3 874 #endif 875 876 /** 877 * @brief NRFX_TIMER_ENABLED 878 * 879 * Boolean. Accepted values 0 and 1. 880 */ 881 #ifndef NRFX_TIMER_ENABLED 882 #define NRFX_TIMER_ENABLED 0 883 #endif 884 885 /** 886 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 887 * 888 * Integer value. Minimum: 0 Maximum: 7 889 */ 890 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 891 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 892 #endif 893 894 /** 895 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 896 * 897 * Boolean. Accepted values 0 and 1. 898 */ 899 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 900 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 901 #endif 902 903 /** 904 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 905 * 906 * Integer value. 907 * Supported values: 908 * - Off = 0 909 * - Error = 1 910 * - Warning = 2 911 * - Info = 3 912 * - Debug = 4 913 */ 914 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 915 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 916 #endif 917 918 /** 919 * @brief NRFX_TIMER0_ENABLED 920 * 921 * Boolean. Accepted values 0 and 1. 922 */ 923 #ifndef NRFX_TIMER0_ENABLED 924 #define NRFX_TIMER0_ENABLED 0 925 #endif 926 927 /** 928 * @brief NRFX_TIMER1_ENABLED 929 * 930 * Boolean. Accepted values 0 and 1. 931 */ 932 #ifndef NRFX_TIMER1_ENABLED 933 #define NRFX_TIMER1_ENABLED 0 934 #endif 935 936 /** 937 * @brief NRFX_TIMER2_ENABLED 938 * 939 * Boolean. Accepted values 0 and 1. 940 */ 941 #ifndef NRFX_TIMER2_ENABLED 942 #define NRFX_TIMER2_ENABLED 0 943 #endif 944 945 /** 946 * @brief NRFX_TWI_ENABLED 947 * 948 * Boolean. Accepted values 0 and 1. 949 */ 950 #ifndef NRFX_TWI_ENABLED 951 #define NRFX_TWI_ENABLED 0 952 #endif 953 954 /** 955 * @brief NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 956 * 957 * Integer value. Minimum: 0 Maximum: 7 958 */ 959 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 960 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 961 #endif 962 963 /** 964 * @brief NRFX_TWI_CONFIG_LOG_ENABLED 965 * 966 * Boolean. Accepted values 0 and 1. 967 */ 968 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED 969 #define NRFX_TWI_CONFIG_LOG_ENABLED 0 970 #endif 971 972 /** 973 * @brief NRFX_TWI_CONFIG_LOG_LEVEL 974 * 975 * Integer value. 976 * Supported values: 977 * - Off = 0 978 * - Error = 1 979 * - Warning = 2 980 * - Info = 3 981 * - Debug = 4 982 */ 983 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL 984 #define NRFX_TWI_CONFIG_LOG_LEVEL 3 985 #endif 986 987 /** 988 * @brief NRFX_TWI0_ENABLED 989 * 990 * Boolean. Accepted values 0 and 1. 991 */ 992 #ifndef NRFX_TWI0_ENABLED 993 #define NRFX_TWI0_ENABLED 0 994 #endif 995 996 /** 997 * @brief NRFX_TWIM_ENABLED 998 * 999 * Boolean. Accepted values 0 and 1. 1000 */ 1001 #ifndef NRFX_TWIM_ENABLED 1002 #define NRFX_TWIM_ENABLED 0 1003 #endif 1004 1005 /** 1006 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1007 * 1008 * Integer value. Minimum: 0 Maximum: 7 1009 */ 1010 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1011 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1012 #endif 1013 1014 /** 1015 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 1016 * 1017 * Boolean. Accepted values 0 and 1. 1018 */ 1019 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 1020 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 1021 #endif 1022 1023 /** 1024 * @brief NRFX_TWIM_CONFIG_LOG_LEVEL 1025 * 1026 * Integer value. 1027 * Supported values: 1028 * - Off = 0 1029 * - Error = 1 1030 * - Warning = 2 1031 * - Info = 3 1032 * - Debug = 4 1033 */ 1034 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 1035 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 1036 #endif 1037 1038 /** 1039 * @brief NRFX_TWIM0_ENABLED 1040 * 1041 * Boolean. Accepted values 0 and 1. 1042 */ 1043 #ifndef NRFX_TWIM0_ENABLED 1044 #define NRFX_TWIM0_ENABLED 0 1045 #endif 1046 1047 /** 1048 * @brief NRFX_TWIS_ENABLED 1049 * 1050 * Boolean. Accepted values 0 and 1. 1051 */ 1052 #ifndef NRFX_TWIS_ENABLED 1053 #define NRFX_TWIS_ENABLED 0 1054 #endif 1055 1056 /** 1057 * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1058 * 1059 * Integer value. Minimum: 0 Maximum: 7 1060 */ 1061 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1062 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1063 #endif 1064 1065 /** 1066 * @brief NRFX_TWIS_CONFIG_LOG_ENABLED 1067 * 1068 * Boolean. Accepted values 0 and 1. 1069 */ 1070 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1071 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1072 #endif 1073 1074 /** 1075 * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized 1076 * only once. 1077 * 1078 * Boolean. Accepted values 0 and 1. 1079 */ 1080 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1081 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1082 #endif 1083 1084 /** 1085 * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode. 1086 * 1087 * Boolean. Accepted values 0 and 1. 1088 */ 1089 #ifndef NRFX_TWIS_NO_SYNC_MODE 1090 #define NRFX_TWIS_NO_SYNC_MODE 0 1091 #endif 1092 1093 /** 1094 * @brief NRFX_TWIS_CONFIG_LOG_LEVEL 1095 * 1096 * Integer value. 1097 * Supported values: 1098 * - Off = 0 1099 * - Error = 1 1100 * - Warning = 2 1101 * - Info = 3 1102 * - Debug = 4 1103 */ 1104 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1105 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1106 #endif 1107 1108 /** 1109 * @brief NRFX_TWIS0_ENABLED 1110 * 1111 * Boolean. Accepted values 0 and 1. 1112 */ 1113 #ifndef NRFX_TWIS0_ENABLED 1114 #define NRFX_TWIS0_ENABLED 0 1115 #endif 1116 1117 /** 1118 * @brief NRFX_UART_ENABLED 1119 * 1120 * Boolean. Accepted values 0 and 1. 1121 */ 1122 #ifndef NRFX_UART_ENABLED 1123 #define NRFX_UART_ENABLED 0 1124 #endif 1125 1126 /** 1127 * @brief NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1128 * 1129 * Integer value. Minimum: 0 Maximum: 7 1130 */ 1131 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1132 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1133 #endif 1134 1135 /** 1136 * @brief NRFX_UART_CONFIG_LOG_ENABLED 1137 * 1138 * Boolean. Accepted values 0 and 1. 1139 */ 1140 #ifndef NRFX_UART_CONFIG_LOG_ENABLED 1141 #define NRFX_UART_CONFIG_LOG_ENABLED 0 1142 #endif 1143 1144 /** 1145 * @brief NRFX_UART_CONFIG_LOG_LEVEL 1146 * 1147 * Integer value. 1148 * Supported values: 1149 * - Off = 0 1150 * - Error = 1 1151 * - Warning = 2 1152 * - Info = 3 1153 * - Debug = 4 1154 */ 1155 #ifndef NRFX_UART_CONFIG_LOG_LEVEL 1156 #define NRFX_UART_CONFIG_LOG_LEVEL 3 1157 #endif 1158 1159 /** 1160 * @brief NRFX_UART0_ENABLED 1161 * 1162 * Boolean. Accepted values 0 and 1. 1163 */ 1164 #ifndef NRFX_UART0_ENABLED 1165 #define NRFX_UART0_ENABLED 0 1166 #endif 1167 1168 /** 1169 * @brief NRFX_UARTE_ENABLED 1170 * 1171 * Boolean. Accepted values 0 and 1. 1172 */ 1173 #ifndef NRFX_UARTE_ENABLED 1174 #define NRFX_UARTE_ENABLED 0 1175 #endif 1176 1177 /** 1178 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1179 * 1180 * Integer value. Minimum: 0 Maximum: 7 1181 */ 1182 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1183 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1184 #endif 1185 1186 /** 1187 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 1188 * 1189 * Boolean. Accepted values 0 and 1. 1190 */ 1191 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1192 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1193 #endif 1194 1195 /** 1196 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 1197 * 1198 * Integer value. 1199 * Supported values: 1200 * - Off = 0 1201 * - Error = 1 1202 * - Warning = 2 1203 * - Info = 3 1204 * - Debug = 4 1205 */ 1206 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1207 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1208 #endif 1209 1210 /** 1211 * @brief NRFX_UARTE0_ENABLED 1212 * 1213 * Boolean. Accepted values 0 and 1. 1214 */ 1215 #ifndef NRFX_UARTE0_ENABLED 1216 #define NRFX_UARTE0_ENABLED 0 1217 #endif 1218 1219 /** 1220 * @brief NRFX_WDT_ENABLED 1221 * 1222 * Boolean. Accepted values 0 and 1. 1223 */ 1224 #ifndef NRFX_WDT_ENABLED 1225 #define NRFX_WDT_ENABLED 0 1226 #endif 1227 1228 /** 1229 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1230 * 1231 * Integer value. Minimum: 0 Maximum: 7 1232 */ 1233 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1234 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1235 #endif 1236 1237 /** 1238 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1239 * 1240 * Boolean. Accepted values 0 and 1. 1241 */ 1242 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1243 #define NRFX_WDT_CONFIG_NO_IRQ 0 1244 #endif 1245 1246 /** 1247 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 1248 * 1249 * Boolean. Accepted values 0 and 1. 1250 */ 1251 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1252 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1253 #endif 1254 1255 /** 1256 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 1257 * 1258 * Integer value. 1259 * Supported values: 1260 * - Off = 0 1261 * - Error = 1 1262 * - Warning = 2 1263 * - Info = 3 1264 * - Debug = 4 1265 */ 1266 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1267 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1268 #endif 1269 1270 #endif // NRFX_CONFIG_NRF52811_H__ 1271