diff options
author | Simponic <loganthebean222@gmail.com> | 2021-03-01 15:17:24 -0700 |
---|---|---|
committer | Simponic <loganthebean222@gmail.com> | 2021-03-01 15:17:24 -0700 |
commit | c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0 (patch) | |
tree | 9556cbe258bc72d263c33dc4d9876d4fb72402dc /include/port.h | |
parent | 09d1dcf3b115658283cb09a08986271398e8d8f8 (diff) | |
download | simponicos-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.tar.gz simponicos-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.zip |
Move to GitHub for flexing
Diffstat (limited to 'include/port.h')
-rw-r--r-- | include/port.h | 11 |
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 |