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