projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add sam3x dac private funcion to use hight level api.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
sam3_sysctl.h
diff --git
a/bertos/cpu/cortex-m3/io/sam3_sysctl.h
b/bertos/cpu/cortex-m3/io/sam3_sysctl.h
index e1ccb53406418b0a5708ef361289dbc77cc4abef..6853d067cb6488eec8c8ad0fd84e45881497cd22 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/sam3_sysctl.h
+++ b/
bertos/cpu/cortex-m3/io/sam3_sysctl.h
@@
-30,14
+30,18
@@
*
* -->
*
*
* -->
*
- * \brief A
T
SAM3 system controller registers.
+ * \brief A
tmel
SAM3 system controller registers.
*/
#ifndef SAM3_SYSCTL_H
#define SAM3_SYSCTL_H
/** Supply controller base */
*/
#ifndef SAM3_SYSCTL_H
#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.
/**
* Supply controller offsets.