#include <stdio.h>\r
#include <aversive.h>\r
#include <uart_config.h>\r
+#include <uart_defs.h>\r
\r
#include <cirbuf.h>\r
\r
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
typedef void (event)(char);\r
typedef void (event_9bits)(int);\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
extern event *rx_event[UART_HW_NUM];\r
extern event *tx_event[UART_HW_NUM];\r
\r