summaryrefslogtreecommitdiffhomepage
path: root/analog/motor-power-avr/src/avrconfig.h
diff options
context:
space:
mode:
authorPierre Prot2008-02-09 16:44:52 +0100
committerPierre Prot2008-02-09 16:44:52 +0100
commitcd847e2f5a58d43df13c434ce7571be5488082ed (patch)
tree014e2098758c31148791f3d0697d5fff195c289f /analog/motor-power-avr/src/avrconfig.h
parent792161793c7ebed6e8ba46e0c080b495289bb272 (diff)
Param├ętrage des timers
- PWM - Gestion du Vref pour la limitation de courant
Diffstat (limited to 'analog/motor-power-avr/src/avrconfig.h')
-rw-r--r--analog/motor-power-avr/src/avrconfig.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/analog/motor-power-avr/src/avrconfig.h b/analog/motor-power-avr/src/avrconfig.h
index 59a35393..eacd2b6b 100644
--- a/analog/motor-power-avr/src/avrconfig.h
+++ b/analog/motor-power-avr/src/avrconfig.h
@@ -61,6 +61,19 @@
* - PTS: use pseudo terminal. */
#define AC_UART0_HOST_DRIVER PTS
+/** Same thing for secondary port. */
+#define AC_UART1_PORT -1
+#define AC_UART1_BAUDRATE 115200
+#define AC_UART1_SEND_MODE RING
+#define AC_UART1_RECV_MODE RING
+#define AC_UART1_CHAR_SIZE 8
+#define AC_UART1_PARITY EVEN
+#define AC_UART1_STOP_BITS 1
+#define AC_UART1_SEND_BUFFER_SIZE 32
+#define AC_UART1_RECV_BUFFER_SIZE 32
+#define AC_UART1_SEND_BUFFER_FULL WAIT
+#define AC_UART1_HOST_DRIVER PTS
+
/* proto - Protocol module. */
/** Maximum argument size. */
#define AC_PROTO_ARGS_MAX_SIZE 12