![](https://csdnimg.cn/release/download_crawler_static/89417861/bg5.jpg)
Specification of Memory Abstraction Interface
AUTOSAR CP R21-11
5 of 36 Document ID 285: AUTOSAR_SWS_MemoryAbstractionInterface
Table of Contents
1 Introduction and functional overview ..................................................................... 7
2 Acronyms and abbreviations.................................................................................. 9
3 Related documentation ........................................................................................ 10
3.1 Input documents ............................................................................................. 10
3.2 Related standards and norms ........................................................................ 10
3.3 Related specification ...................................................................................... 10
4 Constraints and assumptions ............................................................................... 11
4.1 Limitations ...................................................................................................... 11
4.2 Applicability to car domains ........................................................................... 11
5 Dependencies to other modules .......................................................................... 12
6 Requirements traceability .................................................................................... 13
7 Functional specification ........................................................................................ 21
7.1 Error classification .......................................................................................... 21
7.1.1 Development Errors ................................................................................ 21
7.1.2 Runtime Errors ........................................................................................ 21
7.1.3 Transient Faults ....................................................................................... 21
7.1.4 Production Errors .................................................................................... 21
7.1.5 Extended Production Errors .................................................................... 21
8 API specification ................................................................................................... 22
8.1 Imported types ............................................................................................... 22
8.1.1 Standard types ........................................................................................ 22
8.2 Type definitions .............................................................................................. 22
8.2.1 MemIf_StatusType .................................................................................. 22
8.2.2 MemIf_JobResultType ............................................................................ 23
8.3 Function definitions ........................................................................................ 23
8.3.1 MemIf_Read ............................................................................................ 24
8.3.2 MemIf_Write ............................................................................................ 25
8.3.3 MemIf_Cancel ......................................................................................... 26
8.3.4 MemIf_GetStatus .................................................................................... 27
8.3.5 MemIf_GetJobResult............................................................................... 27
8.3.6 MemIf_InvalidateBlock ............................................................................ 28
8.3.7 MemIf_GetVersionInfo ............................................................................ 29
8.3.8 MemIf_EraseImmediateBlock ................................................................. 29
8.4 Call-back notifications .................................................................................... 30
8.5 Scheduled functions ....................................................................................... 30
8.6 Expected Interfaces ....................................................................................... 30
8.6.1 Mandatory Interfaces............................................................................... 30
8.6.2 Optional Interfaces .................................................................................. 31
8.6.3 Configurable interfaces ........................................................................... 32
9 Sequence diagrams ............................................................................................. 33