summaryrefslogtreecommitdiff
path: root/src/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uart.h')
-rw-r--r--src/uart.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/uart.h b/src/uart.h
new file mode 100644
index 0000000..bc4669e
--- /dev/null
+++ b/src/uart.h
@@ -0,0 +1,10 @@
1#pragma once
2
3#include <stddef.h>
4
5void uart_init(int raspi);
6void uart_putc(unsigned char c);
7unsigned char uart_getc();
8void uart_write(const void* buffer, size_t length);
9void uart_print(const char* string);
10