wiki:spec_GPTDriver
GPT Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Gpt_GetVersionInfo 0 0x00
Gpt_Init 1 0x01
Gpt_DeInit 2 0x02
Gpt_GetTimeElapsed 3 0x03
Gpt_GetTimeRemaining 4 0x04
Gpt_StartTimer 5 0x05
Gpt_StopTimer 6 0x06
Gpt_EnableNotification 7 0x07
Gpt_DisableNotification 8 0x08
Gpt_SetMode 9 0x09
Gpt_DisableWakeup 10 0x0A
Gpt_EnableWakeup 11 0x0B
Gpt_CheckWakeup 12 0x0C
  • エラーコード一覧
エラーコード Dec Hex
GPT_E_UNINIT 10 0x0A
GPT_E_BUSY 11 0x0B
GPT_E_ALREADY_INITIALIZED 13 0x0D
GPT_E_PARAM_CHANNEL 20 0x14
GPT_E_PARAM_VALUE 21 0x15
GPT_E_PARAM_POINTER 22 0x16
GPT_E_PARAM_MODE 31 0x1F

API仕様

Gpt_GetVersionInfo

void Gpt_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr)

Gpt_Init

void Gpt_Init(const Gpt_ConfigType* ConfigPtr)

Gpt_DeInit

void Gpt_DeInit(void)

Gpt_GetTimeElapsed

Gpt_ValueType Gpt_GetTimeElapsed(Gpt_ChannelType Channel)

Gpt_GetTimeRemaining

Gpt_ValueType Gpt_GetTimeRemaining(Gpt_ChannelType Channel)

Gpt_StartTimer

void Gpt_StartTimer(Gpt_ChannelType Channel, Gpt_ValueType Value)

Gpt_StopTimer

void Gpt_StopTimer(Gpt_ChannelType Channel)

Gpt_EnableNotification

void Gpt_EnableNotification(Gpt_ChannelType Channel)

Gpt_DisableNotification

void Gpt_DisableNotification(Gpt_ChannelType Channel)

Gpt_SetMode

void Gpt_SetMode(Gpt_ModeType Mode)

Gpt_DisableWakeup

void Gpt_DisableWakeup(Gpt_ChannelType Channel)

Gpt_EnableWakeup

void Gpt_EnableWakeup(Gpt_ChannelType Channel)

Gpt_CheckWakeup

void Gpt_CheckWakeup(EcuM_WakeupSourceType WakeupSource)

コンフィギュレーション仕様

GptChannelConfigSet

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet
  • 型:Container
  • 多重度:1

GptChannelConfiguration

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration
  • 型:Container
  • 多重度:1..*

GptChannelId

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelId
  • 型:IntegerParam
  • 多重度:1

GptChannelMode

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelMode
  • 型:EnumerationParam
  • 多重度:1

GptChannelTickFrequency

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelTickFrequency
  • 型:FloatParam
  • 多重度:1

GptChannelTickValueMax

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelTickValueMax
  • 型:IntegerParam
  • 多重度:1

GptEnableWakeup

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptEnableWakeup
  • 型:BooleanParam
  • 多重度:1

GptNotification

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptNotification
  • 型:FunctionName
  • 多重度:0..1

GptChannelClkSrcRef

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelClkSrcRef
  • 型:Reference
  • 多重度:1

GptWakeupConfiguration

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptWakeupConfiguration
  • 型:Container
  • 多重度:0..1

GptWakeupSourceRef

/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptWakeupConfiguration/GptWakeupSourceRef
  • 型:Reference
  • 多重度:1

GptConfigurationOfOptApiServices

/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices
  • 型:Container
  • 多重度:1

GptDeinitApi

/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptDeinitApi
  • 型:BooleanParam
  • 多重度:1

GptEnableDisableNotificationApi

/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptEnableDisableNotificationApi
  • 型:BooleanParam
  • 多重度:1

GptTimeElapsedApi

/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptTimeElapsedApi
  • 型:BooleanParam
  • 多重度:1

GptTimeRemainingApi

/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptTimeRemainingApi
  • 型:BooleanParam
  • 多重度:1

GptVersionInfoApi

/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

GptWakeupFunctionalityApi

/AUTOSAR/EcucDefs/Gpt/GptConfigurationOfOptApiServices/GptWakeupFunctionalityApi
  • 型:BooleanParam
  • 多重度:1

GptDriverConfiguration

/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration
  • 型:Container
  • 多重度:1

GptDevErrorDetect

/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

GptReportWakeupSource

/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptReportWakeupSource
  • 型:BooleanParam
  • 多重度:1

GptClockReferencePoint

/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptClockReferencePoint
  • 型:Container
  • 多重度:1..*

GptClockReference

/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptClockReferencePoint/GptClockReference
  • 型:Reference
  • 多重度:1
Last modified 2 years ago Last modified on 09/01/15 15:26:28