搜索资源列表
Checksum
- 校验和的计算过程主要分位三个步骤:数据文件的输入,校验和的计算和校验结果的输出。输入数据可能是以字符形式存储的 ,而校验和的计算则要采用数据形式,所以在从文件读取数据时,都要进行字符到数据的相互转换. 使用C++编程时直接使用16进制的方式打开输入文件。待校验的数据按16位位一个单位相加,采用端循环进位,最后对所得16位的数据取反码。因为待校验的数据时以字节方式分隔的 ,所以为了方便,将16位的数据分成高8位和 低8位处理。-Checksum calculation process is div
Crctable
- crc校验实现代码,可以生成16bit和32bit的校验值-crc check implementation code, you can generate a checksum value of the 16bit and 32bit
PCK_CRC3_D4
- CRC校验码生存程序 校验序列码生成多项式: X16+X13+X12+X11+X10+X8+X6+X5+X2+1 输入数据为16个字节(128位),输出16bit校验序列-CRC, the survival program check sequence code generator polynomial: X16+ X13+ X12+ X11+ X10+ X8+ X6+ X5+ X2+1 input data is 16 bytes (128 bits), output 16bit
BAwenshichuangan-Sim
- 一个温湿度传感器dht21数字传感器代码,采用40bit单总线输出,前16bit湿度,后16bit温度,八bit效验位-happy。-A temperature and humidity sensor dht21 digital sensor code, the use of 40bit single-bus output, 16bit humidity before and after the temperature 16bit, eight bit checksum bit-happy.
CRC-6-8-12-16-32
- CRC校验代码,包含6bit\8bit\12bit\16bit\32bit 查表法和移位法-CRC checksum code, including 6bit \ 8bit \ 12bit \ 16bit \ 32bit lookup table and shift method