diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2017-06-21 16:16:17 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2017-06-21 16:16:17 +0200 |
commit | 9d923b5a00916478a84d21c431532e5d3065968c (patch) | |
tree | 88d706bc0ee1496791bb917c03fc10011b9d4777 /floppyMusic/uart.h | |
parent | f9357256249657af2374e3c334b9180e63dc5a30 (diff) | |
download | avrFloppy-9d923b5a00916478a84d21c431532e5d3065968c.tar.gz |
Implemented MIDI interface
Diffstat (limited to 'floppyMusic/uart.h')
-rw-r--r-- | floppyMusic/uart.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/floppyMusic/uart.h b/floppyMusic/uart.h deleted file mode 100644 index 1954357..0000000 --- a/floppyMusic/uart.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * uart.h - * - * Created: 02.05.2017 20:48:16 - * Author: Jonas - */ - - -#ifndef UART_H_ -#define UART_H_ - -#ifndef F_CPU -#define F_CPU 16000000UL //CPU Running at 16MHz -#endif - -#include <avr/io.h> - - -#define _GET_UBBR(BAUD) ( (F_CPU / 16 * BAUD) - 1) - -void uart_init(unsigned int _baud); - -void uart_send(char _data); - -void uart_send_string(char *_data); - -char uart_recieve(void); - - -#endif /* UART_H_ */
\ No newline at end of file |