summaryrefslogtreecommitdiffstats
path: root/src/rs232.h
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-01-18 10:28:49 +0100
committerNao Pross <naopross@thearcway.org>2018-01-18 10:28:49 +0100
commit65a4baa17b439e1bdf42b6c0150a52e032562bb5 (patch)
treedbb74fa26a368ada952bb19db727f96c14500cee /src/rs232.h
downloadXilofono-65a4baa17b439e1bdf42b6c0150a52e032562bb5.tar.gz
Xilofono-65a4baa17b439e1bdf42b6c0150a52e032562bb5.zip
Move to version control
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 */
+