1 /* 2 * Copyright (c) 2017 - 2023, Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef NRFX_CONFIG_NRF51_H__ 8 #define NRFX_CONFIG_NRF51_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: 3 19 */ 20 #ifndef NRFX_DEFAULT_IRQ_PRIORITY 21 #define NRFX_DEFAULT_IRQ_PRIORITY 3 22 #endif 23 24 /** 25 * @brief NRFX_ADC_ENABLED 26 * 27 * Boolean. Accepted values 0 and 1. 28 */ 29 #ifndef NRFX_ADC_ENABLED 30 #define NRFX_ADC_ENABLED 0 31 #endif 32 33 /** 34 * @brief NRFX_ADC_DEFAULT_CONFIG_IRQ_PRIORITY 35 * 36 * Integer value. Minimum: 0 Maximum: 3 37 */ 38 #ifndef NRFX_ADC_DEFAULT_CONFIG_IRQ_PRIORITY 39 #define NRFX_ADC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 40 #endif 41 42 /** 43 * @brief NRFX_ADC_CONFIG_LOG_ENABLED 44 * 45 * Boolean. Accepted values 0 and 1. 46 */ 47 #ifndef NRFX_ADC_CONFIG_LOG_ENABLED 48 #define NRFX_ADC_CONFIG_LOG_ENABLED 0 49 #endif 50 51 /** 52 * @brief NRFX_ADC_CONFIG_LOG_LEVEL 53 * 54 * Integer value. 55 * Supported values: 56 * - Off = 0 57 * - Error = 1 58 * - Warning = 2 59 * - Info = 3 60 * - Debug = 4 61 */ 62 #ifndef NRFX_ADC_CONFIG_LOG_LEVEL 63 #define NRFX_ADC_CONFIG_LOG_LEVEL 3 64 #endif 65 66 /** 67 * @brief NRFX_CLOCK_ENABLED 68 * 69 * Boolean. Accepted values 0 and 1. 70 */ 71 #ifndef NRFX_CLOCK_ENABLED 72 #define NRFX_CLOCK_ENABLED 0 73 #endif 74 75 /** 76 * @brief NRFX_CLOCK_CONFIG_LF_SRC 77 * 78 * Integer value. 79 * Supported values: 80 * - RC = 0 81 * - XTAL = 1 82 * - Synth = 2 83 */ 84 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 85 #define NRFX_CLOCK_CONFIG_LF_SRC 1 86 #endif 87 88 /** 89 * @brief NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 90 * 91 * Boolean. Accepted values 0 and 1. 92 */ 93 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 94 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0 95 #endif 96 97 /** 98 * @brief NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 99 * 100 * Integer value. Minimum: 0 Maximum: 3 101 */ 102 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 103 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 104 #endif 105 106 /** 107 * @brief NRFX_CLOCK_CONFIG_LOG_ENABLED 108 * 109 * Boolean. Accepted values 0 and 1. 110 */ 111 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 112 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 113 #endif 114 115 /** 116 * @brief NRFX_CLOCK_CONFIG_LOG_LEVEL 117 * 118 * Integer value. 119 * Supported values: 120 * - Off = 0 121 * - Error = 1 122 * - Warning = 2 123 * - Info = 3 124 * - Debug = 4 125 */ 126 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 127 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 128 #endif 129 130 /** 131 * @brief NRFX_GPIOTE_ENABLED 132 * 133 * Boolean. Accepted values 0 and 1. 134 */ 135 #ifndef NRFX_GPIOTE_ENABLED 136 #define NRFX_GPIOTE_ENABLED 0 137 #endif 138 139 /** 140 * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 141 * 142 * Integer value. Minimum: 0 Maximum: 3 143 */ 144 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 145 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 146 #endif 147 148 /** 149 * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 150 * 151 * Integer value. Minimum: 0 Maximum: 15 152 */ 153 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 154 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 1 155 #endif 156 157 /** 158 * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED 159 * 160 * Boolean. Accepted values 0 and 1. 161 */ 162 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 163 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 164 #endif 165 166 /** 167 * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL 168 * 169 * Integer value. 170 * Supported values: 171 * - Off = 0 172 * - Error = 1 173 * - Warning = 2 174 * - Info = 3 175 * - Debug = 4 176 */ 177 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 178 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 179 #endif 180 181 /** 182 * @brief NRFX_LPCOMP_ENABLED 183 * 184 * Boolean. Accepted values 0 and 1. 185 */ 186 #ifndef NRFX_LPCOMP_ENABLED 187 #define NRFX_LPCOMP_ENABLED 0 188 #endif 189 190 /** 191 * @brief NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 192 * 193 * Integer value. Minimum: 0 Maximum: 3 194 */ 195 #ifndef NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 196 #define NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 197 #endif 198 199 /** 200 * @brief NRFX_LPCOMP_CONFIG_LOG_ENABLED 201 * 202 * Boolean. Accepted values 0 and 1. 203 */ 204 #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED 205 #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0 206 #endif 207 208 /** 209 * @brief NRFX_LPCOMP_CONFIG_LOG_LEVEL 210 * 211 * Integer value. 212 * Supported values: 213 * - Off = 0 214 * - Error = 1 215 * - Warning = 2 216 * - Info = 3 217 * - Debug = 4 218 */ 219 #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL 220 #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3 221 #endif 222 223 /** 224 * @brief NRFX_NVMC_ENABLED 225 * 226 * Boolean. Accepted values 0 and 1. 227 */ 228 #ifndef NRFX_NVMC_ENABLED 229 #define NRFX_NVMC_ENABLED 0 230 #endif 231 232 /** 233 * @brief NRFX_POWER_ENABLED 234 * 235 * Boolean. Accepted values 0 and 1. 236 */ 237 #ifndef NRFX_POWER_ENABLED 238 #define NRFX_POWER_ENABLED 0 239 #endif 240 241 /** 242 * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 243 * 244 * Integer value. Minimum: 0 Maximum: 3 245 */ 246 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 247 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 248 #endif 249 250 /** 251 * @brief NRFX_PPI_ENABLED 252 * 253 * Boolean. Accepted values 0 and 1. 254 */ 255 #ifndef NRFX_PPI_ENABLED 256 #define NRFX_PPI_ENABLED 0 257 #endif 258 259 /** 260 * @brief NRFX_PPI_CONFIG_LOG_ENABLED 261 * 262 * Boolean. Accepted values 0 and 1. 263 */ 264 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED 265 #define NRFX_PPI_CONFIG_LOG_ENABLED 0 266 #endif 267 268 /** 269 * @brief NRFX_PPI_CONFIG_LOG_LEVEL 270 * 271 * Integer value. 272 * Supported values: 273 * - Off = 0 274 * - Error = 1 275 * - Warning = 2 276 * - Info = 3 277 * - Debug = 4 278 */ 279 #ifndef NRFX_PPI_CONFIG_LOG_LEVEL 280 #define NRFX_PPI_CONFIG_LOG_LEVEL 3 281 #endif 282 283 /** 284 * @brief NRFX_PRS_ENABLED 285 * 286 * Boolean. Accepted values 0 and 1. 287 */ 288 #ifndef NRFX_PRS_ENABLED 289 #define NRFX_PRS_ENABLED 0 290 #endif 291 292 /** 293 * @brief NRFX_PRS_CONFIG_LOG_ENABLED 294 * 295 * Boolean. Accepted values 0 and 1. 296 */ 297 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 298 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 299 #endif 300 301 /** 302 * @brief NRFX_PRS_CONFIG_LOG_LEVEL 303 * 304 * Integer value. 305 * Supported values: 306 * - Off = 0 307 * - Error = 1 308 * - Warning = 2 309 * - Info = 3 310 * - Debug = 4 311 */ 312 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 313 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 314 #endif 315 316 /** 317 * @brief NRFX_PRS_BOX_0_ENABLED 318 * 319 * Boolean. Accepted values 0 and 1. 320 */ 321 #ifndef NRFX_PRS_BOX_0_ENABLED 322 #define NRFX_PRS_BOX_0_ENABLED 0 323 #endif 324 325 /** 326 * @brief NRFX_PRS_BOX_1_ENABLED 327 * 328 * Boolean. Accepted values 0 and 1. 329 */ 330 #ifndef NRFX_PRS_BOX_1_ENABLED 331 #define NRFX_PRS_BOX_1_ENABLED 0 332 #endif 333 334 /** 335 * @brief NRFX_QDEC_ENABLED 336 * 337 * Boolean. Accepted values 0 and 1. 338 */ 339 #ifndef NRFX_QDEC_ENABLED 340 #define NRFX_QDEC_ENABLED 0 341 #endif 342 343 /** 344 * @brief NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 345 * 346 * Integer value. Minimum: 0 Maximum: 3 347 */ 348 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 349 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 350 #endif 351 352 /** 353 * @brief NRFX_QDEC_CONFIG_LOG_ENABLED 354 * 355 * Boolean. Accepted values 0 and 1. 356 */ 357 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 358 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 359 #endif 360 361 /** 362 * @brief NRFX_QDEC_CONFIG_LOG_LEVEL 363 * 364 * Integer value. 365 * Supported values: 366 * - Off = 0 367 * - Error = 1 368 * - Warning = 2 369 * - Info = 3 370 * - Debug = 4 371 */ 372 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 373 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 374 #endif 375 376 /** 377 * @brief NRFX_RNG_ENABLED 378 * 379 * Boolean. Accepted values 0 and 1. 380 */ 381 #ifndef NRFX_RNG_ENABLED 382 #define NRFX_RNG_ENABLED 0 383 #endif 384 385 /** 386 * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 387 * 388 * Integer value. Minimum: 0 Maximum: 3 389 */ 390 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 391 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 392 #endif 393 394 /** 395 * @brief NRFX_RNG_CONFIG_LOG_ENABLED 396 * 397 * Boolean. Accepted values 0 and 1. 398 */ 399 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED 400 #define NRFX_RNG_CONFIG_LOG_ENABLED 0 401 #endif 402 403 /** 404 * @brief NRFX_RNG_CONFIG_LOG_LEVEL 405 * 406 * Integer value. 407 * Supported values: 408 * - Off = 0 409 * - Error = 1 410 * - Warning = 2 411 * - Info = 3 412 * - Debug = 4 413 */ 414 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL 415 #define NRFX_RNG_CONFIG_LOG_LEVEL 3 416 #endif 417 418 /** 419 * @brief NRFX_RTC_ENABLED 420 * 421 * Boolean. Accepted values 0 and 1. 422 */ 423 #ifndef NRFX_RTC_ENABLED 424 #define NRFX_RTC_ENABLED 0 425 #endif 426 427 /** 428 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 429 * 430 * Integer value. Minimum: 0 Maximum: 3 431 */ 432 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 433 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 434 #endif 435 436 /** 437 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 438 * 439 * Boolean. Accepted values 0 and 1. 440 */ 441 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 442 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 443 #endif 444 445 /** 446 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 447 * 448 * Integer value. 449 * Supported values: 450 * - Off = 0 451 * - Error = 1 452 * - Warning = 2 453 * - Info = 3 454 * - Debug = 4 455 */ 456 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 457 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 458 #endif 459 460 /** 461 * @brief NRFX_RTC0_ENABLED 462 * 463 * Boolean. Accepted values 0 and 1. 464 */ 465 #ifndef NRFX_RTC0_ENABLED 466 #define NRFX_RTC0_ENABLED 0 467 #endif 468 469 /** 470 * @brief NRFX_RTC1_ENABLED 471 * 472 * Boolean. Accepted values 0 and 1. 473 */ 474 #ifndef NRFX_RTC1_ENABLED 475 #define NRFX_RTC1_ENABLED 0 476 #endif 477 478 /** 479 * @brief NRFX_SPI_ENABLED 480 * 481 * Boolean. Accepted values 0 and 1. 482 */ 483 #ifndef NRFX_SPI_ENABLED 484 #define NRFX_SPI_ENABLED 0 485 #endif 486 487 /** 488 * @brief NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 489 * 490 * Integer value. Minimum: 0 Maximum: 3 491 */ 492 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 493 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 494 #endif 495 496 /** 497 * @brief NRFX_SPI_CONFIG_LOG_ENABLED 498 * 499 * Boolean. Accepted values 0 and 1. 500 */ 501 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED 502 #define NRFX_SPI_CONFIG_LOG_ENABLED 0 503 #endif 504 505 /** 506 * @brief NRFX_SPI_CONFIG_LOG_LEVEL 507 * 508 * Integer value. 509 * Supported values: 510 * - Off = 0 511 * - Error = 1 512 * - Warning = 2 513 * - Info = 3 514 * - Debug = 4 515 */ 516 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL 517 #define NRFX_SPI_CONFIG_LOG_LEVEL 3 518 #endif 519 520 /** 521 * @brief NRFX_SPI0_ENABLED 522 * 523 * Boolean. Accepted values 0 and 1. 524 */ 525 #ifndef NRFX_SPI0_ENABLED 526 #define NRFX_SPI0_ENABLED 0 527 #endif 528 529 /** 530 * @brief NRFX_SPI1_ENABLED 531 * 532 * Boolean. Accepted values 0 and 1. 533 */ 534 #ifndef NRFX_SPI1_ENABLED 535 #define NRFX_SPI1_ENABLED 0 536 #endif 537 538 /** 539 * @brief NRFX_SPIS_ENABLED 540 * 541 * Boolean. Accepted values 0 and 1. 542 */ 543 #ifndef NRFX_SPIS_ENABLED 544 #define NRFX_SPIS_ENABLED 0 545 #endif 546 547 /** 548 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 549 * 550 * Integer value. Minimum: 0 Maximum: 3 551 */ 552 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 553 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 554 #endif 555 556 /** 557 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 558 * 559 * Boolean. Accepted values 0 and 1. 560 */ 561 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 562 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 563 #endif 564 565 /** 566 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 567 * 568 * Integer value. 569 * Supported values: 570 * - Off = 0 571 * - Error = 1 572 * - Warning = 2 573 * - Info = 3 574 * - Debug = 4 575 */ 576 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 577 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 578 #endif 579 580 /** 581 * @brief NRFX_SPIS1_ENABLED 582 * 583 * Boolean. Accepted values 0 and 1. 584 */ 585 #ifndef NRFX_SPIS1_ENABLED 586 #define NRFX_SPIS1_ENABLED 0 587 #endif 588 589 /** 590 * @brief NRFX_SYSTICK_ENABLED 591 * 592 * Boolean. Accepted values 0 and 1. 593 */ 594 #ifndef NRFX_SYSTICK_ENABLED 595 #define NRFX_SYSTICK_ENABLED 0 596 #endif 597 598 /** 599 * @brief NRFX_TEMP_ENABLED 600 * 601 * Boolean. Accepted values 0 and 1. 602 */ 603 #ifndef NRFX_TEMP_ENABLED 604 #define NRFX_TEMP_ENABLED 0 605 #endif 606 607 /** 608 * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 609 * 610 * Integer value. Minimum: 0 Maximum: 3 611 */ 612 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 613 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 614 #endif 615 616 /** 617 * @brief NRFX_TEMP_CONFIG_LOG_ENABLED 618 * 619 * Boolean. Accepted values 0 and 1. 620 */ 621 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED 622 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0 623 #endif 624 625 /** 626 * @brief NRFX_TEMP_CONFIG_LOG_LEVEL 627 * 628 * Integer value. 629 * Supported values: 630 * - Off = 0 631 * - Error = 1 632 * - Warning = 2 633 * - Info = 3 634 * - Debug = 4 635 */ 636 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL 637 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3 638 #endif 639 640 /** 641 * @brief NRFX_TIMER_ENABLED 642 * 643 * Boolean. Accepted values 0 and 1. 644 */ 645 #ifndef NRFX_TIMER_ENABLED 646 #define NRFX_TIMER_ENABLED 0 647 #endif 648 649 /** 650 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 651 * 652 * Integer value. Minimum: 0 Maximum: 3 653 */ 654 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 655 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 656 #endif 657 658 /** 659 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 660 * 661 * Boolean. Accepted values 0 and 1. 662 */ 663 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 664 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 665 #endif 666 667 /** 668 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 669 * 670 * Integer value. 671 * Supported values: 672 * - Off = 0 673 * - Error = 1 674 * - Warning = 2 675 * - Info = 3 676 * - Debug = 4 677 */ 678 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 679 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 680 #endif 681 682 /** 683 * @brief NRFX_TIMER0_ENABLED 684 * 685 * Boolean. Accepted values 0 and 1. 686 */ 687 #ifndef NRFX_TIMER0_ENABLED 688 #define NRFX_TIMER0_ENABLED 0 689 #endif 690 691 /** 692 * @brief NRFX_TIMER1_ENABLED 693 * 694 * Boolean. Accepted values 0 and 1. 695 */ 696 #ifndef NRFX_TIMER1_ENABLED 697 #define NRFX_TIMER1_ENABLED 0 698 #endif 699 700 /** 701 * @brief NRFX_TIMER2_ENABLED 702 * 703 * Boolean. Accepted values 0 and 1. 704 */ 705 #ifndef NRFX_TIMER2_ENABLED 706 #define NRFX_TIMER2_ENABLED 0 707 #endif 708 709 /** 710 * @brief NRFX_TWI_ENABLED 711 * 712 * Boolean. Accepted values 0 and 1. 713 */ 714 #ifndef NRFX_TWI_ENABLED 715 #define NRFX_TWI_ENABLED 0 716 #endif 717 718 /** 719 * @brief NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 720 * 721 * Integer value. Minimum: 0 Maximum: 3 722 */ 723 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 724 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 725 #endif 726 727 /** 728 * @brief NRFX_TWI_CONFIG_LOG_ENABLED 729 * 730 * Boolean. Accepted values 0 and 1. 731 */ 732 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED 733 #define NRFX_TWI_CONFIG_LOG_ENABLED 0 734 #endif 735 736 /** 737 * @brief NRFX_TWI_CONFIG_LOG_LEVEL 738 * 739 * Integer value. 740 * Supported values: 741 * - Off = 0 742 * - Error = 1 743 * - Warning = 2 744 * - Info = 3 745 * - Debug = 4 746 */ 747 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL 748 #define NRFX_TWI_CONFIG_LOG_LEVEL 3 749 #endif 750 751 /** 752 * @brief NRFX_TWI0_ENABLED 753 * 754 * Boolean. Accepted values 0 and 1. 755 */ 756 #ifndef NRFX_TWI0_ENABLED 757 #define NRFX_TWI0_ENABLED 0 758 #endif 759 760 /** 761 * @brief NRFX_TWI1_ENABLED 762 * 763 * Boolean. Accepted values 0 and 1. 764 */ 765 #ifndef NRFX_TWI1_ENABLED 766 #define NRFX_TWI1_ENABLED 0 767 #endif 768 769 /** 770 * @brief NRFX_UART_ENABLED 771 * 772 * Boolean. Accepted values 0 and 1. 773 */ 774 #ifndef NRFX_UART_ENABLED 775 #define NRFX_UART_ENABLED 0 776 #endif 777 778 /** 779 * @brief NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 780 * 781 * Integer value. Minimum: 0 Maximum: 3 782 */ 783 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 784 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 785 #endif 786 787 /** 788 * @brief NRFX_UART_CONFIG_LOG_ENABLED 789 * 790 * Boolean. Accepted values 0 and 1. 791 */ 792 #ifndef NRFX_UART_CONFIG_LOG_ENABLED 793 #define NRFX_UART_CONFIG_LOG_ENABLED 0 794 #endif 795 796 /** 797 * @brief NRFX_UART_CONFIG_LOG_LEVEL 798 * 799 * Integer value. 800 * Supported values: 801 * - Off = 0 802 * - Error = 1 803 * - Warning = 2 804 * - Info = 3 805 * - Debug = 4 806 */ 807 #ifndef NRFX_UART_CONFIG_LOG_LEVEL 808 #define NRFX_UART_CONFIG_LOG_LEVEL 3 809 #endif 810 811 /** 812 * @brief NRFX_UART0_ENABLED 813 * 814 * Boolean. Accepted values 0 and 1. 815 */ 816 #ifndef NRFX_UART0_ENABLED 817 #define NRFX_UART0_ENABLED 0 818 #endif 819 820 /** 821 * @brief NRFX_WDT_ENABLED 822 * 823 * Boolean. Accepted values 0 and 1. 824 */ 825 #ifndef NRFX_WDT_ENABLED 826 #define NRFX_WDT_ENABLED 0 827 #endif 828 829 /** 830 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 831 * 832 * Integer value. Minimum: 0 Maximum: 3 833 */ 834 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 835 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 836 #endif 837 838 /** 839 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 840 * 841 * Boolean. Accepted values 0 and 1. 842 */ 843 #ifndef NRFX_WDT_CONFIG_NO_IRQ 844 #define NRFX_WDT_CONFIG_NO_IRQ 0 845 #endif 846 847 /** 848 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 849 * 850 * Boolean. Accepted values 0 and 1. 851 */ 852 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 853 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 854 #endif 855 856 /** 857 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 858 * 859 * Integer value. 860 * Supported values: 861 * - Off = 0 862 * - Error = 1 863 * - Warning = 2 864 * - Info = 3 865 * - Debug = 4 866 */ 867 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 868 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 869 #endif 870 871 #endif // NRFX_CONFIG_NRF51_H__ 872