diff options
author | Max Christian Pohle | 2015-07-27 15:12:22 +0200 |
---|---|---|
committer | Max Christian Pohle | 2015-07-27 15:12:22 +0200 |
commit | 2df2697107d7873232c31a25a6947711b0903edb (patch) | |
tree | ff7247e9e970c69f3d3385950b19db9997a511b8 /src/inc/uart/uart.h | |
download | alarmclock-2df2697107d7873232c31a25a6947711b0903edb.tar.bz2 alarmclock-2df2697107d7873232c31a25a6947711b0903edb.zip |
latest running version from march 2011, not having been in repo before,
dcf77 working, mp3 playback and two display types are supported
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 | ||