wiki:spec_ICUDriver
ICU Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Icu_Init 0 0x00
Icu_DeInit 1 0x01
Icu_SetMode 2 0x02
Icu_DisableWakeup 3 0x03
Icu_EnableWakeup 4 0x04
Icu_CheckWakeup 21 0x15
Icu_SetActivationCondition 5 0x05
Icu_DisableNotification 6 0x06
Icu_EnableNotification 7 0x07
Icu_GetInputState 8 0x08
Icu_StartTimestamp 9 0x09
Icu_StopTimestamp 10 0x0A
Icu_GetTimestampIndex 11 0x0B
Icu_ResetEdgeCount 12 0x0C
Icu_EnableEdgeCount 13 0x0D
Icu_EnableEdgeDetection 22 0x16
Icu_DisableEdgeDetection 23 0x17
Icu_DisableEdgeCount 14 0x0E
Icu_GetEdgeNumbers 15 0x0F
Icu_StartSignalMeasurement 19 0x13
Icu_StopSignalMeasurement 20 0x14
Icu_GetTimeElapsed 16 0x10
Icu_GetDutyCycleValues 17 0x11
Icu_GetVersionInfo 18 0x12
  • エラーコード一覧
エラーコード Dec Hex
ICU_E_PARAM_CONFIG 10 0x0A
ICU_E_PARAM_CHANNEL 11 0x0B
ICU_E_PARAM_ACTIVATION 12 0x0C
ICU_E_PARAM_BUFFER_PTR 13 0x0D
ICU_E_PARAM_BUFFER_SIZE 14 0x0E
ICU_E_PARAM_MODE 15 0x0F
ICU_E_UNINIT 20 0x14
ICU_E_NOT_STARTED 21 0x15
ICU_E_BUSY_OPERATION 22 0x16
ICU_E_ALREADY_INITIALIZED 23 0x17
ICU_E_PARAM_NOTIFY_INTERVAL 24 0x18
ICU_E_PARAM_VINFO 25 0x19

API仕様

Icu_Init

void Icu_Init(const Icu_ConfigType* ConfigPtr)

Icu_DeInit

void Icu_DeInit(void)

Icu_SetMode

void Icu_SetMode(Icu_ModeType Mode)

Icu_DisableWakeup

void Icu_DisableWakeup(Icu_ChannelType Channel)

Icu_EnableWakeup

void Icu_EnableWakeup(Icu_ChannelType Channel)

Icu_CheckWakeup

void Icu_CheckWakeup(EcuM_WakeupSourceType WakeupSource)

Icu_SetActivationCondition

void Icu_SetActivationCondition(Icu_ChannelType Channel, Icu_ActivationType Activation)

Icu_DisableNotification

void Icu_DisableNotification(Icu_ChannelType Channel)

Icu_EnableNotification

void Icu_EnableNotification(Icu_ChannelType Channel)

Icu_GetInputState

Icu_InputStateType Icu_GetInputState(Icu_ChannelType Channel)

Icu_StartTimestamp

void Icu_StartTimestamp(Icu_ChannelType Channel, Icu_ValueType* BufferPtr, uint16 BufferSize, uint16 NotifyInterval)

Icu_StopTimestamp

void Icu_StopTimestamp(Icu_ChannelType Channel)

Icu_GetTimestampIndex

Icu_IndexType Icu_GetTimestampIndex(Icu_ChannelType Channel)

Icu_ResetEdgeCount

void Icu_ResetEdgeCount(Icu_ChannelType Channel)

Icu_EnableEdgeCount

void Icu_EnableEdgeCount(Icu_ChannelType Channel)

Icu_EnableEdgeDetection

void Icu_EnableEdgeDetection(Icu_ChannelType Channel)

Icu_DisableEdgeDetection

void Icu_DisableEdgeDetection(Icu_ChannelType Channel)

Icu_DisableEdgeCount

void Icu_DisableEdgeCount(Icu_ChannelType Channel)

Icu_GetEdgeNumbers

Icu_EdgeNumberType Icu_GetEdgeNumbers(Icu_ChannelType Channel)

Icu_StartSignalMeasurement

void Icu_StartSignalMeasurement(Icu_ChannelType Channel)

Icu_StopSignalMeasurement

void Icu_StopSignalMeasurement(Icu_ChannelType Channel)

Icu_GetTimeElapsed

Icu_ValueType Icu_GetTimeElapsed(Icu_ChannelType Channel)

Icu_GetDutyCycleValues

