1 /* 2 * Copyright (c) 2019 - 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_NRF5340_APPLICATION_H__ 35 #define NRFX_CONFIG_NRF5340_APPLICATION_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 * The MDK provides macros for accessing the peripheral register structures 43 * by using their secure and non-secure address mappings (with the names 44 * containing the suffix _S or _NS, respectively). Because the nrfx drivers 45 * use the macros without any suffixes, you must translate the names. 46 * The following section provides configuration for the name translation. 47 * It must be modified to reflect the actual configuration set in NRF_SPU. 48 */ 49 #define NRF_CLOCK NRF_CLOCK_S 50 #define NRF_COMP NRF_COMP_S 51 #define NRF_DCNF NRF_DCNF_S 52 #define NRF_DPPIC NRF_DPPIC_S 53 #define NRF_EGU0 NRF_EGU0_S 54 #define NRF_EGU1 NRF_EGU1_S 55 #define NRF_EGU2 NRF_EGU2_S 56 #define NRF_EGU3 NRF_EGU3_S 57 #define NRF_EGU4 NRF_EGU4_S 58 #define NRF_EGU5 NRF_EGU5_S 59 #define NRF_FPU NRF_FPU_S 60 #define NRF_I2S0 NRF_I2S0_S 61 #define NRF_IPC NRF_IPC_S 62 #define NRF_KMU NRF_KMU_S 63 #define NRF_LPCOMP NRF_LPCOMP_S 64 #define NRF_MUTEX NRF_MUTEX_S 65 #define NRF_NFCT NRF_NFCT_S 66 #define NRF_NVMC NRF_NVMC_S 67 #define NRF_OSCILLATORS NRF_OSCILLATORS_S 68 #define NRF_P0 NRF_P0_S 69 #define NRF_P1 NRF_P1_S 70 #define NRF_PDM0 NRF_PDM0_S 71 #define NRF_POWER NRF_POWER_S 72 #define NRF_PWM0 NRF_PWM0_S 73 #define NRF_PWM1 NRF_PWM1_S 74 #define NRF_PWM2 NRF_PWM2_S 75 #define NRF_PWM3 NRF_PWM3_S 76 #define NRF_QDEC0 NRF_QDEC0_S 77 #define NRF_QDEC1 NRF_QDEC1_S 78 #define NRF_QSPI NRF_QSPI_S 79 #define NRF_REGULATORS NRF_REGULATORS_S 80 #define NRF_RESET NRF_RESET_S 81 #define NRF_RTC0 NRF_RTC0_S 82 #define NRF_RTC1 NRF_RTC1_S 83 #define NRF_SAADC NRF_SAADC_S 84 #define NRF_SPIM0 NRF_SPIM0_S 85 #define NRF_SPIM1 NRF_SPIM1_S 86 #define NRF_SPIM2 NRF_SPIM2_S 87 #define NRF_SPIM3 NRF_SPIM3_S 88 #define NRF_SPIM4 NRF_SPIM4_S 89 #define NRF_SPIS0 NRF_SPIS0_S 90 #define NRF_SPIS1 NRF_SPIS1_S 91 #define NRF_SPIS2 NRF_SPIS2_S 92 #define NRF_SPIS3 NRF_SPIS3_S 93 #define NRF_TIMER0 NRF_TIMER0_S 94 #define NRF_TIMER1 NRF_TIMER1_S 95 #define NRF_TIMER2 NRF_TIMER2_S 96 #define NRF_TWIM0 NRF_TWIM0_S 97 #define NRF_TWIM1 NRF_TWIM1_S 98 #define NRF_TWIM2 NRF_TWIM2_S 99 #define NRF_TWIM3 NRF_TWIM3_S 100 #define NRF_TWIS0 NRF_TWIS0_S 101 #define NRF_TWIS1 NRF_TWIS1_S 102 #define NRF_TWIS2 NRF_TWIS2_S 103 #define NRF_TWIS3 NRF_TWIS3_S 104 #define NRF_UARTE0 NRF_UARTE0_S 105 #define NRF_UARTE1 NRF_UARTE1_S 106 #define NRF_UARTE2 NRF_UARTE2_S 107 #define NRF_UARTE3 NRF_UARTE3_S 108 #define NRF_USBD NRF_USBD_S 109 #define NRF_USBREGULATOR NRF_USBREGULATOR_S 110 #define NRF_VMC NRF_VMC_S 111 #define NRF_WDT0 NRF_WDT0_S 112 #define NRF_WDT1 NRF_WDT1_S 113 114 /* 115 * The following section provides the name translation for peripherals with 116 * only one type of access available. For these peripherals, you cannot choose 117 * between secure and non-secure mapping. 118 */ 119 #if !defined(NRF_TRUSTZONE_NONSECURE) 120 #define NRF_CACHE NRF_CACHE_S 121 #define NRF_CACHEINFO NRF_CACHEINFO_S 122 #define NRF_CACHEDATA NRF_CACHEDATA_S 123 #define NRF_CRYPTOCELL NRF_CRYPTOCELL_S 124 #define NRF_CTI NRF_CTI_S 125 #define NRF_FICR NRF_FICR_S 126 #define NRF_SPU NRF_SPU_S 127 #define NRF_TAD NRF_TAD_S 128 #define NRF_UICR NRF_UICR_S 129 #endif 130 131 /* Fixups for the GPIOTE driver. */ 132 #define NRF_GPIOTE0 NRF_GPIOTE0_S 133 #define NRF_GPIOTE1 NRF_GPIOTE1_NS 134 135 /** 136 * @brief NRFX_DEFAULT_IRQ_PRIORITY 137 * 138 * Integer value. Minimum: 0. Maximum: 7. 139 */ 140 #ifndef NRFX_DEFAULT_IRQ_PRIORITY 141 #define NRFX_DEFAULT_IRQ_PRIORITY 7 142 #endif 143 144 /** 145 * @brief NRFX_CLOCK_ENABLED 146 * 147 * Boolean. Accepted values: 0 and 1. 148 */ 149 #ifndef NRFX_CLOCK_ENABLED 150 #define NRFX_CLOCK_ENABLED 0 151 #endif 152 153 /** 154 * @brief NRFX_CLOCK_CONFIG_HFCLK192M_SRC 155 * 156 * Integer value. 157 * Supported values: 158 * - HFINT = 0 159 * - HFXO = 1 160 */ 161 #ifndef NRFX_CLOCK_CONFIG_HFCLK192M_SRC 162 #define NRFX_CLOCK_CONFIG_HFCLK192M_SRC 1 163 #endif 164 165 /** 166 * @brief NRFX_CLOCK_CONFIG_LF_SRC 167 * 168 * Integer value. 169 * Supported values: 170 * - RC = 1 171 * - XTAL = 2 172 * - Synth = 3 173 */ 174 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 175 #define NRFX_CLOCK_CONFIG_LF_SRC 2 176 #endif 177 178 /** 179 * @brief NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 180 * 181 * Boolean. Accepted values: 0 and 1. 182 */ 183 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 184 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0 185 #endif 186 187 /** 188 * @brief NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 189 * 190 * Boolean. Accepted values: 0 and 1. 191 */ 192 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 193 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0 194 #endif 195 196 /** 197 * @brief NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 198 * 199 * Integer value. Minimum: 0. Maximum: 7. 200 */ 201 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 202 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 203 #endif 204 205 /** 206 * @brief NRFX_CLOCK_CONFIG_LOG_ENABLED 207 * 208 * Boolean. Accepted values: 0 and 1. 209 */ 210 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 211 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 212 #endif 213 214 /** 215 * @brief NRFX_CLOCK_CONFIG_LOG_LEVEL 216 * 217 * Integer value. 218 * Supported values: 219 * - Off = 0 220 * - Error = 1 221 * - Warning = 2 222 * - Info = 3 223 * - Debug = 4 224 */ 225 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 226 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 227 #endif 228 229 /** 230 * @brief NRFX_COMP_ENABLED 231 * 232 * Boolean. Accepted values: 0 and 1. 233 */ 234 #ifndef NRFX_COMP_ENABLED 235 #define NRFX_COMP_ENABLED 0 236 #endif 237 238 /** 239 * @brief NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 240 * 241 * Integer value. Minimum: 0. Maximum: 7. 242 */ 243 #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 244 #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 245 #endif 246 247 /** 248 * @brief NRFX_COMP_CONFIG_LOG_ENABLED 249 * 250 * Boolean. Accepted values: 0 and 1. 251 */ 252 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED 253 #define NRFX_COMP_CONFIG_LOG_ENABLED 0 254 #endif 255 256 /** 257 * @brief NRFX_COMP_CONFIG_LOG_LEVEL 258 * 259 * Integer value. 260 * Supported values: 261 * - Off = 0 262 * - Error = 1 263 * - Warning = 2 264 * - Info = 3 265 * - Debug = 4 266 */ 267 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL 268 #define NRFX_COMP_CONFIG_LOG_LEVEL 3 269 #endif 270 271 /** 272 * @brief NRFX_DPPI_ENABLED 273 * 274 * Boolean. Accepted values: 0 and 1. 275 */ 276 #ifndef NRFX_DPPI_ENABLED 277 #define NRFX_DPPI_ENABLED 0 278 #endif 279 280 /** 281 * @brief NRFX_DPPI_CONFIG_LOG_ENABLED 282 * 283 * Boolean. Accepted values: 0 and 1. 284 */ 285 #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED 286 #define NRFX_DPPI_CONFIG_LOG_ENABLED 0 287 #endif 288 289 /** 290 * @brief NRFX_DPPI_CONFIG_LOG_LEVEL 291 * 292 * Integer value. 293 * Supported values: 294 * - Off = 0 295 * - Error = 1 296 * - Warning = 2 297 * - Info = 3 298 * - Debug = 4 299 */ 300 #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL 301 #define NRFX_DPPI_CONFIG_LOG_LEVEL 3 302 #endif 303 304 /** 305 * @brief NRFX_EGU_ENABLED 306 * 307 * Boolean. Accepted values: 0 and 1. 308 */ 309 #ifndef NRFX_EGU_ENABLED 310 #define NRFX_EGU_ENABLED 0 311 #endif 312 313 /** 314 * @brief NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 315 * 316 * Integer value. Minimum: 0. Maximum: 7. 317 */ 318 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 319 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 320 #endif 321 322 /** 323 * @brief NRFX_EGU0_ENABLED 324 * 325 * Boolean. Accepted values: 0 and 1. 326 */ 327 #ifndef NRFX_EGU0_ENABLED 328 #define NRFX_EGU0_ENABLED 0 329 #endif 330 331 /** 332 * @brief NRFX_EGU1_ENABLED 333 * 334 * Boolean. Accepted values: 0 and 1. 335 */ 336 #ifndef NRFX_EGU1_ENABLED 337 #define NRFX_EGU1_ENABLED 0 338 #endif 339 340 /** 341 * @brief NRFX_EGU2_ENABLED 342 * 343 * Boolean. Accepted values: 0 and 1. 344 */ 345 #ifndef NRFX_EGU2_ENABLED 346 #define NRFX_EGU2_ENABLED 0 347 #endif 348 349 /** 350 * @brief NRFX_EGU3_ENABLED 351 * 352 * Boolean. Accepted values: 0 and 1. 353 */ 354 #ifndef NRFX_EGU3_ENABLED 355 #define NRFX_EGU3_ENABLED 0 356 #endif 357 358 /** 359 * @brief NRFX_EGU4_ENABLED 360 * 361 * Boolean. Accepted values: 0 and 1. 362 */ 363 #ifndef NRFX_EGU4_ENABLED 364 #define NRFX_EGU4_ENABLED 0 365 #endif 366 367 /** 368 * @brief NRFX_EGU5_ENABLED 369 * 370 * Boolean. Accepted values: 0 and 1. 371 */ 372 #ifndef NRFX_EGU5_ENABLED 373 #define NRFX_EGU5_ENABLED 0 374 #endif 375 376 /** 377 * @brief NRFX_GPIOTE_ENABLED 378 * 379 * Boolean. Accepted values: 0 and 1. 380 */ 381 #ifndef NRFX_GPIOTE_ENABLED 382 #define NRFX_GPIOTE_ENABLED 0 383 #endif 384 385 /** 386 * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 387 * 388 * Integer value. Minimum: 0. Maximum: 7. 389 */ 390 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 391 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 392 #endif 393 394 /** 395 * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 396 * 397 * Integer value. Minimum: 0. Maximum: 15. 398 */ 399 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 400 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 2 401 #endif 402 403 /** 404 * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED 405 * 406 * Boolean. Accepted values: 0 and 1. 407 */ 408 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 409 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 410 #endif 411 412 /** 413 * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL 414 * 415 * Integer value. 416 * Supported values: 417 * - Off = 0 418 * - Error = 1 419 * - Warning = 2 420 * - Info = 3 421 * - Debug = 4 422 */ 423 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 424 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 425 #endif 426 427 /** 428 * @brief NRFX_GPIOTE0_ENABLED 429 * 430 * Boolean. Accepted values: 0 and 1. 431 */ 432 #ifndef NRFX_GPIOTE0_ENABLED 433 #define NRFX_GPIOTE0_ENABLED 0 434 #endif 435 436 /** 437 * @brief NRFX_GPIOTE1_ENABLED 438 * 439 * Boolean. Accepted values: 0 and 1. 440 */ 441 #ifndef NRFX_GPIOTE1_ENABLED 442 #define NRFX_GPIOTE1_ENABLED 0 443 #endif 444 445 /** 446 * @brief NRFX_I2S_ENABLED 447 * 448 * Boolean. Accepted values: 0 and 1. 449 */ 450 #ifndef NRFX_I2S_ENABLED 451 #define NRFX_I2S_ENABLED 0 452 #endif 453 454 /** 455 * @brief NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 456 * 457 * Integer value. Minimum: 0. Maximum: 7. 458 */ 459 #ifndef NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 460 #define NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 461 #endif 462 463 /** 464 * @brief NRFX_I2S_CONFIG_LOG_ENABLED 465 * 466 * Boolean. Accepted values: 0 and 1. 467 */ 468 #ifndef NRFX_I2S_CONFIG_LOG_ENABLED 469 #define NRFX_I2S_CONFIG_LOG_ENABLED 0 470 #endif 471 472 /** 473 * @brief NRFX_I2S_CONFIG_LOG_LEVEL 474 * 475 * Integer value. 476 * Supported values: 477 * - Off = 0 478 * - Error = 1 479 * - Warning = 2 480 * - Info = 3 481 * - Debug = 4 482 */ 483 #ifndef NRFX_I2S_CONFIG_LOG_LEVEL 484 #define NRFX_I2S_CONFIG_LOG_LEVEL 3 485 #endif 486 487 /** 488 * @brief NRFX_I2S0_ENABLED 489 * 490 * Boolean. Accepted values: 0 and 1. 491 */ 492 #ifndef NRFX_I2S0_ENABLED 493 #define NRFX_I2S0_ENABLED 0 494 #endif 495 496 /** 497 * @brief NRFX_IPC_ENABLED 498 * 499 * Boolean. Accepted values: 0 and 1. 500 */ 501 #ifndef NRFX_IPC_ENABLED 502 #define NRFX_IPC_ENABLED 0 503 #endif 504 505 /** 506 * @brief NRFX_LPCOMP_ENABLED 507 * 508 * Boolean. Accepted values: 0 and 1. 509 */ 510 #ifndef NRFX_LPCOMP_ENABLED 511 #define NRFX_LPCOMP_ENABLED 0 512 #endif 513 514 /** 515 * @brief NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 516 * 517 * Integer value. Minimum: 0. Maximum: 7. 518 */ 519 #ifndef NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 520 #define NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 521 #endif 522 523 /** 524 * @brief NRFX_LPCOMP_CONFIG_LOG_ENABLED 525 * 526 * Boolean. Accepted values: 0 and 1. 527 */ 528 #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED 529 #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0 530 #endif 531 532 /** 533 * @brief NRFX_LPCOMP_CONFIG_LOG_LEVEL 534 * 535 * Integer value. 536 * Supported values: 537 * - Off = 0 538 * - Error = 1 539 * - Warning = 2 540 * - Info = 3 541 * - Debug = 4 542 */ 543 #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL 544 #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3 545 #endif 546 547 /** 548 * @brief NRFX_NFCT_ENABLED 549 * 550 * Boolean. Accepted values: 0 and 1. 551 */ 552 #ifndef NRFX_NFCT_ENABLED 553 #define NRFX_NFCT_ENABLED 0 554 #endif 555 556 /** 557 * @brief NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 558 * 559 * Integer value. Minimum: 0. Maximum: 7. 560 */ 561 #ifndef NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 562 #define NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 563 #endif 564 565 /** 566 * @brief NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID - Timer instance used for workarounds in the driver. 567 * 568 * Integer value. Minimum: 0. Maximum: 5. 569 */ 570 #ifndef NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 571 #define NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 2 572 #endif 573 574 /** 575 * @brief NRFX_NFCT_CONFIG_LOG_ENABLED 576 * 577 * Boolean. Accepted values: 0 and 1. 578 */ 579 #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED 580 #define NRFX_NFCT_CONFIG_LOG_ENABLED 0 581 #endif 582 583 /** 584 * @brief NRFX_NFCT_CONFIG_LOG_LEVEL 585 * 586 * Integer value. 587 * Supported values: 588 * - Off = 0 589 * - Error = 1 590 * - Warning = 2 591 * - Info = 3 592 * - Debug = 4 593 */ 594 #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL 595 #define NRFX_NFCT_CONFIG_LOG_LEVEL 3 596 #endif 597 598 /** 599 * @brief NRFX_NVMC_ENABLED 600 * 601 * Boolean. Accepted values: 0 and 1. 602 */ 603 #ifndef NRFX_NVMC_ENABLED 604 #define NRFX_NVMC_ENABLED 0 605 #endif 606 607 /** 608 * @brief NRFX_PDM_ENABLED 609 * 610 * Boolean. Accepted values: 0 and 1. 611 */ 612 #ifndef NRFX_PDM_ENABLED 613 #define NRFX_PDM_ENABLED 0 614 #endif 615 616 /** 617 * @brief NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 618 * 619 * Integer value. Minimum: 0. Maximum: 7. 620 */ 621 #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 622 #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 623 #endif 624 625 /** 626 * @brief NRFX_PDM_CONFIG_LOG_ENABLED 627 * 628 * Boolean. Accepted values: 0 and 1. 629 */ 630 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED 631 #define NRFX_PDM_CONFIG_LOG_ENABLED 0 632 #endif 633 634 /** 635 * @brief NRFX_PDM_CONFIG_LOG_LEVEL 636 * 637 * Integer value. 638 * Supported values: 639 * - Off = 0 640 * - Error = 1 641 * - Warning = 2 642 * - Info = 3 643 * - Debug = 4 644 */ 645 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL 646 #define NRFX_PDM_CONFIG_LOG_LEVEL 3 647 #endif 648 649 /** 650 * @brief NRFX_POWER_ENABLED 651 * 652 * Boolean. Accepted values: 0 and 1. 653 */ 654 #ifndef NRFX_POWER_ENABLED 655 #define NRFX_POWER_ENABLED 0 656 #endif 657 658 /** 659 * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 660 * 661 * Integer value. Minimum: 0. Maximum: 7. 662 */ 663 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 664 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 665 #endif 666 667 /** 668 * @brief NRFX_PRS_ENABLED 669 * 670 * Boolean. Accepted values: 0 and 1. 671 */ 672 #ifndef NRFX_PRS_ENABLED 673 #define NRFX_PRS_ENABLED 0 674 #endif 675 676 /** 677 * @brief NRFX_PRS_CONFIG_LOG_ENABLED 678 * 679 * Boolean. Accepted values: 0 and 1. 680 */ 681 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 682 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 683 #endif 684 685 /** 686 * @brief NRFX_PRS_CONFIG_LOG_LEVEL 687 * 688 * Integer value. 689 * Supported values: 690 * - Off = 0 691 * - Error = 1 692 * - Warning = 2 693 * - Info = 3 694 * - Debug = 4 695 */ 696 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 697 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 698 #endif 699 700 /** 701 * @brief NRFX_PRS_BOX_0_ENABLED 702 * 703 * Boolean. Accepted values: 0 and 1. 704 */ 705 #ifndef NRFX_PRS_BOX_0_ENABLED 706 #define NRFX_PRS_BOX_0_ENABLED 0 707 #endif 708 709 /** 710 * @brief NRFX_PRS_BOX_1_ENABLED 711 * 712 * Boolean. Accepted values: 0 and 1. 713 */ 714 #ifndef NRFX_PRS_BOX_1_ENABLED 715 #define NRFX_PRS_BOX_1_ENABLED 0 716 #endif 717 718 /** 719 * @brief NRFX_PRS_BOX_2_ENABLED 720 * 721 * Boolean. Accepted values: 0 and 1. 722 */ 723 #ifndef NRFX_PRS_BOX_2_ENABLED 724 #define NRFX_PRS_BOX_2_ENABLED 0 725 #endif 726 727 /** 728 * @brief NRFX_PRS_BOX_3_ENABLED 729 * 730 * Boolean. Accepted values: 0 and 1. 731 */ 732 #ifndef NRFX_PRS_BOX_3_ENABLED 733 #define NRFX_PRS_BOX_3_ENABLED 0 734 #endif 735 736 /** 737 * @brief NRFX_PRS_BOX_4_ENABLED 738 * 739 * Boolean. Accepted values: 0 and 1. 740 */ 741 #ifndef NRFX_PRS_BOX_4_ENABLED 742 #define NRFX_PRS_BOX_4_ENABLED 0 743 #endif 744 745 /** 746 * @brief NRFX_PWM_ENABLED 747 * 748 * Boolean. Accepted values: 0 and 1. 749 */ 750 #ifndef NRFX_PWM_ENABLED 751 #define NRFX_PWM_ENABLED 0 752 #endif 753 754 /** 755 * @brief NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 756 * 757 * Integer value. Minimum: 0. Maximum: 7. 758 */ 759 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 760 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 761 #endif 762 763 /** 764 * @brief NRFX_PWM_CONFIG_LOG_ENABLED 765 * 766 * Boolean. Accepted values: 0 and 1. 767 */ 768 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED 769 #define NRFX_PWM_CONFIG_LOG_ENABLED 0 770 #endif 771 772 /** 773 * @brief NRFX_PWM_CONFIG_LOG_LEVEL 774 * 775 * Integer value. 776 * Supported values: 777 * - Off = 0 778 * - Error = 1 779 * - Warning = 2 780 * - Info = 3 781 * - Debug = 4 782 */ 783 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 784 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 785 #endif 786 787 /** 788 * @brief NRFX_PWM0_ENABLED 789 * 790 * Boolean. Accepted values: 0 and 1. 791 */ 792 #ifndef NRFX_PWM0_ENABLED 793 #define NRFX_PWM0_ENABLED 0 794 #endif 795 796 /** 797 * @brief NRFX_PWM1_ENABLED 798 * 799 * Boolean. Accepted values: 0 and 1. 800 */ 801 #ifndef NRFX_PWM1_ENABLED 802 #define NRFX_PWM1_ENABLED 0 803 #endif 804 805 /** 806 * @brief NRFX_PWM2_ENABLED 807 * 808 * Boolean. Accepted values: 0 and 1. 809 */ 810 #ifndef NRFX_PWM2_ENABLED 811 #define NRFX_PWM2_ENABLED 0 812 #endif 813 814 /** 815 * @brief NRFX_PWM3_ENABLED 816 * 817 * Boolean. Accepted values: 0 and 1. 818 */ 819 #ifndef NRFX_PWM3_ENABLED 820 #define NRFX_PWM3_ENABLED 0 821 #endif 822 823 /** 824 * @brief NRFX_QDEC_ENABLED 825 * 826 * Boolean. Accepted values: 0 and 1. 827 */ 828 #ifndef NRFX_QDEC_ENABLED 829 #define NRFX_QDEC_ENABLED 0 830 #endif 831 832 /** 833 * @brief NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 834 * 835 * Integer value. Minimum: 0. Maximum: 7. 836 */ 837 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 838 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 839 #endif 840 841 /** 842 * @brief NRFX_QDEC_CONFIG_LOG_ENABLED 843 * 844 * Boolean. Accepted values: 0 and 1. 845 */ 846 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 847 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 848 #endif 849 850 /** 851 * @brief NRFX_QDEC_CONFIG_LOG_LEVEL 852 * 853 * Integer value. 854 * Supported values: 855 * - Off = 0 856 * - Error = 1 857 * - Warning = 2 858 * - Info = 3 859 * - Debug = 4 860 */ 861 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 862 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 863 #endif 864 865 /** 866 * @brief NRFX_QDEC0_ENABLED 867 * 868 * Boolean. Accepted values: 0 and 1. 869 */ 870 #ifndef NRFX_QDEC0_ENABLED 871 #define NRFX_QDEC0_ENABLED 0 872 #endif 873 874 /** 875 * @brief NRFX_QDEC1_ENABLED 876 * 877 * Boolean. Accepted values: 0 and 1. 878 */ 879 #ifndef NRFX_QDEC1_ENABLED 880 #define NRFX_QDEC1_ENABLED 0 881 #endif 882 883 /** 884 * @brief NRFX_QSPI_ENABLED 885 * 886 * Boolean. Accepted values: 0 and 1. 887 */ 888 #ifndef NRFX_QSPI_ENABLED 889 #define NRFX_QSPI_ENABLED 0 890 #endif 891 892 /** 893 * @brief NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 894 * 895 * Integer value. Minimum: 0. Maximum: 7. 896 */ 897 #ifndef NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 898 #define NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 899 #endif 900 901 /** 902 * @brief NRFX_RTC_ENABLED 903 * 904 * Boolean. Accepted values: 0 and 1. 905 */ 906 #ifndef NRFX_RTC_ENABLED 907 #define NRFX_RTC_ENABLED 0 908 #endif 909 910 /** 911 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 912 * 913 * Integer value. Minimum: 0. Maximum: 7. 914 */ 915 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 916 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 917 #endif 918 919 /** 920 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 921 * 922 * Boolean. Accepted values: 0 and 1. 923 */ 924 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 925 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 926 #endif 927 928 /** 929 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 930 * 931 * Integer value. 932 * Supported values: 933 * - Off = 0 934 * - Error = 1 935 * - Warning = 2 936 * - Info = 3 937 * - Debug = 4 938 */ 939 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 940 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 941 #endif 942 943 /** 944 * @brief NRFX_RTC0_ENABLED 945 * 946 * Boolean. Accepted values: 0 and 1. 947 */ 948 #ifndef NRFX_RTC0_ENABLED 949 #define NRFX_RTC0_ENABLED 0 950 #endif 951 952 /** 953 * @brief NRFX_RTC1_ENABLED 954 * 955 * Boolean. Accepted values: 0 and 1. 956 */ 957 #ifndef NRFX_RTC1_ENABLED 958 #define NRFX_RTC1_ENABLED 0 959 #endif 960 961 /** 962 * @brief NRFX_SAADC_ENABLED 963 * 964 * Boolean. Accepted values: 0 and 1. 965 */ 966 #ifndef NRFX_SAADC_ENABLED 967 #define NRFX_SAADC_ENABLED 0 968 #endif 969 970 /** 971 * @brief NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 972 * 973 * Integer value. Minimum: 0. Maximum: 7. 974 */ 975 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 976 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 977 #endif 978 979 /** 980 * @brief NRFX_SAADC_CONFIG_LOG_ENABLED 981 * 982 * Boolean. Accepted values: 0 and 1. 983 */ 984 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 985 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 986 #endif 987 988 /** 989 * @brief NRFX_SAADC_CONFIG_LOG_LEVEL 990 * 991 * Integer value. 992 * Supported values: 993 * - Off = 0 994 * - Error = 1 995 * - Warning = 2 996 * - Info = 3 997 * - Debug = 4 998 */ 999 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 1000 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 1001 #endif 1002 1003 /** 1004 * @brief NRFX_SPIM_ENABLED 1005 * 1006 * Boolean. Accepted values: 0 and 1. 1007 */ 1008 #ifndef NRFX_SPIM_ENABLED 1009 #define NRFX_SPIM_ENABLED 0 1010 #endif 1011 1012 /** 1013 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 1014 * 1015 * Integer value. Minimum: 0. Maximum: 7. 1016 */ 1017 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 1018 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1019 #endif 1020 1021 /** 1022 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 1023 * 1024 * Boolean. Accepted values: 0 and 1. 1025 */ 1026 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 1027 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 1028 #endif 1029 1030 /** 1031 * @brief NRFX_SPIM_CONFIG_LOG_LEVEL 1032 * 1033 * Integer value. 1034 * Supported values: 1035 * - Off = 0 1036 * - Error = 1 1037 * - Warning = 2 1038 * - Info = 3 1039 * - Debug = 4 1040 */ 1041 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 1042 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 1043 #endif 1044 1045 /** 1046 * @brief NRFX_SPIM0_ENABLED 1047 * 1048 * Boolean. Accepted values: 0 and 1. 1049 */ 1050 #ifndef NRFX_SPIM0_ENABLED 1051 #define NRFX_SPIM0_ENABLED 0 1052 #endif 1053 1054 /** 1055 * @brief NRFX_SPIM1_ENABLED 1056 * 1057 * Boolean. Accepted values: 0 and 1. 1058 */ 1059 #ifndef NRFX_SPIM1_ENABLED 1060 #define NRFX_SPIM1_ENABLED 0 1061 #endif 1062 1063 /** 1064 * @brief NRFX_SPIM4_ENABLED 1065 * 1066 * Boolean. Accepted values: 0 and 1. 1067 */ 1068 #ifndef NRFX_SPIM4_ENABLED 1069 #define NRFX_SPIM4_ENABLED 0 1070 #endif 1071 1072 /** 1073 * @brief NRFX_SPIM2_ENABLED 1074 * 1075 * Boolean. Accepted values: 0 and 1. 1076 */ 1077 #ifndef NRFX_SPIM2_ENABLED 1078 #define NRFX_SPIM2_ENABLED 0 1079 #endif 1080 1081 /** 1082 * @brief NRFX_SPIM3_ENABLED 1083 * 1084 * Boolean. Accepted values: 0 and 1. 1085 */ 1086 #ifndef NRFX_SPIM3_ENABLED 1087 #define NRFX_SPIM3_ENABLED 0 1088 #endif 1089 1090 /** 1091 * @brief NRFX_SPIS_ENABLED 1092 * 1093 * Boolean. Accepted values: 0 and 1. 1094 */ 1095 #ifndef NRFX_SPIS_ENABLED 1096 #define NRFX_SPIS_ENABLED 0 1097 #endif 1098 1099 /** 1100 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1101 * 1102 * Integer value. Minimum: 0. Maximum: 7. 1103 */ 1104 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1105 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1106 #endif 1107 1108 /** 1109 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 1110 * 1111 * Boolean. Accepted values: 0 and 1. 1112 */ 1113 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 1114 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 1115 #endif 1116 1117 /** 1118 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 1119 * 1120 * Integer value. 1121 * Supported values: 1122 * - Off = 0 1123 * - Error = 1 1124 * - Warning = 2 1125 * - Info = 3 1126 * - Debug = 4 1127 */ 1128 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 1129 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 1130 #endif 1131 1132 /** 1133 * @brief NRFX_SPIS0_ENABLED 1134 * 1135 * Boolean. Accepted values: 0 and 1. 1136 */ 1137 #ifndef NRFX_SPIS0_ENABLED 1138 #define NRFX_SPIS0_ENABLED 0 1139 #endif 1140 1141 /** 1142 * @brief NRFX_SPIS1_ENABLED 1143 * 1144 * Boolean. Accepted values: 0 and 1. 1145 */ 1146 #ifndef NRFX_SPIS1_ENABLED 1147 #define NRFX_SPIS1_ENABLED 0 1148 #endif 1149 1150 /** 1151 * @brief NRFX_SPIS2_ENABLED 1152 * 1153 * Boolean. Accepted values: 0 and 1. 1154 */ 1155 #ifndef NRFX_SPIS2_ENABLED 1156 #define NRFX_SPIS2_ENABLED 0 1157 #endif 1158 1159 /** 1160 * @brief NRFX_SPIS3_ENABLED 1161 * 1162 * Boolean. Accepted values: 0 and 1. 1163 */ 1164 #ifndef NRFX_SPIS3_ENABLED 1165 #define NRFX_SPIS3_ENABLED 0 1166 #endif 1167 1168 /** 1169 * @brief NRFX_SYSTICK_ENABLED 1170 * 1171 * Boolean. Accepted values: 0 and 1. 1172 */ 1173 #ifndef NRFX_SYSTICK_ENABLED 1174 #define NRFX_SYSTICK_ENABLED 0 1175 #endif 1176 1177 /** 1178 * @brief NRFX_TIMER_ENABLED 1179 * 1180 * Boolean. Accepted values: 0 and 1. 1181 */ 1182 #ifndef NRFX_TIMER_ENABLED 1183 #define NRFX_TIMER_ENABLED 0 1184 #endif 1185 1186 /** 1187 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1188 * 1189 * Integer value. Minimum: 0. Maximum: 7. 1190 */ 1191 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1192 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1193 #endif 1194 1195 /** 1196 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 1197 * 1198 * Boolean. Accepted values: 0 and 1. 1199 */ 1200 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 1201 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 1202 #endif 1203 1204 /** 1205 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 1206 * 1207 * Integer value. 1208 * Supported values: 1209 * - Off = 0 1210 * - Error = 1 1211 * - Warning = 2 1212 * - Info = 3 1213 * - Debug = 4 1214 */ 1215 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 1216 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 1217 #endif 1218 1219 /** 1220 * @brief NRFX_TIMER0_ENABLED 1221 * 1222 * Boolean. Accepted values: 0 and 1. 1223 */ 1224 #ifndef NRFX_TIMER0_ENABLED 1225 #define NRFX_TIMER0_ENABLED 0 1226 #endif 1227 1228 /** 1229 * @brief NRFX_TIMER1_ENABLED 1230 * 1231 * Boolean. Accepted values: 0 and 1. 1232 */ 1233 #ifndef NRFX_TIMER1_ENABLED 1234 #define NRFX_TIMER1_ENABLED 0 1235 #endif 1236 1237 /** 1238 * @brief NRFX_TIMER2_ENABLED 1239 * 1240 * Boolean. Accepted values: 0 and 1. 1241 */ 1242 #ifndef NRFX_TIMER2_ENABLED 1243 #define NRFX_TIMER2_ENABLED 0 1244 #endif 1245 1246 /** 1247 * @brief NRFX_TWIM_ENABLED 1248 * 1249 * Boolean. Accepted values: 0 and 1. 1250 */ 1251 #ifndef NRFX_TWIM_ENABLED 1252 #define NRFX_TWIM_ENABLED 0 1253 #endif 1254 1255 /** 1256 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1257 * 1258 * Integer value. Minimum: 0. Maximum: 7. 1259 */ 1260 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1261 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1262 #endif 1263 1264 /** 1265 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 1266 * 1267 * Boolean. Accepted values: 0 and 1. 1268 */ 1269 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 1270 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 1271 #endif 1272 1273 /** 1274 * @brief NRFX_TWIM_CONFIG_LOG_LEVEL 1275 * 1276 * Integer value. 1277 * Supported values: 1278 * - Off = 0 1279 * - Error = 1 1280 * - Warning = 2 1281 * - Info = 3 1282 * - Debug = 4 1283 */ 1284 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 1285 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 1286 #endif 1287 1288 /** 1289 * @brief NRFX_TWIM0_ENABLED 1290 * 1291 * Boolean. Accepted values: 0 and 1. 1292 */ 1293 #ifndef NRFX_TWIM0_ENABLED 1294 #define NRFX_TWIM0_ENABLED 0 1295 #endif 1296 1297 /** 1298 * @brief NRFX_TWIM1_ENABLED 1299 * 1300 * Boolean. Accepted values: 0 and 1. 1301 */ 1302 #ifndef NRFX_TWIM1_ENABLED 1303 #define NRFX_TWIM1_ENABLED 0 1304 #endif 1305 1306 /** 1307 * @brief NRFX_TWIM2_ENABLED 1308 * 1309 * Boolean. Accepted values: 0 and 1. 1310 */ 1311 #ifndef NRFX_TWIM2_ENABLED 1312 #define NRFX_TWIM2_ENABLED 0 1313 #endif 1314 1315 /** 1316 * @brief NRFX_TWIM3_ENABLED 1317 * 1318 * Boolean. Accepted values: 0 and 1. 1319 */ 1320 #ifndef NRFX_TWIM3_ENABLED 1321 #define NRFX_TWIM3_ENABLED 0 1322 #endif 1323 1324 /** 1325 * @brief NRFX_TWIS_ENABLED 1326 * 1327 * Boolean. Accepted values: 0 and 1. 1328 */ 1329 #ifndef NRFX_TWIS_ENABLED 1330 #define NRFX_TWIS_ENABLED 0 1331 #endif 1332 1333 /** 1334 * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1335 * 1336 * Integer value. Minimum: 0. Maximum: 7. 1337 */ 1338 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1339 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1340 #endif 1341 1342 /** 1343 * @brief NRFX_TWIS_CONFIG_LOG_ENABLED 1344 * 1345 * Boolean. Accepted values: 0 and 1. 1346 */ 1347 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1348 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1349 #endif 1350 1351 /** 1352 * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once. 1353 * 1354 * Boolean. Accepted values: 0 and 1. 1355 */ 1356 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1357 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1358 #endif 1359 1360 /** 1361 * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode. 1362 * 1363 * Boolean. Accepted values: 0 and 1. 1364 */ 1365 #ifndef NRFX_TWIS_NO_SYNC_MODE 1366 #define NRFX_TWIS_NO_SYNC_MODE 0 1367 #endif 1368 1369 /** 1370 * @brief NRFX_TWIS_CONFIG_LOG_LEVEL 1371 * 1372 * Integer value. 1373 * Supported values: 1374 * - Off = 0 1375 * - Error = 1 1376 * - Warning = 2 1377 * - Info = 3 1378 * - Debug = 4 1379 */ 1380 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1381 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1382 #endif 1383 1384 /** 1385 * @brief NRFX_TWIS0_ENABLED 1386 * 1387 * Boolean. Accepted values: 0 and 1. 1388 */ 1389 #ifndef NRFX_TWIS0_ENABLED 1390 #define NRFX_TWIS0_ENABLED 0 1391 #endif 1392 1393 /** 1394 * @brief NRFX_TWIS1_ENABLED 1395 * 1396 * Boolean. Accepted values: 0 and 1. 1397 */ 1398 #ifndef NRFX_TWIS1_ENABLED 1399 #define NRFX_TWIS1_ENABLED 0 1400 #endif 1401 1402 /** 1403 * @brief NRFX_TWIS2_ENABLED 1404 * 1405 * Boolean. Accepted values: 0 and 1. 1406 */ 1407 #ifndef NRFX_TWIS2_ENABLED 1408 #define NRFX_TWIS2_ENABLED 0 1409 #endif 1410 1411 /** 1412 * @brief NRFX_TWIS3_ENABLED 1413 * 1414 * Boolean. Accepted values: 0 and 1. 1415 */ 1416 #ifndef NRFX_TWIS3_ENABLED 1417 #define NRFX_TWIS3_ENABLED 0 1418 #endif 1419 1420 /** 1421 * @brief NRFX_UARTE_ENABLED 1422 * 1423 * Boolean. Accepted values: 0 and 1. 1424 */ 1425 #ifndef NRFX_UARTE_ENABLED 1426 #define NRFX_UARTE_ENABLED 0 1427 #endif 1428 1429 /** 1430 * @brief NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG - If enabled, support for configuring GPIO pins is removed from the driver 1431 * 1432 * Boolean. Accepted values: 0 and 1. 1433 */ 1434 #ifndef NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG 1435 #define NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG 0 1436 #endif 1437 1438 /** 1439 * @brief NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG - If enabled, support for configuring PSEL registers is removed from the driver 1440 * 1441 * Boolean. Accepted values: 0 and 1. 1442 */ 1443 #ifndef NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG 1444 #define NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG 0 1445 #endif 1446 1447 /** 1448 * @brief NRFX_UARTE_CONFIG_TX_LINK - If enabled, driver supports linking of TX transfers. 1449 * 1450 * Boolean. Accepted values: 0 and 1. 1451 */ 1452 #ifndef NRFX_UARTE_CONFIG_TX_LINK 1453 #define NRFX_UARTE_CONFIG_TX_LINK 1 1454 #endif 1455 1456 /** 1457 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1458 * 1459 * Integer value. Minimum: 0. Maximum: 7. 1460 */ 1461 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1462 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1463 #endif 1464 1465 /** 1466 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 1467 * 1468 * Boolean. Accepted values: 0 and 1. 1469 */ 1470 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1471 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1472 #endif 1473 1474 /** 1475 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 1476 * 1477 * Integer value. 1478 * Supported values: 1479 * - Off = 0 1480 * - Error = 1 1481 * - Warning = 2 1482 * - Info = 3 1483 * - Debug = 4 1484 */ 1485 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1486 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1487 #endif 1488 1489 /** 1490 * @brief NRFX_UARTE0_ENABLED 1491 * 1492 * Boolean. Accepted values: 0 and 1. 1493 */ 1494 #ifndef NRFX_UARTE0_ENABLED 1495 #define NRFX_UARTE0_ENABLED 0 1496 #endif 1497 1498 /** 1499 * @brief NRFX_UARTE1_ENABLED 1500 * 1501 * Boolean. Accepted values: 0 and 1. 1502 */ 1503 #ifndef NRFX_UARTE1_ENABLED 1504 #define NRFX_UARTE1_ENABLED 0 1505 #endif 1506 1507 /** 1508 * @brief NRFX_UARTE2_ENABLED 1509 * 1510 * Boolean. Accepted values: 0 and 1. 1511 */ 1512 #ifndef NRFX_UARTE2_ENABLED 1513 #define NRFX_UARTE2_ENABLED 0 1514 #endif 1515 1516 /** 1517 * @brief NRFX_UARTE3_ENABLED 1518 * 1519 * Boolean. Accepted values: 0 and 1. 1520 */ 1521 #ifndef NRFX_UARTE3_ENABLED 1522 #define NRFX_UARTE3_ENABLED 0 1523 #endif 1524 1525 /** 1526 * @brief NRFX_USBD_ENABLED 1527 * 1528 * Boolean. Accepted values: 0 and 1. 1529 */ 1530 #ifndef NRFX_USBD_ENABLED 1531 #define NRFX_USBD_ENABLED 0 1532 #endif 1533 1534 /** 1535 * @brief NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 1536 * 1537 * Integer value. Minimum: 0. Maximum: 7. 1538 */ 1539 #ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 1540 #define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1541 #endif 1542 1543 /** 1544 * @brief NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers 1545 * 1546 * Boolean. Accepted values: 0 and 1. 1547 */ 1548 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1549 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1 1550 #endif 1551 1552 /** 1553 * @brief NRFX_USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready. 1554 * 1555 * Boolean. Accepted values: 0 and 1. 1556 */ 1557 #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP 1558 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0 1559 #endif 1560 1561 /** 1562 * @brief NRFX_USBD_CONFIG_LOG_ENABLED 1563 * 1564 * Boolean. Accepted values: 0 and 1. 1565 */ 1566 #ifndef NRFX_USBD_CONFIG_LOG_ENABLED 1567 #define NRFX_USBD_CONFIG_LOG_ENABLED 0 1568 #endif 1569 1570 /** 1571 * @brief NRFX_USBD_CONFIG_LOG_LEVEL 1572 * 1573 * Integer value. 1574 * Supported values: 1575 * - Off = 0 1576 * - Error = 1 1577 * - Warning = 2 1578 * - Info = 3 1579 * - Debug = 4 1580 */ 1581 #ifndef NRFX_USBD_CONFIG_LOG_LEVEL 1582 #define NRFX_USBD_CONFIG_LOG_LEVEL 3 1583 #endif 1584 1585 /** 1586 * @brief NRFX_USBREG_ENABLED 1587 * 1588 * Boolean. Accepted values: 0 and 1. 1589 */ 1590 #ifndef NRFX_USBREG_ENABLED 1591 #define NRFX_USBREG_ENABLED 0 1592 #endif 1593 1594 /** 1595 * @brief NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 1596 * 1597 * Integer value. Minimum: 0. Maximum: 7. 1598 */ 1599 #ifndef NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 1600 #define NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1601 #endif 1602 1603 /** 1604 * @brief NRFX_WDT_ENABLED 1605 * 1606 * Boolean. Accepted values: 0 and 1. 1607 */ 1608 #ifndef NRFX_WDT_ENABLED 1609 #define NRFX_WDT_ENABLED 0 1610 #endif 1611 1612 /** 1613 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1614 * 1615 * Integer value. Minimum: 0. Maximum: 7. 1616 */ 1617 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1618 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1619 #endif 1620 1621 /** 1622 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1623 * 1624 * Boolean. Accepted values: 0 and 1. 1625 */ 1626 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1627 #define NRFX_WDT_CONFIG_NO_IRQ 0 1628 #endif 1629 1630 /** 1631 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 1632 * 1633 * Boolean. Accepted values: 0 and 1. 1634 */ 1635 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1636 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1637 #endif 1638 1639 /** 1640 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 1641 * 1642 * Integer value. 1643 * Supported values: 1644 * - Off = 0 1645 * - Error = 1 1646 * - Warning = 2 1647 * - Info = 3 1648 * - Debug = 4 1649 */ 1650 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1651 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1652 #endif 1653 1654 /** 1655 * @brief NRFX_WDT0_ENABLED 1656 * 1657 * Boolean. Accepted values: 0 and 1. 1658 */ 1659 #ifndef NRFX_WDT0_ENABLED 1660 #define NRFX_WDT0_ENABLED 0 1661 #endif 1662 1663 /** 1664 * @brief NRFX_WDT1_ENABLED 1665 * 1666 * Boolean. Accepted values: 0 and 1. 1667 */ 1668 #ifndef NRFX_WDT1_ENABLED 1669 #define NRFX_WDT1_ENABLED 0 1670 #endif 1671 1672 #endif // NRFX_CONFIG_NRF5340_APPLICATION_H__ 1673