DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: wdgm Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_WDGM_SECTION_8_3_6_WdgM_CheckpointReached

Quelle: SWS_WatchdogManager.pdf (Seite 79) • Ziel-Anforderung: SWS_WdgM_00396

Wortlaut

8.3.6 WdgM_CheckpointReached [SWS_WdgM_00263] Definition of API function WdgM_CheckpointReached Upstream requirements: SRS_BSW_00310 ⌈ Service Name WdgM_CheckpointReached Syntax Std_ReturnType WdgM_CheckpointReached ( WdgM_SupervisedEntityIdType SEID, WdgM_CheckpointIdType CheckpointID ) Service ID [hex] 0x0e Sync/Async Synchronous Reentrancy Reentrant SEID Identifier of the Supervised Entity that reports a Checkpoint. Parameters (in) CheckpointID Identifier of the Checkpoint within a Supervised Entity that has been reached. Parameters (inout) None Parameters (out) None Return value Std_ReturnType E_OK: Successfully updated alive counter E_NOT_OK: Update failed Description Indicates to the Watchdog Manager that a Checkpoint within a Supervised Entity has been reached. Available via WdgM.h ⌋ [SWS_WdgM_00321] ⌈The function WdgM_CheckpointReached() shall increment the Alive Counter of reported Checkpoint.⌋ [SWS_WdgM_00322] Upstream requirements: RS_HM_09235 ⌈The function WdgM_CheckpointReached() shall perform the Deadline Supervision (detection of early arrivals and delays) for the reported Supervised Entity using the reported Checkpoint. The output shall be an updated result of Deadline Supervision for the Supervised Entity.⌋ [SWS_WdgM_00323] ⌈The function WdgM_CheckpointReached() shall perform the Logical Supervision for the reported Supervised Entity using the reported Checkpoint. The output shall be an updated result of Logical Supervision for the Supervised Entity.⌋ [SWS_WdgM_00319] Upstream requirements: SRS_BSW_00452 ⌈The routine shall check if Supervised Entity to which the parameter CheckpointID belongs, is activated in the current mode. In case of an error (i.e. the Supervised Entity is deactivated in the current mode), the service shall return with E_NOT_OK without any action, and the error shall be reported to the Default Error Tracer with the runtime error code WDGM_E_SEDEACTIVATED.⌋ There are optional checks that are executed if and only if WdgMDevErrorDetect is enabled. [SWS_WdgM_00394] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is disabled: The function WdgM_CheckpointReached shall return without any effect if the Watchdog Manager is in WDGM_GLOBAL_STATUS_DEACTIVATED.⌋ [SWS_WdgM_00278] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is enabled, the parameter SEID shall be checked for being in the list of the entities under control of the Watchdog Manager. In case of an error, the service shall not be executed and the error shall be reported to the Default Error Tracer with the error code WDGM_ E_PARAM_SEID.⌋ [SWS_WdgM_00279] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is enabled: The function WdgM_CheckpointReached shall report the error to default error tracer with error code WDGM_E_UNINIT, without any further effect, if the Watchdog Manager is in WDGM_GLOBAL_STATUS_DEACTIVATED.⌋ [SWS_WdgM_00396] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is disabled: The function WdgM_CheckpointReached shall return without any effect if the Watchdog Manager is in WDGM_GLOBAL_STATUS_DEACTIVATED.⌋ [SWS_WdgM_00284] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is enabled, the routine shall check if the parameter CheckpointID is within the set of Checkpoints (see [ECUC_WdgM_00303]) associated with the Supervised Entity given by the parameter SEID. In case of an error, the service shall not be executed and the error shall be reported to the Default Error Tracer with the error code WDGM_ E_CPID.⌋

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

Cited verbatim in the snippet (deterministic citation).

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_WatchdogManager.pdf
Dokumentseite Seite 79
Ziel-Modul wdgm (classic)
Ziel-Anforderung SWS_WdgM_00396
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95