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