Skip to content

futekast/CRC8_MAXIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRC8_MAXIM

Reusable C implementation of CRC-8/MAXIM.

Files

  • include/crc8_maxim.h
  • src/crc8_maxim.c
  • examples/main.c

CRC Parameters

Parameter Value
Name CRC-8/MAXIM
Polynomial 0x31
Reflected Polynomial 0x8C
Initial Value 0x00
Input Reflected Yes
Output Reflected Yes
Final XOR 0x00

Validation

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.

About

Reusable C implementation of CRC-8/MAXIM with documented bitwise and table-based calculation methods.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages