CLASSIC
Modul: cantrcv
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CANTRCV_SECTION_8_4_3_CanSM_TransceiverModeIndication
Wortlaut
8.4.3 CanSM_TransceiverModeIndication
[SWS_CanSM_00399] Definition of callback function CanSM_TransceiverMode
Indication
Upstream requirements: SRS_Can_01145, SRS_Can_01142
⌈
Service Name
CanSM_TransceiverModeIndication
Syntax
void CanSM_TransceiverModeIndication (
uint8 TransceiverId,
CanTrcv_TrcvModeType TransceiverMode
)
Service ID [hex]
0x09
Sync/Async
Synchronous
Reentrancy
Reentrant for different CAN Transceivers
TransceiverId
CAN transceiver, whose mode has changed
Parameters (in)
TransceiverMode
Notified CAN transceiver mode
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
This callback shall notify the CanSM module about a CAN transceiver mode change.
Available via
CanSM_CanIf.h
⌋
Note: CANTRCV_TRCVMODE_SLEEP state can be requested to Can_Trcv module only
by integration code and not by CanSM module. Hence when CanSM_TransceiverModeIndication() is invoked for CANTRCV_TRCVMODE_SLEEP, CanSM module
should ignore this request.
[SWS_CanSM_00400]
Upstream requirements: SRS_Can_01145
⌈If the function CanSM_TransceiverModeIndication gets a TransceiverId,
which is not configured as CanSMTransceiverId in the configuration of the CanSM
module, it shall call the function Det_ReportError (ref. to [SWS_CanSM_91003])
with ErrorId parameter CANSM_E_PARAM_TRANSCEIVER.⌋
[SWS_CanSM_00401]
Upstream requirements: SRS_Can_01145
⌈If the CanSM module is not initialized, when the function CanSM_TransceiverModeIndication is called, then the function CanSM_TransceiverModeIndication
shall call the function Det_ReportError (ref. to [SWS_CanSM_91003]) with ErrorId parameter CANSM_E_UNINIT.⌋
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_CANStateManager.pdf |
|---|---|
| Dokumentseite | Seite 94 |
| Ziel-Modul | cantrcv (classic) |
| Ziel-Anforderung | SWS_Det_00009 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |