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

SNIP_CLASSIC_WDGM_SECTION_8_3_5_WdgM_GetMode

Quelle: SWS_WatchdogManager.pdf (Seite 77) • Ziel-Anforderung: SWS_WdgM_00395

Wortlaut

8.3.5 WdgM_GetMode [SWS_WdgM_00168] Definition of API function WdgM_GetMode Upstream requirements: SRS_BSW_00310 ⌈ Service Name WdgM_GetMode Syntax Std_ReturnType WdgM_GetMode ( WdgM_ModeType* Mode ) Service ID [hex] 0x0b Sync/Async Synchronous Reentrancy Reentrant Parameters (in) None Parameters (inout) None Parameters (out) Mode Current mode of the Watchdog Manager. Return value Std_ReturnType E_OK: Current mode successfully returned E_NOT_OK: Returning current mode failed Description Returns the current mode of the Watchdog Manager. Available via WdgM.h ⌋ [SWS_WdgM_00170] ⌈The WdgM_GetMode service shall return the currently active mode of the Watchdog Manager. If the WdgM_SetMode service is active while this service is called, WdgM_GetMode shall return the previously active mode as long as the new mode has not been completely activated.⌋ There are optional checks that are executed if and only if WdgMDevErrorDetect is enabled. [SWS_WdgM_00253] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is enabled: The function WdgM_GetMode 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_00395] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is disabled: The function WdgM_GetMode shall return without any effect if the Watchdog Manager is in WDGM_GLOBAL_STATUS_DEACTIVATED.⌋ [SWS_WdgM_00254] Upstream requirements: SRS_BSW_00323, SRS_BSW_00350 ⌈If the configuration parameter WdgMDevErrorDetect [ECUC_WdgM_00301] is enabled, the routine shall check if NULL pointers are passed for OUT parameters. 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_INV_POINTER.⌋

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 77
Ziel-Modul wdgm (classic)
Ziel-Anforderung SWS_WdgM_00395
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95