10 uint8_t crc8tab
[crclen
];
14 GENERIC_CRC8(uint8_t poly
);
15 uint8_t calc(const uint8_t data
);
16 uint8_t calc(const uint8_t *data
, uint16_t len
, uint8_t crc
= 0);
22 uint16_t _crctab
[crclen
];
28 void init(uint8_t bits
, uint16_t poly
);
29 uint16_t calc(uint8_t *data
, uint8_t len
, uint16_t crc
);