CLASSIC
Modul: canif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CANIF_SECTION_7_18_2_CAN_Controller_Operation_Modes
Wortlaut
7.18.2 CAN Controller Operation Modes
According to the requested operation mode by CanSm, CanIf forwards request CanDrvs.
[SWS_CANIF_00677] Upstream requirements: SRS_Can_01162, SRS_Can_02003
⌈If a controller mode referenced by ControllerId is in state CAN_CS_STOPPED and if the PduIdType parameter in a call of CanIf_Transmit() is assigned to that CAN Controller, then the call of CanIf_Transmit() does not result in a call of Can_ Write() or CanXL_Write() and returns E_NOT_OK.⌋
[SWS_CANIF_00485] ⌈If a controller mode referenced by ControllerId enters state CAN_CS_STOPPED, then CanIf shall clear the CanIf transmit buffers assigned to the CAN Controller corresponding.⌋
[SWS_CANIF_00739] Upstream requirements: SRS_Can_02004, SRS_Can_02005
⌈If a controller mode referenced by ControllerId enters state CAN_CS_STOPPED, then CanIf shall inform upper layer modules about failed transmission by calling LSduR_CanIfTxConfirmation(id, E_NOT_OK) for every outstanding TxConfirmation assigned to that CAN Controller. If CanIfPublicTxConfirmPollingSupport is enabled, CanIf shall also clear the information about a TxConfirmation (see [SWS_CANIF_00740]).⌋ Note: This ensures, that for each PDU, which shall be transmitted via CanIf_Transmit(), either a positive or negative LSduR_CanIfTxConfirmation() is called.
[SWS_CANIF_00724]
⌈When callback CanIf_ControllerBusOff(ControllerId) is called, the CanIf shall call CanSM_ControllerBusOff(ControllerId) of the CanSm or a CDD (see [SWS_CANIF_00559], [SWS_CANIF_00560]).⌋ Note for [SWS_CANIF_00724]: See Chapter 8.6.3.7 “<User_ControllerModeIndication>”.
[SWS_CANIF_00711]
⌈When callback CanIf_ControllerModeIndication (ControllerId, ControllerMode) is called, CanIf shall call CanSM_ControllerModeIndication(ControllerId, ControllerMode) of the CanSm or a CDD (see [SWS_CANIF_00691], [SWS_CANIF_00692]).⌋ Note for [SWS_CANIF_00711]: See Chapter 8.6.3.7 “<User_ControllerModeIndication>”.
[SWS_CANIF_00712]
⌈When callback CanIf_TrcvModeIndication (Transceiver, TransceiverMode) is called, CanIf shall call CanSM_TransceiverModeIndication(TransceiverId, TransceiverMode) of the CanSm or a CDD (see [SWS_CANIF_00697], [SWS_CANIF_00698]).⌋ Note for [SWS_CANIF_00712]: See Chapter 8.6.3.7 “<User_ControllerModeIndication>”.
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 54 |
| Ziel-Modul | canif (classic) |
| Ziel-Anforderung | SWS_COMTYPE_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |