aboutsummaryrefslogtreecommitdiff
path: root/software/main/uart.h
diff options
context:
space:
mode:
authorMDC Service <michael.schmid@mdc-service.de>2022-05-23 11:17:34 +0200
committerGitHub <noreply@github.com>2022-05-23 11:17:34 +0200
commit74a0003fea4087de8e9f03b6f828c45d255bcd4a (patch)
tree1b4615232dcac918fcc47cbd3c6ed54014fb38b7 /software/main/uart.h
parentd2f3c7c9e17895ae43caed761f941a30e4e5eed6 (diff)
initial check in firmware files
Diffstat (limited to 'software/main/uart.h')
-rw-r--r--software/main/uart.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/software/main/uart.h b/software/main/uart.h
new file mode 100644
index 0000000..14389a6
--- /dev/null
+++ b/software/main/uart.h
@@ -0,0 +1,22 @@
+/*
+ * uart.h
+ *
+ * Created on: 26.02.2022
+ * Author: steffen
+ */
+#ifndef MAIN_UART_H_
+#define MAIN_UART_H_
+#include "main.h"
+
+//static char serin[READ_BUF_SIZE + 16];
+static char serout[READ_BUF_SIZE + 16];
+
+void UART_init(void);
+void UART_debug(char *buf, int len);
+int UART_read(int channel, void *buf, int len);
+int UART_write(int channel, void *buf, int len);
+
+
+
+
+#endif /* MAIN_UART_H_ */