The watchdog is a countdown timer that can restart parts of the chip if it reaches zero. This can be used to restart the processor if software gets stuck in an infinite loop. The programmer must periodically write a value to the watchdog to stop it from reaching zero.
Credit: based on
rp-hal implementation (also licensed Apache+MIT)
- Watchdog peripheral