diff options
Diffstat (limited to 'controller/fw/src/serial.h')
-rw-r--r-- | controller/fw/src/serial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/controller/fw/src/serial.h b/controller/fw/src/serial.h index 02f6f5d..bad4374 100644 --- a/controller/fw/src/serial.h +++ b/controller/fw/src/serial.h @@ -74,9 +74,11 @@ struct usart_desc { void usart_dma_init(volatile struct usart_desc *us, unsigned int baudrate);
int usart_send_chunk_nonblocking(volatile struct usart_desc *us, const char *chunk, size_t chunk_len);
int usart_putc_nonblocking(volatile struct usart_desc *us, char c);
+int usart_putc_blocking(volatile struct usart_desc *us, char c);
void usart_dma_stream_irq(volatile struct usart_desc *us);
int usart_flush(volatile struct usart_desc *us);
int usart_printf(volatile struct usart_desc *us, char *fmt, ...);
+int usart_printf_blocking(volatile struct usart_desc *us, char *fmt, ...);
#endif // __SERIAL_H__
|