summaryrefslogtreecommitdiffstats
path: root/quantum/crc.h
Commit message (Collapse)AuthorAgeFilesLines
* Reduce includes for crc header (#18947)Joel Challis2022-11-031-2/+3
|
* Add CRC8 calculation subsystem to quantum (#12641)Stefan Kerkmann2021-06-181-0/+44
* Intended usage is data validation in split transport code. * Default space efficient algorithm. * Opt-in fast table based algorithmn with #define CRC8_USE_TABLE switch. * Define switches for size and speed optimized versions, the default is size optimized by using uint_least8_t as datatype for calculations. * #define CRC8_OPTIMIZE_SPEED uses uint_fast8_t as datatype for calculations, this only affects 32-bit Archs like ARM and RISC-V. * Placeholder crc_init() function for hardware backed crc calculation, not implemented yet.