git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
export FIFOs
[aversive.git]
/
modules
/
comm
/
uart
/
uart.h
diff --git
a/modules/comm/uart/uart.h
b/modules/comm/uart/uart.h
index
6e4bd51
..
06ba9f0
100644
(file)
--- a/
modules/comm/uart/uart.h
+++ b/
modules/comm/uart/uart.h
@@
-49,6
+49,7
@@
#include <stdio.h>
\r
#include <aversive.h>
\r
#include <uart_config.h>
\r
#include <stdio.h>
\r
#include <aversive.h>
\r
#include <uart_config.h>
\r
+#include <uart_defs.h>
\r
\r
#include <cirbuf.h>
\r
\r
\r
#include <cirbuf.h>
\r
\r
@@
-64,6
+65,11
@@
struct uart_config {
uint32_t baudrate; /**< speed of uart */
\r
};
\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
\r
/**
\r
* Initialisation function. This function puts the registers of the
\r