aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/chips
diff options
context:
space:
mode:
authorHaobo Gu <[email protected]>2025-10-14 23:39:52 +0800
committerHaobo Gu <[email protected]>2025-10-14 23:52:32 +0800
commit6fef28da94d133ce0cd36b5fb6ef2ef302c8eea0 (patch)
tree98b1d4292c21d403b9c22895b96a7ebb9db54df0 /embassy-nrf/src/chips
parent4d6763364d0eab3858eebfea9d98c4fdd208faf9 (diff)
feat(nrf): add rtc support for nRF54L
Signed-off-by: Haobo Gu <[email protected]>
Diffstat (limited to 'embassy-nrf/src/chips')
-rw-r--r--embassy-nrf/src/chips/nrf54l15_app.rs42
1 files changed, 42 insertions, 0 deletions
diff --git a/embassy-nrf/src/chips/nrf54l15_app.rs b/embassy-nrf/src/chips/nrf54l15_app.rs
index 82d30104f..901c5e7fc 100644
--- a/embassy-nrf/src/chips/nrf54l15_app.rs
+++ b/embassy-nrf/src/chips/nrf54l15_app.rs
@@ -249,6 +249,45 @@ embassy_hal_internal::peripherals! {
249 P2_09, 249 P2_09,
250 P2_10, 250 P2_10,
251 251
252 // RTC
253 RTC10,
254 RTC30,
255
256 // SERIAL
257 SERIAL00,
258 SERIAL20,
259 SERIAL21,
260 SERIAL22,
261 SERIAL30,
262
263 // SAADC
264 SAADC,
265
266 // RADIO
267 RADIO,
268
269 // TIMER
270 TIMER00,
271 TIMER10,
272 TIMER20,
273
274 // PPI BRIDGE
275 PPIB00,
276 PPIB01,
277 PPIB10,
278 PPIB11,
279 PPIB20,
280 PPIB21,
281 PPIB22,
282 PPIB30,
283
284 // GPIOTE
285 GPIOTE20,
286 GPIOTE30,
287
288 // CRACEN
289 CRACEN,
290
252 #[cfg(feature = "_s")] 291 #[cfg(feature = "_s")]
253 // RRAMC 292 // RRAMC
254 RRAMC, 293 RRAMC,
@@ -303,6 +342,9 @@ impl_pin!(P2_08, 2, 8);
303impl_pin!(P2_09, 2, 9); 342impl_pin!(P2_09, 2, 9);
304impl_pin!(P2_10, 2, 10); 343impl_pin!(P2_10, 2, 10);
305 344
345impl_rtc!(RTC10, RTC10, RTC10);
346impl_rtc!(RTC30, RTC30, RTC30);
347
306#[cfg(feature = "_ns")] 348#[cfg(feature = "_ns")]
307impl_wdt!(WDT, WDT31, WDT31, 0); 349impl_wdt!(WDT, WDT31, WDT31, 0);
308#[cfg(feature = "_s")] 350#[cfg(feature = "_s")]