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

SNIP_CLASSIC_CANTRCV_SECTION_9_4_De_Initialization_SPI_Asynchronous

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

Wortlaut

9.4 De-Initialization (SPI Asynchronous) «module» CanTrcv «module» EcuM «module» CanIf «module» ComM «module» CanSM «module» Spi «module» Can ComM state == NoCom CanSM mode == SilentCom Trcv == NORMAL Ctrl == STARTED alt CanSM_ClearTrcvWufFlagIndication() was called In CanSM buffered CtrlMode = CAN_CS_STOPPED                                                ! "        !   # $     %  "  $ " "   ""  &    " '        %    " ( )   "                   *     +  )    ,   -       ( "       "       In CanSM buffered Trcv Mode = CANIF_TRCV_MODE_STANDBY )   "  .  ' $            *   . ( (( % "  .    &    .  $    "    ( )   "  / "     "  &    " "   & ( Spi_AsyncTransmit(Sequence) CanTrcv_ClearTrcvWufFlag(Transceiver) CanIf_ClearTrcvWufFlag(TransceiverId) CanIf_SetTrcvMode(TransceiverId, CANIF_TRCV_MODE_STANDBY) CanSM_MainFunction() CanIf_SetControllerMode(ControllerId, CAN_CS_STOPPED) CanSM_MainFunction() Spi_AsyncTransmit(Sequence) Can_SetControllerMode(Controller, CAN_T_STOP) CanSM_RequestComMode(NetworkA, NoCom) CanIf_TrcvModeIndication(TransceiverId, CANIF_TRCV_MODE_STANDBY) CanIf_ClearTrcvWufFlagIndication(TransceiverId) CanTrcv_SetOpMode(Transceiver, CANIF_TRCV_MODE_STANDBY): Std_ReturnType CanSM_TransceiverModeIndication(TransceiverId, CANIF_TRCV_MODE_STANDBY) CanSM_ClearTrcvWufFlagIndication(Transceiver) Figure 9.4: CanTrcv Deinit SPI asynchronous 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 -  ComM_CanSM_ModeIndication(NetworkA, NoCom) CanSM_CheckTransceiverWakeFlagIndication(Transceiver) CanIf_CheckTrcvWakeFlagIndication(TransceiverId) [optional]:EcuM_SetWakeupEvent(WuSourcePin) Clear Wake Flag via Spi_AsyncTransmit() EcuM_SetWakeupEvent(WuSourceBus) ComM_<Bus>SM_ModeIndication(NetworkA, NoCom) CanTrcv_CheckWakeFlag(Transceiver) Read Wake Flag via Spi_AsyncTransmit() CanIf_CheckTrcvWakeFlag(TransceiverId) :E_OK / E_NOT_OK CanIf_SetControllerMode(ControllerId, CANIF_CS_SLEEP) :CAN_OK / CAN_NOT_OK CanIf_CheckTrcvWakeFlagIndication(TransceiverId) Can_SetControllerMode(Controller, CAN_T_SLEEP) CanSM_CheckTransceiverWakeFlagIndication(Transceiver) Figure 9.5: CanTrcv Deinit SPI asynchronous 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 55
Ziel-Modul cantrcv (classic)
Ziel-Anforderung SWS_Std_00005
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95