git.droids-corp.org
/
protos
/
xbee-avr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move xbee rx in rc proto
[protos/xbee-avr.git]
/
uart_config.h
diff --git
a/uart_config.h
b/uart_config.h
index
f8b2f09
..
3785e57
100644
(file)
--- a/
uart_config.h
+++ b/
uart_config.h
@@
-58,33
+58,33
@@
/* .... same for uart 1, 2, 3 ... */
\r
\r
/*
\r
/* .... same for uart 1, 2, 3 ... */
\r
\r
/*
\r
- * UART
2
definitions
\r
+ * UART
1
definitions
\r
*/
\r
\r
*/
\r
\r
-/* compile uart
2
fonctions, undefine it to pass compilation */
\r
-#define UART
2
_COMPILE
\r
+/* compile uart
1
fonctions, undefine it to pass compilation */
\r
+#define UART
1
_COMPILE
\r
\r
\r
-/* enable uart
2
if == 1, disable if == 0 */
\r
-#define UART
2
_ENABLED 1
\r
+/* enable uart
1
if == 1, disable if == 0 */
\r
+#define UART
1
_ENABLED 1
\r
\r
\r
-/* enable uart
2
interrupts if == 1, disable if == 0 */
\r
-#define UART
2
_INTERRUPT_ENABLED 1
\r
+/* enable uart
1
interrupts if == 1, disable if == 0 */
\r
+#define UART
1
_INTERRUPT_ENABLED 1
\r
\r
\r
-#define UART
2_BAUDRATE 9
600
\r
+#define UART
1_BAUDRATE 57
600
\r
\r
/*
\r
* if you enable this, the maximum baudrate you can reach is
\r
* higher, but the precision is lower.
\r
*/
\r
\r
/*
\r
* if you enable this, the maximum baudrate you can reach is
\r
* higher, but the precision is lower.
\r
*/
\r
-#define UART
2
_USE_DOUBLE_SPEED 1
\r
+#define UART
1
_USE_DOUBLE_SPEED 1
\r
\r
\r
-#define UART
2
_RX_FIFO_SIZE 64
\r
-#define UART
2
_TX_FIFO_SIZE 127
\r
-#define UART
2
_NBITS 8
\r
+#define UART
1
_RX_FIFO_SIZE 64
\r
+#define UART
1
_TX_FIFO_SIZE 127
\r
+#define UART
1
_NBITS 8
\r
\r
\r
-#define UART
2
_PARITY UART_PARTITY_NONE
\r
+#define UART
1
_PARITY UART_PARTITY_NONE
\r
\r
\r
-#define UART
2
_STOP_BIT UART_STOP_BITS_1
\r
+#define UART
1
_STOP_BIT UART_STOP_BITS_1
\r
\r
/* .... same for uart 1, 2, 3 ... */
\r
\r
\r
/* .... same for uart 1, 2, 3 ... */
\r
\r