wiki:spec_WatchdogDriver
Watchdog Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Wdg_Init 0 0x00
Wdg_SetMode 1 0x01
Wdg_SetTriggerCondition 3 0x03
Wdg_GetVersionInfo 4 0x04
Wdg_Cbk_GptNotification<xxx> 5 0x05
  • エラーコード一覧
    • "--"はDemにより決定される
エラーコード Dec Hex
WDG_E_DRIVER_STATE 16 0x10
WDG_E_PARAM_MODE 17 0x11
WDG_E_PARAM_CONFIG 18 0x12
WDG_E_PARAM_TIMEOUT 19 0x13
WDG_E_PARAM_POINTER 20 0x14
WDG_E_MODE_FAILED -- --
WDG_E_DISABLE_REJECTED -- --

API仕様

Wdg_Init

void Wdg_Init(const Wdg_ConfigType* ConfigPtr )

Wdg_SetMode

Std_ReturnType Wdg_SetMode(WdgIf_ModeType Mode)

Wdg_SetTriggerCondition

void Wdg_SetTriggerCondition(uint16 timeout)

Wdg_GetVersionInfo

void Wdg_GetVersionInfo(Std_VersionInfoType* versioninfo)

Wdg_Cbk_GptNotification<xxx>

void Wdg_Cbk_GptNotification<xxx>(void)
  • R4.1で削除された

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

WdgDemEventParameterRefs

/AUTOSAR/EcucDefs/Wdg/WdgDemEventParameterRefs
  • 型:Container
  • 多重度:0..1

WDG_E_DISABLE_REJECTED

/AUTOSAR/EcucDefs/Wdg/WdgDemEventParameterRefs/WDG_E_DISABLE_REJECTED
  • 型:Reference
  • 多重度:0..1

WDG_E_MODE_FAILED

/AUTOSAR/EcucDefs/Wdg/WdgDemEventParameterRefs/WDG_E_MODE_FAILED
  • 型:Reference
  • 多重度:0..1

WdgGeneral

/AUTOSAR/EcucDefs/Wdg/WdgGeneral
  • 型:Container
  • 多重度:1

WdgDevErrorDetect

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

WdgDisableAllowed

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgDisableAllowed
  • 型:BooleanParam
  • 多重度:1

WdgIndex

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgIndex
  • 型:IntegerParam
  • 多重度:1

WdgInitialTimeout

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgInitialTimeout
  • 型:FloatParam
  • 多重度:1

WdgMaxTimeout

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgMaxTimeout
  • 型:FloatParam
  • 多重度:1

WdgRunArea

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgRunArea
  • 型:EnumerationParam
  • 多重度:1

WdgTriggerLocation

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgTriggerLocation
  • 型:FunctionName
  • 多重度:1

WdgVersionInfoApi

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

WdgPublishedInformation

/AUTOSAR/EcucDefs/Wdg/WdgPublishedInformation
  • 型:Container
  • 多重度:1

WdgTriggerMode

/AUTOSAR/EcucDefs/Wdg/WdgPublishedInformation/WdgTriggerMode
  • 型:EnumerationParam
  • 多重度:1

WdgSettingsConfig

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig
  • 型:Container
  • 多重度:1

WdgDefaultMode

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgDefaultMode
  • 型:EnumerationParam
  • 多重度:1

WdgExternalConfiguration

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgExternalConfiguration
  • 型:Container
  • 多重度:0..1

WdgExternalContainerRef

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgExternalConfiguration/WdgExternalContainerRef
  • 型:Reference
  • 多重度:0..1

WdgSettingsFast

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgSettingsFast
  • 型:Container
  • 多重度:1

WdgSettingsOff

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgSettingsOff
  • 型:Container
  • 多重度:1

WdgSettingsSlow

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgSettingsSlow
  • 型:Container
  • 多重度:1
Last modified 2 years ago Last modified on 07/01/15 18:52:24