登录
首页 » 算法 » 函数名称:CRC

函数名称:CRC

于 2023-05-27 发布 文件大小:1.68 kB
0 129
下载积分: 2 下载次数: 1

代码说明:

函数名称:CRC-16 Process 函数原型:INT16U make_crc16(INT8U *msgaddr,INT8U datalen) 函数功能:进行CRC校验和产生CRC代码.这个函数只影响全局变量crc16. 校验字放在字符串最后,低8位在前高8位在后. msgaddr : 进行CRC16校验的据块的首地址 datalen : 进行CRC16校验的据块的个数 CRC-ITU的计算算法如下: a.寄存器组初始化为全"1"(0xFFFF)。 b.寄存器组向右移动一个字节。 c.刚移出的那个字节与数据字节进行异或运算,得出一个指向值表的索引。 d.索引所指的表值与寄存器组做异或运算。 f.数据指针加1,如果数据没有全部处理完,则重复步骤b。 g.寄存器组取反,得到CRC,附加在数据之后(这一步可省略)。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 多项式拟合 多项式拟合 多项式拟合 多项式拟合 多项式拟合
    多项式拟合 多项式拟合 多项式拟合 多项式拟合 多项式拟合-Polynomial polynomial polynomial polynomial polynomial polynomial polynomial polynomial polynomial fitting
    2022-02-03 21:39:33下载
    积分:1
  • 卡尔曼滤波,均匀圆周运动下的卡尔曼滤波预测
    kalman滤波器,匀速圆周运动下的kalman滤波预测-kalman filter, uniform circular motion under the kalman filter prediction
    2022-07-03 09:14:23下载
    积分:1
  • 是个进行多字节的除
    是个进行多字节的除法-is a multi-byte division
    2022-05-05 11:44:02下载
    积分:1
  • 好玩的游戏,经典的游戏终于成功了
    应用背景你玩儿过扫雷游戏吧?Windows操作系统中带了这个小游戏,那个系统叫什么来着?在游戏中要想过关,就必须要在一个 NxM 的区域上找出所有的地雷。游戏过程中,计算机会在地图上显示一些数字从而帮助你确定哪里有地雷。关键技术Have you ever played the game? Windows operating system with this little game, the system called what? In the game to pass, it is necessary to find out all the mines in a NxM area. In the process of the game, the computer will show some numbers on the map to help you identify where you are.
    2022-03-26 14:34:01下载
    积分:1
  • Digital image processing of two
    数字图像处理二维傅里叶变换代码,适用于图像处理研究人员和初级入门学生。-Digital image processing of two-dimensional Fourier Transform code, applied to image processing researchers and students in primary induction.
    2022-02-04 07:03:51下载
    积分:1
  • 这是一个三次样条插值函数实现的C代码。如果插值点需要改变,可以在程序中改定。...
    这是一个三次样条插值函数实现的C代码。如果插值点需要改变,可以在程序中改定。-This is a cubic spline interpolation function of the realization of the C code. If interpolation points need to change, the procedures will change.
    2022-01-25 18:27:49下载
    积分:1
  • Commonly used numerical algorithms, really good, everyone would like to be usefu...
    常用数值算法,真的很不错的,希望对大家有用处-Commonly used numerical algorithms, really good, everyone would like to be useful
    2022-05-25 09:22:28下载
    积分:1
  • MSN8.0客户端回复服务器ping的最新认证
    MSN8.0客户端回复服务器ping的最新认证算法-MSN8.0 client server ping response to the latest Authentication Algorithm
    2022-04-27 17:16:36下载
    积分:1
  • 弹道控制
    关于导弹弹道控制的matlab仿真,是有关导弹拦截的弹道仿真,防御识别系统的导弹弹道仿真程序,使用simulink与matlab程序混编而成的导弹的3自由度仿真
    2022-07-24 04:06:56下载
    积分:1
  • RS编码和译码的Verilog代码
    里的所罗门RS编解码方案,建立工程后可直接编译调试,对于学习RS编码原理的人员可以作为一个例子学习,也可以应用于相应的系统中
    2022-01-27 19:57:01下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载