crc8 源代码
CRC8是一种高效且广泛使用的循环冗余校验算法,特别适用于数据传输中的错误检测。其简洁的8位校验码设计,在保证高可靠性的前提下,显著降低了计算复杂度和资源消耗,非常适合嵌入式系统、通信协议及物联网设备等对性能与功耗有严格要求的应用场景。掌握CRC8技术不仅能够提升工程师在数据完整…
/* This code is from Colin O'Flynn - Copyright (c) 2002 only minor changes by M.Thomas 9/2004 Permission is hereby granted, …
/* This code is from Colin O'Flynn - Copyright (c) 2002 only minor changes by M.Thomas 9/2004 Permission is hereby granted, …
#ifndef CRC8_H_ #define CRC8_H_ #include uint8_t crc8 (uint8_t* data_in, uint16_t number_of_bytes_to_read); #endif /…
/* please read copyright-notice at EOF */ #include #define CRC8INIT 0x00 #define CRC8POLY 0x18 //0X18 = X^8+X…
#ifndef CRC8_H_ #define CRC8_H_ #include uint8_t crc8 (uint8_t* data_in, uint16_t number_of_bytes_to_read); #endif /…
crc8.o: crc8.c \ C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/inttypes.h \ C:/WinAVR/bin/../lib/gcc/avr/3.4.3/…
1 .file "crc8.c" 2 .arch atmega32 3 __SREG__ = 0x3f 4 __…
/* please read copyright-notice at EOF */ #include #define CRC8INIT 0x00 #define CRC8POLY 0x18 //0X18 = X^8+X…