export FIFOs
[aversive.git] / modules / comm / uart / uart.h
index 6e4bd51..06ba9f0 100644 (file)
@@ -49,6 +49,7 @@
 #include <stdio.h>\r
 #include <aversive.h>\r
 #include <uart_config.h>\r
+#include <uart_defs.h>\r
 \r
 #include <cirbuf.h>\r
 \r
@@ -64,6 +65,11 @@ struct uart_config {
       uint32_t baudrate;             /**< speed of uart */\r
 };\r
 \r
+/** The emission fifo of uart */\r
+extern struct cirbuf g_tx_fifo[UART_HW_NUM];\r
+\r
+/** The reception fifo of uart  */\r
+extern struct cirbuf g_rx_fifo[UART_HW_NUM];\r
 \r
 /** \r
  * Initialisation function. This function puts the registers of the\r