CLASSIC
Modul: cantrcv
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CANTRCV_SECTION_8_4_2_CanTrcv_MainFunctionDiagnostics
Wortlaut
8.4.2 CanTrcv_MainFunctionDiagnostics
[SWS_CanTrcv_00218] Definition of scheduled function CanTrcv_MainFunction
Diagnostics ⌈
Service Name
CanTrcv_MainFunctionDiagnostics
Syntax
void CanTrcv_MainFunctionDiagnostics (
void
)
Service ID [hex]
0x08
Description
Reads the transceiver diagnostic status periodically and sets product/development accordingly.
Available via
SchM_CanTrcv.h
⌋
[SWS_CanTrcv_00204] ⌈The cyclic function CanTrcv_MainFunctionDiagnostics shall read the transceiver status periodically and report production/development
errors accordingly.⌋
[SWS_CanTrcv_00205] ⌈The cyclic function CanTrcv_MainFunctionDiagnostics shall exist only if CanTrcvBusErrFlag = TRUE.⌋
[SWS_CanTrcv_00206]
Upstream requirements: SRS_BSW_00337, SRS_BSW_00385, SRS_BSW_00327, SRS_BSW_
00331
⌈If configured and supported by hardware:
if the BUSERR flag reported from
BSW is set, function CanTrcv_MainFunctionDiagnostics shall call the API
Dem_SetEventStatus with parameters EventId as CANTRCV_E_BUS_ERROR and
EventStatus as DEM_EVENT_STATUS_FAILED.⌋
[SWS_CanTrcv_00227]
Upstream requirements: SRS_BSW_00337, SRS_BSW_00385, SRS_BSW_00327, SRS_BSW_
00331
⌈If configured and supported by hardware:
if the BUSERR flag reported from
BSW is reset, function CanTrcv_MainFunctionDiagnostics shall call the API
Dem_SetEventStatus with parameters EventId as CANTRCV_E_BUS_ERROR and
EventStatus as DEM_EVENT_STATUS_PASSED.⌋
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 48 |
| Ziel-Modul | cantrcv (classic) |
| Ziel-Anforderung | SWS_Dem_00183 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |