Copyright 2021 (C) Jeremy Grosser
SPDX-License-Identifier: BSD-3-Clause
procedure Configure
(Timeout : Milliseconds;
Debug_Pause : Boolean := True)
Only Proc0 and Proc1 are reset when the watchdog is triggered. Clocks, SRAM, and buses are unaffected by the watchdog. (TODO: PSM_WDSEL config)
When Debug_Pause is True, the Watchdog timer does not run as long as a debugger is attached.
procedure Disable
procedure Enable
function Enabled
return Boolean
subtype Milliseconds is Positive range 1 .. 8_388;
procedure Reload
function Remaining
return Natural
Milliseconds left before the watchdog resets the processors, rounded down. Does not change while the watchdog is disabled or paused.
procedure Trigger
Reset now