wiki:spec_MemoryAbstractionInterface
Memory Abstraction Interface


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
MemIf_SetMode 1 0x01
MemIf_Read 2 0x02
MemIf_Write 3 0x03
MemIf_Cancel 4 0x04
MemIf_GetStatus 5 0x05
MemIf_GetJobResult 6 0x06
MemIf_InvalidateBlock 7 0x07
MemIf_GetVersionInfo 8 0x08
MemIf_EraseImmediateBlock 9 0x09
  • エラーコード一覧
エラーコード Dec Hex
MEMIF_E_PARAM_DEVICE 1 0x01
MEMIF_E_PARAM_POINTER 2 0x02

API仕様

MemIf_SetMode

void MemIf_SetMode(MemIf_ModeType Mode)

MemIf_Read

Std_ReturnType MemIf_Read(uint8 DeviceIndex, uint16 BlockNumber, uint16 BlockOffset, uint8* DataBufferPtr, uint16 Length)

MemIf_Write

Std_ReturnType MemIf_Write(uint8 DeviceIndex, uint16 BlockNumber, uint8* DataBufferPtr)

MemIf_Cancel

void MemIf_Cancel(uint8 DeviceIndex)

MemIf_GetStatus

MemIf_StatusType MemIf_GetStatus(uint8 DeviceIndex)

MemIf_GetJobResult

MemIf_JobResultType MemIf_GetJobResult(uint8 DeviceIndex)

MemIf_InvalidateBlock

Std_ReturnType MemIf_InvalidateBlock(uint8 DeviceIndex, uint16 BlockNumber)

MemIf_GetVersionInfo

void MemIf_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr)

MemIf_EraseImmediateBlock

Std_ReturnType MemIf_EraseImmediateBlock(uint8 DeviceIndex, uint16 BlockNumber)

コンフィギュレーション仕様

MemIfGeneral

/AUTOSAR/EcucDefs/MemIf/MemIfGeneral
  • 型:Container
  • 多重度:1

MemIfDevErrorDetect

/AUTOSAR/EcucDefs/MemIf/MemIfGeneral/MemIfDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

MemIfNumberOfDevices

/AUTOSAR/EcucDefs/MemIf/MemIfGeneral/MemIfNumberOfDevices
  • 型:IntegerParam
  • 多重度:1

MemIfVersionInfoApi

/AUTOSAR/EcucDefs/MemIf/MemIfGeneral/MemIfVersionInfoApi
  • 型:BooleanParam
  • 多重度:1
Last modified 2 years ago Last modified on 23/01/15 14:12:47