1 /* -------------------------------- Arctic Core ------------------------------
\r
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\r
6 * This source code is free software; you can redistribute it and/or modify it
\r
7 * under the terms of the GNU General Public License version 2 as published by the
\r
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
\r
10 * This program is distributed in the hope that it will be useful, but
\r
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
\r
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
14 * -------------------------------- Arctic Core ------------------------------
\r
20 #include "Wdg_Cfg.h"
\r
22 #if defined(CFG_ARM_CM3)
\r
23 void Wdg_IWDG_Init (const Wdg_IWDG_ConfigType* ConfigPtr);
\r
24 void Wdg_IWDG_Trigger (void);
\r
25 Std_ReturnType Wdg_IWDG_SetMode (WdgIf_ModeType Mode);
\r
26 void Wdg_IWDG_GetVersionInfo (void /* TODO Std_VersionInfoType* versioninfo*/);
\r
28 void Wdg_WWDG_Init (const Wdg_WWDG_ConfigType* ConfigPtr);
\r
29 void Wdg_WWDG_Trigger (void);
\r
30 Std_ReturnType Wdg_WWDG_SetMode (WdgIf_ModeType Mode);
\r
31 void Wdg_WWDG_GetVersionInfo (void /* TODO Std_VersionInfoType* versioninfo*/);
\r
34 void Wdg_Init (const Wdg_ConfigType* ConfigPtr);
\r
35 void Wdg_Trigger (void);
\r
36 Std_ReturnType Wdg_SetMode (WdgIf_ModeType Mode);
\r
38 #if (WDG_VERSION_INFO_API == STD_ON)
\r
39 void Wdg_GetVersionInfo( Std_VersionInfoType *versionInfo );
\r
40 #define Wdg_GetVersionInfo(_vi) STD_GET_VERSION_INFO(_vi,WDG)
\r