summaryrefslogtreecommitdiffstats
path: root/uart.h
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-08-04 21:17:51 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-08-04 21:17:51 +0800
commit26d04ee4de6c0306120c5ee1616c3e51f51328f6 (patch)
tree8694ea73cce6a4e0ccbf26d7bdecf5f61de1d482 /uart.h
parente7f1a2fb64a3d965eb482a21a585fe6f43378d55 (diff)
downloadfpm-door-lock-26d04ee4de6c0306120c5ee1616c3e51f51328f6.tar.gz
Refactor UART code to separate file.
Diffstat (limited to 'uart.h')
-rw-r--r--uart.h10
1 files changed, 10 insertions, 0 deletions
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 */