From bf0b987fe31b072c8d87420c89127a83a4ba1ea7 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Mon, 27 Dec 2010 15:29:22 +0100 Subject: Splitted out the usart recv and send functions to have blocking and non blocking versions of those. --- include/libopenstm32/usart.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libopenstm32') diff --git a/include/libopenstm32/usart.h b/include/libopenstm32/usart.h index 0cf86d1..7271ba7 100644 --- a/include/libopenstm32/usart.h +++ b/include/libopenstm32/usart.h @@ -292,5 +292,9 @@ void usart_enable(u32 usart); void usart_disable(u32 usart); void usart_send(u32 usart, u16 data); u16 usart_recv(u32 usart); +void usart_wait_send_ready(u32 usart); +void usart_wait_recv_ready(u32 usart); +void usart_send_blocking(u32 usart, u16 data); +u16 usart_recv_blocking(u32 usart); #endif -- cgit v1.2.3