wiki:spec_EEPROMDriver
EEPROM Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Eep_Init 0 0x00
Eep_SetMode 1 0x01
Eep_Read 2 0x02
Eep_Write 3 0x03
Eep_Erase 4 0x04
Eep_Compare 5 0x05
Eep_Cancel 6 0x06
Eep_GetStatus 7 0x07
Eep_GetJobResult 8 0x08
Eep_GetVersionInfo 10 0x0A
Eep_MainFunction 9 0x09
  • エラーコード一覧
    • "--"はDemにより決定される
エラーコード Dec Hex
EEP_E_PARAM_CONFIG 16 0x10
EEP_E_PARAM_ADDRESS 17 0x11
EEP_E_PARAM_DATA 18 0x12
EEP_E_PARAM_LENGTH 19 0x13
EEP_E_PARAM_POINTER 35 0x23
EEP_E_UNINIT 32 0x20
EEP_E_BUSY 33 0x21
EEP_E_TIMEOUT 34 0x22
EEP_E_ERASE_FAILED -- --
EEP_E_WRITE_FAILED -- --
EEP_E_READ_FAILED -- --
EEP_E_COMPARE_FAILED -- --

API仕様

Eep_Init

void Eep_Init(const Eep_ConfigType* ConfigPtr)

Eep_SetMode

void Eep_SetMode(MemIf_ModeType Mode)

Eep_Read

Std_ReturnType Eep_Read(Eep_AddressType EepromAddress, uint8* DataBufferPtr, Eep_LengthType Length)

Eep_Write

Std_ReturnType Eep_Write(Eep_AddressType EepromAddress, const uint8* DataBufferPtr, Eep_LengthType Length)

Eep_Erase

Std_ReturnType Eep_Erase(Eep_AddressType EepromAddress, Eep_LengthType Length)

Eep_Compare

Std_ReturnType Eep_Compare(Eep_AddressType EepromAddress, const uint8* DataBufferPtr, Eep_LengthType Length)

Eep_Cancel

void Eep_Cancel(void)

Eep_GetStatus

MemIf_StatusType Eep_GetStatus(void)

Eep_GetJobResult

MemIf_JobResultType Eep_GetJobResult(void)

Eep_GetVersionInfo

void Eep_GetVersionInfo(Std_VersionInfoType* versioninfo)

Eep_MainFunction

void Eep_MainFunction(void)

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

EepGeneral

/AUTOSAR/EcucDefs/Eep/EepGeneral
  • 型:Container
  • 多重度:1

EepDevErrorDetect

/AUTOSAR/EcucDefs/Eep/EepGeneral/EepDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

EepDriverIndex

/AUTOSAR/EcucDefs/Eep/EepGeneral/EepDriverIndex
  • 型:IntegerParam
  • 多重度:1

EepUseInterrupts

/AUTOSAR/EcucDefs/Eep/EepGeneral/EepUseInterrupts
  • 型:BooleanParam
  • 多重度:1

EepVersionInfoApi

/AUTOSAR/EcucDefs/Eep/EepGeneral/EepVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

EepWriteCycleReduction

/AUTOSAR/EcucDefs/Eep/EepGeneral/EepWriteCycleReduction
  • 型:BooleanParam
  • 多重度:1

EepInitConfiguration

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration
  • 型:Container
  • 多重度:1

EepBaseAddress

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepBaseAddress
  • 型:IntegerParam
  • 多重度:1

EepDefaultMode

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepDefaultMode
  • 型:EnumerationParam
  • 多重度:1

EepFastReadBlockSize

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepFastReadBlockSize
  • 型:IntegerParam
  • 多重度:1

EepFastWriteBlockSize

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepFastWriteBlockSize
  • 型:IntegerParam
  • 多重度:1

EepJobCallCycle

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepJobCallCycle
  • 型:FloatParam
  • 多重度:0..1

EepJobEndNotification

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepJobEndNotification
  • 型:FunctionName
  • 多重度:0..1

EepJobErrorNotification

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepJobErrorNotification
  • 型:FunctionName
  • 多重度:0..1

EepNormalReadBlockSize

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepNormalReadBlockSize
  • 型:IntegerParam
  • 多重度:1

EepNormalWriteBlockSize

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepNormalWriteBlockSize
  • 型:IntegerParam
  • 多重度:1

EepSize

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepSize
  • 型:IntegerParam
  • 多重度:1

EepDemEventParameterRefs

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepDemEventParameterRefs
  • 型:Container
  • 多重度:0..1

EEP_E_COMPARE_FAILED

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepDemEventParameterRefs/EEP_E_COMPARE_FAILED
  • 型:Reference
  • 多重度:0..1

EEP_E_ERASE_FAILED

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepDemEventParameterRefs/EEP_E_ERASE_FAILED
  • 型:Reference
  • 多重度:0..1

EEP_E_READ_FAILED

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepDemEventParameterRefs/EEP_E_READ_FAILED
  • 型:Reference
  • 多重度:0..1

EEP_E_WRITE_FAILED

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepDemEventParameterRefs/EEP_E_WRITE_FAILED
  • 型:Reference
  • 多重度:0..1

EepExternalDriver

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepExternalDriver
  • 型:Container
  • 多重度:0..1

EepSpiReference

/AUTOSAR/EcucDefs/Eep/EepInitConfiguration/EepExternalDriver/EepSpiReference
  • 型:Reference
  • 多重度:1..*

EepPublishedInformation

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation
  • 型:Container
  • 多重度:1

EepAllowedWriteCycles

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepAllowedWriteCycles
  • 型:IntegerParam
  • 多重度:1

EepEraseTime

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepEraseTime
  • 型:FloatParam
  • 多重度:1

EepEraseUnitSize

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepEraseUnitSize
  • 型:IntegerParam
  • 多重度:1

EepEraseValue

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepEraseValue
  • 型:IntegerParam
  • 多重度:1

EepMinimumAddressType

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepMinimumAddressType
  • 型:IntegerParam
  • 多重度:1

EepMinimumLengthType

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepMinimumLengthType
  • 型:IntegerParam
  • 多重度:1

EepReadUnitSize

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepReadUnitSize
  • 型:IntegerParam
  • 多重度:1

EepSpecifiedEraseCycles

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepSpecifiedEraseCycles
  • 型:IntegerParam
  • 多重度:1

EepTotalSize

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepTotalSize
  • 型:IntegerParam
  • 多重度:1

EepWriteTime

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepWriteTime
  • 型:FloatParam
  • 多重度:1

EepWriteUnitSize

/AUTOSAR/EcucDefs/Eep/EepPublishedInformation/EepWriteUnitSize
  • 型:IntegerParam
  • 多重度:1
Last modified 3 years ago Last modified on 09/01/15 16:23:05