summaryrefslogtreecommitdiffstats
path: root/src/rs232.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rs232.h')
-rw-r--r--src/rs232.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/rs232.h b/src/rs232.h
new file mode 100644
index 0000000..06866ba
--- /dev/null
+++ b/src/rs232.h
@@ -0,0 +1,25 @@
+/*
+ * File: rs232.h
+ * Author: _prossn
+ *
+ * Created on 7. dicembre 2017, 15:07
+ */
+
+#ifndef RS232_H
+#define RS232_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern void eusart_init(void);
+extern void putch(char c);
+extern char getch(void);
+extern char getche(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* RS232_H */
+