Splitted out the usart recv and send functions to have blocking and non blocking versions of those.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user