diff options
| author | Matthew Tran <[email protected]> | 2025-02-21 23:40:53 -0600 |
|---|---|---|
| committer | Matthew Tran <[email protected]> | 2025-02-22 00:02:43 -0600 |
| commit | 1b4f7884271faf79c9f92f940e9fc7d4c83ca644 (patch) | |
| tree | ebe5cbeef9b0809dac27209a3a9582a6aa215a7e /embassy-nrf/src/chips | |
| parent | 2e7a2b61275d70d7d09cb676490e2cba4d2bde3f (diff) | |
nrf5340: configure LFCLK
Diffstat (limited to 'embassy-nrf/src/chips')
| -rw-r--r-- | embassy-nrf/src/chips/nrf5340_app.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-nrf/src/chips/nrf5340_app.rs b/embassy-nrf/src/chips/nrf5340_app.rs index bc613e351..b33a19df7 100644 --- a/embassy-nrf/src/chips/nrf5340_app.rs +++ b/embassy-nrf/src/chips/nrf5340_app.rs | |||
| @@ -262,7 +262,9 @@ embassy_hal_internal::peripherals! { | |||
| 262 | PPI_GROUP5, | 262 | PPI_GROUP5, |
| 263 | 263 | ||
| 264 | // GPIO port 0 | 264 | // GPIO port 0 |
| 265 | #[cfg(any(not(feature = "_nrf5340"), feature = "lfxo-pins-as-gpio"))] | ||
| 265 | P0_00, | 266 | P0_00, |
| 267 | #[cfg(any(not(feature = "_nrf5340"), feature = "lfxo-pins-as-gpio"))] | ||
| 266 | P0_01, | 268 | P0_01, |
| 267 | #[cfg(feature = "nfc-pins-as-gpio")] | 269 | #[cfg(feature = "nfc-pins-as-gpio")] |
| 268 | P0_02, | 270 | P0_02, |
| @@ -368,7 +370,9 @@ impl_pdm!(PDM0, PDM0, PDM0); | |||
| 368 | impl_qdec!(QDEC0, QDEC0, QDEC0); | 370 | impl_qdec!(QDEC0, QDEC0, QDEC0); |
| 369 | impl_qdec!(QDEC1, QDEC1, QDEC1); | 371 | impl_qdec!(QDEC1, QDEC1, QDEC1); |
| 370 | 372 | ||
| 373 | #[cfg(any(not(feature = "_nrf5340"), feature = "lfxo-pins-as-gpio"))] | ||
| 371 | impl_pin!(P0_00, 0, 0); | 374 | impl_pin!(P0_00, 0, 0); |
| 375 | #[cfg(any(not(feature = "_nrf5340"), feature = "lfxo-pins-as-gpio"))] | ||
| 372 | impl_pin!(P0_01, 0, 1); | 376 | impl_pin!(P0_01, 0, 1); |
| 373 | #[cfg(feature = "nfc-pins-as-gpio")] | 377 | #[cfg(feature = "nfc-pins-as-gpio")] |
| 374 | impl_pin!(P0_02, 0, 2); | 378 | impl_pin!(P0_02, 0, 2); |
