Root/atusb/fw/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
21void uart_init(void);
22int uart_write_char(char c, FILE* stream);
23void uart_new_line(void);
24
25#endif /* UART_H_ */
26

Archive Download this file



interactive