CLASSIC
Modul: fee
Rolle: heuristic
Konfidenz: 80%
SNIP_CLASSIC_FEE_SECTION_8_3_6_Fee_GetJobResult
Wortlaut
8.3.6 Fee_GetJobResult
[SWS_Fee_00091] Definition of API function Fee_GetJobResult
Upstream requirements: SRS_MemHwAb_14040
⌈
Service Name
Fee_GetJobResult
Syntax
MemIf_JobResultType Fee_GetJobResult (
void
)
Service ID [hex]
0x06
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
None
Return value
MemIf_JobResultType
MEMIF_JOB_OK: The last job has been finished successfully.
MEMIF_JOB_PENDING: The last job is waiting for execution or
currently being executed.
MEMIF_JOB_CANCELED: The last job has been canceled (which
means it failed).
MEMIF_JOB_FAILED: The last job has not been finished
successfully (it failed).
MEMIF_BLOCK_INCONSISTENT: The requested block is
inconsistent, it may contain corrupted data.
MEMIF_BLOCK_INVALID: The requested block has been
invalidated, the requested read operation can not be performed.
Description
Service to query the result of the last accepted job issued by the upper layer software.
Available via
Fee.h
⌋
[SWS_Fee_00035] ⌈The function Fee_GetJobResult shall return MEMIF_JOB_OK
if the last job has been finished successfully.⌋
[SWS_Fee_00156] ⌈The function Fee_GetJobResult shall return MEMIF_JOB_PENDING if the requested job is still waiting for execution or is currently being executed.⌋
[SWS_Fee_00157]
Upstream requirements: SRS_MemHwAb_14031
⌈The function Fee_GetJobResult shall return MEMIF_JOB_CANCELED if the last job
has been canceled by the upper layer.⌋
[SWS_Fee_00158] ⌈The function Fee_GetJobResult shall return MEMIF_JOB_FAILED if the last job has failed.⌋
[SWS_Fee_00159]
Upstream requirements: SRS_MemHwAb_14014
⌈The function Fee_GetJobResult shall return MEMIF_BLOCK_INCONSISTENT if the
requested block is found to be inconsistent.⌋
The management of block inconsistency is specified in chapter 7.1.5.
[SWS_Fee_00160]
Upstream requirements: SRS_MemHwAb_14028
⌈The function Fee_GetJobResult shall return MEMIF_BLOCK_INVALID if the requested block has been invalidated by the upper layer.⌋
[SWS_Fee_00155] ⌈Only those jobs which have been requested directly by the upper
layer shall have influence on the job result returned by the function Fee_GetJobResult. I.e. jobs which are issued by the FEE module itself in the course of internal
management operations shall not alter the job result.⌋
[SWS_Fee_00125]
Upstream requirements: SRS_BSW_00406
⌈If development error detection is enabled for the module: the function Fee_GetJobResult shall check if the module state is MEMIF_UNINIT. If this is the case, the
function Fee_GetJobResult shall raise the development error FEE_E_UNINIT.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Specifies MemIf_JobResultType return values
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_FlashEEPROMEmulation.pdf |
|---|---|
| Dokumentseite | Seite 31 |
| Ziel-Modul | fee (classic) |
| Ziel-Anforderung | SWS_MemIf_00065 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.80 |