DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: bswm Rolle: heuristic Konfidenz: 90%

SNIP_CLASSIC_BSWM_SECTION_8_3_26_BswM_RequestMode

Quelle: SWS_BSWModeManager.pdf (Seite 86) • Ziel-Anforderung: SWS_CP_SYS_00001

Wortlaut

8.3.26 BswM_RequestMode [SWS_BswM_00046] Definition of API function BswM_RequestMode Upstream requirements: SRS_ModeMgm_09179, SRS_ModeMgm_09228 ⌈ Service Name BswM_RequestMode Syntax void BswM_RequestMode ( BswM_UserType requesting_user, BswM_ModeType requested_mode ) Service ID [hex] 0x02 Sync/Async Synchronous Reentrancy Reentrant requesting_user The user that requests the mode Parameters (in) requested_mode The requested mode. Parameters (inout) None Parameters (out) None Return value None Description Generic function call to request modes. This function shall only be used by other BSW modules that does not have a specific mode request interface. Available via BswM.h ⌋ [SWS_BswM_00077] Upstream requirements: SRS_BSW_00406 ⌈If the BswMDevErrorDetect switch is enabled, the routine shall check if the BSW Mode Manager is initialized. In case of an error, the BswM shall ignore the mode request and report the error to the Default Error Tracer with the error code BSWM_E_UNINIT.⌋ [SWS_BswM_00089] Upstream requirements: SRS_BSW_00323 ⌈If the BswMDevErrorDetect switch is enabled, the parameter requested_mode shall be checked for being in the allowed range. In case of an error, the BswM shall ignore the mode request and report the error to the Default Error Tracer with the value BSWM_E_REQ_MODE_OUT_OF_RANGE.⌋ [SWS_BswM_00090] Upstream requirements: SRS_BSW_00323 ⌈If the BswMDevErrorDetect switch is enabled, the parameter requesting_user shall be checked for being in the allowed range. In case of an error, the BswM shall ignore the mode request and report the error to the Default Error Tracer with the value BSWM_E_REQ_USER_OUT_OF_RANGE.⌋

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

Specifies signature of BswM_RequestMode function

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_BSWModeManager.pdf
Dokumentseite Seite 86
Ziel-Modul bswm (classic)
Ziel-Anforderung SWS_CP_SYS_00001
Semantische Rolle heuristic
Automatisierungs-Konfidenz 0.90