diff options
| author | Raul Alimbekov <[email protected]> | 2025-12-16 09:05:22 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-16 09:05:22 +0300 |
| commit | c9a04b4b732b7a3b696eb8223664c1a7942b1875 (patch) | |
| tree | 6dbe5c02e66eed8d8762f13f95afd24f8db2b38c /embassy-nrf/src/chips/nrf5340_app.rs | |
| parent | cde24a3ef1117653ba5ed4184102b33f745782fb (diff) | |
| parent | 5ae6e060ec1c90561719aabdc29d5b6e7b8b0a82 (diff) | |
Merge branch 'main' into main
Diffstat (limited to 'embassy-nrf/src/chips/nrf5340_app.rs')
| -rw-r--r-- | embassy-nrf/src/chips/nrf5340_app.rs | 71 |
1 files changed, 39 insertions, 32 deletions
diff --git a/embassy-nrf/src/chips/nrf5340_app.rs b/embassy-nrf/src/chips/nrf5340_app.rs index 730c9842d..aa51527fb 100644 --- a/embassy-nrf/src/chips/nrf5340_app.rs +++ b/embassy-nrf/src/chips/nrf5340_app.rs | |||
| @@ -435,38 +435,45 @@ impl_pin!(P1_13, 1, 13); | |||
| 435 | impl_pin!(P1_14, 1, 14); | 435 | impl_pin!(P1_14, 1, 14); |
| 436 | impl_pin!(P1_15, 1, 15); | 436 | impl_pin!(P1_15, 1, 15); |
| 437 | 437 | ||
| 438 | impl_ppi_channel!(PPI_CH0, 0 => configurable); | 438 | impl_ppi_channel!(PPI_CH0, DPPIC, 0 => configurable); |
| 439 | impl_ppi_channel!(PPI_CH1, 1 => configurable); | 439 | impl_ppi_channel!(PPI_CH1, DPPIC, 1 => configurable); |
| 440 | impl_ppi_channel!(PPI_CH2, 2 => configurable); | 440 | impl_ppi_channel!(PPI_CH2, DPPIC, 2 => configurable); |
| 441 | impl_ppi_channel!(PPI_CH3, 3 => configurable); | 441 | impl_ppi_channel!(PPI_CH3, DPPIC, 3 => configurable); |
| 442 | impl_ppi_channel!(PPI_CH4, 4 => configurable); | 442 | impl_ppi_channel!(PPI_CH4, DPPIC, 4 => configurable); |
| 443 | impl_ppi_channel!(PPI_CH5, 5 => configurable); | 443 | impl_ppi_channel!(PPI_CH5, DPPIC, 5 => configurable); |
| 444 | impl_ppi_channel!(PPI_CH6, 6 => configurable); | 444 | impl_ppi_channel!(PPI_CH6, DPPIC, 6 => configurable); |
| 445 | impl_ppi_channel!(PPI_CH7, 7 => configurable); | 445 | impl_ppi_channel!(PPI_CH7, DPPIC, 7 => configurable); |
| 446 | impl_ppi_channel!(PPI_CH8, 8 => configurable); | 446 | impl_ppi_channel!(PPI_CH8, DPPIC, 8 => configurable); |
| 447 | impl_ppi_channel!(PPI_CH9, 9 => configurable); | 447 | impl_ppi_channel!(PPI_CH9, DPPIC, 9 => configurable); |
| 448 | impl_ppi_channel!(PPI_CH10, 10 => configurable); | 448 | impl_ppi_channel!(PPI_CH10, DPPIC, 10 => configurable); |
| 449 | impl_ppi_channel!(PPI_CH11, 11 => configurable); | 449 | impl_ppi_channel!(PPI_CH11, DPPIC, 11 => configurable); |
| 450 | impl_ppi_channel!(PPI_CH12, 12 => configurable); | 450 | impl_ppi_channel!(PPI_CH12, DPPIC, 12 => configurable); |
| 451 | impl_ppi_channel!(PPI_CH13, 13 => configurable); | 451 | impl_ppi_channel!(PPI_CH13, DPPIC, 13 => configurable); |
| 452 | impl_ppi_channel!(PPI_CH14, 14 => configurable); | 452 | impl_ppi_channel!(PPI_CH14, DPPIC, 14 => configurable); |
| 453 | impl_ppi_channel!(PPI_CH15, 15 => configurable); | 453 | impl_ppi_channel!(PPI_CH15, DPPIC, 15 => configurable); |
| 454 | impl_ppi_channel!(PPI_CH16, 16 => configurable); | 454 | impl_ppi_channel!(PPI_CH16, DPPIC, 16 => configurable); |
| 455 | impl_ppi_channel!(PPI_CH17, 17 => configurable); | 455 | impl_ppi_channel!(PPI_CH17, DPPIC, 17 => configurable); |
| 456 | impl_ppi_channel!(PPI_CH18, 18 => configurable); | 456 | impl_ppi_channel!(PPI_CH18, DPPIC, 18 => configurable); |
| 457 | impl_ppi_channel!(PPI_CH19, 19 => configurable); | 457 | impl_ppi_channel!(PPI_CH19, DPPIC, 19 => configurable); |
| 458 | impl_ppi_channel!(PPI_CH20, 20 => configurable); | 458 | impl_ppi_channel!(PPI_CH20, DPPIC, 20 => configurable); |
| 459 | impl_ppi_channel!(PPI_CH21, 21 => configurable); | 459 | impl_ppi_channel!(PPI_CH21, DPPIC, 21 => configurable); |
| 460 | impl_ppi_channel!(PPI_CH22, 22 => configurable); | 460 | impl_ppi_channel!(PPI_CH22, DPPIC, 22 => configurable); |
| 461 | impl_ppi_channel!(PPI_CH23, 23 => configurable); | 461 | impl_ppi_channel!(PPI_CH23, DPPIC, 23 => configurable); |
| 462 | impl_ppi_channel!(PPI_CH24, 24 => configurable); | 462 | impl_ppi_channel!(PPI_CH24, DPPIC, 24 => configurable); |
| 463 | impl_ppi_channel!(PPI_CH25, 25 => configurable); | 463 | impl_ppi_channel!(PPI_CH25, DPPIC, 25 => configurable); |
| 464 | impl_ppi_channel!(PPI_CH26, 26 => configurable); | 464 | impl_ppi_channel!(PPI_CH26, DPPIC, 26 => configurable); |
| 465 | impl_ppi_channel!(PPI_CH27, 27 => configurable); | 465 | impl_ppi_channel!(PPI_CH27, DPPIC, 27 => configurable); |
| 466 | impl_ppi_channel!(PPI_CH28, 28 => configurable); | 466 | impl_ppi_channel!(PPI_CH28, DPPIC, 28 => configurable); |
| 467 | impl_ppi_channel!(PPI_CH29, 29 => configurable); | 467 | impl_ppi_channel!(PPI_CH29, DPPIC, 29 => configurable); |
| 468 | impl_ppi_channel!(PPI_CH30, 30 => configurable); | 468 | impl_ppi_channel!(PPI_CH30, DPPIC, 30 => configurable); |
| 469 | impl_ppi_channel!(PPI_CH31, 31 => configurable); | 469 | impl_ppi_channel!(PPI_CH31, DPPIC, 31 => configurable); |
| 470 | |||
| 471 | impl_ppi_group!(PPI_GROUP0, DPPIC, 0); | ||
| 472 | impl_ppi_group!(PPI_GROUP1, DPPIC, 1); | ||
| 473 | impl_ppi_group!(PPI_GROUP2, DPPIC, 2); | ||
| 474 | impl_ppi_group!(PPI_GROUP3, DPPIC, 3); | ||
| 475 | impl_ppi_group!(PPI_GROUP4, DPPIC, 4); | ||
| 476 | impl_ppi_group!(PPI_GROUP5, DPPIC, 5); | ||
| 470 | 477 | ||
| 471 | impl_saadc_input!(P0_04, ANALOG_INPUT0); | 478 | impl_saadc_input!(P0_04, ANALOG_INPUT0); |
| 472 | impl_saadc_input!(P0_05, ANALOG_INPUT1); | 479 | impl_saadc_input!(P0_05, ANALOG_INPUT1); |
