diff options
Diffstat (limited to 'src/inc/uart/uart.h')
-rwxr-xr-x | src/inc/uart/uart.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/inc/uart/uart.h b/src/inc/uart/uart.h new file mode 100755 index 0000000..6e24df5 --- /dev/null +++ b/src/inc/uart/uart.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef UART_H | ||
2 | #define UART_H | ||
3 | #include <util/setbaud.h> | ||
4 | #include <avr/interrupt.h> | ||
5 | |||
6 | /// #define STRING_SIZE 32 | ||
7 | /// typedef struct | ||
8 | /// { | ||
9 | /// char data[STRING_SIZE]; | ||
10 | /// int8_t size; | ||
11 | /// } string; | ||
12 | /// volatile string uart_string; | ||
13 | |||
14 | void uart_init(); | ||
15 | void uart_putc(char c); | ||
16 | |||
17 | #endif | ||