Reusable C implementation of CRC-8/MAXIM.
include/crc8_maxim.hsrc/crc8_maxim.cexamples/main.c
| Parameter | Value |
|---|---|
| Name | CRC-8/MAXIM |
| Polynomial | 0x31 |
| Reflected Polynomial | 0x8C |
| Initial Value | 0x00 |
| Input Reflected | Yes |
| Output Reflected | Yes |
| Final XOR | 0x00 |
ASCII Check: "123456789" -> 0xA1
HEX Check: 0x12 0x34 0x56 0x78 0x09 -> 0x4F
Both bitwise and table-based functions are validated against the same expected results.