137 #include "WdgIf_Types.h"
158 #define WDG_SW_MAJOR_VERSION (9U)
160 #define WDG_SW_MINOR_VERSION (1U)
162 #define WDG_SW_PATCH_VERSION (0U)
172 #define WDG_AR_RELEASE_MAJOR_VERSION (4U)
174 #define WDG_AR_RELEASE_MINOR_VERSION (3U)
176 #define WDG_AR_RELEASE_REVISION_VERSION (1U)
184 #define WDG_VENDOR_ID ((uint16) 44U)
186 #define WDG_MODULE_ID ((uint16) 102U)
188 #define WDG_INSTANCE_ID ((uint8) 0U)
201 #define WDG_E_DRIVER_STATE ((uint8) 0x10U)
203 #define WDG_E_PARAM_MODE ((uint8) 0x11U)
205 #define WDG_E_PARAM_CONFIG ((uint8) 0x12U)
207 #define WDG_E_PARAM_TIMEOUT ((uint8) 0x13U)
209 #define WDG_E_PARAM_POINTER ((uint8) 0x14U)
211 #define WDG_E_INIT_FAILED ((uint8) 0x15U)
225 #define WDG_API_INIT ((uint8) 0x00U)
227 #define WDG_API_SET_MODE ((uint8) 0x01U)
229 #define WDG_SET_TRIGGER_CONDITION ((uint8) 0x03U)
231 #define WDG_API_GET_VERSION_INFO ((uint8) 0x04U)
233 #define WDG_API_TRIGGER ((uint8) 0x05U)
235 #define WDG_API_REGISTER_READBACK ((uint8) 0x06U)
245 #define WDG_WINDOW_100_PERCENT ((uint32) 0x00000005U)
247 #define WDG_WINDOW_50_PERCENT ((uint32) 0x00000050U)
249 #define WDG_WINDOW_25_PERCENT ((uint32) 0x00000500U)
251 #define WDG_WINDOW_12P5_PERCENT ((uint32) 0x00005000U)
253 #define WDG_WINDOW_6P25_PERCENT ((uint32) 0x00050000U)
255 #define WDG_WINDOW_3P125_PERCENT ((uint32) 0x00500000U)
259 #define INIT_VAL_ZERO (0U)
312 typedef struct Wdg_ConfigType_s
326 typedef struct Wdg_ConfigType_PC_s
335 #if (STD_ON == WDG_REGISTER_READBACK_API)
359 #if (STD_ON == WDG_GET_VERSION_INFO_API)
460 #if (STD_ON == WDG_REGISTER_READBACK_API)
489 WDG_APPL_DATA) regRbPtr);
This file contains generated pre compile configuration file for WDG MCAL driver.
void Wdg_Trigger(void)
This function triggers the servicing of the watchdog.
Wdg_StatusType
Watchdog driver state.
Definition: Wdg.h:277
void Wdg_Init(const Wdg_ConfigType *CfgPtr)
This service initializes the WDG driver.
void Wdg_GetVersionInfo(Std_VersionInfoType *versioninfo)
This service returns the version information of this module.
void Wdg_SetTriggerCondition(uint16 timeout)
Sets the timeout value for the trigger counter.
Std_ReturnType Wdg_RegisterReadback(Wdg_RegisterReadbackType *regRbPtr)
This function reads the important registers of the hardware unit and returns the value in the structu...
Std_ReturnType Wdg_SetMode(WdgIf_ModeType Mode)
This function triggers the servicing of the watchdog.
uint32 reaction
Definition: Wdg.h:292
uint16 instanceId
Definition: Wdg.h:328
uint32 rtiWdKey
Definition: Wdg.h:344
uint32 rtiWdStatus
Definition: Wdg.h:342
Wdg_ModeInfoType fastModeCfg
Definition: Wdg.h:316
uint32 rtiDwdCtrl
Definition: Wdg.h:338
WdgIf_ModeType defaultMode
Definition: Wdg.h:314
uint32 rtiDwdprld
Definition: Wdg.h:340
uint32 initialTimeOut
Definition: Wdg.h:330
Wdg_ModeInfoType slowModeCfg
Definition: Wdg.h:318
uint32 timeOutVal
Definition: Wdg.h:304
uint32 rtiWwdSizeCtrl
Definition: Wdg.h:348
uint32 rtiWwdRxnCtrl
Definition: Wdg.h:346
uint32 windowSize
Definition: Wdg.h:301
@ WDG_UNINIT
Definition: Wdg.h:278
@ WDG_IDLE
Definition: Wdg.h:281
@ WDG_BUSY
Definition: Wdg.h:284
WDG pre-compile config structure.
Definition: Wdg.h:327
WDG config structure.
Definition: Wdg.h:313
Mode info type.
Definition: Wdg.h:291