From: mahi Date: Thu, 13 Sep 2012 12:42:50 +0000 (+0200) Subject: Remove Wdg.h from arch specific parts X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/commitdiff_plain/f12c9e3af57fa59899e86676141af142ccd4a82e?hp=87ba8aa5966602ffe36b1e0fb56b9948316c61bf Remove Wdg.h from arch specific parts --- diff --git a/arch/ppc/mpc55xx/drivers/Wdg.h b/arch/ppc/mpc55xx/drivers/Wdg.h deleted file mode 100644 index 4d148ad4..00000000 --- a/arch/ppc/mpc55xx/drivers/Wdg.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -------------------------------- Arctic Core ------------------------------ - * Arctic Core - the open source AUTOSAR platform http://arccore.com - * - * Copyright (C) 2009 ArcCore AB - * - * This source code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by the - * Free Software Foundation; See . - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * for more details. - * -------------------------------- Arctic Core ------------------------------ - */ - -#ifndef WDG_H_ -#define WDG_H_ - -#include "Wdg_Cfg.h" - -void Wdg_Init (const Wdg_ConfigType* ConfigPtr); -void Wdg_Trigger (void); -Std_ReturnType Wdg_SetMode (WdgIf_ModeType Mode); - -#if (WDG_VERSION_INFO_API == STD_ON) -void Wdg_GetVersionInfo( Std_VersionInfoType *versionInfo ); -#define Wdg_GetVersionInfo(_vi) STD_GET_VERSION_INFO(_vi,WDG) -#endif - -#endif /* WDG_H_ */ diff --git a/arch/arm/arm_cm3/drivers/Wdg.h b/include/Wdg.h similarity index 82% rename from arch/arm/arm_cm3/drivers/Wdg.h rename to include/Wdg.h index d36e09f9..fefbd58c 100644 --- a/arch/arm/arm_cm3/drivers/Wdg.h +++ b/include/Wdg.h @@ -12,10 +12,6 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * -------------------------------- Arctic Core ------------------------------ - * Wdg.h - * - * Created on: 27 maj 2010 - * Author: Fredrik */ #ifndef WDG_H_ @@ -34,5 +30,12 @@ Std_ReturnType Wdg_WWDG_SetMode (WdgIf_ModeType Mode); void Wdg_WWDG_GetVersionInfo (void /* TODO Std_VersionInfoType* versioninfo*/); void Wdg_Init (const Wdg_ConfigType* ConfigPtr); +void Wdg_Trigger (void); +Std_ReturnType Wdg_SetMode (WdgIf_ModeType Mode); + +#if (WDG_VERSION_INFO_API == STD_ON) +void Wdg_GetVersionInfo( Std_VersionInfoType *versionInfo ); +#define Wdg_GetVersionInfo(_vi) STD_GET_VERSION_INFO(_vi,WDG) +#endif #endif /* WDG_H_ */