- reorganized project directory structure
[z80comp2] / emu / src / duart.h
diff --git a/emu/src/duart.h b/emu/src/duart.h
new file mode 100644 (file)
index 0000000..f2e125b
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef DUART_H_
+#define DUART_H_
+
+#include <stdint.h>
+
+void duart_reset(void);
+void duart_serin(int port, int c);
+
+uint8_t duart_read(int rs);
+void duart_write(int rs, uint8_t data);
+
+#endif /* DUART_H_ */