1 /* 2 * Copyright (c) 2017 - 2024, Nordic Semiconductor ASA 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: 9 * 10 * 1. Redistributions of source code must retain the above copyright notice, this 11 * list of conditions and the following disclaimer. 12 * 13 * 2. Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in the 15 * documentation and/or other materials provided with the distribution. 16 * 17 * 3. Neither the name of the copyright holder nor the names of its 18 * contributors may be used to endorse or promote products derived from this 19 * software without specific prior written permission. 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 25 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 * POSSIBILITY OF SUCH DAMAGE. 32 */ 33 34 #ifndef NRFX_CONFIG_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. Minimum: 0. Maximum: 5. 655 */ 656 #ifndef NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE 657 #define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE 5 658 #endif 659 660 /** 661 * @brief NRFX_PWM_CONFIG_LOG_LEVEL 662 * 663 * Integer value. 664 * Supported values: 665 * - Off = 0 666 * - Error = 1 667 * - Warning = 2 668 * - Info = 3 669 * - Debug = 4 670 */ 671 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 672 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 673 #endif 674 675 /** 676 * @brief NRFX_PWM0_ENABLED 677 * 678 * Boolean. Accepted values: 0 and 1. 679 */ 680 #ifndef NRFX_PWM0_ENABLED 681 #define NRFX_PWM0_ENABLED 0 682 #endif 683 684 /** 685 * @brief NRFX_PWM1_ENABLED 686 * 687 * Boolean. Accepted values: 0 and 1. 688 */ 689 #ifndef NRFX_PWM1_ENABLED 690 #define NRFX_PWM1_ENABLED 0 691 #endif 692 693 /** 694 * @brief NRFX_PWM2_ENABLED 695 * 696 * Boolean. Accepted values: 0 and 1. 697 */ 698 #ifndef NRFX_PWM2_ENABLED 699 #define NRFX_PWM2_ENABLED 0 700 #endif 701 702 /** 703 * @brief NRFX_QDEC_ENABLED 704 * 705 * Boolean. Accepted values: 0 and 1. 706 */ 707 #ifndef NRFX_QDEC_ENABLED 708 #define NRFX_QDEC_ENABLED 0 709 #endif 710 711 /** 712 * @brief NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 713 * 714 * Integer value. Minimum: 0. Maximum: 7. 715 */ 716 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 717 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 718 #endif 719 720 /** 721 * @brief NRFX_QDEC_CONFIG_LOG_ENABLED 722 * 723 * Boolean. Accepted values: 0 and 1. 724 */ 725 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 726 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 727 #endif 728 729 /** 730 * @brief NRFX_QDEC_CONFIG_LOG_LEVEL 731 * 732 * Integer value. 733 * Supported values: 734 * - Off = 0 735 * - Error = 1 736 * - Warning = 2 737 * - Info = 3 738 * - Debug = 4 739 */ 740 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 741 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 742 #endif 743 744 /** 745 * @brief NRFX_RNG_ENABLED 746 * 747 * Boolean. Accepted values: 0 and 1. 748 */ 749 #ifndef NRFX_RNG_ENABLED 750 #define NRFX_RNG_ENABLED 0 751 #endif 752 753 /** 754 * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 755 * 756 * Integer value. Minimum: 0. Maximum: 7. 757 */ 758 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 759 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 760 #endif 761 762 /** 763 * @brief NRFX_RNG_CONFIG_LOG_ENABLED 764 * 765 * Boolean. Accepted values: 0 and 1. 766 */ 767 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED 768 #define NRFX_RNG_CONFIG_LOG_ENABLED 0 769 #endif 770 771 /** 772 * @brief NRFX_RNG_CONFIG_LOG_LEVEL 773 * 774 * Integer value. 775 * Supported values: 776 * - Off = 0 777 * - Error = 1 778 * - Warning = 2 779 * - Info = 3 780 * - Debug = 4 781 */ 782 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL 783 #define NRFX_RNG_CONFIG_LOG_LEVEL 3 784 #endif 785 786 /** 787 * @brief NRFX_RTC_ENABLED 788 * 789 * Boolean. Accepted values: 0 and 1. 790 */ 791 #ifndef NRFX_RTC_ENABLED 792 #define NRFX_RTC_ENABLED 0 793 #endif 794 795 /** 796 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 797 * 798 * Integer value. Minimum: 0. Maximum: 7. 799 */ 800 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 801 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 802 #endif 803 804 /** 805 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 806 * 807 * Boolean. Accepted values: 0 and 1. 808 */ 809 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 810 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 811 #endif 812 813 /** 814 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 815 * 816 * Integer value. 817 * Supported values: 818 * - Off = 0 819 * - Error = 1 820 * - Warning = 2 821 * - Info = 3 822 * - Debug = 4 823 */ 824 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 825 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 826 #endif 827 828 /** 829 * @brief NRFX_RTC0_ENABLED 830 * 831 * Boolean. Accepted values: 0 and 1. 832 */ 833 #ifndef NRFX_RTC0_ENABLED 834 #define NRFX_RTC0_ENABLED 0 835 #endif 836 837 /** 838 * @brief NRFX_RTC1_ENABLED 839 * 840 * Boolean. Accepted values: 0 and 1. 841 */ 842 #ifndef NRFX_RTC1_ENABLED 843 #define NRFX_RTC1_ENABLED 0 844 #endif 845 846 /** 847 * @brief NRFX_RTC2_ENABLED 848 * 849 * Boolean. Accepted values: 0 and 1. 850 */ 851 #ifndef NRFX_RTC2_ENABLED 852 #define NRFX_RTC2_ENABLED 0 853 #endif 854 855 /** 856 * @brief NRFX_SAADC_ENABLED 857 * 858 * Boolean. Accepted values: 0 and 1. 859 */ 860 #ifndef NRFX_SAADC_ENABLED 861 #define NRFX_SAADC_ENABLED 0 862 #endif 863 864 /** 865 * @brief NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 866 * 867 * Integer value. Minimum: 0. Maximum: 7. 868 */ 869 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 870 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 871 #endif 872 873 /** 874 * @brief NRFX_SAADC_CONFIG_LOG_ENABLED 875 * 876 * Boolean. Accepted values: 0 and 1. 877 */ 878 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 879 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 880 #endif 881 882 /** 883 * @brief NRFX_SAADC_CONFIG_LOG_LEVEL 884 * 885 * Integer value. 886 * Supported values: 887 * - Off = 0 888 * - Error = 1 889 * - Warning = 2 890 * - Info = 3 891 * - Debug = 4 892 */ 893 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 894 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 895 #endif 896 897 /** 898 * @brief NRFX_SPI_ENABLED 899 * 900 * Boolean. Accepted values: 0 and 1. 901 */ 902 #ifndef NRFX_SPI_ENABLED 903 #define NRFX_SPI_ENABLED 0 904 #endif 905 906 /** 907 * @brief NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 908 * 909 * Integer value. Minimum: 0. Maximum: 7. 910 */ 911 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 912 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 913 #endif 914 915 /** 916 * @brief NRFX_SPI_CONFIG_LOG_ENABLED 917 * 918 * Boolean. Accepted values: 0 and 1. 919 */ 920 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED 921 #define NRFX_SPI_CONFIG_LOG_ENABLED 0 922 #endif 923 924 /** 925 * @brief NRFX_SPI_CONFIG_LOG_LEVEL 926 * 927 * Integer value. 928 * Supported values: 929 * - Off = 0 930 * - Error = 1 931 * - Warning = 2 932 * - Info = 3 933 * - Debug = 4 934 */ 935 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL 936 #define NRFX_SPI_CONFIG_LOG_LEVEL 3 937 #endif 938 939 /** 940 * @brief NRFX_SPI0_ENABLED 941 * 942 * Boolean. Accepted values: 0 and 1. 943 */ 944 #ifndef NRFX_SPI0_ENABLED 945 #define NRFX_SPI0_ENABLED 0 946 #endif 947 948 /** 949 * @brief NRFX_SPI1_ENABLED 950 * 951 * Boolean. Accepted values: 0 and 1. 952 */ 953 #ifndef NRFX_SPI1_ENABLED 954 #define NRFX_SPI1_ENABLED 0 955 #endif 956 957 /** 958 * @brief NRFX_SPI2_ENABLED 959 * 960 * Boolean. Accepted values: 0 and 1. 961 */ 962 #ifndef NRFX_SPI2_ENABLED 963 #define NRFX_SPI2_ENABLED 0 964 #endif 965 966 /** 967 * @brief NRFX_SPIM_ENABLED 968 * 969 * Boolean. Accepted values: 0 and 1. 970 */ 971 #ifndef NRFX_SPIM_ENABLED 972 #define NRFX_SPIM_ENABLED 0 973 #endif 974 975 /** 976 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 977 * 978 * Integer value. Minimum: 0. Maximum: 7. 979 */ 980 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 981 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 982 #endif 983 984 /** 985 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 986 * 987 * Boolean. Accepted values: 0 and 1. 988 */ 989 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 990 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 991 #endif 992 993 /** 994 * @brief NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIM. 995 * 996 * Boolean. Accepted values: 0 and 1. 997 */ 998 #ifndef NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 999 #define NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_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_SPIM0_ENABLED 1019 * 1020 * Boolean. Accepted values: 0 and 1. 1021 */ 1022 #ifndef NRFX_SPIM0_ENABLED 1023 #define NRFX_SPIM0_ENABLED 0 1024 #endif 1025 1026 /** 1027 * @brief NRFX_SPIM1_ENABLED 1028 * 1029 * Boolean. Accepted values: 0 and 1. 1030 */ 1031 #ifndef NRFX_SPIM1_ENABLED 1032 #define NRFX_SPIM1_ENABLED 0 1033 #endif 1034 1035 /** 1036 * @brief NRFX_SPIM2_ENABLED 1037 * 1038 * Boolean. Accepted values: 0 and 1. 1039 */ 1040 #ifndef NRFX_SPIM2_ENABLED 1041 #define NRFX_SPIM2_ENABLED 0 1042 #endif 1043 1044 /** 1045 * @brief NRFX_SPIS_ENABLED 1046 * 1047 * Boolean. Accepted values: 0 and 1. 1048 */ 1049 #ifndef NRFX_SPIS_ENABLED 1050 #define NRFX_SPIS_ENABLED 0 1051 #endif 1052 1053 /** 1054 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1055 * 1056 * Integer value. Minimum: 0. Maximum: 7. 1057 */ 1058 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1059 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1060 #endif 1061 1062 /** 1063 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 1064 * 1065 * Boolean. Accepted values: 0 and 1. 1066 */ 1067 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 1068 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 1069 #endif 1070 1071 /** 1072 * @brief NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIS. 1073 * 1074 * Boolean. Accepted values: 0 and 1. 1075 */ 1076 #ifndef NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1077 #define NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0 1078 #endif 1079 1080 /** 1081 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 1082 * 1083 * Integer value. 1084 * Supported values: 1085 * - Off = 0 1086 * - Error = 1 1087 * - Warning = 2 1088 * - Info = 3 1089 * - Debug = 4 1090 */ 1091 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 1092 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 1093 #endif 1094 1095 /** 1096 * @brief NRFX_SPIS0_ENABLED 1097 * 1098 * Boolean. Accepted values: 0 and 1. 1099 */ 1100 #ifndef NRFX_SPIS0_ENABLED 1101 #define NRFX_SPIS0_ENABLED 0 1102 #endif 1103 1104 /** 1105 * @brief NRFX_SPIS1_ENABLED 1106 * 1107 * Boolean. Accepted values: 0 and 1. 1108 */ 1109 #ifndef NRFX_SPIS1_ENABLED 1110 #define NRFX_SPIS1_ENABLED 0 1111 #endif 1112 1113 /** 1114 * @brief NRFX_SPIS2_ENABLED 1115 * 1116 * Boolean. Accepted values: 0 and 1. 1117 */ 1118 #ifndef NRFX_SPIS2_ENABLED 1119 #define NRFX_SPIS2_ENABLED 0 1120 #endif 1121 1122 /** 1123 * @brief NRFX_SYSTICK_ENABLED 1124 * 1125 * Boolean. Accepted values: 0 and 1. 1126 */ 1127 #ifndef NRFX_SYSTICK_ENABLED 1128 #define NRFX_SYSTICK_ENABLED 0 1129 #endif 1130 1131 /** 1132 * @brief NRFX_TEMP_ENABLED 1133 * 1134 * Boolean. Accepted values: 0 and 1. 1135 */ 1136 #ifndef NRFX_TEMP_ENABLED 1137 #define NRFX_TEMP_ENABLED 0 1138 #endif 1139 1140 /** 1141 * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 1142 * 1143 * Integer value. Minimum: 0. Maximum: 7. 1144 */ 1145 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 1146 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1147 #endif 1148 1149 /** 1150 * @brief NRFX_TEMP_CONFIG_LOG_ENABLED 1151 * 1152 * Boolean. Accepted values: 0 and 1. 1153 */ 1154 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED 1155 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0 1156 #endif 1157 1158 /** 1159 * @brief NRFX_TEMP_CONFIG_LOG_LEVEL 1160 * 1161 * Integer value. 1162 * Supported values: 1163 * - Off = 0 1164 * - Error = 1 1165 * - Warning = 2 1166 * - Info = 3 1167 * - Debug = 4 1168 */ 1169 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL 1170 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3 1171 #endif 1172 1173 /** 1174 * @brief NRFX_TIMER_ENABLED 1175 * 1176 * Boolean. Accepted values: 0 and 1. 1177 */ 1178 #ifndef NRFX_TIMER_ENABLED 1179 #define NRFX_TIMER_ENABLED 0 1180 #endif 1181 1182 /** 1183 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1184 * 1185 * Integer value. Minimum: 0. Maximum: 7. 1186 */ 1187 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1188 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1189 #endif 1190 1191 /** 1192 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 1193 * 1194 * Boolean. Accepted values: 0 and 1. 1195 */ 1196 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 1197 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 1198 #endif 1199 1200 /** 1201 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 1202 * 1203 * Integer value. 1204 * Supported values: 1205 * - Off = 0 1206 * - Error = 1 1207 * - Warning = 2 1208 * - Info = 3 1209 * - Debug = 4 1210 */ 1211 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 1212 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 1213 #endif 1214 1215 /** 1216 * @brief NRFX_TIMER0_ENABLED 1217 * 1218 * Boolean. Accepted values: 0 and 1. 1219 */ 1220 #ifndef NRFX_TIMER0_ENABLED 1221 #define NRFX_TIMER0_ENABLED 0 1222 #endif 1223 1224 /** 1225 * @brief NRFX_TIMER1_ENABLED 1226 * 1227 * Boolean. Accepted values: 0 and 1. 1228 */ 1229 #ifndef NRFX_TIMER1_ENABLED 1230 #define NRFX_TIMER1_ENABLED 0 1231 #endif 1232 1233 /** 1234 * @brief NRFX_TIMER2_ENABLED 1235 * 1236 * Boolean. Accepted values: 0 and 1. 1237 */ 1238 #ifndef NRFX_TIMER2_ENABLED 1239 #define NRFX_TIMER2_ENABLED 0 1240 #endif 1241 1242 /** 1243 * @brief NRFX_TIMER3_ENABLED 1244 * 1245 * Boolean. Accepted values: 0 and 1. 1246 */ 1247 #ifndef NRFX_TIMER3_ENABLED 1248 #define NRFX_TIMER3_ENABLED 0 1249 #endif 1250 1251 /** 1252 * @brief NRFX_TIMER4_ENABLED 1253 * 1254 * Boolean. Accepted values: 0 and 1. 1255 */ 1256 #ifndef NRFX_TIMER4_ENABLED 1257 #define NRFX_TIMER4_ENABLED 0 1258 #endif 1259 1260 /** 1261 * @brief NRFX_TWI_ENABLED 1262 * 1263 * Boolean. Accepted values: 0 and 1. 1264 */ 1265 #ifndef NRFX_TWI_ENABLED 1266 #define NRFX_TWI_ENABLED 0 1267 #endif 1268 1269 /** 1270 * @brief NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 1271 * 1272 * Integer value. Minimum: 0. Maximum: 7. 1273 */ 1274 #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 1275 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1276 #endif 1277 1278 /** 1279 * @brief NRFX_TWI_CONFIG_LOG_ENABLED 1280 * 1281 * Boolean. Accepted values: 0 and 1. 1282 */ 1283 #ifndef NRFX_TWI_CONFIG_LOG_ENABLED 1284 #define NRFX_TWI_CONFIG_LOG_ENABLED 0 1285 #endif 1286 1287 /** 1288 * @brief NRFX_TWI_CONFIG_LOG_LEVEL 1289 * 1290 * Integer value. 1291 * Supported values: 1292 * - Off = 0 1293 * - Error = 1 1294 * - Warning = 2 1295 * - Info = 3 1296 * - Debug = 4 1297 */ 1298 #ifndef NRFX_TWI_CONFIG_LOG_LEVEL 1299 #define NRFX_TWI_CONFIG_LOG_LEVEL 3 1300 #endif 1301 1302 /** 1303 * @brief NRFX_TWI0_ENABLED 1304 * 1305 * Boolean. Accepted values: 0 and 1. 1306 */ 1307 #ifndef NRFX_TWI0_ENABLED 1308 #define NRFX_TWI0_ENABLED 0 1309 #endif 1310 1311 /** 1312 * @brief NRFX_TWI1_ENABLED 1313 * 1314 * Boolean. Accepted values: 0 and 1. 1315 */ 1316 #ifndef NRFX_TWI1_ENABLED 1317 #define NRFX_TWI1_ENABLED 0 1318 #endif 1319 1320 /** 1321 * @brief NRFX_TWIM_ENABLED 1322 * 1323 * Boolean. Accepted values: 0 and 1. 1324 */ 1325 #ifndef NRFX_TWIM_ENABLED 1326 #define NRFX_TWIM_ENABLED 0 1327 #endif 1328 1329 /** 1330 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1331 * 1332 * Integer value. Minimum: 0. Maximum: 7. 1333 */ 1334 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1335 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1336 #endif 1337 1338 /** 1339 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 1340 * 1341 * Boolean. Accepted values: 0 and 1. 1342 */ 1343 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 1344 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 1345 #endif 1346 1347 /** 1348 * @brief NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for TWIM. 1349 * 1350 * Boolean. Accepted values: 0 and 1. 1351 */ 1352 #ifndef NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1353 #define NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_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_CONFIG_SKIP_GPIO_CONFIG - If enabled, support for configuring GPIO pins is removed from the driver 1529 * 1530 * Boolean. Accepted values: 0 and 1. 1531 */ 1532 #ifndef NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG 1533 #define NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG 0 1534 #endif 1535 1536 /** 1537 * @brief NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG - If enabled, support for configuring PSEL registers is removed from the driver 1538 * 1539 * Boolean. Accepted values: 0 and 1. 1540 */ 1541 #ifndef NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG 1542 #define NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG 0 1543 #endif 1544 1545 /** 1546 * @brief NRFX_UARTE_CONFIG_TX_LINK - If enabled, driver supports linking of TX transfers. 1547 * 1548 * Boolean. Accepted values: 0 and 1. 1549 */ 1550 #ifndef NRFX_UARTE_CONFIG_TX_LINK 1551 #define NRFX_UARTE_CONFIG_TX_LINK 1 1552 #endif 1553 1554 /** 1555 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1556 * 1557 * Integer value. Minimum: 0. Maximum: 7. 1558 */ 1559 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1560 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1561 #endif 1562 1563 /** 1564 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 1565 * 1566 * Boolean. Accepted values: 0 and 1. 1567 */ 1568 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1569 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1570 #endif 1571 1572 /** 1573 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 1574 * 1575 * Integer value. 1576 * Supported values: 1577 * - Off = 0 1578 * - Error = 1 1579 * - Warning = 2 1580 * - Info = 3 1581 * - Debug = 4 1582 */ 1583 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1584 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1585 #endif 1586 1587 /** 1588 * @brief NRFX_UARTE0_ENABLED 1589 * 1590 * Boolean. Accepted values: 0 and 1. 1591 */ 1592 #ifndef NRFX_UARTE0_ENABLED 1593 #define NRFX_UARTE0_ENABLED 0 1594 #endif 1595 1596 /** 1597 * @brief NRFX_WDT_ENABLED 1598 * 1599 * Boolean. Accepted values: 0 and 1. 1600 */ 1601 #ifndef NRFX_WDT_ENABLED 1602 #define NRFX_WDT_ENABLED 0 1603 #endif 1604 1605 /** 1606 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1607 * 1608 * Integer value. Minimum: 0. Maximum: 7. 1609 */ 1610 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1611 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1612 #endif 1613 1614 /** 1615 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1616 * 1617 * Boolean. Accepted values: 0 and 1. 1618 */ 1619 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1620 #define NRFX_WDT_CONFIG_NO_IRQ 0 1621 #endif 1622 1623 /** 1624 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 1625 * 1626 * Boolean. Accepted values: 0 and 1. 1627 */ 1628 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1629 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1630 #endif 1631 1632 /** 1633 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 1634 * 1635 * Integer value. 1636 * Supported values: 1637 * - Off = 0 1638 * - Error = 1 1639 * - Warning = 2 1640 * - Info = 3 1641 * - Debug = 4 1642 */ 1643 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1644 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1645 #endif 1646 1647 #endif // NRFX_CONFIG_NRF52832_H__ 1648