X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=modules%2Fcomm%2Fuart%2Fuart.h;fp=modules%2Fcomm%2Fuart%2Fuart.h;h=06ba9f0709b4260207943f87b7251326e93c7cd1;hp=6e4bd51f7237d10355c7ade62e5aefb14cc5ab90;hb=85d56c363e7e984ab9c5e96786d42de8f8310f20;hpb=d23a4fdeed4e90d004d407942b230c188d012465 diff --git a/modules/comm/uart/uart.h b/modules/comm/uart/uart.h index 6e4bd51..06ba9f0 100644 --- a/modules/comm/uart/uart.h +++ b/modules/comm/uart/uart.h @@ -49,6 +49,7 @@ #include #include #include +#include #include @@ -64,6 +65,11 @@ struct uart_config { uint32_t baudrate; /**< speed of uart */ }; +/** The emission fifo of uart */ +extern struct cirbuf g_tx_fifo[UART_HW_NUM]; + +/** The reception fifo of uart */ +extern struct cirbuf g_rx_fifo[UART_HW_NUM]; /** * Initialisation function. This function puts the registers of the