CLASSIC
Modul: frif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_FRIF_SECTION_8_3_2_FrIf_ControllerInit
Wortlaut
8.3.2 FrIf_ControllerInit
[SWS_FrIf_05004] Definition of API function FrIf_ControllerInit
Upstream requirements: SRS_Fr_05031
⌈
Service Name
FrIf_ControllerInit
Syntax
Std_ReturnType FrIf_ControllerInit (
uint8 FrIf_CtrlIdx
)
Service ID [hex]
0x03
Sync/Async
Synchronous
Reentrancy
non reentrant for identical values of FrIf_CtrlIdx, reentrant for different values of FrIf_CtrlIdx
Parameters (in)
FrIf_CtrlIdx
Index of the FlexRay CC to address.
Parameters (inout)
None
Parameters (out)
None
Return value
Std_ReturnType
E_OK: The call of the FlexRay Driver’s API service has returned
E_OK.
E_NOT_OK: The call of the FlexRay Driver’s API service has
returned E_NOT_OK, or an error has been detected in
development mode.
Description
Initialized a FlexRay CC.
Available via
FrIf.h
⌋
[SWS_FrIf_05158] ⌈If parameter FrIf_CtrlIdx of FrIf_ControllerInit has an invalid value
and if development error detection is enabled (i.e. FrIfDevErrorDetect equals ON), the
function FrIf_ControllerInit shall report development error code FRIF_E_INV_CTRL_
IDX to the Det_ReportError service of the DET module.⌋
[SWS_FrIf_05159] ⌈The function FrIf_ControllerInit shall wrap the FlexRay Driver API
function Fr_ControllerInit() by:
1. Translating (based on static FrIf module configuration) the FlexRay CC index Fr
If_CtrlIdx into a tuple (FlexRay Driver | Driver-specific CC index Fr_CtrlIdx).
2. Calling Fr_ControllerInit() of the determined FlexRay Driver module with the parameters determined as described above.
⌋
[SWS_FrIf_05160] ⌈Caveats of FrIf_ControllerInit: The FlexRay Interface module has
to be initialized with a call of FrIf_Init() before this API service may be called, see
[SWS_FrIf_05003]⌋
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_FlexRayInterface.pdf |
|---|---|
| Dokumentseite | Seite 55 |
| Ziel-Modul | frif (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |