wiki:spec_COMManager
COM Manager


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
ComM_Init 1 0x01
ComM_DeInit 2 0x02
ComM_GetState 52 0x34
ComM_GetStatus 3 0x03
ComM_GetInhibitionStatus 4 0x04
ComM_RequestComMode 5 0x05
ComM_GetMaxComMode 6 0x06
ComM_GetRequestedComMode 7 0x07
ComM_GetCurrentComMode 8 0x08
ComM_PreventWakeUp 9 0x09
ComM_LimitChannelToNoComMode 11 0x0B
ComM_LimitECUToNoComMode 12 0x0C
ComM_ReadInhibitCounter 13 0x0D
ComM_ResetInhibitCounter 14 0x0E
ComM_SetECUGroupClassification 15 0x0F
ComM_GetVersionInfo 16 0x10
ComM_Nm_NetworkStartIndication 21 0x15
ComM_Nm_NetworkMode 24 0x18
ComM_Nm_PrepareBusSleepMode 25 0x19
ComM_Nm_BusSleepMode 26 0x1A
ComM_Nm_RestartIndication 27 0x1B
ComM_DCM_ActiveDiagnostic 31 0x1F
ComM_DCM_InactiveDiagnostic 32 0x20
ComM_EcuM_WakeUpIndication 42 0x2A
ComM_CommunicationAllowed 53 0x35
ComM_BusSM_ModeIndication 51 0x33
ComM_MainFunction_<Channel_Id> 96 0x60
  • エラーコード一覧
エラーコード Dec Hex
COMM_E_NOT_INITED 1 0x01
COMM_E_WRONG_PARAMETERS 2 0x02

API仕様

ComM_Init

void ComM_Init(void)

ComM_DeInit

void ComM_DeInit(void)

ComM_GetState

Std_ReturnType ComM_GetState(NetworkHandleType Channel, ComM_StateType* State)

ComM_GetStatus

Std_ReturnType ComM_GetStatus(ComM_InitStatusType* Status)

ComM_GetInhibitionStatus

Std_ReturnType ComM_GetInhibitionStatus(NetworkHandleType Channel, ComM_InhibitionStatusType* Status)

ComM_RequestComMode

Std_ReturnType ComM_RequestComMode(ComM_UserHandleType User, ComM_ModeType ComMode)

ComM_GetMaxComMode

Std_ReturnType ComM_GetMaxComMode(ComM_UserHandleType User, ComM_ModeType* ComMode)

ComM_GetRequestedComMode

Std_ReturnType ComM_GetRequestedComMode(ComM_UserHandleType User, ComM_ModeType* ComMode)

ComM_GetCurrentComMode

Std_ReturnType ComM_GetCurrentComMode(ComM_UserHandleType User, ComM_ModeType* ComMode)

ComM_PreventWakeUp

Std_ReturnType ComM_PreventWakeUp(NetworkHandleType Channel, boolean Status)

ComM_LimitChannelToNoComMode

Std_ReturnType ComM_LimitChannelToNoComMode(NetworkHandleType Channel, boolean Status)

ComM_LimitECUToNoComMode

Std_ReturnType ComM_LimitECUToNoComMode(boolean Status)

ComM_ReadInhibitCounter

Std_ReturnType ComM_ReadInhibitCounter(uint16* CounterValue)

ComM_ResetInhibitCounter

Std_ReturnType ComM_ResetInhibitCounter(void)

ComM_SetECUGroupClassification

Std_ReturnType ComM_SetECUGroupClassification(ComM_InhibitionStatusType Status)

ComM_GetVersionInfo

void ComM_GetVersionInfo(Std_VersionInfoType* Versioninfo)

ComM_Nm_NetworkStartIndication

void ComM_Nm_NetworkStartIndication(NetworkHandleType Channel)

ComM_Nm_NetworkMode

void ComM_Nm_NetworkMode(NetworkHandleType Channel)

ComM_Nm_PrepareBusSleepMode

void ComM_Nm_PrepareBusSleepMode(NetworkHandleType Channel)

ComM_Nm_BusSleepMode

void ComM_Nm_BusSleepMode(NetworkHandleType Channel)

ComM_Nm_RestartIndication

void ComM_Nm_RestartIndication(NetworkHandleType Channel)

ComM_DCM_ActiveDiagnostic

void ComM_DCM_ActiveDiagnostic(NetworkHandleType Channel)

ComM_DCM_InactiveDiagnostic

void ComM_DCM_InactiveDiagnostic(NetworkHandleType Channel)

ComM_EcuM_WakeUpIndication

void ComM_EcuM_WakeUpIndication(NetworkHandleType Channel)

ComM_CommunicationAllowed

void ComM_CommunicationAllowed(NetworkHandleType Channel, boolean Allowed)

ComM_BusSM_ModeIndication

