summaryrefslogtreecommitdiff
path: root/include/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/port.h')
-rw-r--r--include/port.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/port.h b/include/port.h
new file mode 100644
index 0000000..d3e6897
--- /dev/null
+++ b/include/port.h
@@ -0,0 +1,11 @@
+#ifndef PORT_H
+#define PORT_H
+
+#include "types.h"
+
+uint8_t port_byte_in (uint8_t port);
+void port_byte_out(uint8_t port, uint8_t data);
+uint16_t port_word_in (uint16_t port);
+void port_word_out(uint16_t port, uint16_t data);
+
+#endif // PORT_H