diff options
author | Nao Pross <naopross@thearcway.org> | 2018-10-30 12:07:58 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-10-30 12:34:37 +0100 |
commit | cda16639cbf19d6eb5c11f05f1045e54b3fdaba9 (patch) | |
tree | 25227b76ae6dd50d5eddc30e4806af2003e70f54 /sw-avr/rom-loader/usart.h | |
parent | Update gitignore (diff) | |
download | z80uPC-cda16639cbf19d6eb5c11f05f1045e54b3fdaba9.tar.gz z80uPC-cda16639cbf19d6eb5c11f05f1045e54b3fdaba9.zip |
[avr] Add test program for IO and basic usart
Diffstat (limited to '')
-rw-r--r-- | sw-avr/rom-loader/usart.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 <stdint.h> + +void usart_init(void); +void usart_send(uint8_t c); +uint8_t usart_recv(void); + +#endif |