Version 8 (modified by 4 years ago) ( diff ) | ,
---|
GPT Driver
概要
- API一覧
API ID
[Dec]ID
[Hex]R4.0.3 R4.2.2 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 ○ ○ Gpt_GetPredefTimerValue 13 0x0D - ○ Gpt_Notification_<channel> -- -- ○ ○
- コンフィギュレーション一覧(R4.0.3 / R4.2.2)
- GptChannelConfigSet (○/○)
- GptChannelConfiguration (○/○)
- GptChannelId (○/○)
- GptChannelMode (○/○)
- GptChannelTickFrequency (○/○)
- GptChannelTickValueMax (○/○)
- GptEnableWakeup (○/○)
- GptNotification (○/○)
- GptChannelClkSrcRef (○/○)
- GptWakeupConfiguration (○/○)
- GptWakeupSourceRef (○/○)
- GptChannelConfiguration (○/○)
- GptConfigurationOfOptApiServices (○/○)
- GptDeinitApi (○/○)
- GptEnableDisableNotificationApi (○/○)
- GptTimeElapsedApi (○/○)
- GptTimeRemainingApi (○/○)
- GptVersionInfoApi (○/○)
- GptWakeupFunctionalityApi (○/○)
- GptDriverConfiguration (○/○)
- GptDevErrorDetect (○/○)
- GptPredefTimer100us32bitEnable (-/○)
- GptPredefTimer1usEnablingGrade (-/○)
- GptReportWakeupSource (○/○)
- GptClockReferencePoint (○/○)
- GptClockReference (○/○)
- GptChannelConfigSet (○/○)
- エラーコード一覧
エラーコード Dec Hex R4.0.3 R4.2.2 GPT_E_UNINIT 10 0x0A ○ ○ GPT_E_BUSY 11 0x0B ○ ○ GPT_E_MODE 12 0x0C - ○ GPT_E_ALREADY_INITIALIZED 13 0x0D ○ ○ GPT_E_INIT_FAILED 14 0x0E - ○ GPT_E_PARAM_CHANNEL 20 0x14 ○ ○ GPT_E_PARAM_VALUE 21 0x15 ○ ○ GPT_E_PARAM_POINTER 22 0x16 ○ ○ GPT_E_PARAM_PREDEF_TIMER 23 0x17 - ○ 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)
Gpt_GetPredefTimerValue
Std_ReturnType Gpt_GetPredefTimerValue(Gpt_PredefTimerType PredefTimer, uint32* TimeValuePtr)
Gpt_Notification_<channel>
void Gpt_Notification_<channel>(void)
コンフィギュレーション仕様
GptChannelConfigSet
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet
- 型:Container
- 多重度:1
GptChannelConfiguration
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration
- 型:Container
- 多重度:1..*
GptChannelId
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelId
- 型:IntegerParam
- 多重度:1
- 上限値:4294967295
- 下限値:0
GptChannelMode
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelMode
- 型:EnumerationParam
- 多重度:1
- 選択肢:
- GPT_CH_MODE_CONTINUOUS
- GPT_CH_MODE_ONESHOT
GptChannelTickFrequency
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelTickFrequency
- 型:FloatParam
- 多重度:1
- 上限値:Inf
- 下限値:0
GptChannelTickValueMax
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelTickValueMax
- 型:IntegerParam
- 多重度:1
- 上限値:18446744073709551615
- 下限値:0
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
- 参照先:
/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptClockReferencePoint
GptWakeupConfiguration
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptWakeupConfiguration
- 型:Container
- 多重度:0..1
GptWakeupSourceRef
/AUTOSAR/EcucDefs/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptWakeupConfiguration/GptWakeupSourceRef
- 型:Reference
- 多重度:1
- 参照先:
/AUTOSAR/EcucDefs/EcuM/EcuMConfiguration/EcuMCommonConfiguration/EcuMWakeupSource
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
GptPredefTimer100us32bitEnable
/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptPredefTimer100us32bitEnable
- 型:BooleanParam
- 多重度:1
GptPredefTimer1usEnablingGrade
/AUTOSAR/EcucDefs/Gpt/GptDriverConfiguration/GptPredefTimer1usEnablingGrade
- 型:EnumerationParam
- 多重度:1
- 選択肢:
- GPT_PREDEF_TIMER_1US_16BIT_ENABLED
- GPT_PREDEF_TIMER_1US_16_24BIT_ENABLED
- GPT_PREDEF_TIMER_1US_16_24_32BIT_ENABLED
- GPT_PREDEF_TIMER_1US_DISABLED
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
- 参照先:
/AUTOSAR/EcucDefs/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint
Note:
See TracWiki
for help on using the wiki.