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