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