From 26d04ee4de6c0306120c5ee1616c3e51f51328f6 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Mon, 4 Aug 2025 21:17:51 +0800 Subject: Refactor UART code to separate file. --- uart.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 uart.h (limited to 'uart.h') diff --git a/uart.h b/uart.h new file mode 100644 index 0000000..c5fc87e --- /dev/null +++ b/uart.h @@ -0,0 +1,10 @@ +#ifndef UART_H +#define UART_H + +void uart_init(void); + +uint8_t uart_recv(void); + +void uart_send(uint8_t c); + +#endif /* UART_H */ -- cgit v1.2.3