Configuration
Informative
A worked watchdog configuration, using the YAML configuration model (the toolchain and file format are implementation-defined). The full property tables are in Configuration Reference; the binding rule is CHI-WDG-MUST-09.
Default mode, timeouts, and per-mode settings
The configuration selects the default mode applied by Wdg_Init, the initial and maximum
timeouts, and the (implementation-defined) hardware settings for each mode.
general:
enable_development_error_reporting: true
config_set:
- config_set_name: "WdgCfg"
default_mode: "ModeNormal" # ModeOff | ModeNormal | ModeAlternative
initial_timeout: 100 # ms, applied by Wdg_Init
maximum_timeout: 1000 # ms, upper bound for Wdg_UpdateTimeout
setting_off: # HW-specific settings per mode (impl-defined)
# ...
setting_normal:
# ...
setting_alternative:
# ...
Notes
``default_mode`` and ``initial_timeout`` are applied by
Wdg_Init.``maximum_timeout`` bounds
Wdg_UpdateTimeout— a larger value raisesWDG_DEVERR_PARAM_TIMEOUT.Per-mode settings (
setting_off/setting_normal/setting_alternative) are implementation-defined; they hold the hardware register values for each mode.Timeouts are in milliseconds. The upper range of
initial_timeout/maximum_timeoutis implementation-defined.