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

SNIP_CLASSIC_FEE_SECTION_8_5_1_Fee_MainFunction

Quelle: SWS_FlashEEPROMEmulation.pdf (Seite 38) • Ziel-Anforderung: SWS_Fee_00197

Wortlaut

8.5.1 Fee_MainFunction [SWS_Fee_00097] Definition of scheduled function Fee_MainFunction Upstream requirements: SRS_BSW_00373 ⌈ Service Name Fee_MainFunction Syntax void Fee_MainFunction ( void ) Service ID [hex] 0x12 Description Service to handle the requested read / write / erase jobs and the internal management operations. Available via SchM_Fee.h ⌋ [SWS_Fee_00197] Main function module status change Upstream requirements: SRS_MemHwAb_14014 ⌈In case there are no internal management operations needed or the internal management operations are done, the function Fee_MainFunction shall set the module status from MEMIF_BUSY_INTERNAL to MEMIF_IDLE.⌋ Note: handling of internal management operations can take more than 1 call of the Fee_MainFunction. [SWS_Fee_00057] ⌈The function Fee_MainFunction shall asynchronously handle the read / write / erase / invalidate jobs requested by the upper layer and internal management operations.⌋ [SWS_Fee_00075] Upstream requirements: SRS_MemHwAb_14028 ⌈The function Fee_MainFunction shall check, whether the block requested for reading has been invalidated by the upper layer module. If so, the function Fee_MainFunction shall set the job result to MEMIF_BLOCK_INVALID and call the error notification routine of the upper layer if configured.⌋ [SWS_Fee_00023] Upstream requirements: SRS_MemHwAb_14014, SRS_MemHwAb_14015, SRS_MemHwAb_- 14016 ⌈The function Fee_MainFunction shall check the consistency of the logical block being read before notifying the caller. If an inconsistency of the read data is detected or if the requested block can’t be found, the function Fee_MainFunction shall set the job result to MEMIF_BLOCK_INCONSISTENT and call the error notification routine of the upper layer if configured.⌋ Note: In this case, the upper layer must not use the contents of the data buffer.

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_FlashEEPROMEmulation.pdf
Dokumentseite Seite 38
Ziel-Modul fee (classic)
Ziel-Anforderung SWS_Fee_00197
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95