CLASSIC
Modul: frtrcv
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_FRTRCV_SECTION_8_3_8_FrTrcv_GetTransceiverError
Wortlaut
8.3.8 FrTrcv_GetTransceiverError
[SWS_FrTrcv_00419] Definition of API function FrTrcv_GetTransceiverError ⌈
Service Name
FrTrcv_GetTransceiverError
Syntax
Std_ReturnType FrTrcv_GetTransceiverError (
uint8 FrTrcv_TrcvIdx,
uint8 FrTrcv_BranchIdx,
uint32* FrTrcv_BusErrorState
)
Service ID [hex]
0x08
Sync/Async
Synchronous
Reentrancy
Non Reentrant
FrTrcv_TrcvIdx
This zero based index identifies the transceiver within the context
of the transceiver driver to which the API call has to be applied.
Parameters (in)
FrTrcv_BranchIdx
This zero based index identifies the branch of the (active star)
transceiver to which the API call has to be applied.
Parameters (inout)
None
Parameters (out)
FrTrcv_BusErrorState
Pointer to structure of detailed transceiver error state;
• Parameter is reference to variable:
The transceiver driver will write the current transceiver error state
information according to FrTrcv420 there, if the transceiver
supports this information.
Return value
Std_ReturnType
E_OK: will be returned if the transceiver error state has been
provided
E_NOT_OK: will be returned if the parameter FrTrcv_TrcvIdx or Fr
Trcv_BranchIdx is out of range or the transceiver error state is not
available. Output parameters remain unchanged.
Description
All mandatory errors defined by the FlexRay EPL [5] which are supported by the FlexRay
transceiver hardware can be accessed via this API:In addition to errors on the physical layer
and local to the ECU hardware, a global error flag is provided.
Available via
FrTrcv.h
⌋
[SWS_FrTrcv_00412] Detect Error Information in Bus Driver
Upstream requirements: SRS_Fr_05212
⌈The FlexRay Transceiver Driver shall provide an API that detects errors in the bus
driver and notifies the application level.
The FlexRay modules should provide information that only the modules can detect.⌋
[SWS_FrTrcv_00420] FlexRay Transceiver Driver mandatory errors ⌈
Availability
Topology
Description
Bit
Mandatory
Global error
Any of the mandatory errors defined in this
table, please see [SWS_FrTrcv_00457],
[SWS_FrTrcv_00458]
0
Mandatory
on the bus (i. e. external to the ECU):
Short circuit between bus lines according
to [1, FlexRay EPL]
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_FlexRayTransceiverDriver.pdf |
|---|---|
| Dokumentseite | Seite 48 |
| Ziel-Modul | frtrcv (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |