DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: fr Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_FR_SECTION_8_4_17_Fr_DisableLPdu

Quelle: SWS_FlexRayDriver.pdf (Seite 65) • Ziel-Anforderung: SWS_Std_00005

Wortlaut

8.4.17 Fr_DisableLPdu [SWS_Fr_00539] Definition of API function Fr_DisableLPdu Upstream requirements: SRS_Fr_05059 ⌈ Service Name Fr_DisableLPdu Syntax Std_ReturnType Fr_DisableLPdu ( uint8 Fr_CtrlIdx, uint16 Fr_LPduIdx ) Service ID [hex] 0x26 Sync/Async Synchronous Reentrancy Non Reentrant for the same device Fr_CtrlIdx Index of FlexRay CC within the context of the FlexRay Driver. Parameters (in) Fr_LPduIdx This index is used to uniquely identify a FlexRay frame 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 Disables the hardware resource of a LPdu for transmission/reception. Available via Fr.h ⌋ CC precondition for the function Fr_DisableLPdu(): None. 6This does not mean that the CRC shall be recalculated. Instead the CRC shall be checked whether it fits in the allowed value range (0 - 2047) or not. [SWS_Fr_00540] ⌈The function Fr_DisableLPdu() shall perform the following tasks on FlexRay CC Fr_CtrIdx: 1. Figure out the physical resource (e.g., a buffer) mapped to the processing of the FlexRay frame identified by Fr_LpduIdx. 2. Configure the physical resource (a buffer) in a way that it doesn’t take part in the transmission/reception process. 3. Return E_OK. ⌋ [SWS_Fr_00541] ⌈Only Lpdus that can be dynamically reconfigured can be disabled by this service (see Fr_ReconfigLPdu()).⌋ [SWS_Fr_00542] ⌈The function Fr_DisableLPdu() shall be pre compile time configurable On/Off by the configuration parameter: FrDisableLPduSupport.⌋ [SWS_Fr_00543] ⌈If the function Fr_DisableLPdu() 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_00544] ⌈If development error detection for the Fr module is enabled, and if the function Fr_DisableLPdu() is called before the successful initialization of Fr, then the function Fr_DisableLPdu() shall raise the development error FR_E_INIT_FAILED and return E_NOT_OK.⌋ [SWS_Fr_00545] ⌈If development error detection for the Fr module is enabled, then the function Fr_DisableLPdu() shall check the validity of the parameter Fr_CtrlIdx. If Fr_CtrlIdx is invalid, then the function Fr_DisableLPdu() shall raise the development error FR_E_INV_CTRL_IDX.⌋ [SWS_Fr_00546] ⌈If development error detection for the Fr module is enabled, then the function Fr_DisableLPdu() shall check the validity of the parameter Fr_LpduIdx. If Fr_LpduIdx is invalid, then the function Fr_DisableLPdu() shall raise the development error FR_E_INV_LPDU_IDX.⌋

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 65
Ziel-Modul fr (classic)
Ziel-Anforderung SWS_Std_00005
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95