wiki:spec/Fee
Flash EEPROM Emulation


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
R4.0.3 R4.2.2
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 R4.0.3 R4.2.2
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_PARAM_POINTER 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
FEE_E_INIT_FAILED 9 0x09 -

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

R4.0.3: Std_ReturnType Fee_Write(uint16 BlockNumber, uint8* DataBufferPtr)
R4.2.2: Std_ReturnType Fee_Write(uint16 BlockNumber, const 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
  • 上限値:65534
  • 下限値:1

FeeBlockSize

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeBlockSize
  • 型:IntegerParam
  • 多重度:1
  • 上限値:65535
  • 下限値:1

FeeImmediateData

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

FeeNumberOfWriteCycles

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeNumberOfWriteCycles
  • 型:IntegerParam
  • 多重度:1
  • 上限値:4294967295
  • 下限値:0

FeeDeviceIndex

/AUTOSAR/EcucDefs/Fee/FeeBlockConfiguration/FeeDeviceIndex
  • 型:Reference
  • 多重度:1
  • 参照先:/AUTOSAR/EcucDefs/Fls/FlsGeneral

FeeGeneral

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

FeeDevErrorDetect

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

FeeIndex

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeIndex
  • 型:IntegerParam
  • 多重度:1
  • 上限値:254
  • 下限値:0

FeeMainFunctionPeriod

/AUTOSAR/EcucDefs/Fee/FeeGeneral/FeeMainFunctionPeriod
  • 型:FloatParam
  • 多重度:1
  • 上限値:Inf
  • 下限値:1E-7

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
  • 上限値:65535
  • 下限値:0

FeePublishedInformation

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

FeeBlockOverhead

/AUTOSAR/EcucDefs/Fee/FeePublishedInformation/FeeBlockOverhead
  • 型:IntegerParam
  • 多重度:1
  • 上限値:65535
  • 下限値:0

FeeMaximumBlockingTime

/AUTOSAR/EcucDefs/Fee/FeePublishedInformation/FeeMaximumBlockingTime
  • 型:FloatParam
  • 多重度:1
  • 上限値:Inf
  • 下限値:0

FeePageOverhead

/AUTOSAR/EcucDefs/Fee/FeePublishedInformation/FeePageOverhead
  • 型:IntegerParam
  • 多重度:1
  • 上限値:65535
  • 下限値:0
Last modified 11 months ago Last modified on Sep 17, 2020, 9:47:28 AM
Note: See TracWiki for help on using the wiki.