CLASSIC
Modul: fr
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_FR_SECTION_8_4_5_Fr_AllSlots
Wortlaut
8.4.5 Fr_AllSlots
[SWS_Fr_00516] Definition of API function Fr_AllSlots ⌈
Service Name
Fr_AllSlots
Syntax
Std_ReturnType Fr_AllSlots (
uint8 Fr_CtrlIdx
)
Service ID [hex]
0x24
Sync/Async
Asynchronous
Reentrancy
Non Reentrant for the same device
Parameters (in)
Fr_CtrlIdx
Index of FlexRay CC within the context of the FlexRay Driver.
Parameters (inout)
None
Parameters (out)
None
Return value
Std_ReturnType
E_OK: API call finished successfully.
E_NOT_OK: API call aborted due to errors.
Description
Invokes the CC CHI command ’ALL_SLOTS’.
Available via
Fr.h
⌋
Note: The Fr module’s environment shall only call the function Fr_AllSlots() when
CC Fr_CtrlIdx is synchronous to the FlexRay global time.
[SWS_Fr_00518] ⌈The function Fr_AllSlots() shall perform the following tasks on
FlexRay CC Fr_CtrIdx:
1. Invoke the CC CHI command ’ALL_SLOTS’, which requests a switch from key
slot only mode to all slots transmission mode at the beginning of the next communication cycle.
2. Return E_OK.
⌋
Note: The function Fr_AllSlots() requests to switch from key slot only mode to all
slots transmission mode at the beginning of the next communication cycle.
[SWS_Fr_00520]
⌈If
the
function
Fr_AllSlots()
is
able
to
and
detects
a
hardware
error
while
performing
the
requested
functionality,
then
it
shall
call
Dem_SetEventStatus()
(FR_E_CTRL_TESTRESULT,
DEM_EVENT_STATUS_FAILED) and return E_NOT_OK.⌋
[SWS_Fr_00521] ⌈If development error detection for the Fr module is enabled, and if
the function Fr_AllSlots() is called before the successful initialization of Fr, then the
function Fr_AllSlots() shall raise the development error FR_E_INIT_FAILED.⌋
[SWS_Fr_00522] ⌈If development error detection for the Fr module is enabled, then
the function Fr_AllSlots() shall check the validity of the parameter Fr_CtrlIdx. If
Fr_CtrlIdx is invalid, then the function Fr_AllSlots() shall raise the development
error FR_E_INV_CTRL_IDX.⌋
[SWS_Fr_00523] ⌈The function Fr_AllSlots() shall check whether the CC
Fr_CtrlIdx is synchronous to the FlexRay global time. If the CC Fr_CtrlIdx is
not synchronous to the FlexRay global time, then the function Fr_AllSlots() shall
raise the runtime error FR_E_INV_POCSTATE.⌋
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_FlexRayDriver.pdf |
|---|---|
| Dokumentseite | Seite 44 |
| Ziel-Modul | fr (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |