Add BitBanged serial debug console.
[bertos.git] / mware / crc.h
index f7ab97479d7ab432634e37d9b93b0d3fbe609d93..0ae4a53e49e4e8b6b462889c6ab05ee9e3c370b2 100755 (executable)
@@ -1,9 +1,9 @@
-/*!
+/**
  * \file
  * <!--
  * Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
  * Copyright 1999 Bernardo Innocenti <bernie@develer.com>
- * This file is part of DevLib - See devlib/README for information.
+ * This file is part of DevLib - See README.devlib for information.
  * -->
  *
  * \brief XModem-CRC16 algorithm (interface)
  * \author Bernardo Innocenti <bernie@develer.com>
  */
 
-/*
- * $Log$
- * Revision 1.3  2004/08/15 05:47:26  bernie
- * updcrc16(): inline version of UPDCRC16(); Cleanup documentation.
- *
- * Revision 1.2  2004/06/03 11:27:09  bernie
- * Add dual-license information.
- *
- * Revision 1.1  2004/06/03 08:58:16  bernie
- * Import into DevLib
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.7  2006/07/19 12:56:27  bernie
+ *#* Convert to new Doxygen style.
+ *#*
+ *#* Revision 1.6  2005/11/04 16:20:02  bernie
+ *#* Fix reference to README.devlib in header.
+ *#*
+ *#* Revision 1.5  2005/04/11 19:10:28  bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
+ *#* Revision 1.4  2004/08/25 14:12:09  rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3  2004/08/15 05:47:26  bernie
+ *#* updcrc16(): inline version of UPDCRC16(); Cleanup documentation.
+ *#*
+ *#* Revision 1.2  2004/06/03 11:27:09  bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1  2004/06/03 08:58:16  bernie
+ *#* Import into DevLib
+ *#*
+ *#*/
 #ifndef CRC_H
 #define CRC_H
 
-#include <compiler.h>
+#include <cfg/compiler.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -48,7 +60,7 @@ extern "C" {
 extern const uint16_t crc16tab[256];
 
 
-/*!
+/**
  * \brief Compute the updated CRC16 value for one octet (macro version)
  *
  * \note This version is only intended for old/broken compilers.
@@ -61,7 +73,7 @@ extern const uint16_t crc16tab[256];
 
 
 #ifdef INLINE
-/*!
+/**
  * \brief Compute the updated CRC16 value for one octet (macro version)
  */
 INLINE uint16_t updcrc16(uint8_t c, uint16_t oldcrc)
@@ -71,7 +83,7 @@ INLINE uint16_t updcrc16(uint8_t c, uint16_t oldcrc)
 #endif // INLINE
 
 
-/*!
+/**
  * This function implements the CRC 16 calculation on a buffer.
  *
  * \param crc  Current CRC16 value.