diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-17 17:20:43 +0100 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-17 17:20:43 +0100 |
commit | 80de5c2e24056d38e49c4aeff4f84a299165d933 (patch) | |
tree | dafe4bb88ca5e40ab87a88aab1335dcd52989be1 /controller/fw/src/serial.h | |
parent | 9d72724ca5fc130448ba0e93b5e46ed83f419d85 (diff) | |
download | master-thesis-80de5c2e24056d38e49c4aeff4f84a299165d933.tar.gz master-thesis-80de5c2e24056d38e49c4aeff4f84a299165d933.tar.bz2 master-thesis-80de5c2e24056d38e49c4aeff4f84a299165d933.zip |
Debugging signal capture subsystem
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__
|