1 /* 2 * Copyright (c) 2019 - 2023, Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef NRFX_CONFIG_NRF5340_NETWORK_H__ 8 #define NRFX_CONFIG_NRF5340_NETWORK_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 /* 15 * The MDK provides macros for accessing the peripheral register structures 16 * by using their secure and non-secure address mappings (with the names 17 * containing the suffix _S or _NS, respectively). Because the nrfx drivers 18 * use the macros without any suffixes, you must translate the names. 19 * The following section provides configuration for the name translation. 20 */ 21 #define NRF_AAR NRF_AAR_NS 22 #define NRF_ACL NRF_ACL_NS 23 #define NRF_CCM NRF_CCM_NS 24 #define NRF_CLOCK NRF_CLOCK_NS 25 #define NRF_CTI NRF_CTI_NS 26 #define NRF_CTRLAP NRF_CTRLAP_NS 27 #define NRF_DCNF NRF_DCNF_NS 28 #define NRF_DPPIC NRF_DPPIC_NS 29 #define NRF_ECB NRF_ECB_NS 30 #define NRF_EGU0 NRF_EGU0_NS 31 #define NRF_FICR NRF_FICR_NS 32 #define NRF_GPIOTE NRF_GPIOTE_NS 33 #define NRF_IPC NRF_IPC_NS 34 #define NRF_NVMC NRF_NVMC_NS 35 #define NRF_P0 NRF_P0_NS 36 #define NRF_P1 NRF_P1_NS 37 #define NRF_POWER NRF_POWER_NS 38 #define NRF_RADIO NRF_RADIO_NS 39 #define NRF_RESET NRF_RESET_NS 40 #define NRF_RNG NRF_RNG_NS 41 #define NRF_RTC0 NRF_RTC0_NS 42 #define NRF_RTC1 NRF_RTC1_NS 43 #define NRF_SPIM0 NRF_SPIM0_NS 44 #define NRF_SPIS0 NRF_SPIS0_NS 45 #define NRF_SWI0 NRF_SWI0_NS 46 #define NRF_SWI1 NRF_SWI1_NS 47 #define NRF_SWI2 NRF_SWI2_NS 48 #define NRF_SWI3 NRF_SWI3_NS 49 #define NRF_TEMP NRF_TEMP_NS 50 #define NRF_TIMER0 NRF_TIMER0_NS 51 #define NRF_TIMER1 NRF_TIMER1_NS 52 #define NRF_TIMER2 NRF_TIMER2_NS 53 #define NRF_TWIM0 NRF_TWIM0_NS 54 #define NRF_TWIS0 NRF_TWIS0_NS 55 #define NRF_UARTE0 NRF_UARTE0_NS 56 #define NRF_UICR NRF_UICR_NS 57 #define NRF_VMC NRF_VMC_NS 58 #define NRF_VREQCTRL NRF_VREQCTRL_NS 59 #define NRF_WDT NRF_WDT_NS 60 61 /** 62 * @brief NRFX_DEFAULT_IRQ_PRIORITY 63 * 64 * Integer value. Minimum: 0 Maximum: 7 65 */ 66 #ifndef NRFX_DEFAULT_IRQ_PRIORITY 67 #define NRFX_DEFAULT_IRQ_PRIORITY 7 68 #endif 69 70 /** 71 * @brief NRFX_CLOCK_ENABLED 72 * 73 * Boolean. Accepted values 0 and 1. 74 */ 75 #ifndef NRFX_CLOCK_ENABLED 76 #define NRFX_CLOCK_ENABLED 0 77 #endif 78 79 /** 80 * @brief NRFX_CLOCK_CONFIG_LF_SRC 81 * 82 * Integer value. 83 * Supported values: 84 * - RC = 1 85 * - XTAL = 2 86 * - Synth = 3 87 */ 88 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 89 #define NRFX_CLOCK_CONFIG_LF_SRC 2 90 #endif 91 92 /** 93 * @brief NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 94 * 95 * Boolean. Accepted values 0 and 1. 96 */ 97 #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 98 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0 99 #endif 100 101 /** 102 * @brief NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 103 * 104 * Boolean. Accepted values 0 and 1. 105 */ 106 #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 107 #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0 108 #endif 109 110 /** 111 * @brief NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 112 * 113 * Integer value. Minimum: 0 Maximum: 7 114 */ 115 #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 116 #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 117 #endif 118 119 /** 120 * @brief NRFX_CLOCK_CONFIG_LOG_ENABLED 121 * 122 * Boolean. Accepted values 0 and 1. 123 */ 124 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 125 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 126 #endif 127 128 /** 129 * @brief NRFX_CLOCK_CONFIG_LOG_LEVEL 130 * 131 * Integer value. 132 * Supported values: 133 * - Off = 0 134 * - Error = 1 135 * - Warning = 2 136 * - Info = 3 137 * - Debug = 4 138 */ 139 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 140 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 141 #endif 142 143 /** 144 * @brief NRFX_DPPI_ENABLED 145 * 146 * Boolean. Accepted values 0 and 1. 147 */ 148 #ifndef NRFX_DPPI_ENABLED 149 #define NRFX_DPPI_ENABLED 0 150 #endif 151 152 /** 153 * @brief NRFX_DPPI_CONFIG_LOG_ENABLED 154 * 155 * Boolean. Accepted values 0 and 1. 156 */ 157 #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED 158 #define NRFX_DPPI_CONFIG_LOG_ENABLED 0 159 #endif 160 161 /** 162 * @brief NRFX_DPPI_CONFIG_LOG_LEVEL 163 * 164 * Integer value. 165 * Supported values: 166 * - Off = 0 167 * - Error = 1 168 * - Warning = 2 169 * - Info = 3 170 * - Debug = 4 171 */ 172 #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL 173 #define NRFX_DPPI_CONFIG_LOG_LEVEL 3 174 #endif 175 176 /** 177 * @brief NRFX_EGU_ENABLED 178 * 179 * Boolean. Accepted values 0 and 1. 180 */ 181 #ifndef NRFX_EGU_ENABLED 182 #define NRFX_EGU_ENABLED 0 183 #endif 184 185 /** 186 * @brief NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 187 * 188 * Integer value. Minimum: 0 Maximum: 7 189 */ 190 #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 191 #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 192 #endif 193 194 /** 195 * @brief NRFX_EGU0_ENABLED 196 * 197 * Boolean. Accepted values 0 and 1. 198 */ 199 #ifndef NRFX_EGU0_ENABLED 200 #define NRFX_EGU0_ENABLED 0 201 #endif 202 203 /** 204 * @brief NRFX_GPIOTE_ENABLED 205 * 206 * Boolean. Accepted values 0 and 1. 207 */ 208 #ifndef NRFX_GPIOTE_ENABLED 209 #define NRFX_GPIOTE_ENABLED 0 210 #endif 211 212 /** 213 * @brief NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 214 * 215 * Integer value. Minimum: 0 Maximum: 7 216 */ 217 #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 218 #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 219 #endif 220 221 /** 222 * @brief NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 223 * 224 * Integer value. Minimum: 0 Maximum: 15 225 */ 226 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 227 #define NRFX_GPIOTE_CONFIG_NUM_OF_EVT_HANDLERS 1 228 #endif 229 230 /** 231 * @brief NRFX_GPIOTE_CONFIG_LOG_ENABLED 232 * 233 * Boolean. Accepted values 0 and 1. 234 */ 235 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 236 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 237 #endif 238 239 /** 240 * @brief NRFX_GPIOTE_CONFIG_LOG_LEVEL 241 * 242 * Integer value. 243 * Supported values: 244 * - Off = 0 245 * - Error = 1 246 * - Warning = 2 247 * - Info = 3 248 * - Debug = 4 249 */ 250 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 251 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 252 #endif 253 254 /** 255 * @brief NRFX_IPC_ENABLED 256 * 257 * Boolean. Accepted values 0 and 1. 258 */ 259 #ifndef NRFX_IPC_ENABLED 260 #define NRFX_IPC_ENABLED 0 261 #endif 262 263 /** 264 * @brief NRFX_NVMC_ENABLED 265 * 266 * Boolean. Accepted values 0 and 1. 267 */ 268 #ifndef NRFX_NVMC_ENABLED 269 #define NRFX_NVMC_ENABLED 0 270 #endif 271 272 /** 273 * @brief NRFX_POWER_ENABLED 274 * 275 * Boolean. Accepted values 0 and 1. 276 */ 277 #ifndef NRFX_POWER_ENABLED 278 #define NRFX_POWER_ENABLED 0 279 #endif 280 281 /** 282 * @brief NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 283 * 284 * Integer value. Minimum: 0 Maximum: 7 285 */ 286 #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 287 #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 288 #endif 289 290 /** 291 * @brief NRFX_PRS_ENABLED 292 * 293 * Boolean. Accepted values 0 and 1. 294 */ 295 #ifndef NRFX_PRS_ENABLED 296 #define NRFX_PRS_ENABLED 0 297 #endif 298 299 /** 300 * @brief NRFX_PRS_CONFIG_LOG_ENABLED 301 * 302 * Boolean. Accepted values 0 and 1. 303 */ 304 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 305 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 306 #endif 307 308 /** 309 * @brief NRFX_PRS_CONFIG_LOG_LEVEL 310 * 311 * Integer value. 312 * Supported values: 313 * - Off = 0 314 * - Error = 1 315 * - Warning = 2 316 * - Info = 3 317 * - Debug = 4 318 */ 319 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 320 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 321 #endif 322 323 /** 324 * @brief NRFX_PRS_BOX_0_ENABLED 325 * 326 * Boolean. Accepted values 0 and 1. 327 */ 328 #ifndef NRFX_PRS_BOX_0_ENABLED 329 #define NRFX_PRS_BOX_0_ENABLED 0 330 #endif 331 332 /** 333 * @brief NRFX_RNG_ENABLED 334 * 335 * Boolean. Accepted values 0 and 1. 336 */ 337 #ifndef NRFX_RNG_ENABLED 338 #define NRFX_RNG_ENABLED 0 339 #endif 340 341 /** 342 * @brief NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 343 * 344 * Integer value. Minimum: 0 Maximum: 7 345 */ 346 #ifndef NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY 347 #define NRFX_RNG_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 348 #endif 349 350 /** 351 * @brief NRFX_RNG_CONFIG_LOG_ENABLED 352 * 353 * Boolean. Accepted values 0 and 1. 354 */ 355 #ifndef NRFX_RNG_CONFIG_LOG_ENABLED 356 #define NRFX_RNG_CONFIG_LOG_ENABLED 0 357 #endif 358 359 /** 360 * @brief NRFX_RNG_CONFIG_LOG_LEVEL 361 * 362 * Integer value. 363 * Supported values: 364 * - Off = 0 365 * - Error = 1 366 * - Warning = 2 367 * - Info = 3 368 * - Debug = 4 369 */ 370 #ifndef NRFX_RNG_CONFIG_LOG_LEVEL 371 #define NRFX_RNG_CONFIG_LOG_LEVEL 3 372 #endif 373 374 /** 375 * @brief NRFX_RTC_ENABLED 376 * 377 * Boolean. Accepted values 0 and 1. 378 */ 379 #ifndef NRFX_RTC_ENABLED 380 #define NRFX_RTC_ENABLED 0 381 #endif 382 383 /** 384 * @brief NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 385 * 386 * Integer value. Minimum: 0 Maximum: 7 387 */ 388 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 389 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 390 #endif 391 392 /** 393 * @brief NRFX_RTC_CONFIG_LOG_ENABLED 394 * 395 * Boolean. Accepted values 0 and 1. 396 */ 397 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED 398 #define NRFX_RTC_CONFIG_LOG_ENABLED 0 399 #endif 400 401 /** 402 * @brief NRFX_RTC_CONFIG_LOG_LEVEL 403 * 404 * Integer value. 405 * Supported values: 406 * - Off = 0 407 * - Error = 1 408 * - Warning = 2 409 * - Info = 3 410 * - Debug = 4 411 */ 412 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL 413 #define NRFX_RTC_CONFIG_LOG_LEVEL 3 414 #endif 415 416 /** 417 * @brief NRFX_RTC0_ENABLED 418 * 419 * Boolean. Accepted values 0 and 1. 420 */ 421 #ifndef NRFX_RTC0_ENABLED 422 #define NRFX_RTC0_ENABLED 0 423 #endif 424 425 /** 426 * @brief NRFX_RTC1_ENABLED 427 * 428 * Boolean. Accepted values 0 and 1. 429 */ 430 #ifndef NRFX_RTC1_ENABLED 431 #define NRFX_RTC1_ENABLED 0 432 #endif 433 434 /** 435 * @brief NRFX_SPIM_ENABLED 436 * 437 * Boolean. Accepted values 0 and 1. 438 */ 439 #ifndef NRFX_SPIM_ENABLED 440 #define NRFX_SPIM_ENABLED 0 441 #endif 442 443 /** 444 * @brief NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 445 * 446 * Integer value. Minimum: 0 Maximum: 7 447 */ 448 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 449 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 450 #endif 451 452 /** 453 * @brief NRFX_SPIM_CONFIG_LOG_ENABLED 454 * 455 * Boolean. Accepted values 0 and 1. 456 */ 457 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 458 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 459 #endif 460 461 /** 462 * @brief NRFX_SPIM_CONFIG_LOG_LEVEL 463 * 464 * Integer value. 465 * Supported values: 466 * - Off = 0 467 * - Error = 1 468 * - Warning = 2 469 * - Info = 3 470 * - Debug = 4 471 */ 472 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 473 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 474 #endif 475 476 /** 477 * @brief NRFX_SPIM0_ENABLED 478 * 479 * Boolean. Accepted values 0 and 1. 480 */ 481 #ifndef NRFX_SPIM0_ENABLED 482 #define NRFX_SPIM0_ENABLED 0 483 #endif 484 485 /** 486 * @brief NRFX_SPIS_ENABLED 487 * 488 * Boolean. Accepted values 0 and 1. 489 */ 490 #ifndef NRFX_SPIS_ENABLED 491 #define NRFX_SPIS_ENABLED 0 492 #endif 493 494 /** 495 * @brief NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 496 * 497 * Integer value. Minimum: 0 Maximum: 7 498 */ 499 #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 500 #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 501 #endif 502 503 /** 504 * @brief NRFX_SPIS_CONFIG_LOG_ENABLED 505 * 506 * Boolean. Accepted values 0 and 1. 507 */ 508 #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED 509 #define NRFX_SPIS_CONFIG_LOG_ENABLED 0 510 #endif 511 512 /** 513 * @brief NRFX_SPIS_CONFIG_LOG_LEVEL 514 * 515 * Integer value. 516 * Supported values: 517 * - Off = 0 518 * - Error = 1 519 * - Warning = 2 520 * - Info = 3 521 * - Debug = 4 522 */ 523 #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL 524 #define NRFX_SPIS_CONFIG_LOG_LEVEL 3 525 #endif 526 527 /** 528 * @brief NRFX_SPIS0_ENABLED 529 * 530 * Boolean. Accepted values 0 and 1. 531 */ 532 #ifndef NRFX_SPIS0_ENABLED 533 #define NRFX_SPIS0_ENABLED 0 534 #endif 535 536 /** 537 * @brief NRFX_SYSTICK_ENABLED 538 * 539 * Boolean. Accepted values 0 and 1. 540 */ 541 #ifndef NRFX_SYSTICK_ENABLED 542 #define NRFX_SYSTICK_ENABLED 0 543 #endif 544 545 /** 546 * @brief NRFX_TEMP_ENABLED 547 * 548 * Boolean. Accepted values 0 and 1. 549 */ 550 #ifndef NRFX_TEMP_ENABLED 551 #define NRFX_TEMP_ENABLED 0 552 #endif 553 554 /** 555 * @brief NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 556 * 557 * Integer value. Minimum: 0 Maximum: 7 558 */ 559 #ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 560 #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 561 #endif 562 563 /** 564 * @brief NRFX_TEMP_CONFIG_LOG_ENABLED 565 * 566 * Boolean. Accepted values 0 and 1. 567 */ 568 #ifndef NRFX_TEMP_CONFIG_LOG_ENABLED 569 #define NRFX_TEMP_CONFIG_LOG_ENABLED 0 570 #endif 571 572 /** 573 * @brief NRFX_TEMP_CONFIG_LOG_LEVEL 574 * 575 * Integer value. 576 * Supported values: 577 * - Off = 0 578 * - Error = 1 579 * - Warning = 2 580 * - Info = 3 581 * - Debug = 4 582 */ 583 #ifndef NRFX_TEMP_CONFIG_LOG_LEVEL 584 #define NRFX_TEMP_CONFIG_LOG_LEVEL 3 585 #endif 586 587 /** 588 * @brief NRFX_TIMER_ENABLED 589 * 590 * Boolean. Accepted values 0 and 1. 591 */ 592 #ifndef NRFX_TIMER_ENABLED 593 #define NRFX_TIMER_ENABLED 0 594 #endif 595 596 /** 597 * @brief NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 598 * 599 * Integer value. Minimum: 0 Maximum: 7 600 */ 601 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 602 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 603 #endif 604 605 /** 606 * @brief NRFX_TIMER_CONFIG_LOG_ENABLED 607 * 608 * Boolean. Accepted values 0 and 1. 609 */ 610 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 611 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 612 #endif 613 614 /** 615 * @brief NRFX_TIMER_CONFIG_LOG_LEVEL 616 * 617 * Integer value. 618 * Supported values: 619 * - Off = 0 620 * - Error = 1 621 * - Warning = 2 622 * - Info = 3 623 * - Debug = 4 624 */ 625 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 626 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 627 #endif 628 629 /** 630 * @brief NRFX_TIMER0_ENABLED 631 * 632 * Boolean. Accepted values 0 and 1. 633 */ 634 #ifndef NRFX_TIMER0_ENABLED 635 #define NRFX_TIMER0_ENABLED 0 636 #endif 637 638 /** 639 * @brief NRFX_TIMER1_ENABLED 640 * 641 * Boolean. Accepted values 0 and 1. 642 */ 643 #ifndef NRFX_TIMER1_ENABLED 644 #define NRFX_TIMER1_ENABLED 0 645 #endif 646 647 /** 648 * @brief NRFX_TIMER2_ENABLED 649 * 650 * Boolean. Accepted values 0 and 1. 651 */ 652 #ifndef NRFX_TIMER2_ENABLED 653 #define NRFX_TIMER2_ENABLED 0 654 #endif 655 656 /** 657 * @brief NRFX_TWIM_ENABLED 658 * 659 * Boolean. Accepted values 0 and 1. 660 */ 661 #ifndef NRFX_TWIM_ENABLED 662 #define NRFX_TWIM_ENABLED 0 663 #endif 664 665 /** 666 * @brief NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 667 * 668 * Integer value. Minimum: 0 Maximum: 7 669 */ 670 #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 671 #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 672 #endif 673 674 /** 675 * @brief NRFX_TWIM_CONFIG_LOG_ENABLED 676 * 677 * Boolean. Accepted values 0 and 1. 678 */ 679 #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED 680 #define NRFX_TWIM_CONFIG_LOG_ENABLED 0 681 #endif 682 683 /** 684 * @brief NRFX_TWIM_CONFIG_LOG_LEVEL 685 * 686 * Integer value. 687 * Supported values: 688 * - Off = 0 689 * - Error = 1 690 * - Warning = 2 691 * - Info = 3 692 * - Debug = 4 693 */ 694 #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL 695 #define NRFX_TWIM_CONFIG_LOG_LEVEL 3 696 #endif 697 698 /** 699 * @brief NRFX_TWIM0_ENABLED 700 * 701 * Boolean. Accepted values 0 and 1. 702 */ 703 #ifndef NRFX_TWIM0_ENABLED 704 #define NRFX_TWIM0_ENABLED 0 705 #endif 706 707 /** 708 * @brief NRFX_TWIS_ENABLED 709 * 710 * Boolean. Accepted values 0 and 1. 711 */ 712 #ifndef NRFX_TWIS_ENABLED 713 #define NRFX_TWIS_ENABLED 0 714 #endif 715 716 /** 717 * @brief NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 718 * 719 * Integer value. Minimum: 0 Maximum: 7 720 */ 721 #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 722 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 723 #endif 724 725 /** 726 * @brief NRFX_TWIS_CONFIG_LOG_ENABLED 727 * 728 * Boolean. Accepted values 0 and 1. 729 */ 730 #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED 731 #define NRFX_TWIS_CONFIG_LOG_ENABLED 0 732 #endif 733 734 /** 735 * @brief NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized 736 * only once. 737 * 738 * Boolean. Accepted values 0 and 1. 739 */ 740 #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 741 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0 742 #endif 743 744 /** 745 * @brief NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode. 746 * 747 * Boolean. Accepted values 0 and 1. 748 */ 749 #ifndef NRFX_TWIS_NO_SYNC_MODE 750 #define NRFX_TWIS_NO_SYNC_MODE 0 751 #endif 752 753 /** 754 * @brief NRFX_TWIS_CONFIG_LOG_LEVEL 755 * 756 * Integer value. 757 * Supported values: 758 * - Off = 0 759 * - Error = 1 760 * - Warning = 2 761 * - Info = 3 762 * - Debug = 4 763 */ 764 #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL 765 #define NRFX_TWIS_CONFIG_LOG_LEVEL 3 766 #endif 767 768 /** 769 * @brief NRFX_TWIS0_ENABLED 770 * 771 * Boolean. Accepted values 0 and 1. 772 */ 773 #ifndef NRFX_TWIS0_ENABLED 774 #define NRFX_TWIS0_ENABLED 0 775 #endif 776 777 /** 778 * @brief NRFX_UARTE_ENABLED 779 * 780 * Boolean. Accepted values 0 and 1. 781 */ 782 #ifndef NRFX_UARTE_ENABLED 783 #define NRFX_UARTE_ENABLED 0 784 #endif 785 786 /** 787 * @brief NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 788 * 789 * Integer value. Minimum: 0 Maximum: 7 790 */ 791 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 792 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 793 #endif 794 795 /** 796 * @brief NRFX_UARTE_CONFIG_LOG_ENABLED 797 * 798 * Boolean. Accepted values 0 and 1. 799 */ 800 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 801 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 802 #endif 803 804 /** 805 * @brief NRFX_UARTE_CONFIG_LOG_LEVEL 806 * 807 * Integer value. 808 * Supported values: 809 * - Off = 0 810 * - Error = 1 811 * - Warning = 2 812 * - Info = 3 813 * - Debug = 4 814 */ 815 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 816 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 817 #endif 818 819 /** 820 * @brief NRFX_UARTE0_ENABLED 821 * 822 * Boolean. Accepted values 0 and 1. 823 */ 824 #ifndef NRFX_UARTE0_ENABLED 825 #define NRFX_UARTE0_ENABLED 0 826 #endif 827 828 /** 829 * @brief NRFX_WDT_ENABLED 830 * 831 * Boolean. Accepted values 0 and 1. 832 */ 833 #ifndef NRFX_WDT_ENABLED 834 #define NRFX_WDT_ENABLED 0 835 #endif 836 837 /** 838 * @brief NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 839 * 840 * Integer value. Minimum: 0 Maximum: 7 841 */ 842 #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 843 #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY 844 #endif 845 846 /** 847 * @brief NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 848 * 849 * Boolean. Accepted values 0 and 1. 850 */ 851 #ifndef NRFX_WDT_CONFIG_NO_IRQ 852 #define NRFX_WDT_CONFIG_NO_IRQ 0 853 #endif 854 855 /** 856 * @brief NRFX_WDT_CONFIG_LOG_ENABLED 857 * 858 * Boolean. Accepted values 0 and 1. 859 */ 860 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 861 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 862 #endif 863 864 /** 865 * @brief NRFX_WDT_CONFIG_LOG_LEVEL 866 * 867 * Integer value. 868 * Supported values: 869 * - Off = 0 870 * - Error = 1 871 * - Warning = 2 872 * - Info = 3 873 * - Debug = 4 874 */ 875 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 876 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 877 #endif 878 879 #endif // NRFX_CONFIG_NRF5340_NETWORK_H__ 880