CLASSIC
Modul: bswm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_BSWM_SECTION_7_3_Waiting_Functionality
Wortlaut
7.3 Waiting Functionality
Sometimes it is necessary to delay specific actions or wait for further mode controls. For this reason a Timer handling was added to the BswM. A Timer consists always of a BswMTimer as BswMModeRequestSource and corresponding actions (see BswMTimerControl) controlling this BswMTimer i.e. the timer can only be controlled in the context of the action BswMTimerControl -> BswMModeRequestSource/BswMTimer. The value of the BswMTimer (e.g. BSWM_TIMER_ STOPPED, BSWM_TIMER_STARTED, BSWM_TIMER_EXPIRED) can be evaluated by other rules configured in the BswM, in order to trigger action lists. There is no external interface to control or manipulate the timer.
[SWS_BswM_00261]
⌈Each BswMTimer shall be stopped (BSWM_TIMER_ STOPPED) during initialization.⌋(SRS_BSW_00101)
[SWS_BswM_00262] ⌈The action BswMTimerAction BSWM_TIMER_START shall reload the referenced BswMTimer (via BswMTimerRef) with the corresponding timer value (refer BswMTimerValue) and change the mode of the timer to BSWM_TIMER_ STARTED.⌋(SRS_ModeMgm_09180) Note: The timer can only reload by the BswMTimerAction action (no automatic reload possible).
[SWS_BswM_00263] ⌈Each BswMTimer in mode BSWM_TIMER_STARTED shall decrement the timer during the BswM_MainFunction (by the cycle time of the BswM_MainFunction).⌋(SRS_ModeMgm_09180) Note: The BswMTimer resolution is a multiple of the BswM_MainFunction cycle. Also, the accuracy of the BswMTimer depends on the accuracy of the BswM_MainFunction.
[SWS_BswM_00264] ⌈In case a BswMTimer which is in mode BSWM_TIMER_ STARTED expires, its mode shall be changed to BSWM_TIMER_EXPIRED, and then the BswMTimer mode shall be arbitrated in the same BswM_MainFunction cycle.⌋ (SRS_ModeMgm_09180)
[SWS_BswM_00265] ⌈The action BswMTimerAction BSWM_TIMER_STOP shall stop the referenced BswMTimer (via BswMTimerRef) immediately and change its’ mode to BSWM_TIMER_STOPPED.⌋(SRS_ModeMgm_09180)
[SWS_BswM_00220] ⌈The BswMRequestProcessing (e.g. IMMEDIATE, DEFERRED) configuration associated with a BswMTimer shall be ignored by the BswM. The BswM shall treat the processing of a BswMTimer always as DEFERRED; the BswMTimer is arbitrated during the BswM main function.⌋(SRS_ModeMgm_09180) Note: A BswMTimer in mode BSWM_TIMER_EXPIRED will not automatically be set to BSWM_TIMER_STOPPED by the BswM. An action will need to be configured by the user in order to transition the BswMTimer from BSWM_TIMER_EXPIRED into another mode. If there is no action configured to transition the BswMTimer out of mode BSWM_TIMER_EXPIRED, then the BswMTimer will continue to be arbitrated as BSWM_TIMER_EXPIRED in the following BswM main function cycles.
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_BSWModeManager.pdf |
|---|---|
| Dokumentseite | Seite 37 |
| Ziel-Modul | bswm (classic) |
| Ziel-Anforderung | SWS_BswM_00265 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |