From 40ac49832988e801676f25e7311b139f183f3031 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Tue, 1 Sep 2009 16:52:16 +0000 Subject: [PATCH] Add stub implementation for ARM watchdog. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2853 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/wdt_arm.h | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 bertos/cpu/arm/drv/wdt_arm.h diff --git a/bertos/cpu/arm/drv/wdt_arm.h b/bertos/cpu/arm/drv/wdt_arm.h new file mode 100644 index 00000000..02e49906 --- /dev/null +++ b/bertos/cpu/arm/drv/wdt_arm.h @@ -0,0 +1,51 @@ +/** + * \file + * + * + * \brief Watchdog interface for ARM architecture. + * + * \version $Id$ + * + * \author Luca Ottaviano + * + */ +#ifndef DRV_WDT_ARM_H +#define DRV_WDT_ARM_H + +#include // INLINE + +#warning TODO: This module is not implemented for at91 CPUs + +INLINE void wdt_start(uint32_t _timeout) { (void) _timeout; /* implement me */ } +INLINE void wdt_stop(void) { /*implement me */ } +INLINE void wdt_reset(void) { /* implement me */ } + +#endif //DRV_WDT_ARM_H -- 2.25.1