Timing - Watchdog - nordic,nrf-wdt
nRF5340 WDT (watchdog timer)
Behavioral watchdog model: LFCLK-driven down-counter with `CRV` reload value, eight `RR[n]` reload slots gated by `RREN`, `CONFIG.STOPEN`-guarded stop requiring `TSEN` unlock, DPPI SUBSCRIBE/PUBLISH support, and INTEN/NMIEN gating. On timeout `EVENTS_TIMEOUT` latches and the IRQ/NMI signal is pulsed; on deliberate stop `EVENTS_STOPPED` latches. No system reset is performed by the model itself.
tickableemits: signal_pulse
Events emitted
No peripheral-specific events. Structured activity (IRQs, DMA) surfaces through the shared event vocabulary.
Events accepted
No peripheral-specific input events. The peripheral is driven through MMIO register access.
Commands
This peripheral exposes no commands.
Snapshot fields
| Field | Type | Label |
|---|---|---|
| state_json | str | WDT State Summary (JSON) |
| inten | u32 | INTEN (interrupt enable mask) |
| nmien | u32 | NMIEN (NMI enable mask) |
| running | bool | Running (WDT is counting) |
| crv | u32 | CRV (counter reload value) |
| rren | u32 | RREN (reload register enable bitmask) |
| config | u32 | CONFIG (SLEEP/HALT/STOPEN) |
| reqstatus | u32 | REQSTATUS (pending reload requests) |
| ev_timeout | u32 | EVENTS_TIMEOUT latch |
| ev_stopped | u32 | EVENTS_STOPPED latch |
Read at runtime with emulator.peripheral_snapshot(name).