Line 1... |
Line 1... |
// $Id: RlinkCrc8.cpp 410 2011-09-18 11:23:09Z mueller $
|
// $Id: RlinkCrc8.cpp 488 2013-02-16 18:49:47Z mueller $
|
//
|
//
|
// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
//
|
//
|
// This program is free software; you may redistribute and/or modify it under
|
// This program is free software; you may redistribute and/or modify it under
|
// the terms of the GNU General Public License as published by the Free
|
// the terms of the GNU General Public License as published by the Free
|
Line 18... |
Line 18... |
// 2011-01-15 355 0.1 First draft
|
// 2011-01-15 355 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RlinkCrc8.cpp 410 2011-09-18 11:23:09Z mueller $
|
\version $Id: RlinkCrc8.cpp 488 2013-02-16 18:49:47Z mueller $
|
\brief Implemenation of class RlinkCrc8.
|
\brief Implemenation of class RlinkCrc8.
|
*/
|
*/
|
|
|
#include "RlinkCrc8.hpp"
|
#include "RlinkCrc8.hpp"
|
|
|
using namespace std;
|
using namespace std;
|
using namespace Retro;
|
|
|
|
/*!
|
/*!
|
\class Retro::RlinkCrc8
|
\class Retro::RlinkCrc8
|
\brief FIXME_text
|
\brief FIXME_docs
|
*/
|
*/
|
|
|
|
// all method definitions in namespace Retro
|
|
namespace Retro {
|
|
|
//------------------------------------------+-----------------------------------
|
//------------------------------------------+-----------------------------------
|
//! FIXME_docs
|
//! FIXME_docs
|
// from gen_crc8_tbl
|
// from gen_crc8_tbl
|
|
|
const uint8_t RlinkCrc8::fCrc8Table[256] =
|
const uint8_t RlinkCrc8::fCrc8Table[256] =
|
Line 72... |
Line 74... |
175, 226, 53, 120, 214, 155, 76, 1,
|
175, 226, 53, 120, 214, 155, 76, 1,
|
244, 185, 110, 35, 141, 192, 23, 90,
|
244, 185, 110, 35, 141, 192, 23, 90,
|
6, 75, 156, 209, 127, 50, 229, 168
|
6, 75, 156, 209, 127, 50, 229, 168
|
};
|
};
|
|
|
//------------------------------------------+-----------------------------------
|
} // end namespace Retro
|
#if (defined(Retro_NoInline) || defined(Retro_RlinkCrc8_NoInline))
|
|
#define inline
|
|
#include "RlinkCrc8.ipp"
|
|
#undef inline
|
|
#endif
|
|
|
|
No newline at end of file
|
No newline at end of file
|