sam3: add register definitions for RSTC and EMAC
[bertos.git] / bertos / cpu / cortex-m3 / io / sam3_sysctl.h
index f83cce2185cc6dcd1577c27b02a6477755bfcd9b..6853d067cb6488eec8c8ad0fd84e45881497cd22 100644 (file)
 #define SAM3_SYSCTL_H
 
 /** Supply controller base */
-#define SUPC_BASE  0x400E1410
+#if CPU_CM3_SAM3X
+       #define SUPC_BASE  0x400E1A10
+#else
+       #define SUPC_BASE  0x400E1410
+#endif
 
 /**
  * Supply controller offsets.