Use MOD_* macros instead of DB.
[bertos.git] / mware / crc.h
index 5ad39c0092539343a7a90c4d7c791defde1ea873..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)
 
 /*#*
  *#* $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
  *#*
@@ -40,7 +49,7 @@
 #ifndef CRC_H
 #define CRC_H
 
-#include <compiler.h>
+#include <cfg/compiler.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -51,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.
@@ -64,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)
@@ -74,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.