CLASSIC
Modul: fr
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_FR_SECTION_8_4_4_Fr_AllowColdstart
Wortlaut
8.4.4 Fr_AllowColdstart
[SWS_Fr_00114] Definition of API function Fr_AllowColdstart ⌈
Service Name
Fr_AllowColdstart
Syntax
Std_ReturnType Fr_AllowColdstart (
uint8 Fr_CtrlIdx
)
Service ID [hex]
0x23
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 ’ALLOW_COLDSTART’.
Available via
Fr.h
⌋
Note: The Fr Module’s environment shall only call the function Fr_AllowColdstart()
when the CC Fr_CtrlIdx is in POCState ’POC:ready or POC:startup.
[SWS_Fr_00182] ⌈The function Fr_AllowColdstart() shall perform the following
tasks on FlexRay CC Fr_CtrIdx:
1. Invoke the CC CHI command ’ALLOW_COLDSTART’.
2. Return E_OK.
⌋
[SWS_Fr_00181]
⌈If
the
function
Fr_AllowColdstart()
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_00178] ⌈If development error detection for the Fr module is enabled, and
if the function Fr_AllowColdstart() is called before the successful initialization
of Fr, then the function Fr_AllowColdstart() shall raise the development error
FR_E_INIT_FAILED.⌋
[SWS_Fr_00179] ⌈If development error detection for the Fr module is enabled,
then the function Fr_AllowColdstart() shall check the validity of the parameter
Fr_CtrlIdx. If Fr_CtrlIdx is invalid, then the function Fr_AllowColdstart()
shall raise the development error FR_E_INV_CTRL_IDX.⌋
[SWS_Fr_00180]
⌈The
function
Fr_AllowColdstart()
shall
check
the
CC
Fr_CtrlIdx’s POCState.
If the POCState is POC:default config, POC:config, or
POC:halt, then the function Fr_AllowColdstart() 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 43 |
| Ziel-Modul | fr (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |