wiki:spec_EEPROMAbstraction
EEPROM Abstraction


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Ea_Init 0 0x00
Ea_SetMode 1 0x01
Ea_Read 2 0x02
Ea_Write 3 0x03
Ea_Cancel 4 0x04
Ea_GetStatus 5 0x05
Ea_GetJobResult 6 0x06
Ea_InvalidateBlock 7 0x07
Ea_GetVersionInfo 8 0x08
Ea_EraseImmediateBlock 9 0x09
Ea_JobEndNotification 16 0x10
Ea_JobErrorNotification 17 0x11
Ea_MainFunction 18 0x12
  • エラーコード一覧
エラーコード Dec Hex
EA_E_UNINIT 1 0x01
EA_E_INVALID_BLOCK_NO 2 0x02
EA_E_INVALID_BLOCK_OFS 3 0x03
EA_E_INVALID_DATA_POINTER 4 0x04
EA_E_INVALID_BLOCK_LEN 5 0x05
EA_E_BUSY 6 0x06
EA_E_BUSY_INTERNAL 7 0x07
EA_E_INVALID_CANCEL 8 0x08

API仕様

Ea_Init

void Ea_Init(void)

Ea_SetMode

void Ea_SetMode(MemIf_ModeType Mode)

Ea_Read

Std_ReturnType Ea_Read(uint16 BlockNumber, uint16 BlockOffset, uint8* DataBufferPtr, uint16 Length)

Ea_Write

Std_ReturnType Ea_Write(uint16 BlockNumber, uint8* DataBufferPtr)

Ea_Cancel

void Ea_Cancel(void)

Ea_GetStatus

MemIf_StatusType Ea_GetStatus(void)

Ea_GetJobResult

MemIf_JobResultType Ea_GetJobResult(void)

Ea_InvalidateBlock

Std_ReturnType Ea_InvalidateBlock(uint16 BlockNumber)

Ea_GetVersionInfo

void Ea_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr)

Ea_EraseImmediateBlock

Std_ReturnType Ea_EraseImmediateBlock(uint16 BlockNumber)

Ea_JobEndNotification

void Ea_JobEndNotification(void)

Ea_JobErrorNotification

void Ea_JobErrorNotification(void)

Ea_MainFunction

void Ea_MainFunction(void)

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

EaBlockConfiguration

/AUTOSAR/EcucDefs/Ea/EaBlockConfiguration
  • 型:Container
  • 多重度:1..*

EaBlockNumber

/AUTOSAR/EcucDefs/Ea/EaBlockConfiguration/EaBlockNumber
  • 型:IntegerParam
  • 多重度:1

EaBlockSize

/AUTOSAR/EcucDefs/Ea/EaBlockConfiguration/EaBlockSize
  • 型:IntegerParam
  • 多重度:1

EaImmediateData

/AUTOSAR/EcucDefs/Ea/EaBlockConfiguration/EaImmediateData
  • 型:BooleanParam
  • 多重度:1

EaNumberOfWriteCycles

/AUTOSAR/EcucDefs/Ea/EaBlockConfiguration/EaNumberOfWriteCycles
  • 型:IntegerParam
  • 多重度:1

EaDeviceIndex

/AUTOSAR/EcucDefs/Ea/EaBlockConfiguration/EaDeviceIndex
  • 型:Reference
  • 多重度:1

EaGeneral

/AUTOSAR/EcucDefs/Ea/EaGeneral
  • 型:Container
  • 多重度:1

EaDevErrorDetect

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

EaIndex

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaIndex
  • 型:IntegerParam
  • 多重度:1

EaNvmJobEndNotification

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaNvmJobEndNotification
  • 型:FunctionName
  • 多重度:0..1

EaNvmJobErrorNotification

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaNvmJobErrorNotification
  • 型:FunctionName
  • 多重度:0..1

EaPollingMode

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaPollingMode
  • 型:BooleanParam
  • 多重度:1

EaSetModeSupported

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaSetModeSupported
  • 型:BooleanParam
  • 多重度:1

EaVersionInfoApi

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

EaVirtualPageSize

/AUTOSAR/EcucDefs/Ea/EaGeneral/EaVirtualPageSize
  • 型:IntegerParam
  • 多重度:1

EaPublishedInformation

/AUTOSAR/EcucDefs/Ea/EaPublishedInformation
  • 型:Container
  • 多重度:1

EaBlockOverhead

/AUTOSAR/EcucDefs/Ea/EaPublishedInformation/EaBlockOverhead
  • 型:IntegerParam
  • 多重度:1

EaMaximumBlockingTime

/AUTOSAR/EcucDefs/Ea/EaPublishedInformation/EaMaximumBlockingTime
  • 型:FloatParam
  • 多重度:1

EaPageOverhead

/AUTOSAR/EcucDefs/Ea/EaPublishedInformation/EaPageOverhead
  • 型:IntegerParam
  • 多重度:1
Last modified 3 years ago Last modified on 23/01/15 14:18:43