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