DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: cantrcv Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_CANTRCV_SECTION_9_3_De_Initialization_SPI_Synchronous

Quelle: SWS_CANTransceiverDriver.pdf (Seite 57) • Ziel-Anforderung: SWS_Std_00005

Wortlaut

9.3 De-Initialization (SPI Synchronous) «module» CanTrcv «module» EcuM «module» CanIf «module» ComM «module» CanSM «module» Spi «module» Can ComM state == NoCom CanSM mode == SilentCom Trcv == NORMAL Ctrl == STARTED                                                                !          " #    $                       %       " & ' (            )    !                 !          #   * )    ! & '   $                             %        In CanSM buffered CtrlMode = CAN_CS_STOPPED       alt CanSM_ClearTrcvWufFlagIndication() was called #    !      %             $  ! " " "     !     *     ! %    +  " #  ,            " CanTrcv_ClearTrcvWufFlag(Transceiver) CanSM_MainFunction() CanSM_RequestComMode(NetworkA, NoCom) Can_SetControllerMode(Controller, CAN_T_STOP) CanTrcv_SetOpMode(Transceiver, CANIF_TRCV_MODE_STANDBY): Std_ReturnType CanIf_ClearTrcvWufFlagIndication(TransceiverId) CanIf_SetTrcvMode(TransceiverId, CANIF_TRCV_MODE_STANDBY) Spi_SyncTransmit(Sequence) CanIf_ClearTrcvWufFlag(TransceiverId) Spi_SyncTransmit(Sequence) CanIf_SetControllerMode(ControllerId, CAN_CS_STOPPED) CanSM_TransceiverModeIndication(TransceiverId, CANIF_TRCV_MODE_STANDBY) CanSM_ClearTrcvWufFlagIndication(Transceiver) CanIf_TrcvModeIndication(TransceiverId, CANIF_TRCV_MODE_STANDBY) Figure 9.2: CanTrcv Deinit SPI synchronous I «module» CanTrcv «module» EcuM «module» CanIf «module» ComM «module» CanSM «module» Spi «module» Can alt CanSM_TransceiverModeIndication was called with TransceiverMode == STANDBY In CanSM buffered CtrlMode = CANIF_CS_SLEEP if E_OK has been returned                                                       !   "              alt Wakeup Source [bus (priority_high)] [pin (prio_medium)] [no wakeup (prio_low)]   #$ %   #$ %   &  '   "   !     (   )  *+ ,   !   - ./    0 & 1  (  alt return value of SetCtrlMode (SLEEP) [E_OK] [E_NOT_OK] alt return value of SetCtrlMode (SLEEP) [E_OK] [E_NOT_OK]   # $ %    "  (  !         "  (  2 )   2  " -     "  ) 3  "  )   -   4      2 3 2  2    3 -  :CAN_OK / CAN_NOT_OK CanIf_CheckTrcvWakeFlagIndication(TransceiverId) CanIf_SetControllerMode(ControllerId, CANIF_CS_SLEEP) ComM_<Bus>SM_ModeIndication(NetworkA, NoCom) CanSM_CheckTransceiverWakeFlagIndication(Transceiver) CanIf_CheckTrcvWakeFlagIndication(TransceiverId) CanSM_CheckTransceiverWakeFlagIndication(Transceiver) ComM_CanSM_ModeIndication(NetworkA, NoCom) Clear Wake Flag via Spi_SyncTransmit() [optional]:EcuM_SetWakeupEvent(WuSourcePin) EcuM_SetWakeupEvent(WuSourceBus) Read Wake Flag via Spi_SyncTransmit() CanIf_CheckTrcvWakeFlag(TransceiverId) :E_OK / E_NOT_OK CanTrcv_CheckWakeFlag(Transceiver) Can_SetControllerMode(Controller, CAN_T_SLEEP) Figure 9.3: CanTrcv Deinit SPI synchronous II

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_CANTransceiverDriver.pdf
Dokumentseite Seite 57
Ziel-Modul cantrcv (classic)
Ziel-Anforderung SWS_Std_00005
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95