wiki:spec/Wdg
Watchdog Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
R4.0.3 R4.2.2
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 R4.0.3 R4.2.2
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_INIT_FAILED 21 0x15 -
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
  • 参照先:/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter

WDG_E_MODE_FAILED

/AUTOSAR/EcucDefs/Wdg/WdgDemEventParameterRefs/WDG_E_MODE_FAILED
  • 型:Reference
  • 多重度:0..1
  • 参照先:/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter

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
  • 上限値:255
  • 下限値:0

WdgInitialTimeout

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgInitialTimeout
  • 型:FloatParam
  • 多重度:1
  • 上限値:65.535
  • 下限値:0

WdgMaxTimeout

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgMaxTimeout
  • 型:FloatParam
  • 多重度:1
  • 上限値:65.535
  • 下限値:0

WdgRunArea

/AUTOSAR/EcucDefs/Wdg/WdgGeneral/WdgRunArea
  • 型:EnumerationParam
  • 多重度:1
  • 選択肢:
    • RAM
    • ROM

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
  • 選択肢:
    • WDG_BOTH
    • WDG_TOGGLE
    • WDG_WINDOW

WdgSettingsConfig

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

WdgDefaultMode

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgDefaultMode
  • 型:EnumerationParam
  • 多重度:1
  • 選択肢:
    • WDGIF_FAST_MODE
    • WDGIF_OFF_MODE
    • WDGIF_SLOW_MODE

WdgExternalConfiguration

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

WdgExternalContainerRef

/AUTOSAR/EcucDefs/Wdg/WdgSettingsConfig/WdgExternalConfiguration/WdgExternalContainerRef
  • 型:Reference
  • 多重度:0..1
  • 参照先:
    • /AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannelGroup
    • /AUTOSAR/EcucDefs/Spi/SpiDriver/SpiSequence

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 14 months ago Last modified on Oct 8, 2020, 11:54:11 AM
Note: See TracWiki for help on using the wiki.