22 | | = 概要 = |
| 11 | * API一覧 |
| 12 | |
| 13 | ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =|| |
| 14 | || [#Lin_Init Lin_Init] || 0|| 0x00|| |
| 15 | || [#Lin_CheckWakeup Lin_CheckWakeup] || 10|| 0x0A|| |
| 16 | || [#Lin_GetVersionInfo Lin_GetVersionInfo] || 1|| 0x01|| |
| 17 | || [#Lin_SendFrame Lin_SendFrame] || 4|| 0x04|| |
| 18 | || [#Lin_GoToSleep Lin_GoToSleep] || 6|| 0x06|| |
| 19 | || [#Lin_GoToSleepInternal Lin_GoToSleepInternal] || 9|| 0x09|| |
| 20 | || [#Lin_Wakeup Lin_Wakeup] || 7|| 0x07|| |
| 21 | || [#Lin_GetStatus Lin_GetStatus] || 8|| 0x08|| |
| 22 | |
| 23 | * コンフィギュレーション一覧 |
| 24 | * [#LinGeneral LinGeneral] |
| 25 | * [#LinDevErrorDetect LinDevErrorDetect] |
| 26 | * [#LinIndex LinIndex] |
| 27 | * [#LinTimeoutDuration LinTimeoutDuration] |
| 28 | * [#LinVersionInfoApi LinVersionInfoApi] |
| 29 | * [#LinGlobalConfig LinGlobalConfig] |
| 30 | * [#LinChannel LinChannel] |
| 31 | * [#LinChannelBaudRate LinChannelBaudRate] |
| 32 | * [#LinChannelId LinChannelId] |
| 33 | * [#LinChannelWakeupSupport LinChannelWakeupSupport] |
| 34 | * [#LinClockRef LinClockRef] |
| 35 | * [#LinChannelEcuMWakeupSource LinChannelEcuMWakeupSource] |
| 36 | * [#LinDemEventParameterRefs LinDemEventParameterRefs] |
| 37 | * [#LIN_E_TIMEOUT LIN_E_TIMEOUT] |
| 38 | |
| 39 | * エラーコード一覧 |
| 40 | * "--"は[wiki:spec_DiagnosticEventManager Dem]により決定される |
| 41 | |
| 42 | ||= エラーコード =||= Dec =||= Hex =|| |
| 43 | || LIN_E_UNINIT || 0|| 0x00|| |
| 44 | || LIN_E_INVALID_CHANNEL || 2|| 0x02|| |
| 45 | || LIN_E_INVALID_POINTER || 3|| 0x03|| |
| 46 | || LIN_E_STATE_TRANSITION || 4|| 0x04|| |
| 47 | || LIN_E_PARAM_POINTER || 5|| 0x05|| |
| 48 | || LIN_E_TIMEOUT || --|| --|| |
| 54 | == Lin_Init == |
| 55 | {{{ |
| 56 | void Lin_Init(const Lin_ConfigType* Config) |
| 57 | }}} |
| 58 | |
| 59 | == Lin_CheckWakeup == |
| 60 | {{{ |
| 61 | Std_ReturnType Lin_CheckWakeup(uint8 Channel) |
| 62 | }}} |
| 63 | |
| 64 | == Lin_GetVersionInfo == |
| 65 | {{{ |
| 66 | void Lin_GetVersionInfo(Std_VersionInfoType* versioninfo) |
| 67 | }}} |
| 68 | |
| 69 | == Lin_SendFrame == |
| 70 | {{{ |
| 71 | Std_ReturnType Lin_SendFrame(uint8 Channel, Lin_PduType* PduInfoPtr) |
| 72 | }}} |
| 73 | |
| 74 | == Lin_GoToSleep == |
| 75 | {{{ |
| 76 | Std_ReturnType Lin_GoToSleep(uint8 Channel) |
| 77 | }}} |
| 78 | |
| 79 | == Lin_GoToSleepInternal == |
| 80 | {{{ |
| 81 | Std_ReturnType Lin_GoToSleepInternal(uint8 Channel) |
| 82 | }}} |
| 83 | |
| 84 | == Lin_Wakeup == |
| 85 | {{{ |
| 86 | Std_ReturnType Lin_Wakeup(uint8 Channel) |
| 87 | }}} |
| 88 | |
| 89 | == Lin_GetStatus == |
| 90 | {{{ |
| 91 | Lin_StatusType Lin_GetStatus(uint8 Channel, uint8** Lin_SduPtr) |
| 92 | }}} |
| 93 | |
| 97 | |
| 98 | == LinGeneral == |
| 99 | {{{ |
| 100 | /AUTOSAR/EcucDefs/Lin/LinGeneral |
| 101 | }}} |
| 102 | * 型:Container |
| 103 | * 多重度:1 |
| 104 | |
| 105 | == LinDevErrorDetect == |
| 106 | {{{ |
| 107 | /AUTOSAR/EcucDefs/Lin/LinGeneral/LinDevErrorDetect |
| 108 | }}} |
| 109 | * 型:BooleanParam |
| 110 | * 多重度:1 |
| 111 | |
| 112 | == LinIndex == |
| 113 | {{{ |
| 114 | /AUTOSAR/EcucDefs/Lin/LinGeneral/LinIndex |
| 115 | }}} |
| 116 | * 型:IntegerParam |
| 117 | * 多重度:1 |
| 118 | |
| 119 | == LinTimeoutDuration == |
| 120 | {{{ |
| 121 | /AUTOSAR/EcucDefs/Lin/LinGeneral/LinTimeoutDuration |
| 122 | }}} |
| 123 | * 型:IntegerParam |
| 124 | * 多重度:1 |
| 125 | |
| 126 | == LinVersionInfoApi == |
| 127 | {{{ |
| 128 | /AUTOSAR/EcucDefs/Lin/LinGeneral/LinVersionInfoApi |
| 129 | }}} |
| 130 | * 型:BooleanParam |
| 131 | * 多重度:1 |
| 132 | |
| 133 | == LinGlobalConfig == |
| 134 | {{{ |
| 135 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig |
| 136 | }}} |
| 137 | * 型:Container |
| 138 | * 多重度:1 |
| 139 | |
| 140 | == LinChannel == |
| 141 | {{{ |
| 142 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel |
| 143 | }}} |
| 144 | * 型:Container |
| 145 | * 多重度:1..* |
| 146 | |
| 147 | == LinChannelBaudRate == |
| 148 | {{{ |
| 149 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelBaudRate |
| 150 | }}} |
| 151 | * 型:IntegerParam |
| 152 | * 多重度:1 |
| 153 | |
| 154 | == LinChannelId == |
| 155 | {{{ |
| 156 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelId |
| 157 | }}} |
| 158 | * 型:IntegerParam |
| 159 | * 多重度:1 |
| 160 | |
| 161 | == LinChannelWakeupSupport == |
| 162 | {{{ |
| 163 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelWakeupSupport |
| 164 | }}} |
| 165 | * 型:BooleanParam |
| 166 | * 多重度:1 |
| 167 | |
| 168 | == LinClockRef == |
| 169 | {{{ |
| 170 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinClockRef |
| 171 | }}} |
| 172 | * 型:Reference |
| 173 | * 多重度:1 |
| 174 | |
| 175 | == LinChannelEcuMWakeupSource == |
| 176 | {{{ |
| 177 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinChannel/LinChannelEcuMWakeupSource |
| 178 | }}} |
| 179 | * 型:Reference |
| 180 | * 多重度:0..1 |
| 181 | |
| 182 | == LinDemEventParameterRefs == |
| 183 | {{{ |
| 184 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinDemEventParameterRefs |
| 185 | }}} |
| 186 | * 型:Container |
| 187 | * 多重度:0..1 |
| 188 | |
| 189 | == LIN_E_TIMEOUT == |
| 190 | {{{ |
| 191 | /AUTOSAR/EcucDefs/Lin/LinGlobalConfig/LinDemEventParameterRefs/LIN_E_TIMEOUT |
| 192 | }}} |
| 193 | * 型:Reference |
| 194 | * 多重度:0..1 |