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