Changes between Version 5 and Version 6 of spec/Gpt


Ignore:
Timestamp:
Jan 9, 2015, 3:26:28 PM (9 years ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Gpt

    v5 v6  
    77[[BR]]
    88
    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  || [#Gpt_GetVersionInfo Gpt_GetVersionInfo]           ||  0|| 0x00||
     15  || [#Gpt_Init Gpt_Init]                               ||  1|| 0x01||
     16  || [#Gpt_DeInit Gpt_DeInit]                           ||  2|| 0x02||
     17  || [#Gpt_GetTimeElapsed Gpt_GetTimeElapsed]           ||  3|| 0x03||
     18  || [#Gpt_GetTimeRemaining Gpt_GetTimeRemaining]       ||  4|| 0x04||
     19  || [#Gpt_StartTimer Gpt_StartTimer]                   ||  5|| 0x05||
     20  || [#Gpt_StopTimer Gpt_StopTimer]                     ||  6|| 0x06||
     21  || [#Gpt_EnableNotification Gpt_EnableNotification]   ||  7|| 0x07||
     22  || [#Gpt_DisableNotification Gpt_DisableNotification] ||  8|| 0x08||
     23  || [#Gpt_SetMode Gpt_SetMode]                         ||  9|| 0x09||
     24  || [#Gpt_DisableWakeup Gpt_DisableWakeup]             || 10|| 0x0A||
     25  || [#Gpt_EnableWakeup Gpt_EnableWakeup]               || 11|| 0x0B||
     26  || [#Gpt_CheckWakeup Gpt_CheckWakeup]                 || 12|| 0x0C||
     27
     28* コンフィギュレーション一覧
     29  * [#GptChannelConfigSet GptChannelConfigSet]
     30    * [#GptChannelConfiguration GptChannelConfiguration]
     31      * [#GptChannelId GptChannelId]
     32      * [#GptChannelMode GptChannelMode]
     33      * [#GptChannelTickFrequency GptChannelTickFrequency]
     34      * [#GptChannelTickValueMax GptChannelTickValueMax]
     35      * [#GptEnableWakeup GptEnableWakeup]
     36      * [#GptNotification GptNotification]
     37      * [#GptChannelClkSrcRef GptChannelClkSrcRef]
     38      * [#GptWakeupConfiguration GptWakeupConfiguration]
     39        * [#GptWakeupSourceRef GptWakeupSourceRef]
     40  * [#GptConfigurationOfOptApiServices GptConfigurationOfOptApiServices]
     41    * [#GptDeinitApi GptDeinitApi]
     42    * [#GptEnableDisableNotificationApi GptEnableDisableNotificationApi]
     43    * [#GptTimeElapsedApi GptTimeElapsedApi]
     44    * [#GptTimeRemainingApi GptTimeRemainingApi]
     45    * [#GptVersionInfoApi GptVersionInfoApi]
     46    * [#GptWakeupFunctionalityApi GptWakeupFunctionalityApi]
     47  * [#GptDriverConfiguration GptDriverConfiguration]
     48    * [#GptDevErrorDetect GptDevErrorDetect]
     49    * [#GptReportWakeupSource GptReportWakeupSource]
     50    * [#GptClockReferencePoint GptClockReferencePoint]
     51      * [#GptClockReference GptClockReference]
     52
     53* エラーコード一覧
     54
     55  ||= エラーコード =||= Dec =||= Hex =||
     56  || GPT_E_UNINIT              || 10|| 0x0A||
     57  || GPT_E_BUSY                || 11|| 0x0B||
     58  || GPT_E_ALREADY_INITIALIZED || 13|| 0x0D||
     59  || GPT_E_PARAM_CHANNEL       || 20|| 0x14||
     60  || GPT_E_PARAM_VALUE         || 21|| 0x15||
     61  || GPT_E_PARAM_POINTER       || 22|| 0x16||
     62  || GPT_E_PARAM_MODE          || 31|| 0x1F||
     63
    1664----
    17 {{{#!comment
    18 [執筆開始時削除エリア]ここまで
    19 ※コメントごと削除してください
    20 }}}
    21 
    22 = 概要 =
     65
     66= API仕様 =
     67
     68== Gpt_GetVersionInfo ==
     69{{{
     70void Gpt_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr)
     71}}}
     72
     73== Gpt_Init ==
     74{{{
     75void Gpt_Init(const Gpt_ConfigType* ConfigPtr)
     76}}}
     77
     78== Gpt_DeInit ==
     79{{{
     80void Gpt_DeInit(void)
     81}}}
     82
     83== Gpt_GetTimeElapsed ==
     84{{{
     85Gpt_ValueType Gpt_GetTimeElapsed(Gpt_ChannelType Channel)
     86}}}
     87
     88== Gpt_GetTimeRemaining ==
     89{{{
     90Gpt_ValueType Gpt_GetTimeRemaining(Gpt_ChannelType Channel)
     91}}}
     92
     93== Gpt_StartTimer ==
     94{{{
     95void Gpt_StartTimer(Gpt_ChannelType Channel, Gpt_ValueType Value)
     96}}}
     97
     98== Gpt_StopTimer ==
     99{{{
     100void Gpt_StopTimer(Gpt_ChannelType Channel)
     101}}}
     102
     103== Gpt_EnableNotification ==
     104{{{
     105void Gpt_EnableNotification(Gpt_ChannelType Channel)
     106}}}
     107
     108== Gpt_DisableNotification ==
     109{{{
     110void Gpt_DisableNotification(Gpt_ChannelType Channel)
     111}}}
     112
     113== Gpt_SetMode ==
     114{{{
     115void Gpt_SetMode(Gpt_ModeType Mode)
     116}}}
     117
     118== Gpt_DisableWakeup ==
     119{{{
     120void Gpt_DisableWakeup(Gpt_ChannelType Channel)
     121}}}
     122
     123== Gpt_EnableWakeup ==
     124{{{
     125void Gpt_EnableWakeup(Gpt_ChannelType Channel)
     126}}}
     127
     128== Gpt_CheckWakeup ==
     129{{{
     130void Gpt_CheckWakeup(EcuM_WakeupSourceType WakeupSource)
     131}}}
    23132
    24133----
    25134
    26 = API仕様 =
    27 
    28 ----
    29 
    30135= コンフィギュレーション仕様 =
     136
     137== GptChannelConfigSet ==
     138{{{
     139/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet
     140}}}
     141* 型:Container
     142* 多重度:1
     143
     144== GptChannelConfiguration ==
     145{{{
     146/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration
     147}}}
     148* 型:Container
     149* 多重度:1..*
     150
     151== GptChannelId ==
     152{{{
     153/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelId
     154}}}
     155* 型:IntegerParam
     156* 多重度:1
     157
     158== GptChannelMode ==
     159{{{
     160/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelMode
     161}}}
     162* 型:EnumerationParam
     163* 多重度:1
     164
     165== GptChannelTickFrequency ==
     166{{{
     167/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelTickFrequency
     168}}}
     169* 型:FloatParam
     170* 多重度:1
     171
     172== GptChannelTickValueMax ==
     173{{{
     174/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelTickValueMax
     175}}}
     176* 型:IntegerParam
     177* 多重度:1
     178
     179== GptEnableWakeup ==
     180{{{
     181/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptEnableWakeup
     182}}}
     183* 型:BooleanParam
     184* 多重度:1
     185
     186== GptNotification ==
     187{{{
     188/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptNotification
     189}}}
     190* 型:FunctionName
     191* 多重度:0..1
     192
     193== GptChannelClkSrcRef ==
     194{{{
     195/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelClkSrcRef
     196}}}
     197* 型:Reference
     198* 多重度:1
     199
     200== GptWakeupConfiguration ==
     201{{{
     202/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptWakeupConfiguration
     203}}}
     204* 型:Container
     205* 多重度:0..1
     206
     207== GptWakeupSourceRef ==
     208{{{
     209/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptWakeupConfiguration/GptWakeupSourceRef
     210}}}
     211* 型:Reference
     212* 多重度:1
     213
     214== GptConfigurationOfOptApiServices ==
     215{{{
     216/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices
     217}}}
     218* 型:Container
     219* 多重度:1
     220
     221== GptDeinitApi ==
     222{{{
     223/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptDeinitApi
     224}}}
     225* 型:BooleanParam
     226* 多重度:1
     227
     228== GptEnableDisableNotificationApi ==
     229{{{
     230/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptEnableDisableNotificationApi
     231}}}
     232* 型:BooleanParam
     233* 多重度:1
     234
     235== GptTimeElapsedApi ==
     236{{{
     237/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptTimeElapsedApi
     238}}}
     239* 型:BooleanParam
     240* 多重度:1
     241
     242== GptTimeRemainingApi ==
     243{{{
     244/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptTimeRemainingApi
     245}}}
     246* 型:BooleanParam
     247* 多重度:1
     248
     249== GptVersionInfoApi ==
     250{{{
     251/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptVersionInfoApi
     252}}}
     253* 型:BooleanParam
     254* 多重度:1
     255
     256== GptWakeupFunctionalityApi ==
     257{{{
     258/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptWakeupFunctionalityApi
     259}}}
     260* 型:BooleanParam
     261* 多重度:1
     262
     263== GptDriverConfiguration ==
     264{{{
     265/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration
     266}}}
     267* 型:Container
     268* 多重度:1
     269
     270== GptDevErrorDetect ==
     271{{{
     272/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptDevErrorDetect
     273}}}
     274* 型:BooleanParam
     275* 多重度:1
     276
     277== GptReportWakeupSource ==
     278{{{
     279/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptReportWakeupSource
     280}}}
     281* 型:BooleanParam
     282* 多重度:1
     283
     284== GptClockReferencePoint ==
     285{{{
     286/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptClockReferencePoint
     287}}}
     288* 型:Container
     289* 多重度:1..*
     290
     291== GptClockReference ==
     292{{{
     293/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptClockReferencePoint/GptClockReference
     294}}}
     295* 型:Reference
     296* 多重度:1