diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-16 19:19:34 +0100 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-16 19:19:34 +0100 |
commit | a1dc923315514ed6f23da5f2c0950830975299f8 (patch) | |
tree | 9954004d0517c73b57a2021213a91975b7779931 /controller/fw/src/con_usart.h | |
parent | fed186a49fc8f27a8a31fd40f8c8b26d32a4b932 (diff) | |
download | master-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.tar.gz master-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.tar.bz2 master-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.zip |
Fix serial
Diffstat (limited to 'controller/fw/src/con_usart.h')
-rw-r--r-- | controller/fw/src/con_usart.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/controller/fw/src/con_usart.h b/controller/fw/src/con_usart.h new file mode 100644 index 0000000..a1ad963 --- /dev/null +++ b/controller/fw/src/con_usart.h @@ -0,0 +1,16 @@ +#ifndef __CON_USART_H__ +#define __CON_USART_H__ + +#include "serial.h" + +extern volatile struct usart_desc con_usart; + +#define con_printf(...) usart_printf(&con_usart, __VA_ARGS__) + +#ifndef CON_USART_BAUDRATE +#define CON_USART_BAUDRATE 115200 +#endif + +void con_usart_init(void); + +#endif /* __CON_USART_H__ */ |