CLASSIC
Modul: comm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_COMM_SECTION_8_4_1_2_EcuM_ValidateWakeupEvent
Wortlaut
8.4.1.2 EcuM_ValidateWakeupEvent
[SWS_EcuM_02829] Definition of callback function EcuM_ValidateWakeupEvent
Upstream requirements: SRS_ModeMgm_00003, SRS_BSW_00359, SRS_BSW_00360
⌈
Service Name
EcuM_ValidateWakeupEvent
Syntax
void EcuM_ValidateWakeupEvent (
EcuM_WakeupSourceType sources
)
Service ID [hex]
0x14
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
sources
Events that have been validated
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
After wakeup, the ECU State Manager will stop the process during the WAKEUP VALIDATION
state/sequence to wait for validation of the wakeup event.This API service is used to indicate to
the ECU Manager module that the wakeup events indicated in the sources parameter have
been validated.
Available via
EcuM.h
⌋
[SWS_EcuM_04078]
Upstream requirements: SRS_ModeMgm_00003
⌈EcuM_ValidateWakeupEvent sets (OR-operation) all events passed as a bit set in
the sources in parameter (EcuM_WakeupSourceType bitmask) in the internal validated
wakeup events variable.⌋
See also section 7.6.3 Internal Representation of Wakeup States.
[SWS_EcuM_04079]
Upstream requirements: SRS_ModeMgm_00003
⌈EcuMValidateWakeupEvent
shall
invoke
BswM_EcuM_CurrentWakeup
with
its
sources parameter and state value ECUM_WKSTATUS_VALIDATED.⌋
[SWS_EcuM_02645]
Upstream requirements: SRS_ModeMgm_00003
⌈EcuM_ValidateWakeupEvent shall invoke ComM_EcuM_WakeUpIndication for
each wakeup event if the EcuMComMChannelRef parameter (see ECUC_Ecu
M_00101) in the EcuMWakeupSource configuration container for the corresponding
wakeup source is configured.⌋
[SWS_EcuM_02868]
Upstream requirements: SRS_ModeMgm_00003, SRS_BSW_00350
⌈If EcuMDevErrorDetect is enabled and the sources parameter contains an unknown (unconfigured) wakeup source, EcuM_ValidateWakeupEvent shall ignore
the call and report the ECUM_E_UNKNOWN_WAKEUP_SOURCE to Det.⌋
[SWS_EcuM_02345]
Upstream requirements: SRS_ModeMgm_00003, SRS_BSW_00333
⌈EcuM_ValidateWakeupEvent shall be callable from interrupt context and task context.⌋
[SWS_EcuM_02790]
Upstream requirements: SRS_ModeMgm_00003
⌈EcuM_ValidateWakeupEvent shall return without effect for all sources except communication channels when called while the ECU Manager module is in the RUN state.⌋
[SWS_EcuM_02791]
Upstream requirements: SRS_ModeMgm_00003
⌈EcuM_ValidateWakeupEvent shall have full effect in any ECU Phase for those
sources that correspond to a communication channel (see [SWS_EcuM_02645]).⌋
[SWS_EcuM_04140]
Upstream requirements: SRS_ModeMgm_00003
⌈EcuM_ValidateWakeupEvent shall invoke ComM_EcuM_PNCWakeUpIndication
for each wakeup event and for every referenced PNC if at least one EcuMComMPNCRef parameter (see ECUC_EcuM_00228) in the EcuMWakeupSource configuration
container for the corresponding wakeup source is configured.⌋
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_ECUStateManager.pdf |
|---|---|
| Dokumentseite | Seite 134 |
| Ziel-Modul | comm (classic) |
| Ziel-Anforderung | SWS_EcuM_04140 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |