RP.Watchdog

Entities

Subtypes

Subprograms

Description

Copyright 2021 (C) Jeremy Grosser

SPDX-License-Identifier: BSD-3-Clause

Configure

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.

Parameters
Timeout
Debug_Pause

Disable

procedure Disable

Enable

procedure Enable

Enabled

function Enabled
   return Boolean
Return Value

Milliseconds

subtype Milliseconds is Positive range 1 .. 8_388;

Reload

procedure Reload

Remaining

function Remaining
   return Natural

Milliseconds left before the watchdog resets the processors, rounded down. Does not change while the watchdog is disabled or paused.

Return Value

Trigger

procedure Trigger

Reset now