Changes between Version 7 and Version 8 of spec/Lin


Ignore:
Timestamp:
Sep 28, 2020, 9:42:08 AM (4 years ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Lin

    v7 v8  
    1212* API一覧
    1313
    14   ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||
    15   || [#Lin_Init Lin_Init]                           ||  0|| 0x00||
    16   || [#Lin_CheckWakeup Lin_CheckWakeup]             || 10|| 0x0A||
    17   || [#Lin_GetVersionInfo Lin_GetVersionInfo]       ||  1|| 0x01||
    18   || [#Lin_SendFrame Lin_SendFrame]                 ||  4|| 0x04||
    19   || [#Lin_GoToSleep Lin_GoToSleep]                 ||  6|| 0x06||
    20   || [#Lin_GoToSleepInternal Lin_GoToSleepInternal] ||  9|| 0x09||
    21   || [#Lin_Wakeup Lin_Wakeup]                       ||  7|| 0x07||
    22   || [#Lin_GetStatus Lin_GetStatus]                 ||  8|| 0x08||
    23 
    24 * コンフィギュレーション一覧
    25   * [#LinGeneral LinGeneral]
    26     * [#LinDevErrorDetect LinDevErrorDetect]
    27     * [#LinIndex LinIndex]
    28     * [#LinTimeoutDuration LinTimeoutDuration]
    29     * [#LinVersionInfoApi LinVersionInfoApi]
    30   * [#LinGlobalConfig LinGlobalConfig]
    31     * [#LinChannel LinChannel]
    32       * [#LinChannelBaudRate LinChannelBaudRate]
    33       * [#LinChannelId LinChannelId]
    34       * [#LinChannelWakeupSupport LinChannelWakeupSupport]
    35       * [#LinClockRef LinClockRef]
    36       * [#LinChannelEcuMWakeupSource LinChannelEcuMWakeupSource]
    37     * [#LinDemEventParameterRefs LinDemEventParameterRefs]
    38       * [#LIN_E_TIMEOUT LIN_E_TIMEOUT]
     14  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||
     15  || [#Lin_Init Lin_Init]                           ||  0|| 0x00||  ○  ||  ○  ||
     16  || [#Lin_CheckWakeup Lin_CheckWakeup]             || 10|| 0x0A||  ○  ||  ○  ||
     17  || [#Lin_GetVersionInfo Lin_GetVersionInfo]       ||  1|| 0x01||  ○  ||  ○  ||
     18  || [#Lin_SendFrame Lin_SendFrame]                 ||  4|| 0x04||  ○  ||  ○  ||
     19  || [#Lin_GoToSleep Lin_GoToSleep]                 ||  6|| 0x06||  ○  ||  ○  ||
     20  || [#Lin_GoToSleepInternal Lin_GoToSleepInternal] ||  9|| 0x09||  ○  ||  ○  ||
     21  || [#Lin_Wakeup Lin_Wakeup]                       ||  7|| 0x07||  ○  ||  ○  ||
     22  || [#Lin_WakeupInternal Lin_WakeupInternal]       || 11|| 0x0B||  -   ||  ○  ||
     23  || [#Lin_GetStatus Lin_GetStatus]                 ||  8|| 0x08||  ○  ||  ○  ||
     24
     25* コンフィギュレーション一覧(R4.0.3 / R4.2.2)
     26  * [#LinDemEventParameterRefs LinDemEventParameterRefs] (-/○)
     27    * [#LIN_E_TIMEOUT LIN_E_TIMEOUT] (-/○)
     28  * [#LinGeneral LinGeneral] (○/○)
     29    * [#LinDevErrorDetect LinDevErrorDetect] (○/○)
     30    * [#LinIndex LinIndex] (○/○)
     31    * [#LinTimeoutDuration LinTimeoutDuration] (○/○)
     32    * [#LinVersionInfoApi LinVersionInfoApi] (○/○)
     33  * [#LinGlobalConfig LinGlobalConfig] (○/○)
     34    * [#LinChannel LinChannel] (○/○)
     35      * [#LinChannelBaudRate LinChannelBaudRate] (○/○)
     36      * [#LinChannelId LinChannelId] (○/○)
     37      * [#LinChannelWakeupSupport LinChannelWakeupSupport] (○/○)
     38      * [#LinClockRef LinClockRef] (○/○)
     39      * [#LinChannelEcuMWakeupSource LinChannelEcuMWakeupSource] (○/○)
     40    * [#LinDemEventParameterRefs LinDemEventParameterRefs] (○/-)
     41      * [#LIN_E_TIMEOUT LIN_E_TIMEOUT] (○/-)
    3942
    4043* エラーコード一覧
    41   * "--"は[wiki:spec_DiagnosticEventManager Dem]により決定される
    42 
    43   ||= エラーコード =||= Dec =||= Hex =||
    44   || LIN_E_UNINIT           ||  0|| 0x00||
    45   || LIN_E_INVALID_CHANNEL  ||  2|| 0x02||
    46   || LIN_E_INVALID_POINTER  ||  3|| 0x03||
    47   || LIN_E_STATE_TRANSITION ||  4|| 0x04||
    48   || LIN_E_PARAM_POINTER    ||  5|| 0x05||
    49   || LIN_E_TIMEOUT          || --||   --||
     44  * "--"は[wiki:spec/Dem Dem]により決定される
     45
     46  ||= エラーコード =||= Dec =||= Hex =||= R4.0.3 =||= R4.2.2 =||
     47  || LIN_E_UNINIT           ||  0|| 0x00||  ○  ||  ○  ||
     48  || LIN_E_INVALID_CHANNEL  ||  2|| 0x02||  ○  ||  ○  ||
     49  || LIN_E_INVALID_POINTER  ||  3|| 0x03||  ○  ||  ○  ||
     50  || LIN_E_STATE_TRANSITION ||  4|| 0x04||  ○  ||  ○  ||
     51  || LIN_E_PARAM_POINTER    ||  5|| 0x05||  ○  ||  ○  ||
     52  || LIN_E_TIMEOUT          || --||   --||  ○  ||  ○  ||
    5053
    5154----
     
    8891}}}
    8992
     93== Lin_WakeupInternal ==
     94{{{
     95Std_ReturnType Lin_WakeupInternal(uint8 Channel)
     96}}}
     97
    9098== Lin_GetStatus ==
    9199{{{
     
    97105= コンフィギュレーション仕様 =
    98106
     107== LinDemEventParameterRefs ==
     108{{{
     109/AUTOSAR/EcucDefs/Lin/LinDemEventParameterRefs
     110}}}
     111* 型:Container
     112* 多重度:0..1
     113
     114== LIN_E_TIMEOUT ==
     115{{{
     116/AUTOSAR/EcucDefs/Lin/LinDemEventParameterRefs/LIN_E_TIMEOUT
     117}}}
     118* 型:Reference
     119* 多重度:0..1
     120* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}
     121
    99122== LinGeneral ==
    100123{{{
     
    117140* 型:IntegerParam
    118141* 多重度:1
     142* 上限値:255
     143* 下限値:0
    119144
    120145== LinTimeoutDuration ==
     
    124149* 型:IntegerParam
    125150* 多重度:1
     151* 上限値:65535
     152* 下限値:0
    126153
    127154== LinVersionInfoApi ==
     
    152179* 型:IntegerParam
    153180* 多重度:1
     181* 上限値:20000
     182* 下限値:1000
    154183
    155184== LinChannelId ==
     
    159188* 型:IntegerParam
    160189* 多重度:1
     190* 上限値:65535
     191* 下限値:0
    161192
    162193== LinChannelWakeupSupport ==
     
    173204* 型:Reference
    174205* 多重度:1
     206* 参照先:{{{/AUTOSAR/EcucDefs/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint}}}
    175207
    176208== LinChannelEcuMWakeupSource ==
     
    180212* 型:Reference
    181213* 多重度:0..1
     214* 参照先:{{{/AUTOSAR/EcucDefs/EcuM/EcuMConfiguration/EcuMCommonConfiguration/EcuMWakeupSource}}}
    182215
    183216== LinDemEventParameterRefs ==
     
    194227* 型:Reference
    195228* 多重度:0..1
     229* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}