CLASSIC
Modul: fee
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_FEE_SECTION_8_3_4_Fee_Cancel
Wortlaut
8.3.4 Fee_Cancel
[SWS_Fee_00089] Definition of API function Fee_Cancel
Upstream requirements: SRS_MemHwAb_14031
⌈
Service Name
Fee_Cancel
Syntax
void Fee_Cancel (
void
)
Service ID [hex]
0x04
Sync/Async
Asynchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
Service to call the cancel function of the underlying flash driver.
Available via
Fee.h
⌋
[SWS_Fee_00124]
Upstream requirements: SRS_BSW_00406
⌈If development error detection is enabled for the module: the function Fee_Cancel
shall check if the module state is MEMIF_UNINIT. If this is the case the function Fee_
Cancel shall raise the development error FEE_E_UNINIT.⌋
[SWS_Fee_00080]
Upstream requirements: SRS_MemHwAb_14031
⌈If the current module status is MEMIF_BUSY (i.e. the request to cancel a pending
job is accepted by the function Fee_Cancel), the function Fee_Cancel shall call the
cancel function of the underlying flash driver.⌋
[SWS_Fee_00081]
Upstream requirements: SRS_MemHwAb_14031
⌈If the current module status is MEMIF_BUSY (i.e. the request to cancel a pending job
is accepted by the function Fee_Cancel), the function Fee_Cancel shall reset the
FEE module’s internal variables to make the module ready for a new job request from
the upper layer, i.e. it shall set the module status to MEMIF_IDLE.⌋
[SWS_Fee_00164] ⌈If the current module status is not MEMIF_BUSY (i.e. the request
to cancel a pending job is rejected by the function Fee_Cancel), the function Fee_
Cancel shall not change the current module status or job result.⌋
[SWS_Fee_00184]
Upstream requirements: SRS_MemHwAb_14031
⌈If the current module status is not MEMIF_BUSY (i.e. there is no job to cancel and
therefore the request to cancel a pending job is rejected by the function Fee_Cancel),
the function Fee_Cancel shall raise the runtime error FEE_E_INVALID_CANCEL.⌋
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 29 |
| Ziel-Modul | fee (classic) |
| Ziel-Anforderung | SWS_Fee_00184 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |