diff options
Diffstat (limited to 'src/uart.h')
-rw-r--r-- | src/uart.h | 10 |
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 | |||
5 | void uart_init(int raspi); | ||
6 | void uart_putc(unsigned char c); | ||
7 | unsigned char uart_getc(); | ||
8 | void uart_write(const void* buffer, size_t length); | ||
9 | void uart_print(const char* string); | ||
10 | |||