Removed trailing whitespaces

This commit is contained in:
BlackMark 2019-08-01 21:51:46 +02:00
parent f0a3cd6da8
commit 6e45340993
2 changed files with 11 additions and 6 deletions

View File

@ -5,23 +5,27 @@ File: $Id: uart.c,v 1.15.2.4 2015/09/05 18:33:32 peter Exp $
Software: AVR-GCC 4.x Software: AVR-GCC 4.x
Hardware: any AVR with built-in UART, Hardware: any AVR with built-in UART,
License: GNU General Public License License: GNU General Public License
DESCRIPTION: DESCRIPTION:
An interrupt is generated when the UART has finished transmitting or An interrupt is generated when the UART has finished transmitting or
receiving a byte. The interrupt handling routines use circular buffers receiving a byte. The interrupt handling routines use circular buffers
for buffering received and transmitted data. for buffering received and transmitted data.
The UART_RX_BUFFER_SIZE and UART_TX_BUFFER_SIZE variables define The UART_RX_BUFFER_SIZE and UART_TX_BUFFER_SIZE variables define
the buffer size in bytes. Note that these variables must be a the buffer size in bytes. Note that these variables must be a
power of 2. power of 2.
USAGE: USAGE:
Refere to the header file uart.h for a description of the routines. Refere to the header file uart.h for a description of the routines.
See also example test_uart.c. See also example test_uart.c.
NOTES: NOTES:
Based on Atmel Application Note AVR306 Based on Atmel Application Note AVR306
LICENSE: LICENSE:
Copyright (C) 2015 Peter Fleury, GNU General Public License Version 3 Copyright (C) 2015 Peter Fleury, GNU General Public License Version 3
@ -34,7 +38,8 @@ LICENSE:
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
*************************************************************************/ *************************************************************************/
#include "uart.h" #include "uart.h"
#include <avr/interrupt.h> #include <avr/interrupt.h>

2
uart.h
View File

@ -20,7 +20,7 @@ LICENSE:
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
************************************************************************/ ************************************************************************/
/** /**