#include <CRC.h>
Public Member Functions | |
Table< CRCType, CRCWidth > | MakeTable () const |
Returns a CRC lookup table construct using these CRC parameters. More... | |
Public Attributes | |
CRCType | finalXOR |
Value to XOR with the final CRC. More... | |
CRCType | initialValue |
Initial CRC value. More... | |
CRCType | polynomial |
CRC polynomial. More... | |
bool | reflectInput |
true to reflect all input bytes More... | |
bool | reflectOutput |
true to reflect the output CRC (reflection occurs before the final XOR) More... | |
CRC parameters.
CRC::Table< CRCType, CRCWidth > CRC::Parameters< CRCType, CRCWidth >::MakeTable | ( | ) | const |
Returns a CRC lookup table construct using these CRC parameters.
CRCType | Integer type for storing the CRC result |
CRCWidth | Number of bits in the CRC |
CRCType CRC::Parameters< CRCType, CRCWidth >::finalXOR |
Value to XOR with the final CRC.
Referenced by CRC::Calculate().
CRCType CRC::Parameters< CRCType, CRCWidth >::initialValue |
Initial CRC value.
Referenced by CRC::Calculate().
CRCType CRC::Parameters< CRCType, CRCWidth >::polynomial |
CRC polynomial.
bool CRC::Parameters< CRCType, CRCWidth >::reflectInput |
true to reflect all input bytes
Referenced by CRC::Calculate().
bool CRC::Parameters< CRCType, CRCWidth >::reflectOutput |
true to reflect the output CRC (reflection occurs before the final XOR)
Referenced by CRC::Calculate().