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
, uint8_t len
, uint8_t crc
= 0);
22 uint16_t crc14tab
[crclen
];
26 GENERIC_CRC14(uint16_t poly
);
27 uint16_t calc(uint8_t *data
, uint8_t len
, uint16_t crc
);
28 uint16_t calc(volatile uint8_t *data
, uint8_t len
, uint16_t crc
);