9 | | {{{#!comment |
10 | | [執筆開始時削除エリア]ここから |
11 | | ※コメントごと削除してください |
12 | | }}} |
13 | | * '''本項目は、まだ執筆されていません''' |
14 | | * '''執筆して頂ける方は、本注意書きを削除の上、執筆をお願いします(詳しくは本Wikiのソースコードをご参照ください)''' |
15 | | * '''質問事項等がございましたら、[http://dev.toppers.jp/trac_user/ap/wiki/ Wikiトップページ]にあります[http://dev.toppers.jp/trac_user/ap/wiki/WikiStart#%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B%E5%85%88 問い合わせ先]までお願いします''' |
| 9 | = 概要 = |
| 10 | |
| 11 | * API一覧 |
| 12 | |
| 13 | ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =|| |
| 14 | || [#CorTst_Init CorTst_Init] || 0|| 0x00|| |
| 15 | || [#CorTst_DeInit CorTst_DeInit] || 1|| 0x01|| |
| 16 | || [#CorTst_Abort CorTst_Abort] || 2|| 0x02|| |
| 17 | || [#CorTst_GetState CorTst_GetState] || 3|| 0x03|| |
| 18 | || [#CorTst_GetCurrentStatus CorTst_GetCurrentStatus] || 4|| 0x04|| |
| 19 | || [#CorTst_GetSignature CorTst_GetSignature] || 5|| 0x05|| |
| 20 | || [#CorTst_GetFgndSignature CorTst_GetFgndSignature] || 6|| 0x06|| |
| 21 | || [#CorTst_Start CorTst_Start] || 7|| 0x07|| |
| 22 | || [#CorTst_GetVersionInfo CorTst_GetVersionInfo] || 8|| 0x08|| |
| 23 | || [#CorTst_MainFunction CorTst_MainFunction] || 11|| 0x0B|| |
| 24 | || [#CorTst_TestCompletedNotification CorTst_TestCompletedNotification] || 12|| 0x0C|| |
| 25 | |
| 26 | * コンフィギュレーション一覧 |
| 27 | * [#CorTstBackgroundConfigSet CorTstBackgroundConfigSet] |
| 28 | * [#CorTstSelect CorTstSelect] |
| 29 | * [#CorTstAddress CorTstAddress] |
| 30 | * [#CorTstAlu CorTstAlu] |
| 31 | * [#CorTstCache CorTstCache] |
| 32 | * [#CorTstInterrupt CorTstInterrupt] |
| 33 | * [#CorTstMemoryIf CorTstMemoryIf] |
| 34 | * [#CorTstMpu CorTstMpu] |
| 35 | * [#CorTstRegister CorTstRegister] |
| 36 | * [#CorTstConfigApiServices CorTstConfigApiServices] |
| 37 | * [#CorTstAbortApi CorTstAbortApi] |
| 38 | * [#CorTstGetCurrentStatus CorTstGetCurrentStatus] |
| 39 | * [#CorTstGetFgndSignature CorTstGetFgndSignature] |
| 40 | * [#CorTstGetSignature CorTstGetSignature] |
| 41 | * [#CorTstGetStateApi CorTstGetStateApi] |
| 42 | * [#CorTstStartApi CorTstStartApi] |
| 43 | * [#CorTstVersionInfoApi CorTstVersionInfoApi] |
| 44 | * [#CorTstDemEventParameterRefs CorTstDemEventParameterRefs] |
| 45 | * [#CORTST_E_CORE_FAILURE CORTST_E_CORE_FAILURE] |
| 46 | * [#CorTstForegroundConfigSet CorTstForegroundConfigSet] |
| 47 | * [#CorTstTestIdFgnd CorTstTestIdFgnd] |
| 48 | * [#CorTstSelect CorTstSelect] |
| 49 | * [#CorTstAddress CorTstAddress] |
| 50 | * [#CorTstAlu CorTstAlu] |
| 51 | * [#CorTstCache CorTstCache] |
| 52 | * [#CorTstInterrupt CorTstInterrupt] |
| 53 | * [#CorTstMemoryIf CorTstMemoryIf] |
| 54 | * [#CorTstMpu CorTstMpu] |
| 55 | * [#CorTstRegister CorTstRegister] |
| 56 | * [#CorTstGeneral CorTstGeneral] |
| 57 | * [#CorTstDevErrorDetect CorTstDevErrorDetect] |
| 58 | * [#CorTstFgndTestNumber CorTstFgndTestNumber] |
| 59 | * [#CorTstNotificationSupported CorTstNotificationSupported] |
| 60 | * [#CorTstTestIntervalIdEndValue CorTstTestIntervalIdEndValue] |
| 61 | * [#CorTstTestResultMode CorTstTestResultMode] |
| 62 | |
| 63 | * エラーコード一覧 |
| 64 | * "--"は[wiki:spec_DiagnosticEventManager Dem]により決定される |
| 65 | |
| 66 | ||= エラーコード =||= Dec =||= Hex =|| |
| 67 | || CORTST_E_PARAM_INVALID || 17|| 0x11|| |
| 68 | || CORTST_E_UNINIT || 32|| 0x20|| |
| 69 | || CORTST_E_ALREADY_INITIALIZED || 35|| 0x23|| |
| 70 | || CORTST_E_PARAM_POINTER || 36|| 0x24|| |
| 71 | || CORTST_E_STATUS_FAILURE || 1|| 0x01|| |
| 72 | || CORTST_E_CORE_FAILURE || --|| --|| |
| 73 | |
17 | | {{{#!comment |
18 | | [執筆開始時削除エリア]ここまで |
19 | | ※コメントごと削除してください |
20 | | }}} |
21 | | |
22 | | = 概要 = |
| 75 | |
| 76 | = API仕様 = |
| 77 | |
| 78 | == CorTst_Init == |
| 79 | {{{ |
| 80 | void CorTst_Init(void) |
| 81 | }}} |
| 82 | |
| 83 | == CorTst_DeInit == |
| 84 | {{{ |
| 85 | void CorTst_DeInit(void) |
| 86 | }}} |
| 87 | |
| 88 | == CorTst_Abort == |
| 89 | {{{ |
| 90 | void CorTst_Abort(void) |
| 91 | }}} |
| 92 | |
| 93 | == CorTst_GetState == |
| 94 | {{{ |
| 95 | CorTst_StateType CorTst_GetState(void) |
| 96 | }}} |
| 97 | |
| 98 | == CorTst_GetCurrentStatus == |
| 99 | {{{ |
| 100 | void CorTst_GetCurrentStatus(CorTst_ErrOkType ErrOk) |
| 101 | }}} |
| 102 | |
| 103 | == CorTst_GetSignature == |
| 104 | {{{ |
| 105 | CorTst_CsumSignatureBgndType CorTst_GetSignature(void) |
| 106 | }}} |
| 107 | |
| 108 | == CorTst_GetFgndSignature == |
| 109 | {{{ |
| 110 | CorTst_CsumSignatureType CorTst_GetFgndSignature(void) |
| 111 | }}} |
| 112 | |
| 113 | == CorTst_Start == |
| 114 | {{{ |
| 115 | Std_ReturnType CorTst_Start(CorTst_TestIdFgndType TestId) |
| 116 | }}} |
| 117 | |
| 118 | == CorTst_GetVersionInfo == |
| 119 | {{{ |
| 120 | void CorTst_GetVersionInfo(Std_VersionInfoType* versioninfo) |
| 121 | }}} |
| 122 | |
| 123 | == CorTst_MainFunction == |
| 124 | {{{ |
| 125 | void CorTst_MainFunction(void) |
| 126 | }}} |
| 127 | |
| 128 | == CorTst_TestCompletedNotification == |
| 129 | {{{ |
| 130 | void CorTst_TestCompletedNotification(CorTst_ErrOkType ResultOfLastCorTstRun) |
| 131 | }}} |
| 136 | |
| 137 | == CorTstBackgroundConfigSet == |
| 138 | {{{ |
| 139 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet |
| 140 | }}} |
| 141 | * 型:Container |
| 142 | * 多重度:0..* |
| 143 | |
| 144 | == CorTstSelect == |
| 145 | {{{ |
| 146 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect |
| 147 | }}} |
| 148 | * 型:Container |
| 149 | * 多重度:1 |
| 150 | |
| 151 | == CorTstAddress == |
| 152 | {{{ |
| 153 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect/CorTstAddress |
| 154 | }}} |
| 155 | * 型:BooleanParam |
| 156 | * 多重度:1 |
| 157 | |
| 158 | == CorTstAlu == |
| 159 | {{{ |
| 160 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect/CorTstAlu |
| 161 | }}} |
| 162 | * 型:BooleanParam |
| 163 | * 多重度:1 |
| 164 | |
| 165 | == CorTstCache == |
| 166 | {{{ |
| 167 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect/CorTstCache |
| 168 | }}} |
| 169 | * 型:BooleanParam |
| 170 | * 多重度:1 |
| 171 | |
| 172 | == CorTstInterrupt == |
| 173 | {{{ |
| 174 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect/CorTstInterrupt |
| 175 | }}} |
| 176 | * 型:BooleanParam |
| 177 | * 多重度:1 |
| 178 | |
| 179 | == CorTstMemoryIf == |
| 180 | {{{ |
| 181 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect/CorTstMemoryIf |
| 182 | }}} |
| 183 | * 型:BooleanParam |
| 184 | * 多重度:1 |
| 185 | |
| 186 | == CorTstMpu == |
| 187 | {{{ |
| 188 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect/CorTstMpu |
| 189 | }}} |
| 190 | * 型:BooleanParam |
| 191 | * 多重度:1 |
| 192 | |
| 193 | == CorTstRegister == |
| 194 | {{{ |
| 195 | /AUTOSAR/EcucDefs/CorTst/CorTstBackgroundConfigSet/CorTstSelect/CorTstRegister |
| 196 | }}} |
| 197 | * 型:BooleanParam |
| 198 | * 多重度:1 |
| 199 | |
| 200 | == CorTstConfigApiServices == |
| 201 | {{{ |
| 202 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices |
| 203 | }}} |
| 204 | * 型:Container |
| 205 | * 多重度:1 |
| 206 | |
| 207 | == CorTstAbortApi == |
| 208 | {{{ |
| 209 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices/CorTstAbortApi |
| 210 | }}} |
| 211 | * 型:BooleanParam |
| 212 | * 多重度:1 |
| 213 | |
| 214 | == CorTstGetCurrentStatus == |
| 215 | {{{ |
| 216 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices/CorTstGetCurrentStatus |
| 217 | }}} |
| 218 | * 型:BooleanParam |
| 219 | * 多重度:1 |
| 220 | |
| 221 | == CorTstGetFgndSignature == |
| 222 | {{{ |
| 223 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices/CorTstGetFgndSignature |
| 224 | }}} |
| 225 | * 型:BooleanParam |
| 226 | * 多重度:1 |
| 227 | |
| 228 | == CorTstGetSignature == |
| 229 | {{{ |
| 230 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices/CorTstGetSignature |
| 231 | }}} |
| 232 | * 型:BooleanParam |
| 233 | * 多重度:1 |
| 234 | |
| 235 | == CorTstGetStateApi == |
| 236 | {{{ |
| 237 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices/CorTstGetStateApi |
| 238 | }}} |
| 239 | * 型:BooleanParam |
| 240 | * 多重度:1 |
| 241 | |
| 242 | == CorTstStartApi == |
| 243 | {{{ |
| 244 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices/CorTstStartApi |
| 245 | }}} |
| 246 | * 型:BooleanParam |
| 247 | * 多重度:1 |
| 248 | |
| 249 | == CorTstVersionInfoApi == |
| 250 | {{{ |
| 251 | /AUTOSAR/EcucDefs/CorTst/CorTstConfigApiServices/CorTstVersionInfoApi |
| 252 | }}} |
| 253 | * 型:BooleanParam |
| 254 | * 多重度:1 |
| 255 | |
| 256 | == CorTstDemEventParameterRefs == |
| 257 | {{{ |
| 258 | /AUTOSAR/EcucDefs/CorTst/CorTstDemEventParameterRefs |
| 259 | }}} |
| 260 | * 型:Container |
| 261 | * 多重度:0..1 |
| 262 | |
| 263 | == CORTST_E_CORE_FAILURE == |
| 264 | {{{ |
| 265 | /AUTOSAR/EcucDefs/CorTst/CorTstDemEventParameterRefs/CORTST_E_CORE_FAILURE |
| 266 | }}} |
| 267 | * 型:Reference |
| 268 | * 多重度:0..1 |
| 269 | |
| 270 | == CorTstForegroundConfigSet == |
| 271 | {{{ |
| 272 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet |
| 273 | }}} |
| 274 | * 型:Container |
| 275 | * 多重度:1..* |
| 276 | |
| 277 | == CorTstTestIdFgnd == |
| 278 | {{{ |
| 279 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstTestIdFgnd |
| 280 | }}} |
| 281 | * 型:IntegerParam |
| 282 | * 多重度:1 |
| 283 | |
| 284 | == CorTstSelect == |
| 285 | {{{ |
| 286 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect |
| 287 | }}} |
| 288 | * 型:Container |
| 289 | * 多重度:1 |
| 290 | |
| 291 | == CorTstAddress == |
| 292 | {{{ |
| 293 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect/CorTstAddress |
| 294 | }}} |
| 295 | * 型:BooleanParam |
| 296 | * 多重度:1 |
| 297 | |
| 298 | == CorTstAlu == |
| 299 | {{{ |
| 300 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect/CorTstAlu |
| 301 | }}} |
| 302 | * 型:BooleanParam |
| 303 | * 多重度:1 |
| 304 | |
| 305 | == CorTstCache == |
| 306 | {{{ |
| 307 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect/CorTstCache |
| 308 | }}} |
| 309 | * 型:BooleanParam |
| 310 | * 多重度:1 |
| 311 | |
| 312 | == CorTstInterrupt == |
| 313 | {{{ |
| 314 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect/CorTstInterrupt |
| 315 | }}} |
| 316 | * 型:BooleanParam |
| 317 | * 多重度:1 |
| 318 | |
| 319 | == CorTstMemoryIf == |
| 320 | {{{ |
| 321 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect/CorTstMemoryIf |
| 322 | }}} |
| 323 | * 型:BooleanParam |
| 324 | * 多重度:1 |
| 325 | |
| 326 | == CorTstMpu == |
| 327 | {{{ |
| 328 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect/CorTstMpu |
| 329 | }}} |
| 330 | * 型:BooleanParam |
| 331 | * 多重度:1 |
| 332 | |
| 333 | == CorTstRegister == |
| 334 | {{{ |
| 335 | /AUTOSAR/EcucDefs/CorTst/CorTstForegroundConfigSet/CorTstSelect/CorTstRegister |
| 336 | }}} |
| 337 | * 型:BooleanParam |
| 338 | * 多重度:1 |
| 339 | |
| 340 | == CorTstGeneral == |
| 341 | {{{ |
| 342 | /AUTOSAR/EcucDefs/CorTst/CorTstGeneral |
| 343 | }}} |
| 344 | * 型:Container |
| 345 | * 多重度:1 |
| 346 | |
| 347 | == CorTstDevErrorDetect == |
| 348 | {{{ |
| 349 | /AUTOSAR/EcucDefs/CorTst/CorTstGeneral/CorTstDevErrorDetect |
| 350 | }}} |
| 351 | * 型:BooleanParam |
| 352 | * 多重度:1 |
| 353 | |
| 354 | == CorTstFgndTestNumber == |
| 355 | {{{ |
| 356 | /AUTOSAR/EcucDefs/CorTst/CorTstGeneral/CorTstFgndTestNumber |
| 357 | }}} |
| 358 | * 型:IntegerParam |
| 359 | * 多重度:1 |
| 360 | |
| 361 | == CorTstNotificationSupported == |
| 362 | {{{ |
| 363 | /AUTOSAR/EcucDefs/CorTst/CorTstGeneral/CorTstNotificationSupported |
| 364 | }}} |
| 365 | * 型:BooleanParam |
| 366 | * 多重度:1 |
| 367 | |
| 368 | == CorTstTestIntervalIdEndValue == |
| 369 | {{{ |
| 370 | /AUTOSAR/EcucDefs/CorTst/CorTstGeneral/CorTstTestIntervalIdEndValue |
| 371 | }}} |
| 372 | * 型:IntegerParam |
| 373 | * 多重度:0..1 |
| 374 | |
| 375 | == CorTstTestResultMode == |
| 376 | {{{ |
| 377 | /AUTOSAR/EcucDefs/CorTst/CorTstGeneral/CorTstTestResultMode |
| 378 | }}} |
| 379 | * 型:BooleanParam |
| 380 | * 多重度:1 |