X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fcrc.h;h=0ae4a53e49e4e8b6b462889c6ab05ee9e3c370b2;hb=a5c68f1e55ab389a3472f761664021fe684935f2;hp=f7ab97479d7ab432634e37d9b93b0d3fbe609d93;hpb=523e193fdf11016eb6e1b334a7f706f1ba19a86a;p=bertos.git diff --git a/mware/crc.h b/mware/crc.h index f7ab9747..0ae4a53e 100755 --- a/mware/crc.h +++ b/mware/crc.h @@ -1,9 +1,9 @@ -/*! +/** * \file * * * \brief XModem-CRC16 algorithm (interface) @@ -22,22 +22,34 @@ * \author Bernardo Innocenti */ -/* - * $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 +#include #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.