CLASSIC
Modul: bswm
Rolle: heuristic
Konfidenz: 80%
SNIP_CLASSIC_BSWM_SECTION_7_5_3_Activities_in_the_Poll_Sequence
Wortlaut
7.5.3 Activities in the Poll Sequence
The Poll Sequence in sleep modes can be used to check the wakeup sources.
[SWS_EcuM_03020] Upstream requirements: SRS_ModeMgm_00002
⌈In the Poll sequence the EcuM shall call the callouts EcuM_SleepActivity and EcuM_CheckWakeupHook() in a blocking loop (if EcuMWakeupSourcePolling is set to true) until a pending/validated wakeup event is reported.⌋
«module» EcuM
«module» :BswM Integration Code
«module» Mcu
«module» Wakeup Source
«module» Os loop WHILE no pending/validated wakeup events loop FOR all wakeup sources that need polling opt Wakeup handling [Wakeup detected] alt Validation Needed [Yes] [No]
!
"
#
$
EcuM_CheckWakeupHook(EcuM_WakeupSourceType)
<Module>_CheckWakeup()
BswM_EcuM_CurrentWakeup(sources. ECUM_WKSTATUS_VALIDATED)
EcuM_SetWakeupEvent(EcuM_WakeupSourceType)
DisableAllInterrupts()
EcuM_SleepActivity()
BswM_EcuM_CurrentWakeup(sources. ECUM_WKSTATUS_PENDING)
EcuM_GetPendingWakeupEvents(EcuM_WakeupSourceType)
EnableAllInterrupts()
Mcu_SetMode(Mcu_ModeType) Figure 7.13: Poll Sequence
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
checking wakeup source
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_ECUStateManager.pdf |
|---|---|
| Dokumentseite | Seite 57 |
| Ziel-Modul | bswm (classic) |
| Ziel-Anforderung | SWS_EcuM_91007 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.80 |