Add firmware for the ATUSB IEEE 802.15.4 USB Adapter
[linux-libre-firmware.git] / atusb / uart.h
1 /*
2  * fw/uart.h - Functions needed for debugging over uart
3  *
4  * Code adapted from http://www.roboternetz.de/wissen/index.php/UART_mit_avr-gcc
5  * and http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial
6  *
7  * Published under the Creative Commons Share-Alike licence
8  * https://creativecommons.org/licenses/by-sa/2.0/de/
9  *
10  * S. Salewski 2007
11  *
12  * Adapted by
13  * Josef Filzmaier 2017
14  */
15
16 #ifndef UART_H_
17 #define UART_H_
18
19 #include <stdio.h>
20
21 void uart_init(void);
22 int uart_write_char(char c, FILE* stream);
23 void uart_new_line(void);
24
25 #endif /* UART_H_ */