* <!--
* Copyright 2003,2004 Develer S.r.l. (http://www.develer.com/)
* Copyright 2000 Bernardo Innocenti <bernie@codewiz.org>
- * This file is part of DevLib - See devlib/README for information.
+ * This file is part of DevLib - See README.devlib for information.
* -->
*
* \brief High level serial I/O API
/*#*
*#* $Log$
+ *#* Revision 1.23 2005/11/27 23:33:40 bernie
+ *#* Use appconfig.h instead of cfg/config.h.
+ *#*
+ *#* Revision 1.22 2005/11/04 16:20:02 bernie
+ *#* Fix reference to README.devlib in header.
+ *#*
+ *#* Revision 1.21 2005/04/11 19:10:27 bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
+ *#* Revision 1.20 2005/01/22 04:20:01 bernie
+ *#* Reformat.
+ *#*
*#* Revision 1.19 2005/01/11 18:08:16 aleph
*#* Add missing include
*#*
#define DRV_SER_H
#include <mware/fifobuf.h>
-#include <compiler.h>
-#include <config.h>
-#include <macros.h> /* BV() */
+#include <cfg/compiler.h>
+#include <cfg/macros.h> /* BV() */
+#include <appconfig.h>
/*! \name Serial Error/status flags. */
/*\{*/
/*
* Hardware errors.
- * These flags map directly to the AVR UART Status Register (USR).
+ * These flags map directly to the AVR UART Status Register (USR).
*/
#define SERRF_RXSROVERRUN BV(3) /*!< Rx shift register overrun */
#define SERRF_FRAMEERROR BV(4) /*!< Stop bit missing */
/*! \name Masks to group TX/RX errors. */
/*\{*/
-#define SERRF_RX (SERRF_RXFIFOOVERRUN \
+#define SERRF_RX \
+ ( SERRF_RXFIFOOVERRUN \
| SERRF_RXTIMEOUT \
| SERRF_RXSROVERRUN \
| SERRF_PARITYERROR \