void Icu_GetDutyCycleValues(Icu_ChannelType Channel, Icu_DutyCycleType* DutyCycleValues)

Icu_GetVersionInfo

void Icu_GetVersionInfo(Std_VersionInfoType* versioninfo)

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

IcuConfigSet

/AUTOSAR/EcucDefs/Icu/IcuConfigSet
  • 型:Container
  • 多重度:1

IcuMaxChannel

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuMaxChannel
  • 型:IntegerParam
  • 多重度:1

IcuChannel

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel
  • 型:Container
  • 多重度:1..*

IcuChannelId

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuChannelId
  • 型:IntegerParam
  • 多重度:1

IcuDefaultStartEdge

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuDefaultStartEdge
  • 型:EnumerationParam
  • 多重度:1

IcuMeasurementMode

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuMeasurementMode
  • 型:EnumerationParam
  • 多重度:1

IcuWakeupCapability

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuWakeupCapability
  • 型:BooleanParam
  • 多重度:1

IcuSignalEdgeDetection

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuSignalEdgeDetection
  • 型:Container
  • 多重度:0..1

IcuSignalNotification

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuSignalEdgeDetection/IcuSignalNotification
  • 型:FunctionName
  • 多重度:0..1

IcuSignalMeasurement

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuSignalMeasurement
  • 型:Container
  • 多重度:0..1

IcuSignalMeasurementProperty

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuSignalMeasurement/IcuSignalMeasurementProperty
  • 型:EnumerationParam
  • 多重度:1

IcuTimestampMeasurement

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuTimestampMeasurement
  • 型:Container
  • 多重度:0..1

IcuTimestampMeasurementProperty

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuTimestampMeasurement/IcuTimestampMeasurementProperty
  • 型:EnumerationParam
  • 多重度:1

IcuTimestampNotification

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuTimestampMeasurement/IcuTimestampNotification
  • 型:FunctionName
  • 多重度:0..1

IcuWakeup

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuWakeup
  • 型:Container
  • 多重度:0..1

IcuChannelWakeupInfo

/AUTOSAR/EcucDefs/Icu/IcuConfigSet/IcuChannel/IcuWakeup/IcuChannelWakeupInfo
  • 型:Reference
  • 多重度:0..1

IcuGeneral

/AUTOSAR/EcucDefs/Icu/IcuGeneral
  • 型:Container
  • 多重度:1

IcuDevErrorDetect

/AUTOSAR/EcucDefs/Icu/IcuGeneral/IcuDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

IcuIndex

/AUTOSAR/EcucDefs/Icu/IcuGeneral/IcuIndex
  • 型:IntegerParam
  • 多重度:1

IcuReportWakeupSource

/AUTOSAR/EcucDefs/Icu/IcuGeneral/IcuReportWakeupSource
  • 型:BooleanParam
  • 多重度:1

IcuOptionalApis

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis
  • 型:Container
  • 多重度:1

IcuDeInitApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuDeInitApi
  • 型:BooleanParam
  • 多重度:1

IcuDisableWakeupApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuDisableWakeupApi
  • 型:BooleanParam
  • 多重度:1

IcuEdgeCountApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuEdgeCountApi
  • 型:BooleanParam
  • 多重度:1

IcuEdgeDetectApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuEdgeDetectApi
  • 型:BooleanParam
  • 多重度:1

IcuEnableWakeupApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuEnableWakeupApi
  • 型:BooleanParam
  • 多重度:1

IcuGetDutyCycleValuesApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuGetDutyCycleValuesApi
  • 型:BooleanParam
  • 多重度:1

IcuGetInputStateApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuGetInputStateApi
  • 型:BooleanParam
  • 多重度:1

IcuGetTimeElapsedApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuGetTimeElapsedApi
  • 型:BooleanParam
  • 多重度:1

IcuGetVersionInfoApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuGetVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

IcuSetModeApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuSetModeApi
  • 型:BooleanParam
  • 多重度:1

IcuSignalMeasurementApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuSignalMeasurementApi
  • 型:BooleanParam
  • 多重度:1

IcuTimestampApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuTimestampApi
  • 型:BooleanParam
  • 多重度:1

IcuWakeupFunctionalityApi

/AUTOSAR/EcucDefs/Icu/IcuOptionalApis/IcuWakeupFunctionalityApi
  • 型:BooleanParam
  • 多重度:1
Last modified 2 years ago Last modified on 09/01/15 17:04:27