AceCRC
0.4.1
Cyclic Redundancy Check (CRC) algorithms (e.g. crc16ccitt, crc32) programmatically converted from C99 code generated by pycrc (https://pycrc.org) to Arduino C++ using namespaces and PROGMEM flash memory.
|
Go to the documentation of this file.
44 #ifndef ACE_CRC_CRC16CCITT_BIT_HPP
45 #define ACE_CRC_CRC16CCITT_BIT_HPP
51 namespace crc16ccitt_bit {
90 crc_t crc_update(crc_t crc,
const void *data,
size_t data_len);
crc_t crc_calculate(const void *data, size_t data_len)
Calculate the crc in one-shot.
crc_t crc_init(void)
Calculate the initial crc value.
crc_t crc_finalize(crc_t crc)
Calculate the final crc value.
uint16_t crc_t
The type of the CRC values.
crc_t crc_update(crc_t crc, const void *data, size_t data_len)
Update the crc value with new data.
const uint8_t CRC_ALGO_BIT_BY_BIT_FAST
The definition of the used algorithm.