summaryrefslogtreecommitdiff
path: root/src/uart.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-02-08 17:50:57 -0800
committer3gg <3gg@shellblade.net>2025-02-08 17:50:57 -0800
commit1b5d7cd40eb1c1f55deedf34d3d6324498b5f000 (patch)
treea0bc21168f8270ee5fcb139498131dff884a7450 /src/uart.h
parent0e1595330211351823e68691fca013bb47772aeb (diff)
Hello world.
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