aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/wdt.rs
diff options
context:
space:
mode:
authornerwalt <[email protected]>2025-08-08 10:23:22 -0600
committernerwalt <[email protected]>2025-08-08 10:23:22 -0600
commitadc0fc0a974476e0424077c2cf6c652e6c42ea86 (patch)
treec03c4377d929028bb7c77e4d160bfab61cb145b2 /embassy-nrf/src/wdt.rs
parentf2be66a5f94a655696407e2e7bc81c322aab3ea1 (diff)
Adds WDT support for the nrf54l15
Diffstat (limited to 'embassy-nrf/src/wdt.rs')
-rw-r--r--embassy-nrf/src/wdt.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/embassy-nrf/src/wdt.rs b/embassy-nrf/src/wdt.rs
index 308071726..7ab9adc29 100644
--- a/embassy-nrf/src/wdt.rs
+++ b/embassy-nrf/src/wdt.rs
@@ -37,9 +37,9 @@ impl Config {
37 pub fn try_new<T: Instance>(_wdt: &Peri<'_, T>) -> Option<Self> { 37 pub fn try_new<T: Instance>(_wdt: &Peri<'_, T>) -> Option<Self> {
38 let r = T::REGS; 38 let r = T::REGS;
39 39
40 #[cfg(not(any(feature = "_nrf91", feature = "_nrf5340")))] 40 #[cfg(not(any(feature = "_nrf91", feature = "_nrf5340", feature = "_nrf54l")))]
41 let runstatus = r.runstatus().read().runstatus(); 41 let runstatus = r.runstatus().read().runstatus();
42 #[cfg(any(feature = "_nrf91", feature = "_nrf5340"))] 42 #[cfg(any(feature = "_nrf91", feature = "_nrf5340", feature = "_nrf54l"))]
43 let runstatus = r.runstatus().read().runstatuswdt(); 43 let runstatus = r.runstatus().read().runstatuswdt();
44 44
45 if runstatus { 45 if runstatus {
@@ -90,9 +90,9 @@ impl<T: Instance> Watchdog<T> {
90 let crv = config.timeout_ticks.max(MIN_TICKS); 90 let crv = config.timeout_ticks.max(MIN_TICKS);
91 let rren = crate::pac::wdt::regs::Rren((1u32 << N) - 1); 91 let rren = crate::pac::wdt::regs::Rren((1u32 << N) - 1);
92 92
93 #[cfg(not(any(feature = "_nrf91", feature = "_nrf5340")))] 93 #[cfg(not(any(feature = "_nrf91", feature = "_nrf5340", feature = "_nrf54l")))]
94 let runstatus = r.runstatus().read().runstatus(); 94 let runstatus = r.runstatus().read().runstatus();
95 #[cfg(any(feature = "_nrf91", feature = "_nrf5340"))] 95 #[cfg(any(feature = "_nrf91", feature = "_nrf5340", feature = "_nrf54l"))]
96 let runstatus = r.runstatus().read().runstatuswdt(); 96 let runstatus = r.runstatus().read().runstatuswdt();
97 97
98 if runstatus { 98 if runstatus {