45uint8_t
crc8(const uint8_t *data,
size_t len, uint8_t poly, uint8_t seed);
62uint8_t
crc8_lsb(const uint8_t *data,
size_t len, uint8_t poly, uint8_t seed);
Common macros and compiler attributes/pragmas configuration.
#define ACCESS(mode, ptr_idx, size_idx)
Emit an attribute (if supported by the compiler) that declares how a function will access its paramet...
uint8_t crc8_lsb(const uint8_t *data, size_t len, uint8_t poly, uint8_t seed)
Calculate a reflected CRC-8 (LSB first)
uint8_t crc8(const uint8_t *data, size_t len, uint8_t poly, uint8_t seed)
Calculate CRC-8 (MSB first)