1 /* 2 * Copyright (c) 2019 - 2020, 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 /* Fixup for the QDEC driver. */ 101 #define NRF_QDEC NRF_QDEC0 102 103 /* Fixup for the GPIOTE driver. */ 104 #if defined(NRF_TRUSTZONE_NONSECURE) 105 #define NRF_GPIOTE NRF_GPIOTE1 106 #else 107 #define NRF_GPIOTE NRF_GPIOTE0 108 #endif 109 110 111 // <<< Use Configuration Wizard in Context Menu >>>\n 112 113 // <h> nRF_Drivers 114 115 // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver. 116 //========================================================== 117 #ifndef NRFX_CLOCK_ENABLED 118 #define NRFX_CLOCK_ENABLED 0 119 #endif 120 // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF clock source. 121 122 // <0=> ULP 123 // <1=> RC 124 // <2=> XTAL 125 // <3=> Synth 126 127 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 128 #define NRFX_CLOCK_CONFIG_LF_SRC 2 129 #endif 130 131 // <q> NRFX_CLOCK_CONFIG_LF_CAL_ENABLED - Enables LF Clock Calibration Support 132 133 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 134 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0 135 #endif 136 137 // <q> NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED - Enables two-stage LFXO start procedure 138 139 // <i> If set to a non-zero value, LFRC will be started before LFXO and corresponding 140 // <i> event will be generated. It means that CPU will be woken up when LFRC 141 // <i> oscillator starts, but user callback will be invoked only after LFXO 142 // <i> finally starts. 143 144 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 145 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0 146 #endif 147 148 149 // <o> NRFX_CLOCK_CONFIG_HFCLK192M_SRC - HFCLK192M source. 150 151 // <0=> HFINT 152 // <1=> HFXO 153 154 #ifndef NRFX_CLOCK_CONFIG_HFCLK192M_SRC 155 #define NRFX_CLOCK_CONFIG_HFCLK192M_SRC 1 156 #endif 157 158 // <o> NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 159 160 // <0=> 0 (highest) 161 // <1=> 1 162 // <2=> 2 163 // <3=> 3 164 // <4=> 4 165 // <5=> 5 166 // <6=> 6 167 // <7=> 7 168 169 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 170 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 7 171 #endif 172 173 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module. 174 //========================================================== 175 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 176 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 177 #endif 178 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default severity level. 179 180 // <0=> Off 181 // <1=> Error 182 // <2=> Warning 183 // <3=> Info 184 // <4=> Debug 185 186 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 187 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 188 #endif 189 190 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix. 191 192 // <0=> Default 193 // <1=> Black 194 // <2=> Red 195 // <3=> Green 196 // <4=> Yellow 197 // <5=> Blue 198 // <6=> Magenta 199 // <7=> Cyan 200 // <8=> White 201 202 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR 203 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0 204 #endif 205 206 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 207 208 // <0=> Default 209 // <1=> Black 210 // <2=> Red 211 // <3=> Green 212 // <4=> Yellow 213 // <5=> Blue 214 // <6=> Magenta 215 // <7=> Cyan 216 // <8=> White 217 218 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR 219 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0 220 #endif 221 222 // </e> 223 224 // </e> 225 226 // <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver 227 //========================================================== 228 #ifndef NRFX_COMP_ENABLED 229 #define NRFX_COMP_ENABLED 0 230 #endif 231 232 // <o> NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 233 234 // <0=> 0 (highest) 235 // <1=> 1 236 // <2=> 2 237 // <3=> 3 238 // <4=> 4 239 // <5=> 5 240 // <6=> 6 241 // <7=> 7 242 243 #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 244 #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 7 245 #endif 246 247 // <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module. 248 //========================================================== 249 #ifndef NRFX_COMP_CONFIG_LOG_ENABLED 250 #define NRFX_COMP_CONFIG_LOG_ENABLED 0 251 #endif 252 // <o> NRFX_COMP_CONFIG_LOG_LEVEL - Default Severity level 253 254 // <0=> Off 255 // <1=> Error 256 // <2=> Warning 257 // <3=> Info 258 // <4=> Debug 259 260 #ifndef NRFX_COMP_CONFIG_LOG_LEVEL 261 #define NRFX_COMP_CONFIG_LOG_LEVEL 3 262 #endif 263 264 // <o> NRFX_COMP_CONFIG_INFO_COLOR - ANSI escape code prefix. 265 266 // <0=> Default 267 // <1=> Black 268 // <2=> Red 269 // <3=> Green 270 // <4=> Yellow 271 // <5=> Blue 272 // <6=> Magenta 273 // <7=> Cyan 274 // <8=> White 275 276 #ifndef NRFX_COMP_CONFIG_INFO_COLOR 277 #define NRFX_COMP_CONFIG_INFO_COLOR 0 278 #endif 279 280 // <o> NRFX_COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 281 282 // <0=> Default 283 // <1=> Black 284 // <2=> Red 285 // <3=> Green 286 // <4=> Yellow 287 // <5=> Blue 288 // <6=> Magenta 289 // <7=> Cyan 290 // <8=> White 291 292 #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR 293 #define NRFX_COMP_CONFIG_DEBUG_COLOR 0 294 #endif 295 296 // </e> 297 298 // </e> 299 300 // <e> NRFX_DPPI_ENABLED - nrfx_dppi - DPPI allocator. 301 //========================================================== 302 #ifndef NRFX_DPPI_ENABLED 303 #define NRFX_DPPI_ENABLED 0 304 #endif 305 // <e> NRFX_DPPI_CONFIG_LOG_ENABLED - Enables logging in the module. 306 //========================================================== 307 #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED 308 #define NRFX_DPPI_CONFIG_LOG_ENABLED 0 309 #endif 310 // <o> NRFX_DPPI_CONFIG_LOG_LEVEL - Default severity level. 311 312 // <0=> Off 313 // <1=> Error 314 // <2=> Warning 315 // <3=> Info 316 // <4=> Debug 317 318 #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL 319 #define NRFX_DPPI_CONFIG_LOG_LEVEL 3 320 #endif 321 322 // <o> NRFX_DPPI_CONFIG_INFO_COLOR - ANSI escape code prefix. 323 324 // <0=> Default 325 // <1=> Black 326 // <2=> Red 327 // <3=> Green 328 // <4=> Yellow 329 // <5=> Blue 330 // <6=> Magenta 331 // <7=> Cyan 332 // <8=> White 333 334 #ifndef NRFX_DPPI_CONFIG_INFO_COLOR 335 #define NRFX_DPPI_CONFIG_INFO_COLOR 0 336 #endif 337 338 // <o> NRFX_DPPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 339 340 // <0=> Default 341 // <1=> Black 342 // <2=> Red 343 // <3=> Green 344 // <4=> Yellow 345 // <5=> Blue 346 // <6=> Magenta 347 // <7=> Cyan 348 // <8=> White 349 350 #ifndef NRFX_DPPI_CONFIG_DEBUG_COLOR 351 #define NRFX_DPPI_CONFIG_DEBUG_COLOR 0 352 #endif 353 354 // </e> 355 356 // </e> 357 358 // <e> NRFX_EGU_ENABLED - nrfx_egu - EGU peripheral driver. 359 //========================================================== 360 #ifndef NRFX_EGU_ENABLED 361 #define NRFX_EGU_ENABLED 0 362 #endif 363 364 // <q> NRFX_EGU0_ENABLED - Enable EGU0 instance. 365 366 #ifndef NRFX_EGU0_ENABLED 367 #define NRFX_EGU0_ENABLED 0 368 #endif 369 370 // <q> NRFX_EGU1_ENABLED - Enable EGU1 instance. 371 372 #ifndef NRFX_EGU1_ENABLED 373 #define NRFX_EGU1_ENABLED 0 374 #endif 375 376 // <q> NRFX_EGU2_ENABLED - Enable EGU2 instance. 377 378 #ifndef NRFX_EGU2_ENABLED 379 #define NRFX_EGU2_ENABLED 0 380 #endif 381 382 // <q> NRFX_EGU3_ENABLED - Enable EGU3 instance. 383 384 #ifndef NRFX_EGU3_ENABLED 385 #define NRFX_EGU3_ENABLED 0 386 #endif 387 388 // <q> NRFX_EGU4_ENABLED - Enable EGU4 instance. 389 390 #ifndef NRFX_EGU4_ENABLED 391 #define NRFX_EGU4_ENABLED 0 392 #endif 393 394 // <q> NRFX_EGU5_ENABLED - Enable EGU5 instance. 395 396 #ifndef NRFX_EGU5_ENABLED 397 #define NRFX_EGU5_ENABLED 0 398 #endif 399 400 // <o> NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 401 402 // <0=> 0 (highest) 403 // <1=> 1 404 // <2=> 2 405 // <3=> 3 406 // <4=> 4 407 // <5=> 5 408 // <6=> 6 409 // <7=> 7 410 411 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 412 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 7 413 #endif 414 415 // </e> 416 417 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver. 418 //========================================================== 419 #ifndef NRFX_GPIOTE_ENABLED 420 #define NRFX_GPIOTE_ENABLED 0 421 #endif 422 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins. 423 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 424 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1 425 #endif 426 427 // <o> NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 428 429 // <0=> 0 (highest) 430 // <1=> 1 431 // <2=> 2 432 // <3=> 3 433 // <4=> 4 434 // <5=> 5 435 // <6=> 6 436 // <7=> 7 437 438 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 439 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 7 440 #endif 441 442 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module. 443 //========================================================== 444 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 445 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 446 #endif 447 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default severity level. 448 449 // <0=> Off 450 // <1=> Error 451 // <2=> Warning 452 // <3=> Info 453 // <4=> Debug 454 455 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 456 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 457 #endif 458 459 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 460 461 // <0=> Default 462 // <1=> Black 463 // <2=> Red 464 // <3=> Green 465 // <4=> Yellow 466 // <5=> Blue 467 // <6=> Magenta 468 // <7=> Cyan 469 // <8=> White 470 471 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR 472 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0 473 #endif 474 475 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 476 477 // <0=> Default 478 // <1=> Black 479 // <2=> Red 480 // <3=> Green 481 // <4=> Yellow 482 // <5=> Blue 483 // <6=> Magenta 484 // <7=> Cyan 485 // <8=> White 486 487 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR 488 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0 489 #endif 490 491 // </e> 492 493 // </e> 494 495 // <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver. 496 //========================================================== 497 #ifndef NRFX_I2S_ENABLED 498 #define NRFX_I2S_ENABLED 0 499 #endif 500 501 // <o> NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 502 503 // <0=> 0 (highest) 504 // <1=> 1 505 // <2=> 2 506 // <3=> 3 507 // <4=> 4 508 // <5=> 5 509 // <6=> 6 510 // <7=> 7 511 512 #ifndef NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 513 #define NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 7 514 #endif 515 516 // <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module. 517 //========================================================== 518 #ifndef NRFX_I2S_CONFIG_LOG_ENABLED 519 #define NRFX_I2S_CONFIG_LOG_ENABLED 0 520 #endif 521 // <o> NRFX_I2S_CONFIG_LOG_LEVEL - Default severity level. 522 523 // <0=> Off 524 // <1=> Error 525 // <2=> Warning 526 // <3=> Info 527 // <4=> Debug 528 529 #ifndef NRFX_I2S_CONFIG_LOG_LEVEL 530 #define NRFX_I2S_CONFIG_LOG_LEVEL 3 531 #endif 532 533 // <o> NRFX_I2S_CONFIG_INFO_COLOR - ANSI escape code prefix. 534 535 // <0=> Default 536 // <1=> Black 537 // <2=> Red 538 // <3=> Green 539 // <4=> Yellow 540 // <5=> Blue 541 // <6=> Magenta 542 // <7=> Cyan 543 // <8=> White 544 545 #ifndef NRFX_I2S_CONFIG_INFO_COLOR 546 #define NRFX_I2S_CONFIG_INFO_COLOR 0 547 #endif 548 549 // <o> NRFX_I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 550 551 // <0=> Default 552 // <1=> Black 553 // <2=> Red 554 // <3=> Green 555 // <4=> Yellow 556 // <5=> Blue 557 // <6=> Magenta 558 // <7=> Cyan 559 // <8=> White 560 561 #ifndef NRFX_I2S_CONFIG_DEBUG_COLOR 562 #define NRFX_I2S_CONFIG_DEBUG_COLOR 0 563 #endif 564 565 // </e> 566 567 // </e> 568 569 // <e> NRFX_IPC_ENABLED - nrfx_ipc - IPC peripheral driver 570 //========================================================== 571 #ifndef NRFX_IPC_ENABLED 572 #define NRFX_IPC_ENABLED 0 573 #endif 574 575 // </e> 576 577 // <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver 578 //========================================================== 579 #ifndef NRFX_LPCOMP_ENABLED 580 #define NRFX_LPCOMP_ENABLED 0 581 #endif 582 583 // <o> NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 584 585 // <0=> 0 (highest) 586 // <1=> 1 587 // <2=> 2 588 // <3=> 3 589 // <4=> 4 590 // <5=> 5 591 // <6=> 6 592 // <7=> 7 593 594 #ifndef NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 595 #define NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 7 596 #endif 597 598 // <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module. 599 //========================================================== 600 #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED 601 #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0 602 #endif 603 // <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL - Default Severity level 604 605 // <0=> Off 606 // <1=> Error 607 // <2=> Warning 608 // <3=> Info 609 // <4=> Debug 610 611 #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL 612 #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3 613 #endif 614 615 // <o> NRFX_LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix. 616 617 // <0=> Default 618 // <1=> Black 619 // <2=> Red 620 // <3=> Green 621 // <4=> Yellow 622 // <5=> Blue 623 // <6=> Magenta 624 // <7=> Cyan 625 // <8=> White 626 627 #ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR 628 #define NRFX_LPCOMP_CONFIG_INFO_COLOR 0 629 #endif 630 631 // <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 632 633 // <0=> Default 634 // <1=> Black 635 // <2=> Red 636 // <3=> Green 637 // <4=> Yellow 638 // <5=> Blue 639 // <6=> Magenta 640 // <7=> Cyan 641 // <8=> White 642 643 #ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR 644 #define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0 645 #endif 646 647 // </e> 648 649 // </e> 650 651 // <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver 652 //========================================================== 653 #ifndef NRFX_NFCT_ENABLED 654 #define NRFX_NFCT_ENABLED 0 655 #endif 656 // <o> NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 657 658 // <0=> 0 (highest) 659 // <1=> 1 660 // <2=> 2 661 // <3=> 3 662 // <4=> 4 663 // <5=> 5 664 // <6=> 6 665 // <7=> 7 666 667 #ifndef NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 668 #define NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 7 669 #endif 670 671 // <o> NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID - Timer instance used for workarounds in the driver. 672 673 // <0=> 0 674 // <1=> 1 675 // <2=> 2 676 677 #ifndef NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 678 #define NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 2 679 #endif 680 681 // <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module. 682 //========================================================== 683 #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED 684 #define NRFX_NFCT_CONFIG_LOG_ENABLED 0 685 #endif 686 // <o> NRFX_NFCT_CONFIG_LOG_LEVEL - Default Severity level 687 688 // <0=> Off 689 // <1=> Error 690 // <2=> Warning 691 // <3=> Info 692 // <4=> Debug 693 694 #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL 695 #define NRFX_NFCT_CONFIG_LOG_LEVEL 3 696 #endif 697 698 // <o> NRFX_NFCT_CONFIG_INFO_COLOR - ANSI escape code prefix. 699 700 // <0=> Default 701 // <1=> Black 702 // <2=> Red 703 // <3=> Green 704 // <4=> Yellow 705 // <5=> Blue 706 // <6=> Magenta 707 // <7=> Cyan 708 // <8=> White 709 710 #ifndef NRFX_NFCT_CONFIG_INFO_COLOR 711 #define NRFX_NFCT_CONFIG_INFO_COLOR 0 712 #endif 713 714 // <o> NRFX_NFCT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 715 716 // <0=> Default 717 // <1=> Black 718 // <2=> Red 719 // <3=> Green 720 // <4=> Yellow 721 // <5=> Blue 722 // <6=> Magenta 723 // <7=> Cyan 724 // <8=> White 725 726 #ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR 727 #define NRFX_NFCT_CONFIG_DEBUG_COLOR 0 728 #endif 729 730 // </e> 731 732 // </e> 733 734 // <e> NRFX_NVMC_ENABLED - nrfx_nvmc - NVMC peripheral driver 735 //========================================================== 736 #ifndef NRFX_NVMC_ENABLED 737 #define NRFX_NVMC_ENABLED 0 738 #endif 739 740 // </e> 741 742 // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver. 743 //========================================================== 744 #ifndef NRFX_PDM_ENABLED 745 #define NRFX_PDM_ENABLED 0 746 #endif 747 748 // <o> NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 749 750 // <0=> 0 (highest) 751 // <1=> 1 752 // <2=> 2 753 // <3=> 3 754 // <4=> 4 755 // <5=> 5 756 // <6=> 6 757 // <7=> 7 758 759 #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 760 #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 7 761 #endif 762 763 // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module. 764 //========================================================== 765 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED 766 #define NRFX_PDM_CONFIG_LOG_ENABLED 0 767 #endif 768 // <o> NRFX_PDM_CONFIG_LOG_LEVEL - Default severity level. 769 770 // <0=> Off 771 // <1=> Error 772 // <2=> Warning 773 // <3=> Info 774 // <4=> Debug 775 776 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL 777 #define NRFX_PDM_CONFIG_LOG_LEVEL 3 778 #endif 779 780 // <o> NRFX_PDM_CONFIG_INFO_COLOR - ANSI escape code prefix. 781 782 // <0=> Default 783 // <1=> Black 784 // <2=> Red 785 // <3=> Green 786 // <4=> Yellow 787 // <5=> Blue 788 // <6=> Magenta 789 // <7=> Cyan 790 // <8=> White 791 792 #ifndef NRFX_PDM_CONFIG_INFO_COLOR 793 #define NRFX_PDM_CONFIG_INFO_COLOR 0 794 #endif 795 796 // <o> NRFX_PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 797 798 // <0=> Default 799 // <1=> Black 800 // <2=> Red 801 // <3=> Green 802 // <4=> Yellow 803 // <5=> Blue 804 // <6=> Magenta 805 // <7=> Cyan 806 // <8=> White 807 808 #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR 809 #define NRFX_PDM_CONFIG_DEBUG_COLOR 0 810 #endif 811 812 // </e> 813 814 // </e> 815 816 // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver. 817 //========================================================== 818 #ifndef NRFX_POWER_ENABLED 819 #define NRFX_POWER_ENABLED 0 820 #endif 821 // <o> NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 822 823 // <0=> 0 (highest) 824 // <1=> 1 825 // <2=> 2 826 // <3=> 3 827 // <4=> 4 828 // <5=> 5 829 // <6=> 6 830 // <7=> 7 831 832 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 833 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 7 834 #endif 835 836 // </e> 837 838 // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing (PRS) module. 839 //========================================================== 840 #ifndef NRFX_PRS_ENABLED 841 #define NRFX_PRS_ENABLED 0 842 #endif 843 // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module. 844 845 846 #ifndef NRFX_PRS_BOX_0_ENABLED 847 #define NRFX_PRS_BOX_0_ENABLED 0 848 #endif 849 850 // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module. 851 852 853 #ifndef NRFX_PRS_BOX_1_ENABLED 854 #define NRFX_PRS_BOX_1_ENABLED 0 855 #endif 856 857 // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module. 858 859 860 #ifndef NRFX_PRS_BOX_2_ENABLED 861 #define NRFX_PRS_BOX_2_ENABLED 0 862 #endif 863 864 // <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module. 865 866 867 #ifndef NRFX_PRS_BOX_3_ENABLED 868 #define NRFX_PRS_BOX_3_ENABLED 0 869 #endif 870 871 // <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module. 872 873 874 #ifndef NRFX_PRS_BOX_4_ENABLED 875 #define NRFX_PRS_BOX_4_ENABLED 0 876 #endif 877 878 879 // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module. 880 //========================================================== 881 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 882 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 883 #endif 884 // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default severity level. 885 886 // <0=> Off 887 // <1=> Error 888 // <2=> Warning 889 // <3=> Info 890 // <4=> Debug 891 892 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 893 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 894 #endif 895 896 // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix. 897 898 // <0=> Default 899 // <1=> Black 900 // <2=> Red 901 // <3=> Green 902 // <4=> Yellow 903 // <5=> Blue 904 // <6=> Magenta 905 // <7=> Cyan 906 // <8=> White 907 908 #ifndef NRFX_PRS_CONFIG_INFO_COLOR 909 #define NRFX_PRS_CONFIG_INFO_COLOR 0 910 #endif 911 912 // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 913 914 // <0=> Default 915 // <1=> Black 916 // <2=> Red 917 // <3=> Green 918 // <4=> Yellow 919 // <5=> Blue 920 // <6=> Magenta 921 // <7=> Cyan 922 // <8=> White 923 924 #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR 925 #define NRFX_PRS_CONFIG_DEBUG_COLOR 0 926 #endif 927 928 // </e> 929 930 // </e> 931 932 // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver. 933 //========================================================== 934 #ifndef NRFX_PWM_ENABLED 935 #define NRFX_PWM_ENABLED 0 936 #endif 937 // <q> NRFX_PWM0_ENABLED - Enables PWM0 instance. 938 939 940 #ifndef NRFX_PWM0_ENABLED 941 #define NRFX_PWM0_ENABLED 0 942 #endif 943 944 // <q> NRFX_PWM1_ENABLED - Enables PWM1 instance. 945 946 947 #ifndef NRFX_PWM1_ENABLED 948 #define NRFX_PWM1_ENABLED 0 949 #endif 950 951 // <q> NRFX_PWM2_ENABLED - Enables PWM2 instance. 952 953 954 #ifndef NRFX_PWM2_ENABLED 955 #define NRFX_PWM2_ENABLED 0 956 #endif 957 958 // <q> NRFX_PWM3_ENABLED - Enables PWM3 instance. 959 960 961 #ifndef NRFX_PWM3_ENABLED 962 #define NRFX_PWM3_ENABLED 0 963 #endif 964 965 // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 966 967 // <0=> 0 (highest) 968 // <1=> 1 969 // <2=> 2 970 // <3=> 3 971 // <4=> 4 972 // <5=> 5 973 // <6=> 6 974 // <7=> 7 975 976 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 977 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 7 978 #endif 979 980 // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module. 981 //========================================================== 982 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED 983 #define NRFX_PWM_CONFIG_LOG_ENABLED 0 984 #endif 985 // <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default severity level. 986 987 // <0=> Off 988 // <1=> Error 989 // <2=> Warning 990 // <3=> Info 991 // <4=> Debug 992 993 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 994 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 995 #endif 996 997 // <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix. 998 999 // <0=> Default 1000 // <1=> Black 1001 // <2=> Red 1002 // <3=> Green 1003 // <4=> Yellow 1004 // <5=> Blue 1005 // <6=> Magenta 1006 // <7=> Cyan 1007 // <8=> White 1008 1009 #ifndef NRFX_PWM_CONFIG_INFO_COLOR 1010 #define NRFX_PWM_CONFIG_INFO_COLOR 0 1011 #endif 1012 1013 // <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1014 1015 // <0=> Default 1016 // <1=> Black 1017 // <2=> Red 1018 // <3=> Green 1019 // <4=> Yellow 1020 // <5=> Blue 1021 // <6=> Magenta 1022 // <7=> Cyan 1023 // <8=> White 1024 1025 #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR 1026 #define NRFX_PWM_CONFIG_DEBUG_COLOR 0 1027 #endif 1028 1029 // </e> 1030 1031 // </e> 1032 1033 // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver 1034 //========================================================== 1035 #ifndef NRFX_QDEC_ENABLED 1036 #define NRFX_QDEC_ENABLED 0 1037 #endif 1038 1039 // <o> NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1040 1041 // <0=> 0 (highest) 1042 // <1=> 1 1043 // <2=> 2 1044 // <3=> 3 1045 // <4=> 4 1046 // <5=> 5 1047 // <6=> 6 1048 // <7=> 7 1049 1050 #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 1051 #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 7 1052 #endif 1053 1054 // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module. 1055 //========================================================== 1056 #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED 1057 #define NRFX_QDEC_CONFIG_LOG_ENABLED 0 1058 #endif 1059 // <o> NRFX_QDEC_CONFIG_LOG_LEVEL - Default Severity level 1060 1061 // <0=> Off 1062 // <1=> Error 1063 // <2=> Warning 1064 // <3=> Info 1065 // <4=> Debug 1066 1067 #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL 1068 #define NRFX_QDEC_CONFIG_LOG_LEVEL 3 1069 #endif 1070 1071 // <o> NRFX_QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix. 1072 1073 // <0=> Default 1074 // <1=> Black 1075 // <2=> Red 1076 // <3=> Green 1077 // <4=> Yellow 1078 // <5=> Blue 1079 // <6=> Magenta 1080 // <7=> Cyan 1081 // <8=> White 1082 1083 #ifndef NRFX_QDEC_CONFIG_INFO_COLOR 1084 #define NRFX_QDEC_CONFIG_INFO_COLOR 0 1085 #endif 1086 1087 // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1088 1089 // <0=> Default 1090 // <1=> Black 1091 // <2=> Red 1092 // <3=> Green 1093 // <4=> Yellow 1094 // <5=> Blue 1095 // <6=> Magenta 1096 // <7=> Cyan 1097 // <8=> White 1098 1099 #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR 1100 #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0 1101 #endif 1102 1103 // </e> 1104 1105 // </e> 1106 1107 // <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver 1108 //========================================================== 1109 #ifndef NRFX_QSPI_ENABLED 1110 #define NRFX_QSPI_ENABLED 0 1111 #endif 1112 1113 // <o> NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1114 1115 // <0=> 0 (highest) 1116 // <1=> 1 1117 // <2=> 2 1118 // <3=> 3 1119 // <4=> 4 1120 // <5=> 5 1121 // <6=> 6 1122 // <7=> 7 1123 1124 #ifndef NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 1125 #define NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 7 1126 #endif 1127 1128 // </e> 1129 1130 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver. 1131 //========================================================== 1132 #ifndef NRFX_RTC_ENABLED 1133 #define NRFX_RTC_ENABLED 0 1134 #endif 1135 // <q> NRFX_RTC0_ENABLED - Enables RTC0 instance. 1136 1137 1138 #ifndef NRFX_RTC0_ENABLED 1139 #define NRFX_RTC0_ENABLED 0 1140 #endif 1141 1142 // <q> NRFX_RTC1_ENABLED - Enables RTC1 instance. 1143 1144 1145 #ifndef NRFX_RTC1_ENABLED 1146 #define NRFX_RTC1_ENABLED 0 1147 #endif 1148 1149 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1150 1151 // <0=> 0 (highest) 1152 // <1=> 1 1153 // <2=> 2 1154 // <3=> 3 1155 // <4=> 4 1156 // <5=> 5 1157 // <6=> 6 1158 // <7=> 7 1159 1160 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 1161 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7 1162 #endif 1163 1164 // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module. 1165 //========================================================== 1166 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 1167 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 1168 #endif 1169 // <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default severity level. 1170 1171 // <0=> Off 1172 // <1=> Error 1173 // <2=> Warning 1174 // <3=> Info 1175 // <4=> Debug 1176 1177 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 1178 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 1179 #endif 1180 1181 // <o> NRFX_RTC_CONFIG_INFO_COLOR - ANSI escape code prefix. 1182 1183 // <0=> Default 1184 // <1=> Black 1185 // <2=> Red 1186 // <3=> Green 1187 // <4=> Yellow 1188 // <5=> Blue 1189 // <6=> Magenta 1190 // <7=> Cyan 1191 // <8=> White 1192 1193 #ifndef NRFX_RTC_CONFIG_INFO_COLOR 1194 #define NRFX_RTC_CONFIG_INFO_COLOR 0 1195 #endif 1196 1197 // <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1198 1199 // <0=> Default 1200 // <1=> Black 1201 // <2=> Red 1202 // <3=> Green 1203 // <4=> Yellow 1204 // <5=> Blue 1205 // <6=> Magenta 1206 // <7=> Cyan 1207 // <8=> White 1208 1209 #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR 1210 #define NRFX_RTC_CONFIG_DEBUG_COLOR 0 1211 #endif 1212 1213 // </e> 1214 1215 // </e> 1216 1217 // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver. 1218 //========================================================== 1219 #ifndef NRFX_SAADC_ENABLED 1220 #define NRFX_SAADC_ENABLED 0 1221 #endif 1222 1223 // <o> NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1224 1225 // <0=> 0 (highest) 1226 // <1=> 1 1227 // <2=> 2 1228 // <3=> 3 1229 // <4=> 4 1230 // <5=> 5 1231 // <6=> 6 1232 // <7=> 7 1233 1234 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 1235 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 7 1236 #endif 1237 1238 // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module. 1239 //========================================================== 1240 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 1241 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 1242 #endif 1243 // <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default severity level. 1244 1245 // <0=> Off 1246 // <1=> Error 1247 // <2=> Warning 1248 // <3=> Info 1249 // <4=> Debug 1250 1251 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 1252 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 1253 #endif 1254 1255 // <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix. 1256 1257 // <0=> Default 1258 // <1=> Black 1259 // <2=> Red 1260 // <3=> Green 1261 // <4=> Yellow 1262 // <5=> Blue 1263 // <6=> Magenta 1264 // <7=> Cyan 1265 // <8=> White 1266 1267 #ifndef NRFX_SAADC_CONFIG_INFO_COLOR 1268 #define NRFX_SAADC_CONFIG_INFO_COLOR 0 1269 #endif 1270 1271 // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1272 1273 // <0=> Default 1274 // <1=> Black 1275 // <2=> Red 1276 // <3=> Green 1277 // <4=> Yellow 1278 // <5=> Blue 1279 // <6=> Magenta 1280 // <7=> Cyan 1281 // <8=> White 1282 1283 #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR 1284 #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0 1285 #endif 1286 1287 // </e> 1288 1289 // </e> 1290 1291 // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver. 1292 //========================================================== 1293 #ifndef NRFX_SPIM_ENABLED 1294 #define NRFX_SPIM_ENABLED 0 1295 #endif 1296 // <q> NRFX_SPIM0_ENABLED - Enables SPIM0 instance. 1297 1298 1299 #ifndef NRFX_SPIM0_ENABLED 1300 #define NRFX_SPIM0_ENABLED 0 1301 #endif 1302 1303 // <q> NRFX_SPIM1_ENABLED - Enables SPIM1 instance. 1304 1305 1306 #ifndef NRFX_SPIM1_ENABLED 1307 #define NRFX_SPIM1_ENABLED 0 1308 #endif 1309 1310 // <q> NRFX_SPIM2_ENABLED - Enables SPIM2 instance. 1311 1312 1313 #ifndef NRFX_SPIM2_ENABLED 1314 #define NRFX_SPIM2_ENABLED 0 1315 #endif 1316 1317 // <q> NRFX_SPIM3_ENABLED - Enables SPIM3 instance. 1318 1319 1320 #ifndef NRFX_SPIM3_ENABLED 1321 #define NRFX_SPIM3_ENABLED 0 1322 #endif 1323 1324 // <q> NRFX_SPIM4_ENABLED - Enables SPIM4 instance. 1325 1326 1327 #ifndef NRFX_SPIM4_ENABLED 1328 #define NRFX_SPIM4_ENABLED 0 1329 #endif 1330 1331 // <q> NRFX_SPIM_EXTENDED_ENABLED - Enable extended SPIM features 1332 1333 1334 #ifndef NRFX_SPIM_EXTENDED_ENABLED 1335 #define NRFX_SPIM_EXTENDED_ENABLED 0 1336 #endif 1337 1338 // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1339 1340 // <0=> 0 (highest) 1341 // <1=> 1 1342 // <2=> 2 1343 // <3=> 3 1344 // <4=> 4 1345 // <5=> 5 1346 // <6=> 6 1347 // <7=> 7 1348 1349 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 1350 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 7 1351 #endif 1352 1353 // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module. 1354 //========================================================== 1355 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 1356 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 1357 #endif 1358 // <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default severity level. 1359 1360 // <0=> Off 1361 // <1=> Error 1362 // <2=> Warning 1363 // <3=> Info 1364 // <4=> Debug 1365 1366 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 1367 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 1368 #endif 1369 1370 // <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix. 1371 1372 // <0=> Default 1373 // <1=> Black 1374 // <2=> Red 1375 // <3=> Green 1376 // <4=> Yellow 1377 // <5=> Blue 1378 // <6=> Magenta 1379 // <7=> Cyan 1380 // <8=> White 1381 1382 #ifndef NRFX_SPIM_CONFIG_INFO_COLOR 1383 #define NRFX_SPIM_CONFIG_INFO_COLOR 0 1384 #endif 1385 1386 // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1387 1388 // <0=> Default 1389 // <1=> Black 1390 // <2=> Red 1391 // <3=> Green 1392 // <4=> Yellow 1393 // <5=> Blue 1394 // <6=> Magenta 1395 // <7=> Cyan 1396 // <8=> White 1397 1398 #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR 1399 #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0 1400 #endif 1401 1402 // </e> 1403 1404 // </e> 1405 1406 // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver. 1407 //========================================================== 1408 #ifndef NRFX_SPIS_ENABLED 1409 #define NRFX_SPIS_ENABLED 0 1410 #endif 1411 // <q> NRFX_SPIS0_ENABLED - Enables SPIS0 instance. 1412 1413 1414 #ifndef NRFX_SPIS0_ENABLED 1415 #define NRFX_SPIS0_ENABLED 0 1416 #endif 1417 1418 // <q> NRFX_SPIS1_ENABLED - Enables SPIS1 instance. 1419 1420 1421 #ifndef NRFX_SPIS1_ENABLED 1422 #define NRFX_SPIS1_ENABLED 0 1423 #endif 1424 1425 // <q> NRFX_SPIS2_ENABLED - Enables SPIS2 instance. 1426 1427 1428 #ifndef NRFX_SPIS2_ENABLED 1429 #define NRFX_SPIS2_ENABLED 0 1430 #endif 1431 1432 // <q> NRFX_SPIS3_ENABLED - Enables SPIS3 instance. 1433 1434 1435 #ifndef NRFX_SPIS3_ENABLED 1436 #define NRFX_SPIS3_ENABLED 0 1437 #endif 1438 1439 // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1440 1441 // <0=> 0 (highest) 1442 // <1=> 1 1443 // <2=> 2 1444 // <3=> 3 1445 // <4=> 4 1446 // <5=> 5 1447 // <6=> 6 1448 // <7=> 7 1449 1450 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 1451 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 7 1452 #endif 1453 1454 // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module. 1455 //========================================================== 1456 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 1457 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 1458 #endif 1459 // <o> NRFX_SPIS_CONFIG_LOG_LEVEL - Default severity level. 1460 1461 // <0=> Off 1462 // <1=> Error 1463 // <2=> Warning 1464 // <3=> Info 1465 // <4=> Debug 1466 1467 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 1468 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 1469 #endif 1470 1471 // <o> NRFX_SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix. 1472 1473 // <0=> Default 1474 // <1=> Black 1475 // <2=> Red 1476 // <3=> Green 1477 // <4=> Yellow 1478 // <5=> Blue 1479 // <6=> Magenta 1480 // <7=> Cyan 1481 // <8=> White 1482 1483 #ifndef NRFX_SPIS_CONFIG_INFO_COLOR 1484 #define NRFX_SPIS_CONFIG_INFO_COLOR 0 1485 #endif 1486 1487 // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1488 1489 // <0=> Default 1490 // <1=> Black 1491 // <2=> Red 1492 // <3=> Green 1493 // <4=> Yellow 1494 // <5=> Blue 1495 // <6=> Magenta 1496 // <7=> Cyan 1497 // <8=> White 1498 1499 #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR 1500 #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0 1501 #endif 1502 1503 // </e> 1504 1505 // </e> 1506 1507 // <q> NRFX_SYSTICK_ENABLED - nrfx_systick - ARM(R) SysTick driver. 1508 1509 1510 #ifndef NRFX_SYSTICK_ENABLED 1511 #define NRFX_SYSTICK_ENABLED 0 1512 #endif 1513 1514 // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver. 1515 //========================================================== 1516 #ifndef NRFX_TIMER_ENABLED 1517 #define NRFX_TIMER_ENABLED 0 1518 #endif 1519 // <q> NRFX_TIMER0_ENABLED - Enables TIMER0 instance. 1520 1521 1522 #ifndef NRFX_TIMER0_ENABLED 1523 #define NRFX_TIMER0_ENABLED 0 1524 #endif 1525 1526 // <q> NRFX_TIMER1_ENABLED - Enables TIMER1 instance. 1527 1528 1529 #ifndef NRFX_TIMER1_ENABLED 1530 #define NRFX_TIMER1_ENABLED 0 1531 #endif 1532 1533 // <q> NRFX_TIMER2_ENABLED - Enables TIMER2 instance. 1534 1535 1536 #ifndef NRFX_TIMER2_ENABLED 1537 #define NRFX_TIMER2_ENABLED 0 1538 #endif 1539 1540 // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1541 1542 // <0=> 0 (highest) 1543 // <1=> 1 1544 // <2=> 2 1545 // <3=> 3 1546 // <4=> 4 1547 // <5=> 5 1548 // <6=> 6 1549 // <7=> 7 1550 1551 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1552 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 7 1553 #endif 1554 1555 // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module. 1556 //========================================================== 1557 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 1558 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 1559 #endif 1560 // <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default severity level. 1561 1562 // <0=> Off 1563 // <1=> Error 1564 // <2=> Warning 1565 // <3=> Info 1566 // <4=> Debug 1567 1568 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 1569 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 1570 #endif 1571 1572 // <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix. 1573 1574 // <0=> Default 1575 // <1=> Black 1576 // <2=> Red 1577 // <3=> Green 1578 // <4=> Yellow 1579 // <5=> Blue 1580 // <6=> Magenta 1581 // <7=> Cyan 1582 // <8=> White 1583 1584 #ifndef NRFX_TIMER_CONFIG_INFO_COLOR 1585 #define NRFX_TIMER_CONFIG_INFO_COLOR 0 1586 #endif 1587 1588 // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1589 1590 // <0=> Default 1591 // <1=> Black 1592 // <2=> Red 1593 // <3=> Green 1594 // <4=> Yellow 1595 // <5=> Blue 1596 // <6=> Magenta 1597 // <7=> Cyan 1598 // <8=> White 1599 1600 #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR 1601 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0 1602 #endif 1603 1604 // </e> 1605 1606 // </e> 1607 1608 // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver. 1609 //========================================================== 1610 #ifndef NRFX_TWIM_ENABLED 1611 #define NRFX_TWIM_ENABLED 0 1612 #endif 1613 // <q> NRFX_TWIM0_ENABLED - Enables TWIM0 instance. 1614 1615 1616 #ifndef NRFX_TWIM0_ENABLED 1617 #define NRFX_TWIM0_ENABLED 0 1618 #endif 1619 1620 // <q> NRFX_TWIM1_ENABLED - Enables TWIM1 instance. 1621 1622 1623 #ifndef NRFX_TWIM1_ENABLED 1624 #define NRFX_TWIM1_ENABLED 0 1625 #endif 1626 1627 // <q> NRFX_TWIM2_ENABLED - Enables TWIM2 instance. 1628 1629 1630 #ifndef NRFX_TWIM2_ENABLED 1631 #define NRFX_TWIM2_ENABLED 0 1632 #endif 1633 1634 // <q> NRFX_TWIM3_ENABLED - Enables TWIM3 instance. 1635 1636 1637 #ifndef NRFX_TWIM3_ENABLED 1638 #define NRFX_TWIM3_ENABLED 0 1639 #endif 1640 1641 // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1642 1643 // <0=> 0 (highest) 1644 // <1=> 1 1645 // <2=> 2 1646 // <3=> 3 1647 // <4=> 4 1648 // <5=> 5 1649 // <6=> 6 1650 // <7=> 7 1651 1652 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 1653 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 7 1654 #endif 1655 1656 // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module. 1657 //========================================================== 1658 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 1659 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 1660 #endif 1661 // <o> NRFX_TWIM_CONFIG_LOG_LEVEL - Default severity level. 1662 1663 // <0=> Off 1664 // <1=> Error 1665 // <2=> Warning 1666 // <3=> Info 1667 // <4=> Debug 1668 1669 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 1670 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 1671 #endif 1672 1673 // <o> NRFX_TWIM_CONFIG_INFO_COLOR - ANSI escape code prefix. 1674 1675 // <0=> Default 1676 // <1=> Black 1677 // <2=> Red 1678 // <3=> Green 1679 // <4=> Yellow 1680 // <5=> Blue 1681 // <6=> Magenta 1682 // <7=> Cyan 1683 // <8=> White 1684 1685 #ifndef NRFX_TWIM_CONFIG_INFO_COLOR 1686 #define NRFX_TWIM_CONFIG_INFO_COLOR 0 1687 #endif 1688 1689 // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1690 1691 // <0=> Default 1692 // <1=> Black 1693 // <2=> Red 1694 // <3=> Green 1695 // <4=> Yellow 1696 // <5=> Blue 1697 // <6=> Magenta 1698 // <7=> Cyan 1699 // <8=> White 1700 1701 #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR 1702 #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0 1703 #endif 1704 1705 // </e> 1706 1707 // </e> 1708 1709 // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver. 1710 //========================================================== 1711 #ifndef NRFX_TWIS_ENABLED 1712 #define NRFX_TWIS_ENABLED 0 1713 #endif 1714 1715 // <q> NRFX_TWIS0_ENABLED - Enables TWIS0 instance. 1716 1717 #ifndef NRFX_TWIS0_ENABLED 1718 #define NRFX_TWIS0_ENABLED 0 1719 #endif 1720 1721 // <q> NRFX_TWIS1_ENABLED - Enables TWIS1 instance. 1722 1723 #ifndef NRFX_TWIS1_ENABLED 1724 #define NRFX_TWIS1_ENABLED 0 1725 #endif 1726 1727 // <q> NRFX_TWIS2_ENABLED - Enables TWIS2 instance. 1728 1729 #ifndef NRFX_TWIS2_ENABLED 1730 #define NRFX_TWIS2_ENABLED 0 1731 #endif 1732 1733 // <q> NRFX_TWIS3_ENABLED - Enables TWIS3 instance. 1734 1735 #ifndef NRFX_TWIS3_ENABLED 1736 #define NRFX_TWIS3_ENABLED 0 1737 #endif 1738 1739 // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assumes that any instance would be initialized only once. 1740 1741 // <i> Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code. 1742 1743 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1744 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1745 #endif 1746 1747 // <q> NRFX_TWIS_NO_SYNC_MODE - Removes support for synchronous mode. 1748 1749 // <i> Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources. 1750 1751 #ifndef NRFX_TWIS_NO_SYNC_MODE 1752 #define NRFX_TWIS_NO_SYNC_MODE 0 1753 #endif 1754 1755 // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1756 1757 // <0=> 0 (highest) 1758 // <1=> 1 1759 // <2=> 2 1760 // <3=> 3 1761 // <4=> 4 1762 // <5=> 5 1763 // <6=> 6 1764 // <7=> 7 1765 1766 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1767 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 7 1768 #endif 1769 1770 // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module. 1771 //========================================================== 1772 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1773 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1774 #endif 1775 // <o> NRFX_TWIS_CONFIG_LOG_LEVEL - Default severity level. 1776 1777 // <0=> Off 1778 // <1=> Error 1779 // <2=> Warning 1780 // <3=> Info 1781 // <4=> Debug 1782 1783 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1784 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1785 #endif 1786 1787 // <o> NRFX_TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix. 1788 1789 // <0=> Default 1790 // <1=> Black 1791 // <2=> Red 1792 // <3=> Green 1793 // <4=> Yellow 1794 // <5=> Blue 1795 // <6=> Magenta 1796 // <7=> Cyan 1797 // <8=> White 1798 1799 #ifndef NRFX_TWIS_CONFIG_INFO_COLOR 1800 #define NRFX_TWIS_CONFIG_INFO_COLOR 0 1801 #endif 1802 1803 // <o> NRFX_TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1804 1805 // <0=> Default 1806 // <1=> Black 1807 // <2=> Red 1808 // <3=> Green 1809 // <4=> Yellow 1810 // <5=> Blue 1811 // <6=> Magenta 1812 // <7=> Cyan 1813 // <8=> White 1814 1815 #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR 1816 #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0 1817 #endif 1818 1819 // </e> 1820 1821 // </e> 1822 1823 // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver. 1824 //========================================================== 1825 #ifndef NRFX_UARTE_ENABLED 1826 #define NRFX_UARTE_ENABLED 0 1827 #endif 1828 // <o> NRFX_UARTE0_ENABLED - Enables UARTE0 instances 1829 #ifndef NRFX_UARTE0_ENABLED 1830 #define NRFX_UARTE0_ENABLED 0 1831 #endif 1832 1833 // <o> NRFX_UARTE1_ENABLED - Enables UARTE1 instance. 1834 #ifndef NRFX_UARTE1_ENABLED 1835 #define NRFX_UARTE1_ENABLED 0 1836 #endif 1837 1838 // <o> NRFX_UARTE2_ENABLED - Enables UARTE2 instance. 1839 #ifndef NRFX_UARTE2_ENABLED 1840 #define NRFX_UARTE2_ENABLED 0 1841 #endif 1842 1843 // <o> NRFX_UARTE3_ENABLED - Enables UARTE3 instance. 1844 #ifndef NRFX_UARTE3_ENABLED 1845 #define NRFX_UARTE3_ENABLED 0 1846 #endif 1847 1848 // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 1849 1850 // <0=> 0 (highest) 1851 // <1=> 1 1852 // <2=> 2 1853 // <3=> 3 1854 // <4=> 4 1855 // <5=> 5 1856 // <6=> 6 1857 // <7=> 7 1858 1859 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1860 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7 1861 #endif 1862 1863 // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module. 1864 //========================================================== 1865 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1866 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1867 #endif 1868 // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default severity level. 1869 1870 // <0=> Off 1871 // <1=> Error 1872 // <2=> Warning 1873 // <3=> Info 1874 // <4=> Debug 1875 1876 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1877 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1878 #endif 1879 1880 // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 1881 1882 // <0=> Default 1883 // <1=> Black 1884 // <2=> Red 1885 // <3=> Green 1886 // <4=> Yellow 1887 // <5=> Blue 1888 // <6=> Magenta 1889 // <7=> Cyan 1890 // <8=> White 1891 1892 #ifndef NRFX_UARTE_CONFIG_INFO_COLOR 1893 #define NRFX_UARTE_CONFIG_INFO_COLOR 0 1894 #endif 1895 1896 // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1897 1898 // <0=> Default 1899 // <1=> Black 1900 // <2=> Red 1901 // <3=> Green 1902 // <4=> Yellow 1903 // <5=> Blue 1904 // <6=> Magenta 1905 // <7=> Cyan 1906 // <8=> White 1907 1908 #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR 1909 #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0 1910 #endif 1911 1912 // </e> 1913 1914 // </e> 1915 1916 // <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver 1917 //========================================================== 1918 #ifndef NRFX_USBD_ENABLED 1919 #define NRFX_USBD_ENABLED 0 1920 #endif 1921 // <o> NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1922 1923 // <0=> 0 (highest) 1924 // <1=> 1 1925 // <2=> 2 1926 // <3=> 3 1927 // <4=> 4 1928 // <5=> 5 1929 // <6=> 6 1930 // <7=> 7 1931 1932 #ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 1933 #define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 7 1934 #endif 1935 1936 // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers 1937 1938 // <i> This option gives priority to isochronous transfers. 1939 // <i> Enabling it assures that isochronous transfers are always processed, 1940 // <i> even if multiple other transfers are pending. 1941 // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm 1942 // <i> function is called, so the option is independent of the algorithm chosen. 1943 1944 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1945 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1 1946 #endif 1947 1948 // <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready 1949 1950 1951 // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent. 1952 // <i> Else, there will be no response. 1953 1954 #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP 1955 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0 1956 #endif 1957 1958 // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module 1959 //========================================================== 1960 #ifndef NRFX_USBD_CONFIG_LOG_ENABLED 1961 #define NRFX_USBD_CONFIG_LOG_ENABLED 0 1962 #endif 1963 // <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level 1964 1965 // <0=> Off 1966 // <1=> Error 1967 // <2=> Warning 1968 // <3=> Info 1969 // <4=> Debug 1970 1971 #ifndef NRFX_USBD_CONFIG_LOG_LEVEL 1972 #define NRFX_USBD_CONFIG_LOG_LEVEL 3 1973 #endif 1974 1975 // <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix. 1976 1977 // <0=> Default 1978 // <1=> Black 1979 // <2=> Red 1980 // <3=> Green 1981 // <4=> Yellow 1982 // <5=> Blue 1983 // <6=> Magenta 1984 // <7=> Cyan 1985 // <8=> White 1986 1987 #ifndef NRFX_USBD_CONFIG_INFO_COLOR 1988 #define NRFX_USBD_CONFIG_INFO_COLOR 0 1989 #endif 1990 1991 // <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1992 1993 // <0=> Default 1994 // <1=> Black 1995 // <2=> Red 1996 // <3=> Green 1997 // <4=> Yellow 1998 // <5=> Blue 1999 // <6=> Magenta 2000 // <7=> Cyan 2001 // <8=> White 2002 2003 #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR 2004 #define NRFX_USBD_CONFIG_DEBUG_COLOR 0 2005 #endif 2006 2007 // </e> 2008 2009 // </e> 2010 2011 // <e> NRFX_USBREG_ENABLED - nrfx_usbreg - USBREG peripheral driver 2012 //========================================================== 2013 #ifndef NRFX_USBREG_ENABLED 2014 #define NRFX_USBREG_ENABLED 0 2015 #endif 2016 // <o> NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 2017 2018 // <0=> 0 (highest) 2019 // <1=> 1 2020 // <2=> 2 2021 // <3=> 3 2022 // <4=> 4 2023 // <5=> 5 2024 // <6=> 6 2025 // <7=> 7 2026 2027 #ifndef NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 2028 #define NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 7 2029 #endif 2030 2031 // </e> 2032 2033 // </e> 2034 2035 // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver. 2036 //========================================================== 2037 #ifndef NRFX_WDT_ENABLED 2038 #define NRFX_WDT_ENABLED 0 2039 #endif 2040 // <q> NRFX_WDT0_ENABLED - Enable WDT0 instance. 2041 2042 2043 #ifndef NRFX_WDT0_ENABLED 2044 #define NRFX_WDT0_ENABLED 0 2045 #endif 2046 2047 // <q> NRFX_WDT1_ENABLED - Enable WDT1 instance. 2048 2049 2050 #ifndef NRFX_WDT1_ENABLED 2051 #define NRFX_WDT1_ENABLED 0 2052 #endif 2053 2054 // <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver. 2055 2056 // <0=> Include WDT IRQ handling 2057 // <1=> Remove WDT IRQ handling 2058 2059 #ifndef NRFX_WDT_CONFIG_NO_IRQ 2060 #define NRFX_WDT_CONFIG_NO_IRQ 0 2061 #endif 2062 2063 // <o> NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority. 2064 2065 // <0=> 0 (highest) 2066 // <1=> 1 2067 // <2=> 2 2068 // <3=> 3 2069 // <4=> 4 2070 // <5=> 5 2071 // <6=> 6 2072 // <7=> 7 2073 2074 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 2075 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 7 2076 #endif 2077 2078 // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module. 2079 //========================================================== 2080 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 2081 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 2082 #endif 2083 // <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default severity level. 2084 2085 // <0=> Off 2086 // <1=> Error 2087 // <2=> Warning 2088 // <3=> Info 2089 // <4=> Debug 2090 2091 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 2092 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 2093 #endif 2094 2095 // <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix. 2096 2097 // <0=> Default 2098 // <1=> Black 2099 // <2=> Red 2100 // <3=> Green 2101 // <4=> Yellow 2102 // <5=> Blue 2103 // <6=> Magenta 2104 // <7=> Cyan 2105 // <8=> White 2106 2107 #ifndef NRFX_WDT_CONFIG_INFO_COLOR 2108 #define NRFX_WDT_CONFIG_INFO_COLOR 0 2109 #endif 2110 2111 // <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2112 2113 // <0=> Default 2114 // <1=> Black 2115 // <2=> Red 2116 // <3=> Green 2117 // <4=> Yellow 2118 // <5=> Blue 2119 // <6=> Magenta 2120 // <7=> Cyan 2121 // <8=> White 2122 2123 #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR 2124 #define NRFX_WDT_CONFIG_DEBUG_COLOR 0 2125 #endif 2126 2127 // </e> 2128 2129 // </e> 2130 2131 // </h> 2132 2133 #endif // NRFX_CONFIG_NRF5340_APPLICATION_H__ 2134