/* * PentaFnord Firmware * * by Alexander Lorz * * * The USART control code is derived by code from the 4CHLED project * by sebseb7: https://github.com/sebseb7/eagle/tree/master/4CHLED/firmware * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3 as published by * the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see . */ #ifndef _USART_H #define _USART_H void USART0_Init(void); void USART0_putc(char c); uint8_t USART0_Getc_nb(uint8_t*); void USART0_put_uint8(uint8_t); void USART0_crlf(void); void USART0_put_uint16(uint16_t); #endif