CLASSIC
Modul: frtrcv
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_FRTRCV_SECTION_8_5_1_FrTrcv_MainFunction
Wortlaut
8.5.1 FrTrcv_MainFunction
[SWS_FrTrcv_00330] Definition of API function FrTrcv_MainFunction ⌈
Service Name
FrTrcv_MainFunction
Syntax
void FrTrcv_MainFunction (
void
)
Service ID [hex]
0x0d
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
–
Available via
SchM_FrTrcv.h
⌋()
[SWS_FrTrcv_00020] ⌈Compatibility and documentation of scheduling strategy: The
FlexRay bus transceiver driver may have cyclic jobs like polling for wake up events (if
configured). The period of the main function is defined by configuration.⌋(SRS_BSW_-
00172)
[SWS_FrTrcv_00072] ⌈Main processing function naming convention: The main function of the FlexRay transceiver driver shall be named FrTrcv_MainFunction.⌋(SRS_BSW_00373)
[SWS_FrTrcv_00126] ⌈Execution order dependencies of main processing functions:
The main processing function of the FlexRay transceiver driver shall be independent of
the FlexRay bus schedule i. e. it may be scheduled either synchronous to the FlexRay
bus schedule as well as asynchronous to the FlexRay bus schedule.⌋(SRS_BSW_-
00428)
[SWS_FrTrcv_00340] ⌈The function FrTrcv_MainFunction shall scan all busses in
STANDBY and SLEEP for wake up events and store them internally.⌋()
[SWS_FrTrcv_00122] ⌈The function FrTrcv_MainFunction shall be implemented in
such a way that it can run inside a basic task (scheduled by the AUTOSAR RTE).⌋
(SRS_BSW_00424)
[SWS_FrTrcv_00372]
⌈The
Basic
Software
Scheduler
shall
execute
FrTrcv_MainFunction
with
a
period
configured
by
the
parameter
FRTRCV_MAIN_FUNCTION_CYCLE_TIME. See [ECUC_FrTrcv_00343] for more
details.⌋()
[SWS_FrTrcv_00373] ⌈If no cycle time is configured for the FrTrcv_MainFunction
(multiplicity of FrTrcvMainFunctionCycleTime is 0) this function is not executed by
the Basic Software Scheduler and need not be present in compiled code.
See
[ECUC_FrTrcv_00343] for more details.⌋()
[SWS_FrTrcv_00123] Trigger conditions for schedulable objects ⌈The BSW module description template shall provide means to model the following trigger conditions
of schedulable objects:
• Cyclic timings (fixed and selectable during runtime)
• Sporadic events
⌋(SRS_BSW_00425)
[SWS_FrTrcv_00436]
⌈The
FrTrcv_MainFunction
shall
call
FrTrcv_GetTransceiverError () periodically to detect error information in BD if
FrTrcvErrorCheckDuringCommunication is enabled.⌋(SRS_Fr_05203)
Note: The FlexRay modules should provide information that only the modules can
detect.
Applications could take actions to recover the failure cause like resetting the modules
when they receive this error information.
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 49 |
| Ziel-Modul | frtrcv (classic) |
| Ziel-Anforderung | SWS_FrTrcv_00436 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |