Move the pdc definition in separate file and comply the other headers.
[bertos.git] / bertos / cpu / cortex-m3 / io / sam3_wdt.h
index 8c8325ca6e26ef7cbbbad9a626aa98f4c29a5624..b57d06ee31b51387fb520d531730860a4207122b 100644 (file)
 #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 */
 /*\{*/