uart/uart.c

Copyright (C) 2001-2003 by egnite Software GmbH. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holders nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY EGNITE SOFTWARE GMBH AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL EGNITE SOFTWARE GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

For additional information see http://www.ethernut.de/

Log
uart.c,v
Revision 1.5 2008/01/31 09:38:15 haraldkipp Added return statement in main to avoid warnings with latest GCC.

Revision 1.4 2005/11/22 09:14:13 haraldkipp Replaced specific device names by generalized macros.

Revision 1.3 2004/11/24 16:35:56 haraldkipp Configurable floating point support

Revision 1.2 2004/09/10 10:33:28 haraldkipp Temporarly removed non-configurable FP support

Revision 1.1 2003/08/05 18:59:52 haraldkipp Release 3.3 update

Revision 1.3 2003/02/04 18:19:41 harald Version 3 released

Revision 1.2 2003/02/04 16:24:38 harald Adapted to version 3

Revision 1.1 2002/08/09 12:44:10 harald Renamed for make rules

Revision 1.5 2002/06/12 11:00:10 harald *** empty log message ***

Revision 1.4 2002/06/04 19:13:21 harald *** empty log message ***

Revision 1.3 2002/05/08 16:02:34 harald First Imagecraft compilation

Revision 1.2 2001/08/10 18:20:41 harald GCC version 3 update

Revision 1.1 2001/06/28 18:43:13 harald Preview release

This sample demonstrates the usage of the ATmega on-chip UART. Note, that we don't do any error checking, because without this UART we can't tell the user our problem.

We use floating points. Make sure to link with nutlibcrtf.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/