Configuration Reference

Normative

The configuration items a conformant watchdog driver MUST support (CHI-WDG-MUST-09). The configuration toolchain, data structure, and file schema are implementation-defined; vendor extensions are allowed. For a worked example see Configuration. The model follows the common configuration structure in the General part.

General
General options

Property

Type

Description

enable_development_error_reporting

bool

If true, development error checking and reporting is enabled (see Errors).

Configuration set
ConfigSet

Property

Type

Description

config_set_name

str

Name of the configuration set; must be a valid C identifier.

default_mode

DefaultMode

Default watchdog mode applied by Wdg_Init: ModeOff | ModeNormal | ModeAlternative.

initial_timeout

int

Initial timeout (ms) applied by Wdg_Init. Range [1, ] (upper bound implementation-defined).

maximum_timeout

int

Maximum allowed timeout (ms) — the upper bound for Wdg_UpdateTimeout. Range [1, ] (upper bound implementation-defined).

setting_off

impl-defined

Hardware-specific settings for WDG_MODE_OFF.

setting_normal

impl-defined

Hardware-specific settings for WDG_MODE_NORMAL.

setting_alternative

impl-defined

Hardware-specific settings for WDG_MODE_ALTERNATIVE.

Note

The per-mode setting_* groups are implementation-defined — they hold the hardware register values (and, for the logical strategy, the trigger interval) for each mode.