aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usart.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/usart.h')
-rw-r--r--libmaple/usart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/usart.h b/libmaple/usart.h
index e747e65..ed00e16 100644
--- a/libmaple/usart.h
+++ b/libmaple/usart.h
@@ -259,6 +259,7 @@ void usart_enable(usart_dev *dev);
void usart_disable(usart_dev *dev);
void usart_foreach(void (*fn)(usart_dev *dev));
uint32 usart_tx(usart_dev *dev, const uint8 *buf, uint32 len);
+uint32 usart_rx(usart_dev *dev, uint8 *buf, uint32 len);
void usart_putudec(usart_dev *dev, uint32 val);
/**