void ComM_BusSM_ModeIndication(NetworkHandleType Channel, ComM_ModeType* ComMode)

ComM_MainFunction_<Channel_Id>

void ComM_MainFunction_<Channel_Id>(void)

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

ComMConfigSet

/AUTOSAR/EcucDefs/ComM/ComMConfigSet
  • 型:Container
  • 多重度:1

ComMPncEnabled

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPncEnabled
  • 型:BooleanParam
  • 多重度:0..1

ComMChannel

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel
  • 型:Container
  • 多重度:1..*

ComMBusType

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMBusType
  • 型:EnumerationParam
  • 多重度:1

ComMChannelId

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMChannelId
  • 型:IntegerParam
  • 多重度:1

ComMFullCommRequestNotificationEnabled

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled
  • 型:BooleanParam
  • 多重度:1

ComMGlobalNvmBlockDescriptor

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMGlobalNvmBlockDescriptor
  • 型:BooleanParam
  • 多重度:1

ComMMainFunctionPeriod

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod
  • 型:FloatParam
  • 多重度:1

ComMNoCom

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMNoCom
  • 型:BooleanParam
  • 多重度:1

ComMNoWakeup

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup
  • 型:BooleanParam
  • 多重度:1

ComMPncGatewayType

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMPncGatewayType
  • 型:EnumerationParam
  • 多重度:0..1

ComMNetworkManagement

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement
  • 型:Container
  • 多重度:1

ComMNmLightTimeout

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout
  • 型:FloatParam
  • 多重度:0..1

ComMNmVariant

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant
  • 型:EnumerationParam
  • 多重度:1

ComMPncNmRequest

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest
  • 型:BooleanParam
  • 多重度:1

ComMUserPerChannel

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel
  • 型:Container
  • 多重度:0..*

ComMUserChannel

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel
  • 型:Reference
  • 多重度:1

ComMPnc

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc
  • 型:Container
  • 多重度:0..*

ComMPncId

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMPncId
  • 型:IntegerParam
  • 多重度:1

ComMChannelPerPnc

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMChannelPerPnc
  • 型:Reference
  • 多重度:1..*

ComMUserPerPnc

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMUserPerPnc
  • 型:Reference
  • 多重度:0..*

ComMPncComSignal

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMPncComSignal
  • 型:Container
  • 多重度:0..*

ComMPncComSignalDirection

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMPncComSignal/ComMPncComSignalDirection
  • 型:EnumerationParam
  • 多重度:1

ComMPncComSignalKind

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMPncComSignal/ComMPncComSignalKind
  • 型:EnumerationParam
  • 多重度:1

ComMPncComSignalChannelRef

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMPncComSignal/ComMPncComSignalChannelRef
  • 型:Reference
  • 多重度:0..1

ComMPncComSignalRef

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMPnc/ComMPncComSignal/ComMPncComSignalRef
  • 型:Reference
  • 多重度:1

ComMUser

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMUser
  • 型:Container
  • 多重度:1..*

ComMUserIdentifier

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier
  • 型:IntegerParam
  • 多重度:1

ComMUserEcucPartitionRef

/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMUser/ComMUserEcucPartitionRef
  • 型:Reference
  • 多重度:0..1

ComMGeneral

/AUTOSAR/EcucDefs/ComM/ComMGeneral
  • 型:Container
  • 多重度:1

ComMDevErrorDetect

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

ComMDirectUserMapping

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMDirectUserMapping
  • 型:BooleanParam
  • 多重度:0..1

ComMEcuGroupClassification

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMEcuGroupClassification
  • 型:IntegerParam
  • 多重度:1

ComMModeLimitationEnabled

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMModeLimitationEnabled
  • 型:BooleanParam
  • 多重度:1

ComMPncGatewayEnabled

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMPncGatewayEnabled
  • 型:BooleanParam
  • 多重度:0..1

ComMPncPrepareSleepTimer

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMPncPrepareSleepTimer
  • 型:FloatParam
  • 多重度:0..1

ComMPncSupport

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMPncSupport
  • 型:BooleanParam
  • 多重度:1

ComMSynchronousWakeUp

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMSynchronousWakeUp
  • 型:BooleanParam
  • 多重度:1

ComMTMinFullComModeDuration

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMTMinFullComModeDuration
  • 型:FloatParam
  • 多重度:1

ComMVersionInfoApi

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

ComMWakeupInhibitionEnabled

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMWakeupInhibitionEnabled
  • 型:BooleanParam
  • 多重度:1

ComMGlobalNvMBlockDescriptor

/AUTOSAR/EcucDefs/ComM/ComMGeneral/ComMGlobalNvMBlockDescriptor
  • 型:Reference
  • 多重度:0..1
Last modified 3 years ago Last modified on 07/01/15 18:48:06