9 | | {{{#!comment |
10 | | [執筆開始時削除エリア]ここから |
11 | | ※コメントごと削除してください |
12 | | }}} |
13 | | * '''本項目は、まだ執筆されていません''' |
14 | | * '''要望等ございましたら、[wiki: Wikiトップページ]にあります[wiki:#本サイトに関して 問い合わせ先]までお願いします''' |
| 9 | = 概要 = |
| 10 | |
| 11 | * API一覧 |
| 12 | |
| 13 | ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.2.2 =|| |
| 14 | || [#LinSM_Init LinSM_Init] || 1|| 0x01|| ○ || |
| 15 | || [#LinSM_ScheduleRequest LinSM_ScheduleRequest] || 16|| 0x10|| ○ || |
| 16 | || [#LinSM_GetVersionInfo LinSM_GetVersionInfo] || 2|| 0x02|| ○ || |
| 17 | || [#LinSM_GetCurrentComMode LinSM_GetCurrentComMode] || 17|| 0x11|| ○ || |
| 18 | || [#LinSM_RequestComMode LinSM_RequestComMode] || 18|| 0x12|| ○ || |
| 19 | || [#LinSM_MainFunction LinSM_MainFunction] || 48|| 0x30|| ○ || |
| 20 | || [#LinSM_ScheduleRequestConfirmation LinSM_ScheduleRequestConfirmation] || 32|| 0x20|| ○ || |
| 21 | || [#LinSM_GotoSleepConfirmation LinSM_GotoSleepConfirmation] || 34|| 0x22|| ○ || |
| 22 | || [#LinSM_WakeupConfirmation LinSM_WakeupConfirmation] || 33|| 0x21|| ○ || |
| 23 | |
| 24 | * コンフィギュレーション一覧(R4.2.2) |
| 25 | * [#LinSMConfigSet LinSMConfigSet] (○) |
| 26 | * [#LinSMModeRequestRepetitionMax LinSMModeRequestRepetitionMax] (○) |
| 27 | * [#LinSMChannel LinSMChannel] (○) |
| 28 | * [#LinSMConfirmationTimeout LinSMConfirmationTimeout] (○) |
| 29 | * [#LinSMTransceiverPassiveMode LinSMTransceiverPassiveMode] (○) |
| 30 | * [#LinSMComMNetworkHandleRef LinSMComMNetworkHandleRef] (○) |
| 31 | * [#LinSMSchedule LinSMSchedule] (○) |
| 32 | * [#LinSMScheduleIndex LinSMScheduleIndex] (○) |
| 33 | * [#LinSMScheduleIndexRef LinSMScheduleIndexRef] (○) |
| 34 | * [#LinSMGeneral LinSMGeneral] (○) |
| 35 | * [#LinSMDevErrorDetect LinSMDevErrorDetect] (○) |
| 36 | * [#LinSMMainProcessingPeriod LinSMMainProcessingPeriod] (○) |
| 37 | * [#LinSMVersionInfoApi LinSMVersionInfoApi] (○) |
| 38 | |
| 39 | * エラーコード一覧 |
| 40 | |
| 41 | ||= エラーコード =||= Dec =||= Hex =||= R4.2.2 =|| |
| 42 | || LINSM_E_UNINIT || 0|| 0x00|| ○ || |
| 43 | || LINSM_E_NONEXISTENT_NETWORK || 32|| 0x20|| ○ || |
| 44 | || LINSM_E_PARAMETER || 48|| 0x30|| ○ || |
| 45 | || LINSM_E_PARAM_POINTER || 64|| 0x40|| ○ || |
| 46 | || LINSM_E_CONFIRMATION_TIMEOUT || 80|| 0x50|| ○ || |
| 47 | || LINSM_E_INIT_FAILED || 96|| 0x60|| ○ || |
| 48 | || E_NOT_OK || --|| --|| ○ || |
| 49 | |
16 | | {{{#!comment |
17 | | [執筆開始時削除エリア]ここまで |
18 | | ※コメントごと削除してください |
19 | | }}} |
20 | | |
21 | | = 概要 = |
| 51 | |
| 52 | = API仕様 = |
| 53 | |
| 54 | == LinSM_Init == |
| 55 | {{{ |
| 56 | void LinSM_Init(const LinSM_ConfigType* ConfigPtr) |
| 57 | }}} |
| 58 | |
| 59 | == LinSM_ScheduleRequest == |
| 60 | {{{ |
| 61 | Std_ReturnType LinSM_ScheduleRequest(NetworkHandleType network, LinIf_SchHandleType schedule) |
| 62 | }}} |
| 63 | |
| 64 | == LinSM_GetVersionInfo == |
| 65 | {{{ |
| 66 | void LinSM_GetVersionInfo(Std_VersionInfoType* versioninfo) |
| 67 | }}} |
| 68 | |
| 69 | == LinSM_GetCurrentComMode == |
| 70 | {{{ |
| 71 | Std_ReturnType LinSM_GetCurrentComMode(NetworkHandleType network, ComM_ModeType* mode) |
| 72 | }}} |
| 73 | |
| 74 | == LinSM_RequestComMode == |
| 75 | {{{ |
| 76 | Std_ReturnType LinSM_RequestComMode(NetworkHandleType network, ComM_ModeType mode) |
| 77 | }}} |
| 78 | |
| 79 | == LinSM_MainFunction == |
| 80 | {{{ |
| 81 | void LinSM_MainFunction(void) |
| 82 | }}} |
| 83 | |
| 84 | == LinSM_ScheduleRequestConfirmation == |
| 85 | {{{ |
| 86 | void LinSM_ScheduleRequestConfirmation(NetworkHandleType network, LinIf_SchHandleType schedule) |
| 87 | }}} |
| 88 | |
| 89 | == LinSM_GotoSleepConfirmation == |
| 90 | {{{ |
| 91 | void LinSM_GotoSleepConfirmation(NetworkHandleType network, boolean success) |
| 92 | }}} |
| 93 | |
| 94 | == LinSM_WakeupConfirmation == |
| 95 | {{{ |
| 96 | void LinSM_WakeupConfirmation(NetworkHandleType network, boolean success) |
| 97 | }}} |
| 102 | |
| 103 | == LinSMConfigSet == |
| 104 | {{{ |
| 105 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet |
| 106 | }}} |
| 107 | * 型:Container |
| 108 | * 多重度:1 |
| 109 | |
| 110 | == LinSMModeRequestRepetitionMax == |
| 111 | {{{ |
| 112 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMModeRequestRepetitionMax |
| 113 | }}} |
| 114 | * 型:IntegerParam |
| 115 | * 多重度:1 |
| 116 | * 上限値:255 |
| 117 | * 下限値:0 |
| 118 | |
| 119 | == LinSMChannel == |
| 120 | {{{ |
| 121 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel |
| 122 | }}} |
| 123 | * 型:Container |
| 124 | * 多重度:1..* |
| 125 | |
| 126 | == LinSMConfirmationTimeout == |
| 127 | {{{ |
| 128 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMConfirmationTimeout |
| 129 | }}} |
| 130 | * 型:FloatParam |
| 131 | * 多重度:1 |
| 132 | * 上限値:Inf |
| 133 | * 下限値:0 |
| 134 | |
| 135 | == LinSMTransceiverPassiveMode == |
| 136 | {{{ |
| 137 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMTransceiverPassiveMode |
| 138 | }}} |
| 139 | * 型:BooleanParam |
| 140 | * 多重度:0..1 |
| 141 | |
| 142 | == LinSMComMNetworkHandleRef == |
| 143 | {{{ |
| 144 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMComMNetworkHandleRef |
| 145 | }}} |
| 146 | * 型:Reference |
| 147 | * 多重度:1 |
| 148 | * 参照先:{{{/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel}}} |
| 149 | |
| 150 | == LinSMSchedule == |
| 151 | {{{ |
| 152 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMSchedule |
| 153 | }}} |
| 154 | * 型:Container |
| 155 | * 多重度:1..* |
| 156 | |
| 157 | == LinSMScheduleIndex == |
| 158 | {{{ |
| 159 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMSchedule/LinSMScheduleIndex |
| 160 | }}} |
| 161 | * 型:IntegerParam |
| 162 | * 多重度:1 |
| 163 | * 上限値:255 |
| 164 | * 下限値:0 |
| 165 | |
| 166 | == LinSMScheduleIndexRef == |
| 167 | {{{ |
| 168 | /AUTOSAR/EcucDefs/LinSM/LinSMConfigSet/LinSMChannel/LinSMSchedule/LinSMScheduleIndexRef |
| 169 | }}} |
| 170 | * 型:Reference |
| 171 | * 多重度:1 |
| 172 | * 参照先:{{{/AUTOSAR/EcucDefs/LinIf/LinIfGlobalConfig/LinIfChannel/LinIfScheduleTable}}} |
| 173 | |
| 174 | == LinSMGeneral == |
| 175 | {{{ |
| 176 | /AUTOSAR/EcucDefs/LinSM/LinSMGeneral |
| 177 | }}} |
| 178 | * 型:Container |
| 179 | * 多重度:1 |
| 180 | |
| 181 | == LinSMDevErrorDetect == |
| 182 | {{{ |
| 183 | /AUTOSAR/EcucDefs/LinSM/LinSMGeneral/LinSMDevErrorDetect |
| 184 | }}} |
| 185 | * 型:BooleanParam |
| 186 | * 多重度:1 |
| 187 | |
| 188 | == LinSMMainProcessingPeriod == |
| 189 | {{{ |
| 190 | /AUTOSAR/EcucDefs/LinSM/LinSMGeneral/LinSMMainProcessingPeriod |
| 191 | }}} |
| 192 | * 型:FloatParam |
| 193 | * 多重度:1 |
| 194 | * 上限値:Inf |
| 195 | * 下限値:0 |
| 196 | |
| 197 | == LinSMVersionInfoApi == |
| 198 | {{{ |
| 199 | /AUTOSAR/EcucDefs/LinSM/LinSMGeneral/LinSMVersionInfoApi |
| 200 | }}} |
| 201 | * 型:BooleanParam |
| 202 | * 多重度:1 |