From: lottaviano Date: Tue, 1 Sep 2009 16:52:16 +0000 (+0000) Subject: Add stub implementation for ARM watchdog. X-Git-Tag: 2.2.0~115 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=40ac49832988e801676f25e7311b139f183f3031;p=bertos.git Add stub implementation for ARM watchdog. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2853 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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