Errors
Normative
The error codes a conformant watchdog driver reports. Development errors are only raised when
development error reporting is enabled (see enable_development_error_reporting in
Configuration Reference). The watchdog driver defines no runtime errors. Governed by
CHI-WDG-MUST-06 and CHI-WDG-MUST-07 in Wdg — Requirements.
Development errors
When development error reporting is enabled, each API detects the conditions below and raises the
listed error via LogM_Report with development-error level. Wdg_SetMode
additionally returns E_NOT_OK when it detects a development error.
API |
Condition |
Error id |
|---|---|---|
|
WdgDrv already initialized |
|
|
|
|
|
WdgDrv not initialized |
|
|
|
|
|
|
|
Development error type
Defines
-
WDG_DEVERR_PARAM_TIMEOUT (2U)
Specified timeout value exceeds maximum timeout in the configuration
-
WDG_DEVERR_PARAM_TIMEOUT (2U)
Available via: WdgIf_DriverTypes.h. Vendor-specific error definitions MUST be provided
via Wdg.h instead.