wiki:spec/LinSM
LIN State Manager


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
R4.2.2
LinSM_Init 1 0x01
LinSM_ScheduleRequest 16 0x10
LinSM_GetVersionInfo 2 0x02
LinSM_GetCurrentComMode 17 0x11
LinSM_RequestComMode 18 0x12
LinSM_MainFunction 48 0x30
LinSM_ScheduleRequestConfirmation 32 0x20
LinSM_GotoSleepConfirmation 34 0x22
LinSM_WakeupConfirmation 33 0x21
  • エラーコード一覧
エラーコード Dec Hex R4.2.2
LINSM_E_UNINIT 0 0x00
LINSM_E_NONEXISTENT_NETWORK 32 0x20
LINSM_E_PARAMETER 48 0x30
LINSM_E_PARAM_POINTER 64 0x40
LINSM_E_CONFIRMATION_TIMEOUT 80 0x50
LINSM_E_INIT_FAILED 96 0x60
E_NOT_OK -- --

API仕様

LinSM_Init

void LinSM_Init(const LinSM_ConfigType* ConfigPtr)

LinSM_ScheduleRequest

Std_ReturnType LinSM_ScheduleRequest(NetworkHandleType network, LinIf_SchHandleType schedule)

LinSM_GetVersionInfo

void LinSM_GetVersionInfo(Std_VersionInfoType* versioninfo)

LinSM_GetCurrentComMode

Std_ReturnType LinSM_GetCurrentComMode(NetworkHandleType network, ComM_ModeType* mode)

LinSM_RequestComMode

Std_ReturnType LinSM_RequestComMode(NetworkHandleType network, ComM_ModeType mode)

LinSM_MainFunction

void LinSM_MainFunction(void)

LinSM_ScheduleRequestConfirmation

void LinSM_ScheduleRequestConfirmation(NetworkHandleType network, LinIf_SchHandleType schedule)

LinSM_GotoSleepConfirmation

void LinSM_GotoSleepConfirmation(NetworkHandleType network, boolean success)

LinSM_WakeupConfirmation

void LinSM_WakeupConfirmation(NetworkHandleType network, boolean success)

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

LinSMConfigSet

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet
  • 型:Container
  • 多重度:1

LinSMModeRequestRepetitionMax

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMModeRequestRepetitionMax
  • 型:IntegerParam
  • 多重度:1
  • 上限値:255
  • 下限値:0

LinSMChannel

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel
  • 型:Container
  • 多重度:1..*

LinSMConfirmationTimeout

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMConfirmationTimeout
  • 型:FloatParam
  • 多重度:1
  • 上限値:Inf
  • 下限値:0

LinSMTransceiverPassiveMode

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMTransceiverPassiveMode
  • 型:BooleanParam
  • 多重度:0..1

LinSMComMNetworkHandleRef

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMComMNetworkHandleRef
  • 型:Reference
  • 多重度:1
  • 参照先:/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel

LinSMSchedule

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMSchedule
  • 型:Container
  • 多重度:1..*

LinSMScheduleIndex

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMSchedule/LinSMScheduleIndex
  • 型:IntegerParam
  • 多重度:1
  • 上限値:255
  • 下限値:0

LinSMScheduleIndexRef

/AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMSchedule/LinSMScheduleIndexRef
  • 型:Reference
  • 多重度:1
  • 参照先:/AUTOSAR/EcucDefs/LinIf/LinIfGlobalConfig/LinIfChannel/LinIfScheduleTable

LinSMGeneral

/AUTOSAR/EcucDefs/LinSM/LinSMGeneral
  • 型:Container
  • 多重度:1

LinSMDevErrorDetect

/AUTOSAR/EcucDefs/LinSM/LinSMGeneral/LinSMDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

LinSMMainProcessingPeriod

/AUTOSAR/EcucDefs/LinSM/LinSMGeneral/LinSMMainProcessingPeriod
  • 型:FloatParam
  • 多重度:1
  • 上限値:Inf
  • 下限値:0

LinSMVersionInfoApi

/AUTOSAR/EcucDefs/LinSM/LinSMGeneral/LinSMVersionInfoApi
  • 型:BooleanParam
  • 多重度:1
Last modified 12 months ago Last modified on Aug 17, 2020, 10:25:53 PM
Note: See TracWiki for help on using the wiki.