Splitted out the usart recv and send functions to have blocking and non blocking versions of those.

This commit is contained in:
Piotr Esden-Tempski
2010-12-27 15:29:22 +01:00
parent 571c4d37d0
commit bf0b987fe3
4 changed files with 36 additions and 12 deletions

View File

@@ -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