diff options
Diffstat (limited to 'examples/nrf54l15/src/bin')
| -rw-r--r-- | examples/nrf54l15/src/bin/wdt.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/nrf54l15/src/bin/wdt.rs b/examples/nrf54l15/src/bin/wdt.rs index 28856dad4..9fe37d080 100644 --- a/examples/nrf54l15/src/bin/wdt.rs +++ b/examples/nrf54l15/src/bin/wdt.rs | |||
| @@ -21,8 +21,9 @@ async fn main(_spawner: Spawner) { | |||
| 21 | // in the WDT interrupt. The core resets 2 ticks after firing the interrupt. | 21 | // in the WDT interrupt. The core resets 2 ticks after firing the interrupt. |
| 22 | config.action_during_debug_halt = HaltConfig::PAUSE; | 22 | config.action_during_debug_halt = HaltConfig::PAUSE; |
| 23 | 23 | ||
| 24 | // The nrf54l15 has two watchdogs. Only WDT0 is available in non-secure (ns) mode, as WDT1 is | 24 | // The nrf54l15 has two watchdogs. Only one (WDT) is available in non-secure (ns) mode, as the |
| 25 | // reserved for the secure (s) environment. In secure mode, both WDT0 and WDT1 are available. | 25 | // other is reserved for the secure (s) environment. In secure mode, both are available as WDT0 |
| 26 | // and WDT1. | ||
| 26 | info!("Watchdog launched with {} s timeout", TIMEOUT_S); | 27 | info!("Watchdog launched with {} s timeout", TIMEOUT_S); |
| 27 | let (_wdt, [mut handle]) = match Watchdog::try_new(p.WDT1, config) { | 28 | let (_wdt, [mut handle]) = match Watchdog::try_new(p.WDT1, config) { |
| 28 | Ok(x) => x, | 29 | Ok(x) => x, |
