projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add static memory controller include file
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
sam3_pmc.h
diff --git
a/bertos/cpu/cortex-m3/io/sam3_pmc.h
b/bertos/cpu/cortex-m3/io/sam3_pmc.h
index b44a3f50192d7acfe29f721daf98fbcc181c1976..b0801c3d193a03e2466b9960148978397418b074 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/sam3_pmc.h
+++ b/
bertos/cpu/cortex-m3/io/sam3_pmc.h
@@
-30,14
+30,18
@@
*
* -->
*
*
* -->
*
- * \brief
AT91
SAM3 PMC hardware.
+ * \brief SAM3 PMC hardware.
*/
#ifndef SAM3_PMC_H
#define SAM3_PMC_H
/** PMC registers base. */
*/
#ifndef SAM3_PMC_H
#define SAM3_PMC_H
/** PMC registers base. */
-#define PMC_BASE 0x400E0400
+#if CPU_CM3_SAM3X
+ #define PMC_BASE 0x400E0600
+#else
+ #define PMC_BASE 0x400E0400
+#endif
/**
* PMC register offsets.
/**
* PMC register offsets.