From cda16639cbf19d6eb5c11f05f1045e54b3fdaba9 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 30 Oct 2018 12:07:58 +0100 Subject: [avr] Add test program for IO and basic usart --- sw-avr/rom-loader/usart.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sw-avr/rom-loader/usart.h (limited to 'sw-avr/rom-loader/usart.h') diff --git a/sw-avr/rom-loader/usart.h b/sw-avr/rom-loader/usart.h new file mode 100644 index 0000000..f7d8806 --- /dev/null +++ b/sw-avr/rom-loader/usart.h @@ -0,0 +1,10 @@ +#ifndef USART_H +#define USART_H + +#include + +void usart_init(void); +void usart_send(uint8_t c); +uint8_t usart_recv(void); + +#endif -- cgit v1.2.1