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