{{{ #!html
LIN Driver
}}} [[BR]] = 概要 = * LINに関する解説サイト * [https://vector.com/vj_beginners-lin_jp.html はじめてのLIN(ベクター・ジャパン株式会社)] * API一覧 ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =|| || [#Lin_Init Lin_Init] || 0|| 0x00|| || [#Lin_CheckWakeup Lin_CheckWakeup] || 10|| 0x0A|| || [#Lin_GetVersionInfo Lin_GetVersionInfo] || 1|| 0x01|| || [#Lin_SendFrame Lin_SendFrame] || 4|| 0x04|| || [#Lin_GoToSleep Lin_GoToSleep] || 6|| 0x06|| || [#Lin_GoToSleepInternal Lin_GoToSleepInternal] || 9|| 0x09|| || [#Lin_Wakeup Lin_Wakeup] || 7|| 0x07|| || [#Lin_GetStatus Lin_GetStatus] || 8|| 0x08|| * コンフィギュレーション一覧 * [#LinGeneral LinGeneral] * [#LinDevErrorDetect LinDevErrorDetect] * [#LinIndex LinIndex] * [#LinTimeoutDuration LinTimeoutDuration] * [#LinVersionInfoApi LinVersionInfoApi] * [#LinGlobalConfig LinGlobalConfig] * [#LinChannel LinChannel] * [#LinChannelBaudRate LinChannelBaudRate] * [#LinChannelId LinChannelId] * [#LinChannelWakeupSupport LinChannelWakeupSupport] * [#LinClockRef LinClockRef] * [#LinChannelEcuMWakeupSource LinChannelEcuMWakeupSource] * [#LinDemEventParameterRefs LinDemEventParameterRefs] * [#LIN_E_TIMEOUT LIN_E_TIMEOUT] * エラーコード一覧 * "--"は[wiki:spec_DiagnosticEventManager Dem]により決定される ||= エラーコード =||= Dec =||= Hex =|| || LIN_E_UNINIT || 0|| 0x00|| || LIN_E_INVALID_CHANNEL || 2|| 0x02|| || LIN_E_INVALID_POINTER || 3|| 0x03|| || LIN_E_STATE_TRANSITION || 4|| 0x04|| || LIN_E_PARAM_POINTER || 5|| 0x05|| || LIN_E_TIMEOUT || --|| --|| ---- = API仕様 = == Lin_Init == {{{ void Lin_Init(const Lin_ConfigType* Config) }}} == Lin_CheckWakeup == {{{ Std_ReturnType Lin_CheckWakeup(uint8 Channel) }}} == Lin_GetVersionInfo == {{{ void Lin_GetVersionInfo(Std_VersionInfoType* versioninfo) }}} == Lin_SendFrame == {{{ Std_ReturnType Lin_SendFrame(uint8 Channel, Lin_PduType* PduInfoPtr) }}} == Lin_GoToSleep == {{{ Std_ReturnType Lin_GoToSleep(uint8 Channel) }}} == Lin_GoToSleepInternal == {{{ Std_ReturnType Lin_GoToSleepInternal(uint8 Channel) }}} == Lin_Wakeup == {{{ Std_ReturnType Lin_Wakeup(uint8 Channel) }}} == Lin_GetStatus == {{{ Lin_StatusType Lin_GetStatus(uint8 Channel, uint8** Lin_SduPtr) }}} ---- = コンフィギュレーション仕様 = == LinGeneral == {{{ /AUTOSAR/EcucDefs/Lin/LinGeneral }}} * 型:Container * 多重度:1 == LinDevErrorDetect == {{{ /AUTOSAR/EcucDefs/Lin/LinGeneral/LinDevErrorDetect }}} * 型:BooleanParam * 多重度:1 == LinIndex == {{{ /AUTOSAR/EcucDefs/Lin/LinGeneral/LinIndex }}} * 型:IntegerParam * 多重度:1 == LinTimeoutDuration == {{{ /AUTOSAR/EcucDefs/Lin/LinGeneral/LinTimeoutDuration }}} * 型:IntegerParam * 多重度:1 == LinVersionInfoApi == {{{ /AUTOSAR/EcucDefs/Lin/LinGeneral/LinVersionInfoApi }}} * 型:BooleanParam * 多重度:1 == LinGlobalConfig == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig }}} * 型:Container * 多重度:1 == LinChannel == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel }}} * 型:Container * 多重度:1..* == LinChannelBaudRate == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelBaudRate }}} * 型:IntegerParam * 多重度:1 == LinChannelId == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelId }}} * 型:IntegerParam * 多重度:1 == LinChannelWakeupSupport == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelWakeupSupport }}} * 型:BooleanParam * 多重度:1 == LinClockRef == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinClockRef }}} * 型:Reference * 多重度:1 == LinChannelEcuMWakeupSource == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelEcuMWakeupSource }}} * 型:Reference * 多重度:0..1 == LinDemEventParameterRefs == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinDemEventParameterRefs }}} * 型:Container * 多重度:0..1 == LIN_E_TIMEOUT == {{{ /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinDemEventParameterRefs/LIN_E_TIMEOUT }}} * 型:Reference * 多重度:0..1