summaryrefslogtreecommitdiff
path: root/src/serial.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-10-29 14:25:57 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-10-29 14:25:57 +0100
commit74eb20d8c4810b7757d85f7066359a566621a661 (patch)
treef511c21ad6d4f2b45ad2c42f689758ea294f2541 /src/serial.h
parente7edce9f232e1359097793b2610e04b16dab7f7e (diff)
kfs: added the serial print
* 38400 bauds * 1 stop bit * no parity check * 8 bits words Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'src/serial.h')
-rw-r--r--src/serial.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/serial.h b/src/serial.h
new file mode 100644
index 0000000..da70b03
--- /dev/null
+++ b/src/serial.h
@@ -0,0 +1,7 @@
+#ifndef SERIAL_H
+#define SERIAL_H
+
+int serial_putchar(unsigned char c);
+int serial_init(void);
+
+#endif /* SERIAL_H */