CHG: trying to unify the crc algos in one place.

This commit is contained in:
iceman1001 2016-08-04 21:52:32 +02:00
commit 82e690f48b
4 changed files with 32 additions and 14 deletions

View file

@ -68,6 +68,8 @@ uint32_t CRC16Legic(uint8_t *buff, size_t size, uint8_t uidcrc);
// test crc 16.
uint32_t CRC16_DNP(uint8_t *buff, size_t size);
uint32_t CRC16_CCITT(uint8_t *buff, size_t size);
uint32_t CRC16_Iso15693(uint8_t *buff, size_t size);
uint32_t CRC16_ICLASS(uint8_t *buff, size_t size);
/* Static initialization of a crc structure */
#define CRC_INITIALIZER(_order, _polynom, _initial_value, _final_xor) { \