wiki:spec_FlashEEPROMEmulation
Flash EEPROM Emulation


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Fee_Init 0 0x00
Fee_SetMode 1 0x01
Fee_Read 2 0x02
Fee_Write 3 0x03
Fee_Cancel 4 0x04
Fee_GetStatus 5 0x05
Fee_GetJobResult 6 0x06
Fee_InvalidateBlock 7 0x07
Fee_GetVersionInfo 8 0x08
Fee_EraseImmediateBlock 9 0x09
Fee_JobEndNotification 16 0x10
Fee_JobErrorNotification 17 0x11
Fee_MainFunction 18 0x12
  • エラーコード一覧
エラーコード Dec Hex
FEE_E_UNINIT 1 0x01
FEE_E_INVALID_BLOCK_NO 2 0x02
FEE_E_INVALID_BLOCK_OFS 3 0x03
FEE_E_INVALID_DATA_PTR 4 0x04
FEE_E_INVALID_BLOCK_LEN 5 0x05
FEE_E_BUSY 6 0x06
FEE_E_BUSY_INTERNAL 7 0x07
FEE_E_INVALID_CANCEL 8 0x08

API仕様

Fee_Init

void Fee_Init(void)

Fee_SetMode

void Fee_SetMode(MemIf_ModeType Mode)

Fee_Read

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

Fee_Write

Std_ReturnType Fee_Write(uint16 BlockNumber, uint8* DataBufferPtr)

Fee_Cancel

void Fee_Cancel(void)

Fee_GetStatus

MemIf_StatusType Fee_GetStatus(void)

Fee_GetJobResult

MemIf_JobResultType Fee_GetJobResult(void)

Fee_InvalidateBlock

Std_ReturnType Fee_InvalidateBlock(uint16 BlockNumber)

Fee_GetVersionInfo

void Fee_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr)

Fee_EraseImmediateBlock

Std_ReturnType Fee_EraseImmediateBlock(uint16 BlockNumber)

Fee_JobEndNotification

void Fee_JobEndNotification(void)

Fee_JobErrorNotification

void Fee_JobErrorNotification(void)

Fee_MainFunction

void Fee_MainFunction(void)

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

FeeBlockConfiguration

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration
  • 型:Container
  • 多重度:1..*

FeeBlockNumber

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeBlockNumber
  • 型:IntegerParam
  • 多重度:1

FeeBlockSize

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeBlockSize
  • 型:IntegerParam
  • 多重度:1

FeeImmediateData

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeImmediateData
  • 型:BooleanParam
  • 多重度:1

FeeNumberOfWriteCycles

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeNumberOfWriteCycles
  • 型:IntegerParam
  • 多重度:1

FeeDeviceIndex

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeDeviceIndex
  • 型:Reference
  • 多重度:1

FeeGeneral

/AUTOSAR/EcucDefs/Fee/FeeGeneral
  • 型:Container
  • 多重度:1

FeeDevErrorDetect

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

FeeIndex

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeIndex
  • 型:IntegerParam
  • 多重度:1

FeeNvmJobEndNotification

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeNvmJobEndNotification
  • 型:FunctionName
  • 多重度:0..1

FeeNvmJobErrorNotification

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeNvmJobErrorNotification
  • 型:FunctionName
  • 多重度:0..1

FeePollingMode

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeePollingMode
  • 型:BooleanParam
  • 多重度:1

FeeSetModeSupported

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeSetModeSupported
  • 型:BooleanParam
  • 多重度:1

FeeVersionInfoApi

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

FeeVirtualPageSize

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeVirtualPageSize
  • 型:IntegerParam
  • 多重度:1

FeePublishedInformation

/AUTOSAR/EcucDefs/Fee/FeePublishedInformation
  • 型:Container
  • 多重度:1

FeeBlockOverhead

/AUTOSAR/EcucDefs/Fee/FeePublishedInformation/FeeBlockOverhead
  • 型:IntegerParam
  • 多重度:1

FeeMaximumBlockingTime

/AUTOSAR/EcucDefs/Fee/FeePublishedInformation/FeeMaximumBlockingTime
  • 型:FloatParam
  • 多重度:1

FeePageOverhead

/AUTOSAR/EcucDefs/Fee/FeePublishedInformation/FeePageOverhead
  • 型:IntegerParam
  • 多重度:1
Last modified 2 years ago Last modified on 23/01/15 14:24:43