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_NRF52832_H__ 35 #define NRFX_CONFIG_NRF52832_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_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for PWM. 644 * 645 * Boolean. Accepted values 0 and 1. 646 */ 647 #ifndef NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 648 #define NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0 649 #endif 650 651 /** 652 * @brief NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE - EGU instance used by the nRF52 Anomaly 109 workaround for PWM. 653 * 654 * Integer value. 655 * Supported values: 656 * - EGU0 = 0 657 * - EGU1 = 1 658 * - EGU2 = 2 659 * - EGU3 = 3 660 * - EGU4 = 4 661 * - EGU5 = 5 662 */ 663 #ifndef NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE 664 #define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE 5 665 #endif 666 667 /** 668 * @brief NRFX_PWM_CONFIG_LOG_LEVEL 669 * 670 * Integer value. 671 * Supported values: 672 * - Off = 0 673 * - Error = 1 674 * - Warning = 2 675 * - Info = 3 676 * - Debug = 4 677 */ 678 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 679 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 680 #endif 681 682 /** 683 * @brief NRFX_PWM0_ENABLED 684 * 685 * Boolean. Accepted values 0 and 1. 686 */ 687 #ifndef NRFX_PWM0_ENABLED 688 #define NRFX_PWM0_ENABLED 0 689 #endif 690 691 /** 692 * @brief NRFX_PWM1_ENABLED 693 * 694 * Boolean. Accepted values 0 and 1. 695 */ 696 #ifndef NRFX_PWM1_ENABLED 697 #define NRFX_PWM1_ENABLED 0 698 #endif 699 700 /** 701 * @brief NRFX_PWM2_ENABLED 702 * 703 * Boolean. Accepted values 0 and 1. 704 */ 705 #ifndef NRFX_PWM2_ENABLED 706 #define NRFX_PWM2_ENABLED 0 707 #endif 708 709 /** 710 * @brief NRFX_QDEC_ENABLED 711 * 712 * Boolean. Accepted values 0 and 1. 713 */ 714 #ifndef NRFX_QDEC_ENABLED 715 #define NRFX_QDEC_ENABLED 0 716 #endif 717 718 /** 719 * @brief NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 720 * 721 * Integer value. Minimum: 0 Maximum: 7 722 */ 723 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 724 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 725 #endif 726 727 /** 728 * @brief NRFX_QDEC_CONFIG_LOG_ENABLED 729 * 730 * Boolean. Accepted values 0 and 1. 731 */ 732 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 733 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 734 #endif 735 736 /** 737 * @brief NRFX_QDEC_CONFIG_LOG_LEVEL 738 * 739 * Integer value. 740 * Supported values: 741 * - Off = 0 742 * - Error = 1 743 * - Warning = 2 744 * - Info = 3 745 * - Debug = 4 746 */ 747 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 748 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 749 #endif 750 751 /** 752 * @brief NRFX_RNG_ENABLED 753 * 754 * Boolean. Accepted values 0 and 1. 755 */ 756 #ifndef NRFX_RNG_ENABLED 757 #define NRFX_RNG_ENABLED 0 758 #endif 759 760 /** 761 * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 762 * 763 * Integer value. Minimum: 0 Maximum: 7 764 */ 765 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 766 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 767 #endif 768 769 /** 770 * @brief NRFX_RNG_CONFIG_LOG_ENABLED 771 * 772 * Boolean. Accepted values 0 and 1. 773 */ 774 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED 775 #define NRFX_RNG_CONFIG_LOG_ENABLED 0 776 #endif 777 778 /** 779 * @brief NRFX_RNG_CONFIG_LOG_LEVEL 780 * 781 * Integer value. 782 * Supported values: 783 * - Off = 0 784 * - Error = 1 785 * - Warning = 2 786 * - Info = 3 787 * - Debug = 4 788 */ 789 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL 790 #define NRFX_RNG_CONFIG_LOG_LEVEL 3 791 #endif 792 793 /** 794 * @brief NRFX_RTC_ENABLED 795 * 796 * Boolean. Accepted values 0 and 1. 797 */ 798 #ifndef NRFX_RTC_ENABLED 799 #define NRFX_RTC_ENABLED 0 800 #endif 801 802 /** 803 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 804 * 805 * Integer value. Minimum: 0 Maximum: 7 806 */ 807 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 808 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 809 #endif 810 811 /** 812 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 813 * 814 * Boolean. Accepted values 0 and 1. 815 */ 816 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 817 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 818 #endif 819 820 /** 821 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 822 * 823 * Integer value. 824 * Supported values: 825 * - Off = 0 826 * - Error = 1 827 * - Warning = 2 828 * - Info = 3 829 * - Debug = 4 830 */ 831 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 832 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 833 #endif 834 835 /** 836 * @brief NRFX_RTC0_ENABLED 837 * 838 * Boolean. Accepted values 0 and 1. 839 */ 840 #ifndef NRFX_RTC0_ENABLED 841 #define NRFX_RTC0_ENABLED 0 842 #endif 843 844 /** 845 * @brief NRFX_RTC1_ENABLED 846 * 847 * Boolean. Accepted values 0 and 1. 848 */ 849 #ifndef NRFX_RTC1_ENABLED 850 #define NRFX_RTC1_ENABLED 0 851 #endif 852 853 /** 854 * @brief NRFX_RTC2_ENABLED 855 * 856 * Boolean. Accepted values 0 and 1. 857 */ 858 #ifndef NRFX_RTC2_ENABLED 859 #define NRFX_RTC2_ENABLED 0 860 #endif 861 862 /** 863 * @brief NRFX_SAADC_ENABLED 864 * 865 * Boolean. Accepted values 0 and 1. 866 */ 867 #ifndef NRFX_SAADC_ENABLED 868 #define NRFX_SAADC_ENABLED 0 869 #endif 870 871 /** 872 * @brief NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 873 * 874 * Integer value. Minimum: 0 Maximum: 7 875 */ 876 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 877 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 878 #endif 879 880 /** 881 * @brief NRFX_SAADC_CONFIG_LOG_ENABLED 882 * 883 * Boolean. Accepted values 0 and 1. 884 */ 885 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 886 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 887 #endif 888 889 /** 890 * @brief NRFX_SAADC_CONFIG_LOG_LEVEL 891 * 892 * Integer value. 893 * Supported values: 894 * - Off = 0 895 * - Error = 1 896 * - Warning = 2 897 * - Info = 3 898 * - Debug = 4 899 */ 900 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 901 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 902 #endif 903 904 /** 905 * @brief NRFX_SPI_ENABLED 906 * 907 * Boolean. Accepted values 0 and 1. 908 */ 909 #ifndef NRFX_SPI_ENABLED 910 #define NRFX_SPI_ENABLED 0 911 #endif 912 913 /** 914 * @brief NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 915 * 916 * Integer value. Minimum: 0 Maximum: 7 917 */ 918 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 919 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 920 #endif 921 922 /** 923 * @brief NRFX_SPI_CONFIG_LOG_ENABLED 924 * 925 * Boolean. Accepted values 0 and 1. 926 */ 927 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED 928 #define NRFX_SPI_CONFIG_LOG_ENABLED 0 929 #endif 930 931 /** 932 * @brief NRFX_SPI_CONFIG_LOG_LEVEL 933 * 934 * Integer value. 935 * Supported values: 936 * - Off = 0 937 * - Error = 1 938 * - Warning = 2 939 * - Info = 3 940 * - Debug = 4 941 */ 942 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL 943 #define NRFX_SPI_CONFIG_LOG_LEVEL 3 944 #endif 945 946 /** 947 * @brief NRFX_SPI0_ENABLED 948 * 949 * Boolean. Accepted values 0 and 1. 950 */ 951 #ifndef NRFX_SPI0_ENABLED 952 #define NRFX_SPI0_ENABLED 0 953 #endif 954 955 /** 956 * @brief NRFX_SPI1_ENABLED 957 * 958 * Boolean. Accepted values 0 and 1. 959 */ 960 #ifndef NRFX_SPI1_ENABLED 961 #define NRFX_SPI1_ENABLED 0 962 #endif 963 964 /** 965 * @brief NRFX_SPI2_ENABLED 966 * 967 * Boolean. Accepted values 0 and 1. 968 */ 969 #ifndef NRFX_SPI2_ENABLED 970 #define NRFX_SPI2_ENABLED 0 971 #endif 972 973 /** 974 * @brief NRFX_SPIM_ENABLED 975 * 976 * Boolean. Accepted values 0 and 1. 977 */ 978 #ifndef NRFX_SPIM_ENABLED 979 #define NRFX_SPIM_ENABLED 0 980 #endif 981 982 /** 983 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 984 * 985 * Integer value. Minimum: 0 Maximum: 7 986 */ 987 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 988 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 989 #endif 990 991 /** 992 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 993 * 994 * Boolean. Accepted values 0 and 1. 995 */ 996 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 997 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 998 #endif 999 1000 /** 1001 * @brief NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIM. 1002 * 1003 * Boolean. Accepted values 0 and 1. 1004 */ 1005 #ifndef NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1006 #define NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0 1007 #endif 1008 1009 /** 1010 * @brief NRFX_SPIM_CONFIG_LOG_LEVEL 1011 * 1012 * Integer value. 1013 * Supported values: 1014 * - Off = 0 1015 * - Error = 1 1016 * - Warning = 2 1017 * - Info = 3 1018 * - Debug = 4 1019 */ 1020 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 1021 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 1022 #endif 1023 1024 /** 1025 * @brief NRFX_SPIM0_ENABLED 1026 * 1027 * Boolean. Accepted values 0 and 1. 1028 */ 1029 #ifndef NRFX_SPIM0_ENABLED 1030 #define NRFX_SPIM0_ENABLED 0 1031 #endif 1032 1033 /** 1034 * @brief NRFX_SPIM1_ENABLED 1035 * 1036 * Boolean. Accepted values 0 and 1. 1037 */ 1038 #ifndef NRFX_SPIM1_ENABLED 1039 #define NRFX_SPIM1_ENABLED 0 1040 #endif 1041 1042 /** 1043 * @brief NRFX_SPIM2_ENABLED 1044 * 1045 * Boolean. Accepted values 0 and 1. 1046 */ 1047 #ifndef NRFX_SPIM2_ENABLED 1048 #define NRFX_SPIM2_ENABLED 0 1049 #endif 1050 1051 /** 1052 * @brief NRFX_SPIS_ENABLED 1053 * 1054 * Boolean. Accepted values 0 and 1. 1055 */ 1056 #ifndef NRFX_SPIS_ENABLED 1057 #define NRFX_SPIS_ENABLED 0 1058 #endif 1059 1060 /** 1061 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1062 * 1063 * Integer value. Minimum: 0 Maximum: 7 1064 */ 1065 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1066 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1067 #endif 1068 1069 /** 1070 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 1071 * 1072 * Boolean. Accepted values 0 and 1. 1073 */ 1074 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 1075 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 1076 #endif 1077 1078 /** 1079 * @brief NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIS. 1080 * 1081 * Boolean. Accepted values 0 and 1. 1082 */ 1083 #ifndef NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1084 #define NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0 1085 #endif 1086 1087 /** 1088 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 1089 * 1090 * Integer value. 1091 * Supported values: 1092 * - Off = 0 1093 * - Error = 1 1094 * - Warning = 2 1095 * - Info = 3 1096 * - Debug = 4 1097 */ 1098 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 1099 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 1100 #endif 1101 1102 /** 1103 * @brief NRFX_SPIS0_ENABLED 1104 * 1105 * Boolean. Accepted values 0 and 1. 1106 */ 1107 #ifndef NRFX_SPIS0_ENABLED 1108 #define NRFX_SPIS0_ENABLED 0 1109 #endif 1110 1111 /** 1112 * @brief NRFX_SPIS1_ENABLED 1113 * 1114 * Boolean. Accepted values 0 and 1. 1115 */ 1116 #ifndef NRFX_SPIS1_ENABLED 1117 #define NRFX_SPIS1_ENABLED 0 1118 #endif 1119 1120 /** 1121 * @brief NRFX_SPIS2_ENABLED 1122 * 1123 * Boolean. Accepted values 0 and 1. 1124 */ 1125 #ifndef NRFX_SPIS2_ENABLED 1126 #define NRFX_SPIS2_ENABLED 0 1127 #endif 1128 1129 /** 1130 * @brief NRFX_SYSTICK_ENABLED 1131 * 1132 * Boolean. Accepted values 0 and 1. 1133 */ 1134 #ifndef NRFX_SYSTICK_ENABLED 1135 #define NRFX_SYSTICK_ENABLED 0 1136 #endif 1137 1138 /** 1139 * @brief NRFX_TEMP_ENABLED 1140 * 1141 * Boolean. Accepted values 0 and 1. 1142 */ 1143 #ifndef NRFX_TEMP_ENABLED 1144 #define NRFX_TEMP_ENABLED 0 1145 #endif 1146 1147 /** 1148 * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 1149 * 1150 * Integer value. Minimum: 0 Maximum: 7 1151 */ 1152 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 1153 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1154 #endif 1155 1156 /** 1157 * @brief NRFX_TEMP_CONFIG_LOG_ENABLED 1158 * 1159 * Boolean. Accepted values 0 and 1. 1160 */ 1161 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED 1162 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0 1163 #endif 1164 1165 /** 1166 * @brief NRFX_TEMP_CONFIG_LOG_LEVEL 1167 * 1168 * Integer value. 1169 * Supported values: 1170 * - Off = 0 1171 * - Error = 1 1172 * - Warning = 2 1173 * - Info = 3 1174 * - Debug = 4 1175 */ 1176 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL 1177 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3 1178 #endif 1179 1180 /** 1181 * @brief NRFX_TIMER_ENABLED 1182 * 1183 * Boolean. Accepted values 0 and 1. 1184 */ 1185 #ifndef NRFX_TIMER_ENABLED 1186 #define NRFX_TIMER_ENABLED 0 1187 #endif 1188 1189 /** 1190 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1191 * 1192 * Integer value. Minimum: 0 Maximum: 7 1193 */ 1194 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1195 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1196 #endif 1197 1198 /** 1199 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 1200 * 1201 * Boolean. Accepted values 0 and 1. 1202 */ 1203 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 1204 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 1205 #endif 1206 1207 /** 1208 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 1209 * 1210 * Integer value. 1211 * Supported values: 1212 * - Off = 0 1213 * - Error = 1 1214 * - Warning = 2 1215 * - Info = 3 1216 * - Debug = 4 1217 */ 1218 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 1219 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 1220 #endif 1221 1222 /** 1223 * @brief NRFX_TIMER0_ENABLED 1224 * 1225 * Boolean. Accepted values 0 and 1. 1226 */ 1227 #ifndef NRFX_TIMER0_ENABLED 1228 #define NRFX_TIMER0_ENABLED 0 1229 #endif 1230 1231 /** 1232 * @brief NRFX_TIMER1_ENABLED 1233 * 1234 * Boolean. Accepted values 0 and 1. 1235 */ 1236 #ifndef NRFX_TIMER1_ENABLED 1237 #define NRFX_TIMER1_ENABLED 0 1238 #endif 1239 1240 /** 1241 * @brief NRFX_TIMER2_ENABLED 1242 * 1243 * Boolean. Accepted values 0 and 1. 1244 */ 1245 #ifndef NRFX_TIMER2_ENABLED 1246 #define NRFX_TIMER2_ENABLED 0 1247 #endif 1248 1249 /** 1250 * @brief NRFX_TIMER3_ENABLED 1251 * 1252 * Boolean. Accepted values 0 and 1. 1253 */ 1254 #ifndef NRFX_TIMER3_ENABLED 1255 #define NRFX_TIMER3_ENABLED 0 1256 #endif 1257 1258 /** 1259 * @brief NRFX_TIMER4_ENABLED 1260 * 1261 * Boolean. Accepted values 0 and 1. 1262 */ 1263 #ifndef NRFX_TIMER4_ENABLED 1264 #define NRFX_TIMER4_ENABLED 0 1265 #endif 1266 1267 /** 1268 * @brief NRFX_TWI_ENABLED 1269 * 1270 * Boolean. Accepted values 0 and 1. 1271 */ 1272 #ifndef NRFX_TWI_ENABLED 1273 #define NRFX_TWI_ENABLED 0 1274 #endif 1275 1276 /** 1277 * @brief NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 1278 * 1279 * Integer value. Minimum: 0 Maximum: 7 1280 */ 1281 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 1282 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1283 #endif 1284 1285 /** 1286 * @brief NRFX_TWI_CONFIG_LOG_ENABLED 1287 * 1288 * Boolean. Accepted values 0 and 1. 1289 */ 1290 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED 1291 #define NRFX_TWI_CONFIG_LOG_ENABLED 0 1292 #endif 1293 1294 /** 1295 * @brief NRFX_TWI_CONFIG_LOG_LEVEL 1296 * 1297 * Integer value. 1298 * Supported values: 1299 * - Off = 0 1300 * - Error = 1 1301 * - Warning = 2 1302 * - Info = 3 1303 * - Debug = 4 1304 */ 1305 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL 1306 #define NRFX_TWI_CONFIG_LOG_LEVEL 3 1307 #endif 1308 1309 /** 1310 * @brief NRFX_TWI0_ENABLED 1311 * 1312 * Boolean. Accepted values 0 and 1. 1313 */ 1314 #ifndef NRFX_TWI0_ENABLED 1315 #define NRFX_TWI0_ENABLED 0 1316 #endif 1317 1318 /** 1319 * @brief NRFX_TWI1_ENABLED 1320 * 1321 * Boolean. Accepted values 0 and 1. 1322 */ 1323 #ifndef NRFX_TWI1_ENABLED 1324 #define NRFX_TWI1_ENABLED 0 1325 #endif 1326 1327 /** 1328 * @brief NRFX_TWIM_ENABLED 1329 * 1330 * Boolean. Accepted values 0 and 1. 1331 */ 1332 #ifndef NRFX_TWIM_ENABLED 1333 #define NRFX_TWIM_ENABLED 0 1334 #endif 1335 1336 /** 1337 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1338 * 1339 * Integer value. Minimum: 0 Maximum: 7 1340 */ 1341 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1342 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1343 #endif 1344 1345 /** 1346 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 1347 * 1348 * Boolean. Accepted values 0 and 1. 1349 */ 1350 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 1351 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 1352 #endif 1353 1354 /** 1355 * @brief NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for TWIM. 1356 * 1357 * Boolean. Accepted values 0 and 1. 1358 */ 1359 #ifndef NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1360 #define NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0 1361 #endif 1362 1363 /** 1364 * @brief NRFX_TWIM_CONFIG_LOG_LEVEL 1365 * 1366 * Integer value. 1367 * Supported values: 1368 * - Off = 0 1369 * - Error = 1 1370 * - Warning = 2 1371 * - Info = 3 1372 * - Debug = 4 1373 */ 1374 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 1375 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 1376 #endif 1377 1378 /** 1379 * @brief NRFX_TWIM0_ENABLED 1380 * 1381 * Boolean. Accepted values 0 and 1. 1382 */ 1383 #ifndef NRFX_TWIM0_ENABLED 1384 #define NRFX_TWIM0_ENABLED 0 1385 #endif 1386 1387 /** 1388 * @brief NRFX_TWIM1_ENABLED 1389 * 1390 * Boolean. Accepted values 0 and 1. 1391 */ 1392 #ifndef NRFX_TWIM1_ENABLED 1393 #define NRFX_TWIM1_ENABLED 0 1394 #endif 1395 1396 /** 1397 * @brief NRFX_TWIS_ENABLED 1398 * 1399 * Boolean. Accepted values 0 and 1. 1400 */ 1401 #ifndef NRFX_TWIS_ENABLED 1402 #define NRFX_TWIS_ENABLED 0 1403 #endif 1404 1405 /** 1406 * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1407 * 1408 * Integer value. Minimum: 0 Maximum: 7 1409 */ 1410 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1411 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1412 #endif 1413 1414 /** 1415 * @brief NRFX_TWIS_CONFIG_LOG_ENABLED 1416 * 1417 * Boolean. Accepted values 0 and 1. 1418 */ 1419 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1420 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1421 #endif 1422 1423 /** 1424 * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once. 1425 * 1426 * Boolean. Accepted values 0 and 1. 1427 */ 1428 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1429 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1430 #endif 1431 1432 /** 1433 * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode. 1434 * 1435 * Boolean. Accepted values 0 and 1. 1436 */ 1437 #ifndef NRFX_TWIS_NO_SYNC_MODE 1438 #define NRFX_TWIS_NO_SYNC_MODE 0 1439 #endif 1440 1441 /** 1442 * @brief NRFX_TWIS_CONFIG_LOG_LEVEL 1443 * 1444 * Integer value. 1445 * Supported values: 1446 * - Off = 0 1447 * - Error = 1 1448 * - Warning = 2 1449 * - Info = 3 1450 * - Debug = 4 1451 */ 1452 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1453 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1454 #endif 1455 1456 /** 1457 * @brief NRFX_TWIS0_ENABLED 1458 * 1459 * Boolean. Accepted values 0 and 1. 1460 */ 1461 #ifndef NRFX_TWIS0_ENABLED 1462 #define NRFX_TWIS0_ENABLED 0 1463 #endif 1464 1465 /** 1466 * @brief NRFX_TWIS1_ENABLED 1467 * 1468 * Boolean. Accepted values 0 and 1. 1469 */ 1470 #ifndef NRFX_TWIS1_ENABLED 1471 #define NRFX_TWIS1_ENABLED 0 1472 #endif 1473 1474 /** 1475 * @brief NRFX_UART_ENABLED 1476 * 1477 * Boolean. Accepted values 0 and 1. 1478 */ 1479 #ifndef NRFX_UART_ENABLED 1480 #define NRFX_UART_ENABLED 0 1481 #endif 1482 1483 /** 1484 * @brief NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1485 * 1486 * Integer value. Minimum: 0 Maximum: 7 1487 */ 1488 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1489 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1490 #endif 1491 1492 /** 1493 * @brief NRFX_UART_CONFIG_LOG_ENABLED 1494 * 1495 * Boolean. Accepted values 0 and 1. 1496 */ 1497 #ifndef NRFX_UART_CONFIG_LOG_ENABLED 1498 #define NRFX_UART_CONFIG_LOG_ENABLED 0 1499 #endif 1500 1501 /** 1502 * @brief NRFX_UART_CONFIG_LOG_LEVEL 1503 * 1504 * Integer value. 1505 * Supported values: 1506 * - Off = 0 1507 * - Error = 1 1508 * - Warning = 2 1509 * - Info = 3 1510 * - Debug = 4 1511 */ 1512 #ifndef NRFX_UART_CONFIG_LOG_LEVEL 1513 #define NRFX_UART_CONFIG_LOG_LEVEL 3 1514 #endif 1515 1516 /** 1517 * @brief NRFX_UART0_ENABLED 1518 * 1519 * Boolean. Accepted values 0 and 1. 1520 */ 1521 #ifndef NRFX_UART0_ENABLED 1522 #define NRFX_UART0_ENABLED 0 1523 #endif 1524 1525 /** 1526 * @brief NRFX_UARTE_ENABLED 1527 * 1528 * Boolean. Accepted values 0 and 1. 1529 */ 1530 #ifndef NRFX_UARTE_ENABLED 1531 #define NRFX_UARTE_ENABLED 0 1532 #endif 1533 1534 /** 1535 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1536 * 1537 * Integer value. Minimum: 0 Maximum: 7 1538 */ 1539 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1540 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1541 #endif 1542 1543 /** 1544 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 1545 * 1546 * Boolean. Accepted values 0 and 1. 1547 */ 1548 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1549 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1550 #endif 1551 1552 /** 1553 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 1554 * 1555 * Integer value. 1556 * Supported values: 1557 * - Off = 0 1558 * - Error = 1 1559 * - Warning = 2 1560 * - Info = 3 1561 * - Debug = 4 1562 */ 1563 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1564 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1565 #endif 1566 1567 /** 1568 * @brief NRFX_UARTE0_ENABLED 1569 * 1570 * Boolean. Accepted values 0 and 1. 1571 */ 1572 #ifndef NRFX_UARTE0_ENABLED 1573 #define NRFX_UARTE0_ENABLED 0 1574 #endif 1575 1576 /** 1577 * @brief NRFX_WDT_ENABLED 1578 * 1579 * Boolean. Accepted values 0 and 1. 1580 */ 1581 #ifndef NRFX_WDT_ENABLED 1582 #define NRFX_WDT_ENABLED 0 1583 #endif 1584 1585 /** 1586 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1587 * 1588 * Integer value. Minimum: 0 Maximum: 7 1589 */ 1590 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1591 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1592 #endif 1593 1594 /** 1595 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1596 * 1597 * Boolean. Accepted values 0 and 1. 1598 */ 1599 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1600 #define NRFX_WDT_CONFIG_NO_IRQ 0 1601 #endif 1602 1603 /** 1604 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 1605 * 1606 * Boolean. Accepted values 0 and 1. 1607 */ 1608 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1609 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1610 #endif 1611 1612 /** 1613 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 1614 * 1615 * Integer value. 1616 * Supported values: 1617 * - Off = 0 1618 * - Error = 1 1619 * - Warning = 2 1620 * - Info = 3 1621 * - Debug = 4 1622 */ 1623 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1624 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1625 #endif 1626 1627 #endif // NRFX_CONFIG_NRF52832_H__ 1628