CLASSIC
Modul: cantrcv
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CANTRCV_SECTION_7_18_4_1_Wake_up_detection
Wortlaut
7.18.4.1 Wake-up detection
If wake-up support is enabled (see ECUC_CanIf_00843) CanIf is notified by the Integration Code about a detected CAN wake-up by the service CanIf_CheckWakeup () (see CAN Wakeup Sequences of [13]). In case of a CAN bus "wake-up" event the function CanIf_CheckWakeup(WakeupSource) may be called during execution of EcuM_CheckWakeup(WakeupSource) (see wake-up sequence diagrams of EcuM). CanIf in turn checks by configured input reference to EcuMWakeupSource in CanDrvs, which CanDrvs have to be checked. CanIf gets this information via reference CanIfCtrlCanCtrlRef. The Communication Service, which is called, belongs to the service defined during configuration (see CanIfDispatchCfg). In this way EcuM as well as CanSm are able to change CAN Controller States and to control the system behavior concerning the BusOff recovery or wake-up procedure.
[SWS_CANIF_00395] ⌈When CanIf_CheckWakeup(EcuM_WakeupSourceType WakeupSource) is invoked, CanIf shall query CanDrvs / CanTrcvs via CanTrcv_ CheckWakeup() or Can_CheckWakeup(), which exact CAN hardware device caused the bus wake-up.⌋ Note: It is implementation specific, which controllers and transceivers are queried. CanIf just has to find out the exact CAN hardware device.
[SWS_CANIF_00720] ⌈If at least one function call of Can_CheckWakeup() or CanTrcv_CheckWakeup() returns E_OK to CanIf, then CanIf_CheckWakeup() shall return E_OK.⌋
[SWS_CANIF_00678] ⌈If all calls of Can_CheckWakeup() or CanTrcv_CheckWakeup() return E_NOT_OK to CanIf, then CanIf_CheckWakeup() shall return E_NOT_OK.⌋
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_CANInterface.pdf |
|---|---|
| Dokumentseite | Seite 56 |
| Ziel-Modul | cantrcv (classic) |
| Ziel-Anforderung | SWS_EcuM_04040 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |