projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add documentation for LM75 insanity...
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
sam3_uart.h
diff --git
a/bertos/cpu/cortex-m3/io/sam3_uart.h
b/bertos/cpu/cortex-m3/io/sam3_uart.h
index 6dbcf15f599cf940d757b3e5502aac9b4b5d41f1..97ad3ff26151461f060dad1657dc0836800e17cf 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/sam3_uart.h
+++ b/
bertos/cpu/cortex-m3/io/sam3_uart.h
@@
-30,7
+30,7
@@
*
* -->
*
*
* -->
*
- * \brief
AT91
SAM3 UART hardware.
+ * \brief SAM3 UART hardware.
*/
#ifndef SAM3_UART_H
*/
#ifndef SAM3_UART_H
@@
-40,9
+40,13
@@
* UART registers base addresses.
*/
/*\{*/
* UART registers base addresses.
*/
/*\{*/
-#define UART0_BASE 0x400E0600
-#ifndef CPU_CM3_AT91SAM3U
+#if CPU_CM3_SAM3N
+ #define UART0_BASE 0x400E0600
+#elif CPU_CM3_SAM3U
+ #define UART0_BASE 0x400E0600
#define UART1_BASE 0x400E0800
#define UART1_BASE 0x400E0800
+#elif CPU_CM3_SAM3X
+ #define UART0_BASE 0x400E0800
#endif
/*\}*/
#endif
/*\}*/