1 /* 2 * Copyright (c) 2017 - 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_NRF52840_H__ 35 #define NRFX_CONFIG_NRF52840_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_EGU2_ENABLED 215 * 216 * Boolean. Accepted values 0 and 1. 217 */ 218 #ifndef NRFX_EGU2_ENABLED 219 #define NRFX_EGU2_ENABLED 0 220 #endif 221 222 /** 223 * @brief NRFX_EGU3_ENABLED 224 * 225 * Boolean. Accepted values 0 and 1. 226 */ 227 #ifndef NRFX_EGU3_ENABLED 228 #define NRFX_EGU3_ENABLED 0 229 #endif 230 231 /** 232 * @brief NRFX_EGU4_ENABLED 233 * 234 * Boolean. Accepted values 0 and 1. 235 */ 236 #ifndef NRFX_EGU4_ENABLED 237 #define NRFX_EGU4_ENABLED 0 238 #endif 239 240 /** 241 * @brief NRFX_EGU5_ENABLED 242 * 243 * Boolean. Accepted values 0 and 1. 244 */ 245 #ifndef NRFX_EGU5_ENABLED 246 #define NRFX_EGU5_ENABLED 0 247 #endif 248 249 /** 250 * @brief NRFX_GPIOTE_ENABLED 251 * 252 * Boolean. Accepted values 0 and 1. 253 */ 254 #ifndef NRFX_GPIOTE_ENABLED 255 #define NRFX_GPIOTE_ENABLED 0 256 #endif 257 258 /** 259 * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 260 * 261 * Integer value. Minimum: 0 Maximum: 7 262 */ 263 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 264 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 265 #endif 266 267 /** 268 * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 269 * 270 * Integer value. Minimum: 0 Maximum: 15 271 */ 272 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 273 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 2 274 #endif 275 276 /** 277 * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED 278 * 279 * Boolean. Accepted values 0 and 1. 280 */ 281 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 282 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 283 #endif 284 285 /** 286 * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL 287 * 288 * Integer value. 289 * Supported values: 290 * - Off = 0 291 * - Error = 1 292 * - Warning = 2 293 * - Info = 3 294 * - Debug = 4 295 */ 296 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 297 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 298 #endif 299 300 /** 301 * @brief NRFX_I2S_ENABLED 302 * 303 * Boolean. Accepted values 0 and 1. 304 */ 305 #ifndef NRFX_I2S_ENABLED 306 #define NRFX_I2S_ENABLED 0 307 #endif 308 309 /** 310 * @brief NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 311 * 312 * Integer value. Minimum: 0 Maximum: 7 313 */ 314 #ifndef NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 315 #define NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 316 #endif 317 318 /** 319 * @brief NRFX_I2S_CONFIG_LOG_ENABLED 320 * 321 * Boolean. Accepted values 0 and 1. 322 */ 323 #ifndef NRFX_I2S_CONFIG_LOG_ENABLED 324 #define NRFX_I2S_CONFIG_LOG_ENABLED 0 325 #endif 326 327 /** 328 * @brief NRFX_I2S_CONFIG_LOG_LEVEL 329 * 330 * Integer value. 331 * Supported values: 332 * - Off = 0 333 * - Error = 1 334 * - Warning = 2 335 * - Info = 3 336 * - Debug = 4 337 */ 338 #ifndef NRFX_I2S_CONFIG_LOG_LEVEL 339 #define NRFX_I2S_CONFIG_LOG_LEVEL 3 340 #endif 341 342 /** 343 * @brief NRFX_LPCOMP_ENABLED 344 * 345 * Boolean. Accepted values 0 and 1. 346 */ 347 #ifndef NRFX_LPCOMP_ENABLED 348 #define NRFX_LPCOMP_ENABLED 0 349 #endif 350 351 /** 352 * @brief NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 353 * 354 * Integer value. Minimum: 0 Maximum: 7 355 */ 356 #ifndef NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 357 #define NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 358 #endif 359 360 /** 361 * @brief NRFX_LPCOMP_CONFIG_LOG_ENABLED 362 * 363 * Boolean. Accepted values 0 and 1. 364 */ 365 #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED 366 #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0 367 #endif 368 369 /** 370 * @brief NRFX_LPCOMP_CONFIG_LOG_LEVEL 371 * 372 * Integer value. 373 * Supported values: 374 * - Off = 0 375 * - Error = 1 376 * - Warning = 2 377 * - Info = 3 378 * - Debug = 4 379 */ 380 #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL 381 #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3 382 #endif 383 384 /** 385 * @brief NRFX_NFCT_ENABLED 386 * 387 * Boolean. Accepted values 0 and 1. 388 */ 389 #ifndef NRFX_NFCT_ENABLED 390 #define NRFX_NFCT_ENABLED 0 391 #endif 392 393 /** 394 * @brief NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 395 * 396 * Integer value. Minimum: 0 Maximum: 7 397 */ 398 #ifndef NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 399 #define NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 400 #endif 401 402 /** 403 * @brief NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID - Timer instance used for workarounds in the driver. 404 * 405 * Integer value. Minimum: 0 Maximum: 5 406 */ 407 #ifndef NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 408 #define NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 4 409 #endif 410 411 /** 412 * @brief NRFX_NFCT_CONFIG_LOG_ENABLED 413 * 414 * Boolean. Accepted values 0 and 1. 415 */ 416 #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED 417 #define NRFX_NFCT_CONFIG_LOG_ENABLED 0 418 #endif 419 420 /** 421 * @brief NRFX_NFCT_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_NFCT_CONFIG_LOG_LEVEL 432 #define NRFX_NFCT_CONFIG_LOG_LEVEL 3 433 #endif 434 435 /** 436 * @brief NRFX_NVMC_ENABLED 437 * 438 * Boolean. Accepted values 0 and 1. 439 */ 440 #ifndef NRFX_NVMC_ENABLED 441 #define NRFX_NVMC_ENABLED 0 442 #endif 443 444 /** 445 * @brief NRFX_PDM_ENABLED 446 * 447 * Boolean. Accepted values 0 and 1. 448 */ 449 #ifndef NRFX_PDM_ENABLED 450 #define NRFX_PDM_ENABLED 0 451 #endif 452 453 /** 454 * @brief NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 455 * 456 * Integer value. Minimum: 0 Maximum: 7 457 */ 458 #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 459 #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 460 #endif 461 462 /** 463 * @brief NRFX_PDM_CONFIG_LOG_ENABLED 464 * 465 * Boolean. Accepted values 0 and 1. 466 */ 467 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED 468 #define NRFX_PDM_CONFIG_LOG_ENABLED 0 469 #endif 470 471 /** 472 * @brief NRFX_PDM_CONFIG_LOG_LEVEL 473 * 474 * Integer value. 475 * Supported values: 476 * - Off = 0 477 * - Error = 1 478 * - Warning = 2 479 * - Info = 3 480 * - Debug = 4 481 */ 482 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL 483 #define NRFX_PDM_CONFIG_LOG_LEVEL 3 484 #endif 485 486 /** 487 * @brief NRFX_POWER_ENABLED 488 * 489 * Boolean. Accepted values 0 and 1. 490 */ 491 #ifndef NRFX_POWER_ENABLED 492 #define NRFX_POWER_ENABLED 0 493 #endif 494 495 /** 496 * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 497 * 498 * Integer value. Minimum: 0 Maximum: 7 499 */ 500 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 501 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 502 #endif 503 504 /** 505 * @brief NRFX_PPI_ENABLED 506 * 507 * Boolean. Accepted values 0 and 1. 508 */ 509 #ifndef NRFX_PPI_ENABLED 510 #define NRFX_PPI_ENABLED 0 511 #endif 512 513 /** 514 * @brief NRFX_PPI_CONFIG_LOG_ENABLED 515 * 516 * Boolean. Accepted values 0 and 1. 517 */ 518 #ifndef NRFX_PPI_CONFIG_LOG_ENABLED 519 #define NRFX_PPI_CONFIG_LOG_ENABLED 0 520 #endif 521 522 /** 523 * @brief NRFX_PPI_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_PPI_CONFIG_LOG_LEVEL 534 #define NRFX_PPI_CONFIG_LOG_LEVEL 3 535 #endif 536 537 /** 538 * @brief NRFX_PRS_ENABLED 539 * 540 * Boolean. Accepted values 0 and 1. 541 */ 542 #ifndef NRFX_PRS_ENABLED 543 #define NRFX_PRS_ENABLED 0 544 #endif 545 546 /** 547 * @brief NRFX_PRS_CONFIG_LOG_ENABLED 548 * 549 * Boolean. Accepted values 0 and 1. 550 */ 551 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 552 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 553 #endif 554 555 /** 556 * @brief NRFX_PRS_CONFIG_LOG_LEVEL 557 * 558 * Integer value. 559 * Supported values: 560 * - Off = 0 561 * - Error = 1 562 * - Warning = 2 563 * - Info = 3 564 * - Debug = 4 565 */ 566 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 567 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 568 #endif 569 570 /** 571 * @brief NRFX_PRS_BOX_0_ENABLED 572 * 573 * Boolean. Accepted values 0 and 1. 574 */ 575 #ifndef NRFX_PRS_BOX_0_ENABLED 576 #define NRFX_PRS_BOX_0_ENABLED 0 577 #endif 578 579 /** 580 * @brief NRFX_PRS_BOX_1_ENABLED 581 * 582 * Boolean. Accepted values 0 and 1. 583 */ 584 #ifndef NRFX_PRS_BOX_1_ENABLED 585 #define NRFX_PRS_BOX_1_ENABLED 0 586 #endif 587 588 /** 589 * @brief NRFX_PRS_BOX_2_ENABLED 590 * 591 * Boolean. Accepted values 0 and 1. 592 */ 593 #ifndef NRFX_PRS_BOX_2_ENABLED 594 #define NRFX_PRS_BOX_2_ENABLED 0 595 #endif 596 597 /** 598 * @brief NRFX_PRS_BOX_3_ENABLED 599 * 600 * Boolean. Accepted values 0 and 1. 601 */ 602 #ifndef NRFX_PRS_BOX_3_ENABLED 603 #define NRFX_PRS_BOX_3_ENABLED 0 604 #endif 605 606 /** 607 * @brief NRFX_PRS_BOX_4_ENABLED 608 * 609 * Boolean. Accepted values 0 and 1. 610 */ 611 #ifndef NRFX_PRS_BOX_4_ENABLED 612 #define NRFX_PRS_BOX_4_ENABLED 0 613 #endif 614 615 /** 616 * @brief NRFX_PWM_ENABLED 617 * 618 * Boolean. Accepted values 0 and 1. 619 */ 620 #ifndef NRFX_PWM_ENABLED 621 #define NRFX_PWM_ENABLED 0 622 #endif 623 624 /** 625 * @brief NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 626 * 627 * Integer value. Minimum: 0 Maximum: 7 628 */ 629 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 630 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 631 #endif 632 633 /** 634 * @brief NRFX_PWM_CONFIG_LOG_ENABLED 635 * 636 * Boolean. Accepted values 0 and 1. 637 */ 638 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED 639 #define NRFX_PWM_CONFIG_LOG_ENABLED 0 640 #endif 641 642 /** 643 * @brief NRFX_PWM_CONFIG_LOG_LEVEL 644 * 645 * Integer value. 646 * Supported values: 647 * - Off = 0 648 * - Error = 1 649 * - Warning = 2 650 * - Info = 3 651 * - Debug = 4 652 */ 653 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 654 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 655 #endif 656 657 /** 658 * @brief NRFX_PWM0_ENABLED 659 * 660 * Boolean. Accepted values 0 and 1. 661 */ 662 #ifndef NRFX_PWM0_ENABLED 663 #define NRFX_PWM0_ENABLED 0 664 #endif 665 666 /** 667 * @brief NRFX_PWM1_ENABLED 668 * 669 * Boolean. Accepted values 0 and 1. 670 */ 671 #ifndef NRFX_PWM1_ENABLED 672 #define NRFX_PWM1_ENABLED 0 673 #endif 674 675 /** 676 * @brief NRFX_PWM2_ENABLED 677 * 678 * Boolean. Accepted values 0 and 1. 679 */ 680 #ifndef NRFX_PWM2_ENABLED 681 #define NRFX_PWM2_ENABLED 0 682 #endif 683 684 /** 685 * @brief NRFX_PWM3_ENABLED 686 * 687 * Boolean. Accepted values 0 and 1. 688 */ 689 #ifndef NRFX_PWM3_ENABLED 690 #define NRFX_PWM3_ENABLED 0 691 #endif 692 693 /** 694 * @brief NRFX_QDEC_ENABLED 695 * 696 * Boolean. Accepted values 0 and 1. 697 */ 698 #ifndef NRFX_QDEC_ENABLED 699 #define NRFX_QDEC_ENABLED 0 700 #endif 701 702 /** 703 * @brief NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 704 * 705 * Integer value. Minimum: 0 Maximum: 7 706 */ 707 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 708 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 709 #endif 710 711 /** 712 * @brief NRFX_QDEC_CONFIG_LOG_ENABLED 713 * 714 * Boolean. Accepted values 0 and 1. 715 */ 716 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 717 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 718 #endif 719 720 /** 721 * @brief NRFX_QDEC_CONFIG_LOG_LEVEL 722 * 723 * Integer value. 724 * Supported values: 725 * - Off = 0 726 * - Error = 1 727 * - Warning = 2 728 * - Info = 3 729 * - Debug = 4 730 */ 731 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 732 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 733 #endif 734 735 /** 736 * @brief NRFX_QSPI_ENABLED 737 * 738 * Boolean. Accepted values 0 and 1. 739 */ 740 #ifndef NRFX_QSPI_ENABLED 741 #define NRFX_QSPI_ENABLED 0 742 #endif 743 744 /** 745 * @brief NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 746 * 747 * Integer value. Minimum: 0 Maximum: 7 748 */ 749 #ifndef NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 750 #define NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 751 #endif 752 753 /** 754 * @brief NRFX_RNG_ENABLED 755 * 756 * Boolean. Accepted values 0 and 1. 757 */ 758 #ifndef NRFX_RNG_ENABLED 759 #define NRFX_RNG_ENABLED 0 760 #endif 761 762 /** 763 * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 764 * 765 * Integer value. Minimum: 0 Maximum: 7 766 */ 767 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 768 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 769 #endif 770 771 /** 772 * @brief NRFX_RNG_CONFIG_LOG_ENABLED 773 * 774 * Boolean. Accepted values 0 and 1. 775 */ 776 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED 777 #define NRFX_RNG_CONFIG_LOG_ENABLED 0 778 #endif 779 780 /** 781 * @brief NRFX_RNG_CONFIG_LOG_LEVEL 782 * 783 * Integer value. 784 * Supported values: 785 * - Off = 0 786 * - Error = 1 787 * - Warning = 2 788 * - Info = 3 789 * - Debug = 4 790 */ 791 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL 792 #define NRFX_RNG_CONFIG_LOG_LEVEL 3 793 #endif 794 795 /** 796 * @brief NRFX_RTC_ENABLED 797 * 798 * Boolean. Accepted values 0 and 1. 799 */ 800 #ifndef NRFX_RTC_ENABLED 801 #define NRFX_RTC_ENABLED 0 802 #endif 803 804 /** 805 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 806 * 807 * Integer value. Minimum: 0 Maximum: 7 808 */ 809 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 810 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 811 #endif 812 813 /** 814 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 815 * 816 * Boolean. Accepted values 0 and 1. 817 */ 818 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 819 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 820 #endif 821 822 /** 823 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 824 * 825 * Integer value. 826 * Supported values: 827 * - Off = 0 828 * - Error = 1 829 * - Warning = 2 830 * - Info = 3 831 * - Debug = 4 832 */ 833 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 834 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 835 #endif 836 837 /** 838 * @brief NRFX_RTC0_ENABLED 839 * 840 * Boolean. Accepted values 0 and 1. 841 */ 842 #ifndef NRFX_RTC0_ENABLED 843 #define NRFX_RTC0_ENABLED 0 844 #endif 845 846 /** 847 * @brief NRFX_RTC1_ENABLED 848 * 849 * Boolean. Accepted values 0 and 1. 850 */ 851 #ifndef NRFX_RTC1_ENABLED 852 #define NRFX_RTC1_ENABLED 0 853 #endif 854 855 /** 856 * @brief NRFX_RTC2_ENABLED 857 * 858 * Boolean. Accepted values 0 and 1. 859 */ 860 #ifndef NRFX_RTC2_ENABLED 861 #define NRFX_RTC2_ENABLED 0 862 #endif 863 864 /** 865 * @brief NRFX_SAADC_ENABLED 866 * 867 * Boolean. Accepted values 0 and 1. 868 */ 869 #ifndef NRFX_SAADC_ENABLED 870 #define NRFX_SAADC_ENABLED 0 871 #endif 872 873 /** 874 * @brief NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 875 * 876 * Integer value. Minimum: 0 Maximum: 7 877 */ 878 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 879 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 880 #endif 881 882 /** 883 * @brief NRFX_SAADC_CONFIG_LOG_ENABLED 884 * 885 * Boolean. Accepted values 0 and 1. 886 */ 887 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 888 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 889 #endif 890 891 /** 892 * @brief NRFX_SAADC_CONFIG_LOG_LEVEL 893 * 894 * Integer value. 895 * Supported values: 896 * - Off = 0 897 * - Error = 1 898 * - Warning = 2 899 * - Info = 3 900 * - Debug = 4 901 */ 902 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 903 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 904 #endif 905 906 /** 907 * @brief NRFX_SPI_ENABLED 908 * 909 * Boolean. Accepted values 0 and 1. 910 */ 911 #ifndef NRFX_SPI_ENABLED 912 #define NRFX_SPI_ENABLED 0 913 #endif 914 915 /** 916 * @brief NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 917 * 918 * Integer value. Minimum: 0 Maximum: 7 919 */ 920 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 921 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 922 #endif 923 924 /** 925 * @brief NRFX_SPI_CONFIG_LOG_ENABLED 926 * 927 * Boolean. Accepted values 0 and 1. 928 */ 929 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED 930 #define NRFX_SPI_CONFIG_LOG_ENABLED 0 931 #endif 932 933 /** 934 * @brief NRFX_SPI_CONFIG_LOG_LEVEL 935 * 936 * Integer value. 937 * Supported values: 938 * - Off = 0 939 * - Error = 1 940 * - Warning = 2 941 * - Info = 3 942 * - Debug = 4 943 */ 944 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL 945 #define NRFX_SPI_CONFIG_LOG_LEVEL 3 946 #endif 947 948 /** 949 * @brief NRFX_SPI0_ENABLED 950 * 951 * Boolean. Accepted values 0 and 1. 952 */ 953 #ifndef NRFX_SPI0_ENABLED 954 #define NRFX_SPI0_ENABLED 0 955 #endif 956 957 /** 958 * @brief NRFX_SPI1_ENABLED 959 * 960 * Boolean. Accepted values 0 and 1. 961 */ 962 #ifndef NRFX_SPI1_ENABLED 963 #define NRFX_SPI1_ENABLED 0 964 #endif 965 966 /** 967 * @brief NRFX_SPI2_ENABLED 968 * 969 * Boolean. Accepted values 0 and 1. 970 */ 971 #ifndef NRFX_SPI2_ENABLED 972 #define NRFX_SPI2_ENABLED 0 973 #endif 974 975 /** 976 * @brief NRFX_SPIM_ENABLED 977 * 978 * Boolean. Accepted values 0 and 1. 979 */ 980 #ifndef NRFX_SPIM_ENABLED 981 #define NRFX_SPIM_ENABLED 0 982 #endif 983 984 /** 985 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 986 * 987 * Integer value. Minimum: 0 Maximum: 7 988 */ 989 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 990 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 991 #endif 992 993 /** 994 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 995 * 996 * Boolean. Accepted values 0 and 1. 997 */ 998 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 999 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 1000 #endif 1001 1002 /** 1003 * @brief NRFX_SPIM_CONFIG_LOG_LEVEL 1004 * 1005 * Integer value. 1006 * Supported values: 1007 * - Off = 0 1008 * - Error = 1 1009 * - Warning = 2 1010 * - Info = 3 1011 * - Debug = 4 1012 */ 1013 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 1014 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 1015 #endif 1016 1017 /** 1018 * @brief NRFX_SPIM3_NRF52840_ANOMALY_198_WORKAROUND_ENABLED 1019 * 1020 * Boolean. Accepted values 0 and 1. 1021 */ 1022 #ifndef NRFX_SPIM3_NRF52840_ANOMALY_198_WORKAROUND_ENABLED 1023 #define NRFX_SPIM3_NRF52840_ANOMALY_198_WORKAROUND_ENABLED 0 1024 #endif 1025 1026 /** 1027 * @brief NRFX_SPIM0_ENABLED 1028 * 1029 * Boolean. Accepted values 0 and 1. 1030 */ 1031 #ifndef NRFX_SPIM0_ENABLED 1032 #define NRFX_SPIM0_ENABLED 0 1033 #endif 1034 1035 /** 1036 * @brief NRFX_SPIM1_ENABLED 1037 * 1038 * Boolean. Accepted values 0 and 1. 1039 */ 1040 #ifndef NRFX_SPIM1_ENABLED 1041 #define NRFX_SPIM1_ENABLED 0 1042 #endif 1043 1044 /** 1045 * @brief NRFX_SPIM2_ENABLED 1046 * 1047 * Boolean. Accepted values 0 and 1. 1048 */ 1049 #ifndef NRFX_SPIM2_ENABLED 1050 #define NRFX_SPIM2_ENABLED 0 1051 #endif 1052 1053 /** 1054 * @brief NRFX_SPIM3_ENABLED 1055 * 1056 * Boolean. Accepted values 0 and 1. 1057 */ 1058 #ifndef NRFX_SPIM3_ENABLED 1059 #define NRFX_SPIM3_ENABLED 0 1060 #endif 1061 1062 /** 1063 * @brief NRFX_SPIS_ENABLED 1064 * 1065 * Boolean. Accepted values 0 and 1. 1066 */ 1067 #ifndef NRFX_SPIS_ENABLED 1068 #define NRFX_SPIS_ENABLED 0 1069 #endif 1070 1071 /** 1072 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1073 * 1074 * Integer value. Minimum: 0 Maximum: 7 1075 */ 1076 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1077 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1078 #endif 1079 1080 /** 1081 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 1082 * 1083 * Boolean. Accepted values 0 and 1. 1084 */ 1085 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 1086 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 1087 #endif 1088 1089 /** 1090 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 1091 * 1092 * Integer value. 1093 * Supported values: 1094 * - Off = 0 1095 * - Error = 1 1096 * - Warning = 2 1097 * - Info = 3 1098 * - Debug = 4 1099 */ 1100 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 1101 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 1102 #endif 1103 1104 /** 1105 * @brief NRFX_SPIS0_ENABLED 1106 * 1107 * Boolean. Accepted values 0 and 1. 1108 */ 1109 #ifndef NRFX_SPIS0_ENABLED 1110 #define NRFX_SPIS0_ENABLED 0 1111 #endif 1112 1113 /** 1114 * @brief NRFX_SPIS1_ENABLED 1115 * 1116 * Boolean. Accepted values 0 and 1. 1117 */ 1118 #ifndef NRFX_SPIS1_ENABLED 1119 #define NRFX_SPIS1_ENABLED 0 1120 #endif 1121 1122 /** 1123 * @brief NRFX_SPIS2_ENABLED 1124 * 1125 * Boolean. Accepted values 0 and 1. 1126 */ 1127 #ifndef NRFX_SPIS2_ENABLED 1128 #define NRFX_SPIS2_ENABLED 0 1129 #endif 1130 1131 /** 1132 * @brief NRFX_SYSTICK_ENABLED 1133 * 1134 * Boolean. Accepted values 0 and 1. 1135 */ 1136 #ifndef NRFX_SYSTICK_ENABLED 1137 #define NRFX_SYSTICK_ENABLED 0 1138 #endif 1139 1140 /** 1141 * @brief NRFX_TEMP_ENABLED 1142 * 1143 * Boolean. Accepted values 0 and 1. 1144 */ 1145 #ifndef NRFX_TEMP_ENABLED 1146 #define NRFX_TEMP_ENABLED 0 1147 #endif 1148 1149 /** 1150 * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 1151 * 1152 * Integer value. Minimum: 0 Maximum: 7 1153 */ 1154 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 1155 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1156 #endif 1157 1158 /** 1159 * @brief NRFX_TEMP_CONFIG_LOG_ENABLED 1160 * 1161 * Boolean. Accepted values 0 and 1. 1162 */ 1163 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED 1164 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0 1165 #endif 1166 1167 /** 1168 * @brief NRFX_TEMP_CONFIG_LOG_LEVEL 1169 * 1170 * Integer value. 1171 * Supported values: 1172 * - Off = 0 1173 * - Error = 1 1174 * - Warning = 2 1175 * - Info = 3 1176 * - Debug = 4 1177 */ 1178 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL 1179 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3 1180 #endif 1181 1182 /** 1183 * @brief NRFX_TIMER_ENABLED 1184 * 1185 * Boolean. Accepted values 0 and 1. 1186 */ 1187 #ifndef NRFX_TIMER_ENABLED 1188 #define NRFX_TIMER_ENABLED 0 1189 #endif 1190 1191 /** 1192 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1193 * 1194 * Integer value. Minimum: 0 Maximum: 7 1195 */ 1196 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1197 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1198 #endif 1199 1200 /** 1201 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 1202 * 1203 * Boolean. Accepted values 0 and 1. 1204 */ 1205 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 1206 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 1207 #endif 1208 1209 /** 1210 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 1211 * 1212 * Integer value. 1213 * Supported values: 1214 * - Off = 0 1215 * - Error = 1 1216 * - Warning = 2 1217 * - Info = 3 1218 * - Debug = 4 1219 */ 1220 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 1221 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 1222 #endif 1223 1224 /** 1225 * @brief NRFX_TIMER0_ENABLED 1226 * 1227 * Boolean. Accepted values 0 and 1. 1228 */ 1229 #ifndef NRFX_TIMER0_ENABLED 1230 #define NRFX_TIMER0_ENABLED 0 1231 #endif 1232 1233 /** 1234 * @brief NRFX_TIMER1_ENABLED 1235 * 1236 * Boolean. Accepted values 0 and 1. 1237 */ 1238 #ifndef NRFX_TIMER1_ENABLED 1239 #define NRFX_TIMER1_ENABLED 0 1240 #endif 1241 1242 /** 1243 * @brief NRFX_TIMER2_ENABLED 1244 * 1245 * Boolean. Accepted values 0 and 1. 1246 */ 1247 #ifndef NRFX_TIMER2_ENABLED 1248 #define NRFX_TIMER2_ENABLED 0 1249 #endif 1250 1251 /** 1252 * @brief NRFX_TIMER3_ENABLED 1253 * 1254 * Boolean. Accepted values 0 and 1. 1255 */ 1256 #ifndef NRFX_TIMER3_ENABLED 1257 #define NRFX_TIMER3_ENABLED 0 1258 #endif 1259 1260 /** 1261 * @brief NRFX_TIMER4_ENABLED 1262 * 1263 * Boolean. Accepted values 0 and 1. 1264 */ 1265 #ifndef NRFX_TIMER4_ENABLED 1266 #define NRFX_TIMER4_ENABLED 0 1267 #endif 1268 1269 /** 1270 * @brief NRFX_TWI_ENABLED 1271 * 1272 * Boolean. Accepted values 0 and 1. 1273 */ 1274 #ifndef NRFX_TWI_ENABLED 1275 #define NRFX_TWI_ENABLED 0 1276 #endif 1277 1278 /** 1279 * @brief NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 1280 * 1281 * Integer value. Minimum: 0 Maximum: 7 1282 */ 1283 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 1284 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1285 #endif 1286 1287 /** 1288 * @brief NRFX_TWI_CONFIG_LOG_ENABLED 1289 * 1290 * Boolean. Accepted values 0 and 1. 1291 */ 1292 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED 1293 #define NRFX_TWI_CONFIG_LOG_ENABLED 0 1294 #endif 1295 1296 /** 1297 * @brief NRFX_TWI_CONFIG_LOG_LEVEL 1298 * 1299 * Integer value. 1300 * Supported values: 1301 * - Off = 0 1302 * - Error = 1 1303 * - Warning = 2 1304 * - Info = 3 1305 * - Debug = 4 1306 */ 1307 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL 1308 #define NRFX_TWI_CONFIG_LOG_LEVEL 3 1309 #endif 1310 1311 /** 1312 * @brief NRFX_TWI0_ENABLED 1313 * 1314 * Boolean. Accepted values 0 and 1. 1315 */ 1316 #ifndef NRFX_TWI0_ENABLED 1317 #define NRFX_TWI0_ENABLED 0 1318 #endif 1319 1320 /** 1321 * @brief NRFX_TWI1_ENABLED 1322 * 1323 * Boolean. Accepted values 0 and 1. 1324 */ 1325 #ifndef NRFX_TWI1_ENABLED 1326 #define NRFX_TWI1_ENABLED 0 1327 #endif 1328 1329 /** 1330 * @brief NRFX_TWIM_ENABLED 1331 * 1332 * Boolean. Accepted values 0 and 1. 1333 */ 1334 #ifndef NRFX_TWIM_ENABLED 1335 #define NRFX_TWIM_ENABLED 0 1336 #endif 1337 1338 /** 1339 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1340 * 1341 * Integer value. Minimum: 0 Maximum: 7 1342 */ 1343 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1344 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1345 #endif 1346 1347 /** 1348 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 1349 * 1350 * Boolean. Accepted values 0 and 1. 1351 */ 1352 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 1353 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 1354 #endif 1355 1356 /** 1357 * @brief NRFX_TWIM_CONFIG_LOG_LEVEL 1358 * 1359 * Integer value. 1360 * Supported values: 1361 * - Off = 0 1362 * - Error = 1 1363 * - Warning = 2 1364 * - Info = 3 1365 * - Debug = 4 1366 */ 1367 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 1368 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 1369 #endif 1370 1371 /** 1372 * @brief NRFX_TWIM0_ENABLED 1373 * 1374 * Boolean. Accepted values 0 and 1. 1375 */ 1376 #ifndef NRFX_TWIM0_ENABLED 1377 #define NRFX_TWIM0_ENABLED 0 1378 #endif 1379 1380 /** 1381 * @brief NRFX_TWIM1_ENABLED 1382 * 1383 * Boolean. Accepted values 0 and 1. 1384 */ 1385 #ifndef NRFX_TWIM1_ENABLED 1386 #define NRFX_TWIM1_ENABLED 0 1387 #endif 1388 1389 /** 1390 * @brief NRFX_TWIS_ENABLED 1391 * 1392 * Boolean. Accepted values 0 and 1. 1393 */ 1394 #ifndef NRFX_TWIS_ENABLED 1395 #define NRFX_TWIS_ENABLED 0 1396 #endif 1397 1398 /** 1399 * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1400 * 1401 * Integer value. Minimum: 0 Maximum: 7 1402 */ 1403 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1404 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1405 #endif 1406 1407 /** 1408 * @brief NRFX_TWIS_CONFIG_LOG_ENABLED 1409 * 1410 * Boolean. Accepted values 0 and 1. 1411 */ 1412 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1413 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1414 #endif 1415 1416 /** 1417 * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once. 1418 * 1419 * Boolean. Accepted values 0 and 1. 1420 */ 1421 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1422 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1423 #endif 1424 1425 /** 1426 * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode. 1427 * 1428 * Boolean. Accepted values 0 and 1. 1429 */ 1430 #ifndef NRFX_TWIS_NO_SYNC_MODE 1431 #define NRFX_TWIS_NO_SYNC_MODE 0 1432 #endif 1433 1434 /** 1435 * @brief NRFX_TWIS_CONFIG_LOG_LEVEL 1436 * 1437 * Integer value. 1438 * Supported values: 1439 * - Off = 0 1440 * - Error = 1 1441 * - Warning = 2 1442 * - Info = 3 1443 * - Debug = 4 1444 */ 1445 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1446 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1447 #endif 1448 1449 /** 1450 * @brief NRFX_TWIS0_ENABLED 1451 * 1452 * Boolean. Accepted values 0 and 1. 1453 */ 1454 #ifndef NRFX_TWIS0_ENABLED 1455 #define NRFX_TWIS0_ENABLED 0 1456 #endif 1457 1458 /** 1459 * @brief NRFX_TWIS1_ENABLED 1460 * 1461 * Boolean. Accepted values 0 and 1. 1462 */ 1463 #ifndef NRFX_TWIS1_ENABLED 1464 #define NRFX_TWIS1_ENABLED 0 1465 #endif 1466 1467 /** 1468 * @brief NRFX_UART_ENABLED 1469 * 1470 * Boolean. Accepted values 0 and 1. 1471 */ 1472 #ifndef NRFX_UART_ENABLED 1473 #define NRFX_UART_ENABLED 0 1474 #endif 1475 1476 /** 1477 * @brief NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1478 * 1479 * Integer value. Minimum: 0 Maximum: 7 1480 */ 1481 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1482 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1483 #endif 1484 1485 /** 1486 * @brief NRFX_UART_CONFIG_LOG_ENABLED 1487 * 1488 * Boolean. Accepted values 0 and 1. 1489 */ 1490 #ifndef NRFX_UART_CONFIG_LOG_ENABLED 1491 #define NRFX_UART_CONFIG_LOG_ENABLED 0 1492 #endif 1493 1494 /** 1495 * @brief NRFX_UART_CONFIG_LOG_LEVEL 1496 * 1497 * Integer value. 1498 * Supported values: 1499 * - Off = 0 1500 * - Error = 1 1501 * - Warning = 2 1502 * - Info = 3 1503 * - Debug = 4 1504 */ 1505 #ifndef NRFX_UART_CONFIG_LOG_LEVEL 1506 #define NRFX_UART_CONFIG_LOG_LEVEL 3 1507 #endif 1508 1509 /** 1510 * @brief NRFX_UART0_ENABLED 1511 * 1512 * Boolean. Accepted values 0 and 1. 1513 */ 1514 #ifndef NRFX_UART0_ENABLED 1515 #define NRFX_UART0_ENABLED 0 1516 #endif 1517 1518 /** 1519 * @brief NRFX_UARTE_ENABLED 1520 * 1521 * Boolean. Accepted values 0 and 1. 1522 */ 1523 #ifndef NRFX_UARTE_ENABLED 1524 #define NRFX_UARTE_ENABLED 0 1525 #endif 1526 1527 /** 1528 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1529 * 1530 * Integer value. Minimum: 0 Maximum: 7 1531 */ 1532 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1533 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1534 #endif 1535 1536 /** 1537 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 1538 * 1539 * Boolean. Accepted values 0 and 1. 1540 */ 1541 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1542 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1543 #endif 1544 1545 /** 1546 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 1547 * 1548 * Integer value. 1549 * Supported values: 1550 * - Off = 0 1551 * - Error = 1 1552 * - Warning = 2 1553 * - Info = 3 1554 * - Debug = 4 1555 */ 1556 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1557 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1558 #endif 1559 1560 /** 1561 * @brief NRFX_UARTE0_ENABLED 1562 * 1563 * Boolean. Accepted values 0 and 1. 1564 */ 1565 #ifndef NRFX_UARTE0_ENABLED 1566 #define NRFX_UARTE0_ENABLED 0 1567 #endif 1568 1569 /** 1570 * @brief NRFX_UARTE1_ENABLED 1571 * 1572 * Boolean. Accepted values 0 and 1. 1573 */ 1574 #ifndef NRFX_UARTE1_ENABLED 1575 #define NRFX_UARTE1_ENABLED 0 1576 #endif 1577 1578 /** 1579 * @brief NRFX_USBD_ENABLED 1580 * 1581 * Boolean. Accepted values 0 and 1. 1582 */ 1583 #ifndef NRFX_USBD_ENABLED 1584 #define NRFX_USBD_ENABLED 0 1585 #endif 1586 1587 /** 1588 * @brief NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 1589 * 1590 * Integer value. Minimum: 0 Maximum: 7 1591 */ 1592 #ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 1593 #define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1594 #endif 1595 1596 /** 1597 * @brief NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers 1598 * 1599 * Boolean. Accepted values 0 and 1. 1600 */ 1601 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1602 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1 1603 #endif 1604 1605 /** 1606 * @brief NRFX_USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready. 1607 * 1608 * Boolean. Accepted values 0 and 1. 1609 */ 1610 #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP 1611 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0 1612 #endif 1613 1614 /** 1615 * @brief NRFX_USBD_CONFIG_LOG_ENABLED 1616 * 1617 * Boolean. Accepted values 0 and 1. 1618 */ 1619 #ifndef NRFX_USBD_CONFIG_LOG_ENABLED 1620 #define NRFX_USBD_CONFIG_LOG_ENABLED 0 1621 #endif 1622 1623 /** 1624 * @brief NRFX_USBD_CONFIG_LOG_LEVEL 1625 * 1626 * Integer value. 1627 * Supported values: 1628 * - Off = 0 1629 * - Error = 1 1630 * - Warning = 2 1631 * - Info = 3 1632 * - Debug = 4 1633 */ 1634 #ifndef NRFX_USBD_CONFIG_LOG_LEVEL 1635 #define NRFX_USBD_CONFIG_LOG_LEVEL 3 1636 #endif 1637 1638 /** 1639 * @brief NRFX_WDT_ENABLED 1640 * 1641 * Boolean. Accepted values 0 and 1. 1642 */ 1643 #ifndef NRFX_WDT_ENABLED 1644 #define NRFX_WDT_ENABLED 0 1645 #endif 1646 1647 /** 1648 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1649 * 1650 * Integer value. Minimum: 0 Maximum: 7 1651 */ 1652 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1653 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1654 #endif 1655 1656 /** 1657 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1658 * 1659 * Boolean. Accepted values 0 and 1. 1660 */ 1661 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1662 #define NRFX_WDT_CONFIG_NO_IRQ 0 1663 #endif 1664 1665 /** 1666 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 1667 * 1668 * Boolean. Accepted values 0 and 1. 1669 */ 1670 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1671 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1672 #endif 1673 1674 /** 1675 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 1676 * 1677 * Integer value. 1678 * Supported values: 1679 * - Off = 0 1680 * - Error = 1 1681 * - Warning = 2 1682 * - Info = 3 1683 * - Debug = 4 1684 */ 1685 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1686 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1687 #endif 1688 1689 #endif // NRFX_CONFIG_NRF52840_H__ 1690