aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/chips
diff options
context:
space:
mode:
authorMatthew Tran <[email protected]>2025-02-21 23:40:53 -0600
committerMatthew Tran <[email protected]>2025-02-22 00:02:43 -0600
commit1b4f7884271faf79c9f92f940e9fc7d4c83ca644 (patch)
treeebe5cbeef9b0809dac27209a3a9582a6aa215a7e /embassy-nrf/src/chips
parent2e7a2b61275d70d7d09cb676490e2cba4d2bde3f (diff)
nrf5340: configure LFCLK
Diffstat (limited to 'embassy-nrf/src/chips')
-rw-r--r--embassy-nrf/src/chips/nrf5340_app.rs4
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);
368impl_qdec!(QDEC0, QDEC0, QDEC0); 370impl_qdec!(QDEC0, QDEC0, QDEC0);
369impl_qdec!(QDEC1, QDEC1, QDEC1); 371impl_qdec!(QDEC1, QDEC1, QDEC1);
370 372
373#[cfg(any(not(feature = "_nrf5340"), feature = "lfxo-pins-as-gpio"))]
371impl_pin!(P0_00, 0, 0); 374impl_pin!(P0_00, 0, 0);
375#[cfg(any(not(feature = "_nrf5340"), feature = "lfxo-pins-as-gpio"))]
372impl_pin!(P0_01, 0, 1); 376impl_pin!(P0_01, 0, 1);
373#[cfg(feature = "nfc-pins-as-gpio")] 377#[cfg(feature = "nfc-pins-as-gpio")]
374impl_pin!(P0_02, 0, 2); 378impl_pin!(P0_02, 0, 2);