Changes between Version 1 and Version 2 of spec/Tm


Ignore:
Timestamp:
Aug 17, 2020, 10:29:02 PM (18 months ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Tm

    v1 v2  
    77[[BR]]
    88
    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  || [#Tm_GetVersionInfo Tm_GetVersionInfo]               ||  1|| 0x01||  ○  ||
     15  || [#Tm_ResetTimer1us16bit Tm_ResetTimer1us16bit]       ||  2|| 0x02||  ○  ||
     16  || [#Tm_GetTimeSpan1us16bit Tm_GetTimeSpan1us16bit]     ||  3|| 0x03||  ○  ||
     17  || [#Tm_ShiftTimer1us16bit Tm_ShiftTimer1us16bit]       ||  4|| 0x04||  ○  ||
     18  || [#Tm_SyncTimer1us16bit Tm_SyncTimer1us16bit]         ||  5|| 0x05||  ○  ||
     19  || [#Tm_BusyWait1us16bit Tm_BusyWait1us16bit]           ||  6|| 0x06||  ○  ||
     20  || [#Tm_ResetTimer1us24bit Tm_ResetTimer1us24bit]       ||  7|| 0x07||  ○  ||
     21  || [#Tm_GetTimeSpan1us24bit Tm_GetTimeSpan1us24bit]     ||  8|| 0x08||  ○  ||
     22  || [#Tm_ShiftTimer1us24bit Tm_ShiftTimer1us24bit]       ||  9|| 0x09||  ○  ||
     23  || [#Tm_SyncTimer1us24bit Tm_SyncTimer1us24bit]         || 10|| 0x0A||  ○  ||
     24  || [#Tm_BusyWait1us24bit Tm_BusyWait1us24bit]           || 11|| 0x0B||  ○  ||
     25  || [#Tm_ResetTimer1us32bit Tm_ResetTimer1us32bit]       || 12|| 0x0C||  ○  ||
     26  || [#Tm_GetTimeSpan1us32bit Tm_GetTimeSpan1us32bit]     || 13|| 0x0D||  ○  ||
     27  || [#Tm_ShiftTimer1us32bit Tm_ShiftTimer1us32bit]       || 14|| 0x0E||  ○  ||
     28  || [#Tm_SyncTimer1us32bit Tm_SyncTimer1us32bit]         || 15|| 0x0F||  ○  ||
     29  || [#Tm_BusyWait1us32bit Tm_BusyWait1us32bit]           || 16|| 0x10||  ○  ||
     30  || [#Tm_ResetTimer100us32bit Tm_ResetTimer100us32bit]   || 17|| 0x11||  ○  ||
     31  || [#Tm_GetTimeSpan100us32bit Tm_GetTimeSpan100us32bit] || 18|| 0x12||  ○  ||
     32  || [#Tm_ShiftTimer100us32bit Tm_ShiftTimer100us32bit]   || 19|| 0x13||  ○  ||
     33  || [#Tm_SyncTimer100us32bit Tm_SyncTimer100us32bit]     || 20|| 0x14||  ○  ||
     34
     35* コンフィギュレーション一覧(R4.2.2)
     36  * [#TmGeneral TmGeneral] (○)
     37    * [#TmDevErrorDetect TmDevErrorDetect] (○)
     38    * [#TmEnablePredefTimer100us32bit TmEnablePredefTimer100us32bit] (○)
     39    * [#TmEnablePredefTimer1us16bit TmEnablePredefTimer1us16bit] (○)
     40    * [#TmEnablePredefTimer1us24bit TmEnablePredefTimer1us24bit] (○)
     41    * [#TmEnablePredefTimer1us32bit TmEnablePredefTimer1us32bit] (○)
     42    * [#TmVersionInfoApi TmVersionInfoApi] (○)
     43
     44* エラーコード一覧
     45
     46  ||= エラーコード =||= Dec =||= Hex =||= R4.2.2 =||
     47  || TM_E_PARAM_POINTER  ||  1|| 0x01||  ○  ||
     48  || TM_E_PARAM_VALUE    ||  2|| 0x02||  ○  ||
     49  || TM_E_HARDWARE_TIMER ||  3|| 0x03||  ○  ||
     50
    1551----
    16 {{{#!comment
    17 [執筆開始時削除エリア]ここまで
    18 ※コメントごと削除してください
    19 }}}
    20 
    21 = 概要 =
     52
     53= API仕様 =
     54
     55== Tm_GetVersionInfo ==
     56{{{
     57void Tm_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr)
     58}}}
     59
     60== Tm_ResetTimer1us16bit ==
     61{{{
     62Std_ReturnType Tm_ResetTimer1us16bit(Tm_PredefTimer1us16bitType* TimerPtr)
     63}}}
     64
     65== Tm_GetTimeSpan1us16bit ==
     66{{{
     67Std_ReturnType Tm_GetTimeSpan1us16bit(const Tm_PredefTimer1us16bitType* TimerPtr, uint16* TimeSpanPtr)
     68}}}
     69
     70== Tm_ShiftTimer1us16bit ==
     71{{{
     72void Tm_ShiftTimer1us16bit(Tm_PredefTimer1us16bitType* TimerPtr, uint16 TimeValue)
     73}}}
     74
     75== Tm_SyncTimer1us16bit ==
     76{{{
     77void Tm_SyncTimer1us16bit(Tm_PredefTimer1us16bitType* TimerDstPtr, const Tm_PredefTimer1us16bitType* TimerSrcPtr)
     78}}}
     79
     80== Tm_BusyWait1us16bit ==
     81{{{
     82Std_ReturnType Tm_BusyWait1us16bit(uint8 WaitingTimeMin)
     83}}}
     84
     85== Tm_ResetTimer1us24bit ==
     86{{{
     87Std_ReturnType Tm_ResetTimer1us24bit(Tm_PredefTimer1us24bitType* TimerPtr)
     88}}}
     89
     90== Tm_GetTimeSpan1us24bit ==
     91{{{
     92Std_ReturnType Tm_GetTimeSpan1us24bit(const Tm_PredefTimer1us24bitType* TimerPtr, uint32* TimeSpanPtr)
     93}}}
     94
     95== Tm_ShiftTimer1us24bit ==
     96{{{
     97void Tm_ShiftTimer1us24bit(Tm_PredefTimer1us24bitType* TimerPtr, uint32 TimeValue)
     98}}}
     99
     100== Tm_SyncTimer1us24bit ==
     101{{{
     102void Tm_SyncTimer1us24bit(Tm_PredefTimer1us24bitType* TimerDstPtr, const Tm_PredefTimer1us24bitType* TimerSrcPtr)
     103}}}
     104
     105== Tm_BusyWait1us24bit ==
     106{{{
     107Std_ReturnType Tm_BusyWait1us24bit(uint8 WaitingTimeMin)
     108}}}
     109
     110== Tm_ResetTimer1us32bit ==
     111{{{
     112Std_ReturnType Tm_ResetTimer1us32bit(Tm_PredefTimer1us32bitType* TimerPtr)
     113}}}
     114
     115== Tm_GetTimeSpan1us32bit ==
     116{{{
     117Std_ReturnType Tm_GetTimeSpan1us32bit(const Tm_PredefTimer1us32bitType* TimerPtr, uint32* TimeSpanPtr)
     118}}}
     119
     120== Tm_ShiftTimer1us32bit ==
     121{{{
     122void Tm_ShiftTimer1us32bit(Tm_PredefTimer1us32bitType* TimerPtr, uint32 TimeValue)
     123}}}
     124
     125== Tm_SyncTimer1us32bit ==
     126{{{
     127void Tm_SyncTimer1us32bit(Tm_PredefTimer1us32bitType* TimerDstPtr, const Tm_PredefTimer1us32bitType* TimerSrcPtr)
     128}}}
     129
     130== Tm_BusyWait1us32bit ==
     131{{{
     132Std_ReturnType Tm_BusyWait1us32bit(uint8 WaitingTimeMin)
     133}}}
     134
     135== Tm_ResetTimer100us32bit ==
     136{{{
     137Std_ReturnType Tm_ResetTimer100us32bit(Tm_PredefTimer100us32bitType* TimerPtr)
     138}}}
     139
     140== Tm_GetTimeSpan100us32bit ==
     141{{{
     142Std_ReturnType Tm_GetTimeSpan100us32bit(const Tm_PredefTimer100us32bitType* TimerPtr, uint32* TimeSpanPtr)
     143}}}
     144
     145== Tm_ShiftTimer100us32bit ==
     146{{{
     147void Tm_ShiftTimer100us32bit(Tm_PredefTimer100us32bitType* TimerPtr, uint32 TimeValue)
     148}}}
     149
     150== Tm_SyncTimer100us32bit ==
     151{{{
     152void Tm_SyncTimer100us32bit(Tm_PredefTimer100us32bitType* TimerDstPtr, const Tm_PredefTimer100us32bitType* TimerSrcPtr)
     153}}}
    22154
    23155----
    24156
    25 = API仕様 =
    26 
    27 ----
    28 
    29157= コンフィギュレーション仕様 =
     158
     159== TmGeneral ==
     160{{{
     161/AUTOSAR/EcucDefs/Tm/TmGeneral
     162}}}
     163* 型:Container
     164* 多重度:1
     165
     166== TmDevErrorDetect ==
     167{{{
     168/AUTOSAR/EcucDefs/Tm/TmGeneral/TmDevErrorDetect
     169}}}
     170* 型:BooleanParam
     171* 多重度:1
     172
     173== TmEnablePredefTimer100us32bit ==
     174{{{
     175/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer100us32bit
     176}}}
     177* 型:BooleanParam
     178* 多重度:1
     179
     180== TmEnablePredefTimer1us16bit ==
     181{{{
     182/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer1us16bit
     183}}}
     184* 型:BooleanParam
     185* 多重度:1
     186
     187== TmEnablePredefTimer1us24bit ==
     188{{{
     189/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer1us24bit
     190}}}
     191* 型:BooleanParam
     192* 多重度:1
     193
     194== TmEnablePredefTimer1us32bit ==
     195{{{
     196/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer1us32bit
     197}}}
     198* 型:BooleanParam
     199* 多重度:1
     200
     201== TmVersionInfoApi ==
     202{{{
     203/AUTOSAR/EcucDefs/Tm/TmGeneral/TmVersionInfoApi
     204}}}
     205* 型:BooleanParam
     206* 多重度:1