LIN Driver
概要
- LINに関する解説サイト
- API一覧
API ID
[Dec]ID
[Hex]R4.0.3 R4.2.2 R21-11 Lin_Init 0 0x00 ○ ○ ○ Lin_CheckWakeup 10 0x0A ○ ○ ○ Lin_GetVersionInfo 1 0x01 ○ ○ ○ Lin_SendFrame 4 0x04 ○ ○ ○ Lin_GoToSleep 6 0x06 ○ ○ ○ Lin_GoToSleepInternal 9 0x09 ○ ○ ○ Lin_Wakeup 7 0x07 ○ ○ ○ Lin_WakeupInternal 11 0x0B - ○ ○ Lin_GetStatus 8 0x08 ○ ○ ○
- コンフィギュレーション一覧 (R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11)
- LinDemEventParameterRefs (-/○/○/○/○/○/○/○)
- LIN_E_TIMEOUT (-/○/○/○/○/○/○/○)
- LinGeneral (○/○/○/○/○/○/○/○)
- LinDevErrorDetect (○/○/○/○/○/○/○/○)
- LinEcucPartitionRef (-/-/-/-/○/○/○/○)
- LinIndex (○/○/○/○/○/○/○/○)
- LinTimeoutDuration (○/○/○/○/○/○/○/○)
- LinVersionInfoApi (○/○/○/○/○/○/○/○)
- LinGlobalConfig (○/○/○/○/○/○/○/○)
- LinChannel (○/○/○/○/○/○/○/○)
- LinChannelBaudRate (○/○/○/○/○/○/○/○)
- LinChannelEcuMWakeupSource (○/○/○/○/○/○/○/○)
- LinChannelEcucPartitionRef (-/-/-/-/○/○/○/○)
- LinChannelId (○/○/○/○/○/○/○/○)
- LinChannelWakeupSupport (○/○/○/○/○/○/○/○)
- LinClockRef (○/○/○/○/○/○/○/○)
- LinNodeType (-/-/-/-/○/○/○/○)
- LinDemEventParameterRefs (○/-/-/-/-/-/-/-)
- LIN_E_TIMEOUT (○/-/-/-/-/-/-/-)
- LinChannel (○/○/○/○/○/○/○/○)
- LinDemEventParameterRefs (-/○/○/○/○/○/○/○)
- エラーコード一覧
- "--"はDemにより決定される
エラーコード Dec Hex R4.0.3 R4.2.2 R21-11 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
- R4.0.3 / R4.2.2
Std_ReturnType Lin_SendFrame(uint8 Channel, Lin_PduType* PduInfoPtr)
- R21-11
Std_ReturnType Lin_SendFrame (uint8 Channel, const 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_WakeupInternal
Std_ReturnType Lin_WakeupInternal(uint8 Channel)
Lin_GetStatus
- R4.0.3 / R4.2.2
Lin_StatusType Lin_GetStatus(uint8 Channel, uint8** Lin_SduPtr)
- R21-11
Lin_StatusType Lin_GetStatus (uint8 Channel, const uint8** Lin_SduPtr)
コンフィギュレーション仕様
LinDemEventParameterRefs
/AUTOSAR/EcucDefs/Lin/LinDemEventParameterRefs
- 対象リビジョン: R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00188
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 0..1
LIN_E_TIMEOUT
/AUTOSAR/EcucDefs/Lin/LinDemEventParameterRefs/LIN_E_TIMEOUT
- 対象リビジョン: R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00189
- タイプ:
- R4.1.3/R4.2.2/R4.3.1: SYMBOLIC-NAME-REFERENCE
- R4.4.0/R19-11/R20-11/R21-11: REFERENCE
- 多重度: 0..1
- 参照先: /AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter
LinGeneral
/AUTOSAR/EcucDefs/Lin/LinGeneral
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00183
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 1
LinDevErrorDetect
/AUTOSAR/EcucDefs/Lin/LinGeneral/LinDevErrorDetect
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00066
- タイプ: BOOLEAN-PARAM
- 多重度: 1
- デフォルト値:
- R4.3.1/R4.4.0/R19-11/R20-11/R21-11: false
LinEcucPartitionRef
/AUTOSAR/EcucDefs/Lin/LinGeneral/LinEcucPartitionRef
- 対象リビジョン: R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00192
- タイプ: REFERENCE
- 多重度: 0..*
- 参照先: /AUTOSAR/EcucDefs/EcuC/EcucPartitionCollection/EcucPartition
LinIndex
/AUTOSAR/EcucDefs/Lin/LinGeneral/LinIndex
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00179
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 255
- 下限値: 0
LinTimeoutDuration
/AUTOSAR/EcucDefs/Lin/LinGeneral/LinTimeoutDuration
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00093
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 65535
- 下限値: 0
LinVersionInfoApi
/AUTOSAR/EcucDefs/Lin/LinGeneral/LinVersionInfoApi
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00067
- タイプ: BOOLEAN-PARAM
- 多重度: 1
- デフォルト値:
- R4.3.1/R4.4.0/R19-11/R20-11/R21-11: false
LinGlobalConfig
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00184
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 1
LinChannel
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00069
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 1..*
LinChannelBaudRate
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelBaudRate
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00180
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 20000
- 下限値: 1000
LinChannelEcuMWakeupSource
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelEcuMWakeupSource
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00185
- タイプ:
- R4.0.3/R4.1.3/R4.2.2/R4.3.1: SYMBOLIC-NAME-REFERENCE
- R4.4.0/R19-11/R20-11/R21-11: REFERENCE
- 多重度: 0..1
- 参照先: /AUTOSAR/EcucDefs/EcuM/EcuMConfiguration/EcuMCommonConfiguration/EcuMWakeupSource
LinChannelEcucPartitionRef
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelEcucPartitionRef
- 対象リビジョン: R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00193
- タイプ: REFERENCE
- 多重度: 0..1
- 参照先: /AUTOSAR/EcucDefs/EcuC/EcucPartitionCollection/EcucPartition
LinChannelId
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelId
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00181
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 65535
- 下限値: 0
LinChannelWakeupSupport
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelWakeupSupport
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00182
- タイプ: BOOLEAN-PARAM
- 多重度: 1
LinClockRef
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinClockRef
- 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00094
- タイプ: REFERENCE
- 多重度: 1
- 参照先: /AUTOSAR/EcucDefs/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint
LinNodeType
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinNodeType
- 対象リビジョン: R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_Lin_00191
- タイプ: ENUMERATION-PARAM
- 多重度: 1
- 選択肢:
- MASTER
- SLAVE
LinDemEventParameterRefs(2)
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinDemEventParameterRefs
- 対象リビジョン: R4.0.3
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 0..1
LIN_E_TIMEOUT(2)
/AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinDemEventParameterRefs/LIN_E_TIMEOUT
- 対象リビジョン: R4.0.3
- タイプ: SYMBOLIC-NAME-REFERENCE
- 多重度: 0..1
- 参照先: /AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter
Last modified
17 months ago
Last modified on Dec 6, 2022, 1:33:18 PM
Note:
See TracWiki
for help on using the wiki.