CLASSIC
Modul: ecum
Rolle: heuristic
Konfidenz: 80%
SNIP_CLASSIC_ECUM_SECTION_8_5_4_5_EcuM_CheckWakeupHook
Wortlaut
8.5.4.5 EcuM_CheckWakeupHook
[SWS_EcuM_91006] Definition of configurable interface EcuM_CheckWakeup
Hook
Upstream requirements: SRS_ModeMgm_00003
⌈
Service Name
EcuM_CheckWakeupHook
Syntax
void EcuM_CheckWakeupHook (
EcuM_WakeupSourceType wakeupSource
)
Service ID [hex]
0x42
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
wakeupSource
–
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
This callout is called by the EcuM to poll a wakeup source.
Available via
EcuM_Externals.h
⌋
Note:
The
callout
function
EcuM_CheckWakeupHook
was
named
EcuM_CheckWakeup in former specifications of the EcuM (was SWS_EcuM_02929).
For R21-11 the previous callout EcuM_CheckWakeup was changed to a real
function
of
the
EcuM
(with
the
same
name),
which
now
calls
the
callout
EcuM_CheckWakeupHook.
Note: The EcuM_CheckWakeupHook function is implemented by the integrator code
to call the corresponding <driver module >_CheckWakeup of the given wakeup source.
Within the callout EcuM_CheckWakeupHook the following functions may be called in
the given order:
• Call EcuM_StartCheckWakeup with the given wakeup source to start the
CheckWakeupTimer. A running CheckWakeupTimer shall prevent a shutdown
of the ECU before the wakeup sources has been checked by the corresponding
driver module (e.g. CanTrcv) for a pending wakeup.
• Call <driver module>_CheckWakeup of the driver module (e.g. CanTrcv) which is
assigned to the given wakeup source
[SWS_EcuM_04098]
Upstream requirements: SRS_ModeMgm_00018
⌈If EcuM_SetWakeupEvent is called by the driver module for the corresponding
wakeup source, then the CheckWakeupTimer shall be cancelled.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Mentions EcuM_CheckWakeup and EcuM_CheckWakeupHook integration.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_ECUStateManager.pdf |
|---|---|
| Dokumentseite | Seite 145 |
| Ziel-Modul | ecum (classic) |
| Ziel-Anforderung | SWS_Gpt_00406 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.80 |