1 /* 2 * Copyright (c) 2017 - 2023, Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef NRFX_CONFIG_NRF52810_H__ 8 #define NRFX_CONFIG_NRF52810_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_SPI0_ENABLED 689 * 690 * Boolean. Accepted values 0 and 1. 691 */ 692 #ifndef NRFX_SPI0_ENABLED 693 #define NRFX_SPI0_ENABLED 0 694 #endif 695 696 /** 697 * @brief NRFX_SPIM_ENABLED 698 * 699 * Boolean. Accepted values 0 and 1. 700 */ 701 #ifndef NRFX_SPIM_ENABLED 702 #define NRFX_SPIM_ENABLED 0 703 #endif 704 705 /** 706 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 707 * 708 * Integer value. Minimum: 0 Maximum: 7 709 */ 710 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 711 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 712 #endif 713 714 /** 715 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 716 * 717 * Boolean. Accepted values 0 and 1. 718 */ 719 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 720 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 721 #endif 722 723 /** 724 * @brief NRFX_SPIM_CONFIG_LOG_LEVEL 725 * 726 * Integer value. 727 * Supported values: 728 * - Off = 0 729 * - Error = 1 730 * - Warning = 2 731 * - Info = 3 732 * - Debug = 4 733 */ 734 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 735 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 736 #endif 737 738 /** 739 * @brief NRFX_SPIM0_ENABLED 740 * 741 * Boolean. Accepted values 0 and 1. 742 */ 743 #ifndef NRFX_SPIM0_ENABLED 744 #define NRFX_SPIM0_ENABLED 0 745 #endif 746 747 /** 748 * @brief NRFX_SPIS_ENABLED 749 * 750 * Boolean. Accepted values 0 and 1. 751 */ 752 #ifndef NRFX_SPIS_ENABLED 753 #define NRFX_SPIS_ENABLED 0 754 #endif 755 756 /** 757 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 758 * 759 * Integer value. Minimum: 0 Maximum: 7 760 */ 761 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 762 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 763 #endif 764 765 /** 766 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 767 * 768 * Boolean. Accepted values 0 and 1. 769 */ 770 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 771 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 772 #endif 773 774 /** 775 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 776 * 777 * Integer value. 778 * Supported values: 779 * - Off = 0 780 * - Error = 1 781 * - Warning = 2 782 * - Info = 3 783 * - Debug = 4 784 */ 785 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 786 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 787 #endif 788 789 /** 790 * @brief NRFX_SPIS0_ENABLED 791 * 792 * Boolean. Accepted values 0 and 1. 793 */ 794 #ifndef NRFX_SPIS0_ENABLED 795 #define NRFX_SPIS0_ENABLED 0 796 #endif 797 798 /** 799 * @brief NRFX_SYSTICK_ENABLED 800 * 801 * Boolean. Accepted values 0 and 1. 802 */ 803 #ifndef NRFX_SYSTICK_ENABLED 804 #define NRFX_SYSTICK_ENABLED 0 805 #endif 806 807 /** 808 * @brief NRFX_TEMP_ENABLED 809 * 810 * Boolean. Accepted values 0 and 1. 811 */ 812 #ifndef NRFX_TEMP_ENABLED 813 #define NRFX_TEMP_ENABLED 0 814 #endif 815 816 /** 817 * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 818 * 819 * Integer value. Minimum: 0 Maximum: 7 820 */ 821 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 822 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 823 #endif 824 825 /** 826 * @brief NRFX_TEMP_CONFIG_LOG_ENABLED 827 * 828 * Boolean. Accepted values 0 and 1. 829 */ 830 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED 831 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0 832 #endif 833 834 /** 835 * @brief NRFX_TEMP_CONFIG_LOG_LEVEL 836 * 837 * Integer value. 838 * Supported values: 839 * - Off = 0 840 * - Error = 1 841 * - Warning = 2 842 * - Info = 3 843 * - Debug = 4 844 */ 845 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL 846 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3 847 #endif 848 849 /** 850 * @brief NRFX_TIMER_ENABLED 851 * 852 * Boolean. Accepted values 0 and 1. 853 */ 854 #ifndef NRFX_TIMER_ENABLED 855 #define NRFX_TIMER_ENABLED 0 856 #endif 857 858 /** 859 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 860 * 861 * Integer value. Minimum: 0 Maximum: 7 862 */ 863 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 864 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 865 #endif 866 867 /** 868 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 869 * 870 * Boolean. Accepted values 0 and 1. 871 */ 872 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 873 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 874 #endif 875 876 /** 877 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 878 * 879 * Integer value. 880 * Supported values: 881 * - Off = 0 882 * - Error = 1 883 * - Warning = 2 884 * - Info = 3 885 * - Debug = 4 886 */ 887 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 888 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 889 #endif 890 891 /** 892 * @brief NRFX_TIMER0_ENABLED 893 * 894 * Boolean. Accepted values 0 and 1. 895 */ 896 #ifndef NRFX_TIMER0_ENABLED 897 #define NRFX_TIMER0_ENABLED 0 898 #endif 899 900 /** 901 * @brief NRFX_TIMER1_ENABLED 902 * 903 * Boolean. Accepted values 0 and 1. 904 */ 905 #ifndef NRFX_TIMER1_ENABLED 906 #define NRFX_TIMER1_ENABLED 0 907 #endif 908 909 /** 910 * @brief NRFX_TIMER2_ENABLED 911 * 912 * Boolean. Accepted values 0 and 1. 913 */ 914 #ifndef NRFX_TIMER2_ENABLED 915 #define NRFX_TIMER2_ENABLED 0 916 #endif 917 918 /** 919 * @brief NRFX_TWI_ENABLED 920 * 921 * Boolean. Accepted values 0 and 1. 922 */ 923 #ifndef NRFX_TWI_ENABLED 924 #define NRFX_TWI_ENABLED 0 925 #endif 926 927 /** 928 * @brief NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 929 * 930 * Integer value. Minimum: 0 Maximum: 7 931 */ 932 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 933 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 934 #endif 935 936 /** 937 * @brief NRFX_TWI_CONFIG_LOG_ENABLED 938 * 939 * Boolean. Accepted values 0 and 1. 940 */ 941 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED 942 #define NRFX_TWI_CONFIG_LOG_ENABLED 0 943 #endif 944 945 /** 946 * @brief NRFX_TWI_CONFIG_LOG_LEVEL 947 * 948 * Integer value. 949 * Supported values: 950 * - Off = 0 951 * - Error = 1 952 * - Warning = 2 953 * - Info = 3 954 * - Debug = 4 955 */ 956 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL 957 #define NRFX_TWI_CONFIG_LOG_LEVEL 3 958 #endif 959 960 /** 961 * @brief NRFX_TWI0_ENABLED 962 * 963 * Boolean. Accepted values 0 and 1. 964 */ 965 #ifndef NRFX_TWI0_ENABLED 966 #define NRFX_TWI0_ENABLED 0 967 #endif 968 969 /** 970 * @brief NRFX_TWIM_ENABLED 971 * 972 * Boolean. Accepted values 0 and 1. 973 */ 974 #ifndef NRFX_TWIM_ENABLED 975 #define NRFX_TWIM_ENABLED 0 976 #endif 977 978 /** 979 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 980 * 981 * Integer value. Minimum: 0 Maximum: 7 982 */ 983 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 984 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 985 #endif 986 987 /** 988 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 989 * 990 * Boolean. Accepted values 0 and 1. 991 */ 992 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 993 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 994 #endif 995 996 /** 997 * @brief NRFX_TWIM_CONFIG_LOG_LEVEL 998 * 999 * Integer value. 1000 * Supported values: 1001 * - Off = 0 1002 * - Error = 1 1003 * - Warning = 2 1004 * - Info = 3 1005 * - Debug = 4 1006 */ 1007 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 1008 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 1009 #endif 1010 1011 /** 1012 * @brief NRFX_TWIM0_ENABLED 1013 * 1014 * Boolean. Accepted values 0 and 1. 1015 */ 1016 #ifndef NRFX_TWIM0_ENABLED 1017 #define NRFX_TWIM0_ENABLED 0 1018 #endif 1019 1020 /** 1021 * @brief NRFX_TWIS_ENABLED 1022 * 1023 * Boolean. Accepted values 0 and 1. 1024 */ 1025 #ifndef NRFX_TWIS_ENABLED 1026 #define NRFX_TWIS_ENABLED 0 1027 #endif 1028 1029 /** 1030 * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1031 * 1032 * Integer value. Minimum: 0 Maximum: 7 1033 */ 1034 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1035 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1036 #endif 1037 1038 /** 1039 * @brief NRFX_TWIS_CONFIG_LOG_ENABLED 1040 * 1041 * Boolean. Accepted values 0 and 1. 1042 */ 1043 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1044 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1045 #endif 1046 1047 /** 1048 * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized 1049 * only once. 1050 * 1051 * Boolean. Accepted values 0 and 1. 1052 */ 1053 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1054 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1055 #endif 1056 1057 /** 1058 * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode. 1059 * 1060 * Boolean. Accepted values 0 and 1. 1061 */ 1062 #ifndef NRFX_TWIS_NO_SYNC_MODE 1063 #define NRFX_TWIS_NO_SYNC_MODE 0 1064 #endif 1065 1066 /** 1067 * @brief NRFX_TWIS_CONFIG_LOG_LEVEL 1068 * 1069 * Integer value. 1070 * Supported values: 1071 * - Off = 0 1072 * - Error = 1 1073 * - Warning = 2 1074 * - Info = 3 1075 * - Debug = 4 1076 */ 1077 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1078 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1079 #endif 1080 1081 /** 1082 * @brief NRFX_TWIS0_ENABLED 1083 * 1084 * Boolean. Accepted values 0 and 1. 1085 */ 1086 #ifndef NRFX_TWIS0_ENABLED 1087 #define NRFX_TWIS0_ENABLED 0 1088 #endif 1089 1090 /** 1091 * @brief NRFX_UART_ENABLED 1092 * 1093 * Boolean. Accepted values 0 and 1. 1094 */ 1095 #ifndef NRFX_UART_ENABLED 1096 #define NRFX_UART_ENABLED 0 1097 #endif 1098 1099 /** 1100 * @brief NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1101 * 1102 * Integer value. Minimum: 0 Maximum: 7 1103 */ 1104 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1105 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1106 #endif 1107 1108 /** 1109 * @brief NRFX_UART_CONFIG_LOG_ENABLED 1110 * 1111 * Boolean. Accepted values 0 and 1. 1112 */ 1113 #ifndef NRFX_UART_CONFIG_LOG_ENABLED 1114 #define NRFX_UART_CONFIG_LOG_ENABLED 0 1115 #endif 1116 1117 /** 1118 * @brief NRFX_UART_CONFIG_LOG_LEVEL 1119 * 1120 * Integer value. 1121 * Supported values: 1122 * - Off = 0 1123 * - Error = 1 1124 * - Warning = 2 1125 * - Info = 3 1126 * - Debug = 4 1127 */ 1128 #ifndef NRFX_UART_CONFIG_LOG_LEVEL 1129 #define NRFX_UART_CONFIG_LOG_LEVEL 3 1130 #endif 1131 1132 /** 1133 * @brief NRFX_UART0_ENABLED 1134 * 1135 * Boolean. Accepted values 0 and 1. 1136 */ 1137 #ifndef NRFX_UART0_ENABLED 1138 #define NRFX_UART0_ENABLED 0 1139 #endif 1140 1141 /** 1142 * @brief NRFX_UARTE_ENABLED 1143 * 1144 * Boolean. Accepted values 0 and 1. 1145 */ 1146 #ifndef NRFX_UARTE_ENABLED 1147 #define NRFX_UARTE_ENABLED 0 1148 #endif 1149 1150 /** 1151 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1152 * 1153 * Integer value. Minimum: 0 Maximum: 7 1154 */ 1155 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1156 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1157 #endif 1158 1159 /** 1160 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 1161 * 1162 * Boolean. Accepted values 0 and 1. 1163 */ 1164 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1165 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1166 #endif 1167 1168 /** 1169 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 1170 * 1171 * Integer value. 1172 * Supported values: 1173 * - Off = 0 1174 * - Error = 1 1175 * - Warning = 2 1176 * - Info = 3 1177 * - Debug = 4 1178 */ 1179 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1180 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1181 #endif 1182 1183 /** 1184 * @brief NRFX_UARTE0_ENABLED 1185 * 1186 * Boolean. Accepted values 0 and 1. 1187 */ 1188 #ifndef NRFX_UARTE0_ENABLED 1189 #define NRFX_UARTE0_ENABLED 0 1190 #endif 1191 1192 /** 1193 * @brief NRFX_WDT_ENABLED 1194 * 1195 * Boolean. Accepted values 0 and 1. 1196 */ 1197 #ifndef NRFX_WDT_ENABLED 1198 #define NRFX_WDT_ENABLED 0 1199 #endif 1200 1201 /** 1202 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1203 * 1204 * Integer value. Minimum: 0 Maximum: 7 1205 */ 1206 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1207 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1208 #endif 1209 1210 /** 1211 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1212 * 1213 * Boolean. Accepted values 0 and 1. 1214 */ 1215 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1216 #define NRFX_WDT_CONFIG_NO_IRQ 0 1217 #endif 1218 1219 /** 1220 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 1221 * 1222 * Boolean. Accepted values 0 and 1. 1223 */ 1224 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1225 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1226 #endif 1227 1228 /** 1229 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 1230 * 1231 * Integer value. 1232 * Supported values: 1233 * - Off = 0 1234 * - Error = 1 1235 * - Warning = 2 1236 * - Info = 3 1237 * - Debug = 4 1238 */ 1239 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1240 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1241 #endif 1242 1243 #endif // NRFX_CONFIG_NRF52810_H__ 1244