Move the pdc definition in separate file and comply the other headers.
[bertos.git] / bertos / cpu / cortex-m3 / io / sam3_wdt.h
index 833743a7bbc00895703346bb00ff649f30d2fe2d..b57d06ee31b51387fb520d531730860a4207122b 100644 (file)
@@ -32,7 +32,7 @@
  *
  * \author Francesco Sacchi <batt@develer.com>
  *
- * ATSAM3 Watchdog.
+ * Atmel SAM3 Watchdog.
  * This file is based on NUT/OS implementation. See license below.
  */
 
 #define SAM3_WDT_H
 
 /** Watch Dog registers base address */
-#define WDT_BASE  0x400E1450
+#if CPU_CM3_SAM3N
+       #define WDT_BASE  0x400E1450
+#elif CPU_CM3_SAM3X
+       #define WDT_BASE  0x400E1A50
+#endif
 
 /** Watch Dog Control Register */
 /*\{*/