IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
| Source at commit ea23c905d32bfd2478915021476f9ede2ee014b8 created 6 years 3 months ago. By Josef Filzmaier, atusb/fw: Introduction of a new board named HULUSB | |
|---|---|
| 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_ */ |
| 26 | |
