vemu.

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

FieldTypeLabel
state_jsonstrWDT State Summary (JSON)
intenu32INTEN (interrupt enable mask)
nmienu32NMIEN (NMI enable mask)
runningboolRunning (WDT is counting)
crvu32CRV (counter reload value)
rrenu32RREN (reload register enable bitmask)
configu32CONFIG (SLEEP/HALT/STOPEN)
reqstatusu32REQSTATUS (pending reload requests)
ev_timeoutu32EVENTS_TIMEOUT latch
ev_stoppedu32EVENTS_STOPPED latch

Read at runtime with emulator.peripheral_snapshot(name).

Boards using this peripheral