1 /* 2 * Copyright (c) 2018 - 2023, Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef NRFX_CONFIG_NRF91_H__ 8 #define NRFX_CONFIG_NRF91_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_DPPIC NRF_PERIPH(NRF_DPPIC) 16 #define NRF_EGU0 NRF_PERIPH(NRF_EGU0) 17 #define NRF_EGU1 NRF_PERIPH(NRF_EGU1) 18 #define NRF_EGU2 NRF_PERIPH(NRF_EGU2) 19 #define NRF_EGU3 NRF_PERIPH(NRF_EGU3) 20 #define NRF_EGU4 NRF_PERIPH(NRF_EGU4) 21 #define NRF_EGU5 NRF_PERIPH(NRF_EGU5) 22 #define NRF_FPU NRF_PERIPH(NRF_FPU) 23 #define NRF_I2S NRF_PERIPH(NRF_I2S) 24 #define NRF_IPC NRF_PERIPH(NRF_IPC) 25 #define NRF_KMU NRF_PERIPH(NRF_KMU) 26 #define NRF_NVMC NRF_PERIPH(NRF_NVMC) 27 #define NRF_P0 NRF_PERIPH(NRF_P0) 28 #define NRF_PDM NRF_PERIPH(NRF_PDM) 29 #define NRF_POWER NRF_PERIPH(NRF_POWER) 30 #define NRF_PWM0 NRF_PERIPH(NRF_PWM0) 31 #define NRF_PWM1 NRF_PERIPH(NRF_PWM1) 32 #define NRF_PWM2 NRF_PERIPH(NRF_PWM2) 33 #define NRF_PWM3 NRF_PERIPH(NRF_PWM3) 34 #define NRF_REGULATORS NRF_PERIPH(NRF_REGULATORS) 35 #define NRF_RTC0 NRF_PERIPH(NRF_RTC0) 36 #define NRF_RTC1 NRF_PERIPH(NRF_RTC1) 37 #define NRF_SAADC NRF_PERIPH(NRF_SAADC) 38 #define NRF_SPIM0 NRF_PERIPH(NRF_SPIM0) 39 #define NRF_SPIM1 NRF_PERIPH(NRF_SPIM1) 40 #define NRF_SPIM2 NRF_PERIPH(NRF_SPIM2) 41 #define NRF_SPIM3 NRF_PERIPH(NRF_SPIM3) 42 #define NRF_SPIS0 NRF_PERIPH(NRF_SPIS0) 43 #define NRF_SPIS1 NRF_PERIPH(NRF_SPIS1) 44 #define NRF_SPIS2 NRF_PERIPH(NRF_SPIS2) 45 #define NRF_SPIS3 NRF_PERIPH(NRF_SPIS3) 46 #define NRF_TIMER0 NRF_PERIPH(NRF_TIMER0) 47 #define NRF_TIMER1 NRF_PERIPH(NRF_TIMER1) 48 #define NRF_TIMER2 NRF_PERIPH(NRF_TIMER2) 49 #define NRF_TWIM0 NRF_PERIPH(NRF_TWIM0) 50 #define NRF_TWIM1 NRF_PERIPH(NRF_TWIM1) 51 #define NRF_TWIM2 NRF_PERIPH(NRF_TWIM2) 52 #define NRF_TWIM3 NRF_PERIPH(NRF_TWIM3) 53 #define NRF_TWIS0 NRF_PERIPH(NRF_TWIS0) 54 #define NRF_TWIS1 NRF_PERIPH(NRF_TWIS1) 55 #define NRF_TWIS2 NRF_PERIPH(NRF_TWIS2) 56 #define NRF_TWIS3 NRF_PERIPH(NRF_TWIS3) 57 #define NRF_UARTE0 NRF_PERIPH(NRF_UARTE0) 58 #define NRF_UARTE1 NRF_PERIPH(NRF_UARTE1) 59 #define NRF_UARTE2 NRF_PERIPH(NRF_UARTE2) 60 #define NRF_UARTE3 NRF_PERIPH(NRF_UARTE3) 61 #define NRF_VMC NRF_PERIPH(NRF_VMC) 62 #define NRF_WDT NRF_PERIPH(NRF_WDT) 63 64 /* 65 * The following section provides the name translation for peripherals with 66 * only one type of access available. For these peripherals, you cannot choose 67 * between secure and non-secure mapping. 68 */ 69 #if defined(NRF_TRUSTZONE_NONSECURE) 70 #define NRF_GPIOTE NRF_GPIOTE1 71 #define NRF_GPIOTE1 NRF_GPIOTE1_NS 72 #else 73 #define NRF_CC_HOST_RGF NRF_CC_HOST_RGF_S 74 #define NRF_CRYPTOCELL NRF_CRYPTOCELL_S 75 #define NRF_CTRL_AP_PERI NRF_CTRL_AP_PERI_S 76 #define NRF_FICR NRF_FICR_S 77 #define NRF_GPIOTE NRF_GPIOTE0 78 #define NRF_GPIOTE0 NRF_GPIOTE0_S 79 #define NRF_GPIOTE1 NRF_GPIOTE1_NS 80 #define NRF_SPU NRF_SPU_S 81 #define NRF_TAD NRF_TAD_S 82 #define NRF_UICR NRF_UICR_S 83 #endif 84 85 /** 86 * @brief NRFX_DEFAULT_IRQ_PRIORITY 87 * 88 * Integer value. Minimum: 0 Maximum: 7 89 */ 90 #ifndef NRFX_DEFAULT_IRQ_PRIORITY 91 #define NRFX_DEFAULT_IRQ_PRIORITY 7 92 #endif 93 94 /** 95 * @brief NRFX_CLOCK_ENABLED 96 * 97 * Boolean. Accepted values 0 and 1. 98 */ 99 #ifndef NRFX_CLOCK_ENABLED 100 #define NRFX_CLOCK_ENABLED 0 101 #endif 102 103 /** 104 * @brief NRFX_CLOCK_CONFIG_LF_SRC 105 * 106 * Integer value. 107 * Supported values: 108 * - RC = 1 109 * - XTAL = 2 110 */ 111 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 112 #define NRFX_CLOCK_CONFIG_LF_SRC 2 113 #endif 114 115 /** 116 * @brief NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 117 * 118 * Boolean. Accepted values 0 and 1. 119 */ 120 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 121 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0 122 #endif 123 124 /** 125 * @brief NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 126 * 127 * Integer value. Minimum: 0 Maximum: 7 128 */ 129 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 130 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 131 #endif 132 133 /** 134 * @brief NRFX_CLOCK_CONFIG_LOG_ENABLED 135 * 136 * Boolean. Accepted values 0 and 1. 137 */ 138 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 139 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 140 #endif 141 142 /** 143 * @brief NRFX_CLOCK_CONFIG_LOG_LEVEL 144 * 145 * Integer value. 146 * Supported values: 147 * - Off = 0 148 * - Error = 1 149 * - Warning = 2 150 * - Info = 3 151 * - Debug = 4 152 */ 153 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 154 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 155 #endif 156 157 /** 158 * @brief NRFX_DPPI_ENABLED 159 * 160 * Boolean. Accepted values 0 and 1. 161 */ 162 #ifndef NRFX_DPPI_ENABLED 163 #define NRFX_DPPI_ENABLED 0 164 #endif 165 166 /** 167 * @brief NRFX_DPPI_CONFIG_LOG_ENABLED 168 * 169 * Boolean. Accepted values 0 and 1. 170 */ 171 #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED 172 #define NRFX_DPPI_CONFIG_LOG_ENABLED 0 173 #endif 174 175 /** 176 * @brief NRFX_DPPI_CONFIG_LOG_LEVEL 177 * 178 * Integer value. 179 * Supported values: 180 * - Off = 0 181 * - Error = 1 182 * - Warning = 2 183 * - Info = 3 184 * - Debug = 4 185 */ 186 #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL 187 #define NRFX_DPPI_CONFIG_LOG_LEVEL 3 188 #endif 189 190 /** 191 * @brief NRFX_EGU_ENABLED 192 * 193 * Boolean. Accepted values 0 and 1. 194 */ 195 #ifndef NRFX_EGU_ENABLED 196 #define NRFX_EGU_ENABLED 0 197 #endif 198 199 /** 200 * @brief NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 201 * 202 * Integer value. Minimum: 0 Maximum: 7 203 */ 204 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 205 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 206 #endif 207 208 /** 209 * @brief NRFX_EGU0_ENABLED 210 * 211 * Boolean. Accepted values 0 and 1. 212 */ 213 #ifndef NRFX_EGU0_ENABLED 214 #define NRFX_EGU0_ENABLED 0 215 #endif 216 217 /** 218 * @brief NRFX_EGU1_ENABLED 219 * 220 * Boolean. Accepted values 0 and 1. 221 */ 222 #ifndef NRFX_EGU1_ENABLED 223 #define NRFX_EGU1_ENABLED 0 224 #endif 225 226 /** 227 * @brief NRFX_EGU2_ENABLED 228 * 229 * Boolean. Accepted values 0 and 1. 230 */ 231 #ifndef NRFX_EGU2_ENABLED 232 #define NRFX_EGU2_ENABLED 0 233 #endif 234 235 /** 236 * @brief NRFX_EGU3_ENABLED 237 * 238 * Boolean. Accepted values 0 and 1. 239 */ 240 #ifndef NRFX_EGU3_ENABLED 241 #define NRFX_EGU3_ENABLED 0 242 #endif 243 244 /** 245 * @brief NRFX_EGU4_ENABLED 246 * 247 * Boolean. Accepted values 0 and 1. 248 */ 249 #ifndef NRFX_EGU4_ENABLED 250 #define NRFX_EGU4_ENABLED 0 251 #endif 252 253 /** 254 * @brief NRFX_EGU5_ENABLED 255 * 256 * Boolean. Accepted values 0 and 1. 257 */ 258 #ifndef NRFX_EGU5_ENABLED 259 #define NRFX_EGU5_ENABLED 0 260 #endif 261 262 /** 263 * @brief NRFX_GPIOTE_ENABLED 264 * 265 * Boolean. Accepted values 0 and 1. 266 */ 267 #ifndef NRFX_GPIOTE_ENABLED 268 #define NRFX_GPIOTE_ENABLED 0 269 #endif 270 271 /** 272 * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 273 * 274 * Integer value. Minimum: 0 Maximum: 7 275 */ 276 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 277 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 278 #endif 279 280 /** 281 * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 282 * 283 * Integer value. Minimum: 0 Maximum: 15 284 */ 285 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 286 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 1 287 #endif 288 289 /** 290 * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED 291 * 292 * Boolean. Accepted values 0 and 1. 293 */ 294 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 295 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 296 #endif 297 298 /** 299 * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL 300 * 301 * Integer value. 302 * Supported values: 303 * - Off = 0 304 * - Error = 1 305 * - Warning = 2 306 * - Info = 3 307 * - Debug = 4 308 */ 309 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 310 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 311 #endif 312 313 /** 314 * @brief NRFX_I2S_ENABLED 315 * 316 * Boolean. Accepted values 0 and 1. 317 */ 318 #ifndef NRFX_I2S_ENABLED 319 #define NRFX_I2S_ENABLED 0 320 #endif 321 322 /** 323 * @brief NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 324 * 325 * Integer value. Minimum: 0 Maximum: 7 326 */ 327 #ifndef NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 328 #define NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 329 #endif 330 331 /** 332 * @brief NRFX_I2S_CONFIG_LOG_ENABLED 333 * 334 * Boolean. Accepted values 0 and 1. 335 */ 336 #ifndef NRFX_I2S_CONFIG_LOG_ENABLED 337 #define NRFX_I2S_CONFIG_LOG_ENABLED 0 338 #endif 339 340 /** 341 * @brief NRFX_I2S_CONFIG_LOG_LEVEL 342 * 343 * Integer value. 344 * Supported values: 345 * - Off = 0 346 * - Error = 1 347 * - Warning = 2 348 * - Info = 3 349 * - Debug = 4 350 */ 351 #ifndef NRFX_I2S_CONFIG_LOG_LEVEL 352 #define NRFX_I2S_CONFIG_LOG_LEVEL 3 353 #endif 354 355 /** 356 * @brief NRFX_IPC_ENABLED 357 * 358 * Boolean. Accepted values 0 and 1. 359 */ 360 #ifndef NRFX_IPC_ENABLED 361 #define NRFX_IPC_ENABLED 0 362 #endif 363 364 /** 365 * @brief NRFX_NVMC_ENABLED 366 * 367 * Boolean. Accepted values 0 and 1. 368 */ 369 #ifndef NRFX_NVMC_ENABLED 370 #define NRFX_NVMC_ENABLED 0 371 #endif 372 373 /** 374 * @brief NRFX_PDM_ENABLED 375 * 376 * Boolean. Accepted values 0 and 1. 377 */ 378 #ifndef NRFX_PDM_ENABLED 379 #define NRFX_PDM_ENABLED 0 380 #endif 381 382 /** 383 * @brief NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 384 * 385 * Integer value. Minimum: 0 Maximum: 7 386 */ 387 #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 388 #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 389 #endif 390 391 /** 392 * @brief NRFX_PDM_CONFIG_LOG_ENABLED 393 * 394 * Boolean. Accepted values 0 and 1. 395 */ 396 #ifndef NRFX_PDM_CONFIG_LOG_ENABLED 397 #define NRFX_PDM_CONFIG_LOG_ENABLED 0 398 #endif 399 400 /** 401 * @brief NRFX_PDM_CONFIG_LOG_LEVEL 402 * 403 * Integer value. 404 * Supported values: 405 * - Off = 0 406 * - Error = 1 407 * - Warning = 2 408 * - Info = 3 409 * - Debug = 4 410 */ 411 #ifndef NRFX_PDM_CONFIG_LOG_LEVEL 412 #define NRFX_PDM_CONFIG_LOG_LEVEL 3 413 #endif 414 415 /** 416 * @brief NRFX_POWER_ENABLED 417 * 418 * Boolean. Accepted values 0 and 1. 419 */ 420 #ifndef NRFX_POWER_ENABLED 421 #define NRFX_POWER_ENABLED 0 422 #endif 423 424 /** 425 * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 426 * 427 * Integer value. Minimum: 0 Maximum: 7 428 */ 429 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 430 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 431 #endif 432 433 /** 434 * @brief NRFX_PRS_ENABLED 435 * 436 * Boolean. Accepted values 0 and 1. 437 */ 438 #ifndef NRFX_PRS_ENABLED 439 #define NRFX_PRS_ENABLED 0 440 #endif 441 442 /** 443 * @brief NRFX_PRS_CONFIG_LOG_ENABLED 444 * 445 * Boolean. Accepted values 0 and 1. 446 */ 447 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 448 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 449 #endif 450 451 /** 452 * @brief NRFX_PRS_CONFIG_LOG_LEVEL 453 * 454 * Integer value. 455 * Supported values: 456 * - Off = 0 457 * - Error = 1 458 * - Warning = 2 459 * - Info = 3 460 * - Debug = 4 461 */ 462 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 463 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 464 #endif 465 466 /** 467 * @brief NRFX_PRS_BOX_0_ENABLED 468 * 469 * Boolean. Accepted values 0 and 1. 470 */ 471 #ifndef NRFX_PRS_BOX_0_ENABLED 472 #define NRFX_PRS_BOX_0_ENABLED 0 473 #endif 474 475 /** 476 * @brief NRFX_PRS_BOX_1_ENABLED 477 * 478 * Boolean. Accepted values 0 and 1. 479 */ 480 #ifndef NRFX_PRS_BOX_1_ENABLED 481 #define NRFX_PRS_BOX_1_ENABLED 0 482 #endif 483 484 /** 485 * @brief NRFX_PRS_BOX_2_ENABLED 486 * 487 * Boolean. Accepted values 0 and 1. 488 */ 489 #ifndef NRFX_PRS_BOX_2_ENABLED 490 #define NRFX_PRS_BOX_2_ENABLED 0 491 #endif 492 493 /** 494 * @brief NRFX_PRS_BOX_3_ENABLED 495 * 496 * Boolean. Accepted values 0 and 1. 497 */ 498 #ifndef NRFX_PRS_BOX_3_ENABLED 499 #define NRFX_PRS_BOX_3_ENABLED 0 500 #endif 501 502 /** 503 * @brief NRFX_PWM_ENABLED 504 * 505 * Boolean. Accepted values 0 and 1. 506 */ 507 #ifndef NRFX_PWM_ENABLED 508 #define NRFX_PWM_ENABLED 0 509 #endif 510 511 /** 512 * @brief NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 513 * 514 * Integer value. Minimum: 0 Maximum: 7 515 */ 516 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 517 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 518 #endif 519 520 /** 521 * @brief NRFX_PWM_CONFIG_LOG_ENABLED 522 * 523 * Boolean. Accepted values 0 and 1. 524 */ 525 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED 526 #define NRFX_PWM_CONFIG_LOG_ENABLED 0 527 #endif 528 529 /** 530 * @brief NRFX_PWM_CONFIG_LOG_LEVEL 531 * 532 * Integer value. 533 * Supported values: 534 * - Off = 0 535 * - Error = 1 536 * - Warning = 2 537 * - Info = 3 538 * - Debug = 4 539 */ 540 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 541 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 542 #endif 543 544 /** 545 * @brief NRFX_PWM0_ENABLED 546 * 547 * Boolean. Accepted values 0 and 1. 548 */ 549 #ifndef NRFX_PWM0_ENABLED 550 #define NRFX_PWM0_ENABLED 0 551 #endif 552 553 /** 554 * @brief NRFX_PWM1_ENABLED 555 * 556 * Boolean. Accepted values 0 and 1. 557 */ 558 #ifndef NRFX_PWM1_ENABLED 559 #define NRFX_PWM1_ENABLED 0 560 #endif 561 562 /** 563 * @brief NRFX_PWM2_ENABLED 564 * 565 * Boolean. Accepted values 0 and 1. 566 */ 567 #ifndef NRFX_PWM2_ENABLED 568 #define NRFX_PWM2_ENABLED 0 569 #endif 570 571 /** 572 * @brief NRFX_PWM3_ENABLED 573 * 574 * Boolean. Accepted values 0 and 1. 575 */ 576 #ifndef NRFX_PWM3_ENABLED 577 #define NRFX_PWM3_ENABLED 0 578 #endif 579 580 /** 581 * @brief NRFX_RTC_ENABLED 582 * 583 * Boolean. Accepted values 0 and 1. 584 */ 585 #ifndef NRFX_RTC_ENABLED 586 #define NRFX_RTC_ENABLED 0 587 #endif 588 589 /** 590 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 591 * 592 * Integer value. Minimum: 0 Maximum: 7 593 */ 594 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 595 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 596 #endif 597 598 /** 599 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 600 * 601 * Boolean. Accepted values 0 and 1. 602 */ 603 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 604 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 605 #endif 606 607 /** 608 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 609 * 610 * Integer value. 611 * Supported values: 612 * - Off = 0 613 * - Error = 1 614 * - Warning = 2 615 * - Info = 3 616 * - Debug = 4 617 */ 618 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 619 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 620 #endif 621 622 /** 623 * @brief NRFX_RTC0_ENABLED 624 * 625 * Boolean. Accepted values 0 and 1. 626 */ 627 #ifndef NRFX_RTC0_ENABLED 628 #define NRFX_RTC0_ENABLED 0 629 #endif 630 631 /** 632 * @brief NRFX_RTC1_ENABLED 633 * 634 * Boolean. Accepted values 0 and 1. 635 */ 636 #ifndef NRFX_RTC1_ENABLED 637 #define NRFX_RTC1_ENABLED 0 638 #endif 639 640 /** 641 * @brief NRFX_SAADC_ENABLED 642 * 643 * Boolean. Accepted values 0 and 1. 644 */ 645 #ifndef NRFX_SAADC_ENABLED 646 #define NRFX_SAADC_ENABLED 0 647 #endif 648 649 /** 650 * @brief NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 651 * 652 * Integer value. Minimum: 0 Maximum: 7 653 */ 654 #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 655 #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 656 #endif 657 658 /** 659 * @brief NRFX_SAADC_CONFIG_LOG_ENABLED 660 * 661 * Boolean. Accepted values 0 and 1. 662 */ 663 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 664 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 665 #endif 666 667 /** 668 * @brief NRFX_SAADC_CONFIG_LOG_LEVEL 669 * 670 * Integer value. 671 * Supported values: 672 * - Off = 0 673 * - Error = 1 674 * - Warning = 2 675 * - Info = 3 676 * - Debug = 4 677 */ 678 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 679 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 680 #endif 681 682 /** 683 * @brief NRFX_SPIM_ENABLED 684 * 685 * Boolean. Accepted values 0 and 1. 686 */ 687 #ifndef NRFX_SPIM_ENABLED 688 #define NRFX_SPIM_ENABLED 0 689 #endif 690 691 /** 692 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 693 * 694 * Integer value. Minimum: 0 Maximum: 7 695 */ 696 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 697 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 698 #endif 699 700 /** 701 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 702 * 703 * Boolean. Accepted values 0 and 1. 704 */ 705 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 706 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 707 #endif 708 709 /** 710 * @brief NRFX_SPIM_CONFIG_LOG_LEVEL 711 * 712 * Integer value. 713 * Supported values: 714 * - Off = 0 715 * - Error = 1 716 * - Warning = 2 717 * - Info = 3 718 * - Debug = 4 719 */ 720 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 721 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 722 #endif 723 724 /** 725 * @brief NRFX_SPIM0_ENABLED 726 * 727 * Boolean. Accepted values 0 and 1. 728 */ 729 #ifndef NRFX_SPIM0_ENABLED 730 #define NRFX_SPIM0_ENABLED 0 731 #endif 732 733 /** 734 * @brief NRFX_SPIM1_ENABLED 735 * 736 * Boolean. Accepted values 0 and 1. 737 */ 738 #ifndef NRFX_SPIM1_ENABLED 739 #define NRFX_SPIM1_ENABLED 0 740 #endif 741 742 /** 743 * @brief NRFX_SPIM2_ENABLED 744 * 745 * Boolean. Accepted values 0 and 1. 746 */ 747 #ifndef NRFX_SPIM2_ENABLED 748 #define NRFX_SPIM2_ENABLED 0 749 #endif 750 751 /** 752 * @brief NRFX_SPIM3_ENABLED 753 * 754 * Boolean. Accepted values 0 and 1. 755 */ 756 #ifndef NRFX_SPIM3_ENABLED 757 #define NRFX_SPIM3_ENABLED 0 758 #endif 759 760 /** 761 * @brief NRFX_SPIS_ENABLED 762 * 763 * Boolean. Accepted values 0 and 1. 764 */ 765 #ifndef NRFX_SPIS_ENABLED 766 #define NRFX_SPIS_ENABLED 0 767 #endif 768 769 /** 770 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 771 * 772 * Integer value. Minimum: 0 Maximum: 7 773 */ 774 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 775 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 776 #endif 777 778 /** 779 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 780 * 781 * Boolean. Accepted values 0 and 1. 782 */ 783 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 784 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 785 #endif 786 787 /** 788 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 789 * 790 * Integer value. 791 * Supported values: 792 * - Off = 0 793 * - Error = 1 794 * - Warning = 2 795 * - Info = 3 796 * - Debug = 4 797 */ 798 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 799 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 800 #endif 801 802 /** 803 * @brief NRFX_SPIS0_ENABLED 804 * 805 * Boolean. Accepted values 0 and 1. 806 */ 807 #ifndef NRFX_SPIS0_ENABLED 808 #define NRFX_SPIS0_ENABLED 0 809 #endif 810 811 /** 812 * @brief NRFX_SPIS1_ENABLED 813 * 814 * Boolean. Accepted values 0 and 1. 815 */ 816 #ifndef NRFX_SPIS1_ENABLED 817 #define NRFX_SPIS1_ENABLED 0 818 #endif 819 820 /** 821 * @brief NRFX_SPIS2_ENABLED 822 * 823 * Boolean. Accepted values 0 and 1. 824 */ 825 #ifndef NRFX_SPIS2_ENABLED 826 #define NRFX_SPIS2_ENABLED 0 827 #endif 828 829 /** 830 * @brief NRFX_SPIS3_ENABLED 831 * 832 * Boolean. Accepted values 0 and 1. 833 */ 834 #ifndef NRFX_SPIS3_ENABLED 835 #define NRFX_SPIS3_ENABLED 0 836 #endif 837 838 /** 839 * @brief NRFX_SYSTICK_ENABLED 840 * 841 * Boolean. Accepted values 0 and 1. 842 */ 843 #ifndef NRFX_SYSTICK_ENABLED 844 #define NRFX_SYSTICK_ENABLED 0 845 #endif 846 847 /** 848 * @brief NRFX_TIMER_ENABLED 849 * 850 * Boolean. Accepted values 0 and 1. 851 */ 852 #ifndef NRFX_TIMER_ENABLED 853 #define NRFX_TIMER_ENABLED 0 854 #endif 855 856 /** 857 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 858 * 859 * Integer value. Minimum: 0 Maximum: 7 860 */ 861 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 862 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 863 #endif 864 865 /** 866 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 867 * 868 * Boolean. Accepted values 0 and 1. 869 */ 870 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 871 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 872 #endif 873 874 /** 875 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 876 * 877 * Integer value. 878 * Supported values: 879 * - Off = 0 880 * - Error = 1 881 * - Warning = 2 882 * - Info = 3 883 * - Debug = 4 884 */ 885 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 886 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 887 #endif 888 889 /** 890 * @brief NRFX_TIMER0_ENABLED 891 * 892 * Boolean. Accepted values 0 and 1. 893 */ 894 #ifndef NRFX_TIMER0_ENABLED 895 #define NRFX_TIMER0_ENABLED 0 896 #endif 897 898 /** 899 * @brief NRFX_TIMER1_ENABLED 900 * 901 * Boolean. Accepted values 0 and 1. 902 */ 903 #ifndef NRFX_TIMER1_ENABLED 904 #define NRFX_TIMER1_ENABLED 0 905 #endif 906 907 /** 908 * @brief NRFX_TIMER2_ENABLED 909 * 910 * Boolean. Accepted values 0 and 1. 911 */ 912 #ifndef NRFX_TIMER2_ENABLED 913 #define NRFX_TIMER2_ENABLED 0 914 #endif 915 916 /** 917 * @brief NRFX_TWIM_ENABLED 918 * 919 * Boolean. Accepted values 0 and 1. 920 */ 921 #ifndef NRFX_TWIM_ENABLED 922 #define NRFX_TWIM_ENABLED 0 923 #endif 924 925 /** 926 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 927 * 928 * Integer value. Minimum: 0 Maximum: 7 929 */ 930 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 931 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 932 #endif 933 934 /** 935 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 936 * 937 * Boolean. Accepted values 0 and 1. 938 */ 939 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 940 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 941 #endif 942 943 /** 944 * @brief NRFX_TWIM_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_TWIM_CONFIG_LOG_LEVEL 955 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 956 #endif 957 958 /** 959 * @brief NRFX_TWIM0_ENABLED 960 * 961 * Boolean. Accepted values 0 and 1. 962 */ 963 #ifndef NRFX_TWIM0_ENABLED 964 #define NRFX_TWIM0_ENABLED 0 965 #endif 966 967 /** 968 * @brief NRFX_TWIM1_ENABLED 969 * 970 * Boolean. Accepted values 0 and 1. 971 */ 972 #ifndef NRFX_TWIM1_ENABLED 973 #define NRFX_TWIM1_ENABLED 0 974 #endif 975 976 /** 977 * @brief NRFX_TWIM2_ENABLED 978 * 979 * Boolean. Accepted values 0 and 1. 980 */ 981 #ifndef NRFX_TWIM2_ENABLED 982 #define NRFX_TWIM2_ENABLED 0 983 #endif 984 985 /** 986 * @brief NRFX_TWIM3_ENABLED 987 * 988 * Boolean. Accepted values 0 and 1. 989 */ 990 #ifndef NRFX_TWIM3_ENABLED 991 #define NRFX_TWIM3_ENABLED 0 992 #endif 993 994 /** 995 * @brief NRFX_TWIS_ENABLED 996 * 997 * Boolean. Accepted values 0 and 1. 998 */ 999 #ifndef NRFX_TWIS_ENABLED 1000 #define NRFX_TWIS_ENABLED 0 1001 #endif 1002 1003 /** 1004 * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1005 * 1006 * Integer value. Minimum: 0 Maximum: 7 1007 */ 1008 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1009 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1010 #endif 1011 1012 /** 1013 * @brief NRFX_TWIS_CONFIG_LOG_ENABLED 1014 * 1015 * Boolean. Accepted values 0 and 1. 1016 */ 1017 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 1018 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 1019 #endif 1020 1021 /** 1022 * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized 1023 * only once. 1024 * 1025 * Boolean. Accepted values 0 and 1. 1026 */ 1027 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 1028 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 1029 #endif 1030 1031 /** 1032 * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode. 1033 * 1034 * Boolean. Accepted values 0 and 1. 1035 */ 1036 #ifndef NRFX_TWIS_NO_SYNC_MODE 1037 #define NRFX_TWIS_NO_SYNC_MODE 0 1038 #endif 1039 1040 /** 1041 * @brief NRFX_TWIS_CONFIG_LOG_LEVEL 1042 * 1043 * Integer value. 1044 * Supported values: 1045 * - Off = 0 1046 * - Error = 1 1047 * - Warning = 2 1048 * - Info = 3 1049 * - Debug = 4 1050 */ 1051 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 1052 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 1053 #endif 1054 1055 /** 1056 * @brief NRFX_TWIS0_ENABLED 1057 * 1058 * Boolean. Accepted values 0 and 1. 1059 */ 1060 #ifndef NRFX_TWIS0_ENABLED 1061 #define NRFX_TWIS0_ENABLED 0 1062 #endif 1063 1064 /** 1065 * @brief NRFX_TWIS1_ENABLED 1066 * 1067 * Boolean. Accepted values 0 and 1. 1068 */ 1069 #ifndef NRFX_TWIS1_ENABLED 1070 #define NRFX_TWIS1_ENABLED 0 1071 #endif 1072 1073 /** 1074 * @brief NRFX_TWIS2_ENABLED 1075 * 1076 * Boolean. Accepted values 0 and 1. 1077 */ 1078 #ifndef NRFX_TWIS2_ENABLED 1079 #define NRFX_TWIS2_ENABLED 0 1080 #endif 1081 1082 /** 1083 * @brief NRFX_TWIS3_ENABLED 1084 * 1085 * Boolean. Accepted values 0 and 1. 1086 */ 1087 #ifndef NRFX_TWIS3_ENABLED 1088 #define NRFX_TWIS3_ENABLED 0 1089 #endif 1090 1091 /** 1092 * @brief NRFX_UARTE_ENABLED 1093 * 1094 * Boolean. Accepted values 0 and 1. 1095 */ 1096 #ifndef NRFX_UARTE_ENABLED 1097 #define NRFX_UARTE_ENABLED 0 1098 #endif 1099 1100 /** 1101 * @brief NRFX_UARTE_RX_FIFO_FLUSH_WORKAROUND_MAGIC_BYTE 1102 * 1103 * Integer value. Minimum: 0. Maximum: 255. 1104 */ 1105 #ifndef NRFX_UARTE_RX_FIFO_FLUSH_WORKAROUND_MAGIC_BYTE 1106 #define NRFX_UARTE_RX_FIFO_FLUSH_WORKAROUND_MAGIC_BYTE 171 1107 #endif 1108 1109 /** 1110 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1111 * 1112 * Integer value. Minimum: 0 Maximum: 7 1113 */ 1114 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1115 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1116 #endif 1117 1118 /** 1119 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 1120 * 1121 * Boolean. Accepted values 0 and 1. 1122 */ 1123 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1124 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1125 #endif 1126 1127 /** 1128 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 1129 * 1130 * Integer value. 1131 * Supported values: 1132 * - Off = 0 1133 * - Error = 1 1134 * - Warning = 2 1135 * - Info = 3 1136 * - Debug = 4 1137 */ 1138 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1139 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1140 #endif 1141 1142 /** 1143 * @brief NRFX_UARTE0_ENABLED 1144 * 1145 * Boolean. Accepted values 0 and 1. 1146 */ 1147 #ifndef NRFX_UARTE0_ENABLED 1148 #define NRFX_UARTE0_ENABLED 0 1149 #endif 1150 1151 /** 1152 * @brief NRFX_UARTE1_ENABLED 1153 * 1154 * Boolean. Accepted values 0 and 1. 1155 */ 1156 #ifndef NRFX_UARTE1_ENABLED 1157 #define NRFX_UARTE1_ENABLED 0 1158 #endif 1159 1160 /** 1161 * @brief NRFX_UARTE2_ENABLED 1162 * 1163 * Boolean. Accepted values 0 and 1. 1164 */ 1165 #ifndef NRFX_UARTE2_ENABLED 1166 #define NRFX_UARTE2_ENABLED 0 1167 #endif 1168 1169 /** 1170 * @brief NRFX_UARTE3_ENABLED 1171 * 1172 * Boolean. Accepted values 0 and 1. 1173 */ 1174 #ifndef NRFX_UARTE3_ENABLED 1175 #define NRFX_UARTE3_ENABLED 0 1176 #endif 1177 1178 /** 1179 * @brief NRFX_WDT_ENABLED 1180 * 1181 * Boolean. Accepted values 0 and 1. 1182 */ 1183 #ifndef NRFX_WDT_ENABLED 1184 #define NRFX_WDT_ENABLED 0 1185 #endif 1186 1187 /** 1188 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1189 * 1190 * Integer value. Minimum: 0 Maximum: 7 1191 */ 1192 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1193 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 1194 #endif 1195 1196 /** 1197 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 1198 * 1199 * Boolean. Accepted values 0 and 1. 1200 */ 1201 #ifndef NRFX_WDT_CONFIG_NO_IRQ 1202 #define NRFX_WDT_CONFIG_NO_IRQ 0 1203 #endif 1204 1205 /** 1206 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 1207 * 1208 * Boolean. Accepted values 0 and 1. 1209 */ 1210 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 1211 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 1212 #endif 1213 1214 /** 1215 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 1216 * 1217 * Integer value. 1218 * Supported values: 1219 * - Off = 0 1220 * - Error = 1 1221 * - Warning = 2 1222 * - Info = 3 1223 * - Debug = 4 1224 */ 1225 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 1226 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 1227 #endif 1228 1229 #endif /* NRFX_CONFIG_NRF91_H__ */ 1230