-
函数名称:CRC
函数名称: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,附加在数据之后(这一步可省略)。
- 2023-05-27 07:15:03下载
- 积分:1
-
IMBE解码库
IMBE decoding library.rar
详细说明:IMBE解码库,可解IMBE3600,7200两种码率,适用于P.25,MOTOROLA的DMR-IMBE decoding library,
solvable IMBE3600, 7200 two kinds of bit rate, for P.25, MOTOROLA s DMR
文件列表:
文件夹:IMBE decoding library
mbelib-1.2.3ambe3600x2250.c
............ambe3600x2250_const.h
............CHANGELOG
............config.h
............configure
............COPYRIGHT
............ecc.c
............ecc_const.h
............imbe7100x4400.c
............imbe7200x4400.c
............imbe7200x4400_const.h
............Makefile
............mbelib.c
............mbelib.h
............mbelib_Author.pgp
............mbelib_const.h
PATENT NOTICE
&nb
- 2022-02-12 01:06:20下载
- 积分:1
-
稳恒电路仿真
模拟稳态电路和计算与交互式 UI 中,我用 6 个月在大学为求同存异它。模拟稳恒电路和计算
- 2022-08-21 15:44:14下载
- 积分:1
-
等值线生成算法,用C编写的,用趋势面加权最小二乘法计算网格点高程。...
等值线生成算法,用C编写的,用趋势面加权最小二乘法计算网格点高程。-Contour generation algorithm, written using C, using trend surface weighted least squares method to calculate grid point elevation.
- 2023-06-21 21:55:03下载
- 积分:1
-
四轴源码以及原理图
小四轴的源码以及原理图 #include "led.h"#include "delay.h"#include "sys.h"#include "key.h"#include "usart.h"#include "exti.h"#include "wdg.h"#include "timer.h"#include "pwm.h"#include "lcd.h"#include "MPU6050.h"#include "lsm330.h"u8 SPI1_Buffer_Rx1[6]="432423";s16 SPI1_Buffer_Rx[30];u8 k = 0;void SPI_Configuration(){ SPI_InitTypeDef SPI_InitStructure; /* SPI1 Config -------------------------------------------------------------*/ SPI_InitStructure.SPI_Direction = SPI_Direction_2Lines_FullDuplex; SPI_InitStructure.SPI_Mode = SPI_Mode_Master; SPI_InitStructure.SPI_DataSize = SPI_DataSize_8b; SPI_InitStructure.SPI_CPOL = SPI_CPOL_High; SPI_
- 2023-03-12 15:55:03下载
- 积分:1
-
stl文件读取与显示
应用背景STL =
STL文件,一种3D模型文件格式STL(STereo Lithography的缩写)
STL文件格式是由3D SYSTEMS 公司于1988
年制定的一个接口协议,是一种为快速原型制造技术服务的三维图形文件格式。STL 文件由多个三角形面片的定义组成,每个三角形面片的定义包括三角形各个定点的三维坐标及三角形面片的法矢量。三角形顶点的排列顺序遵循右手法则。 STL 文件有2 种类型:文本文件(ASCII格式)和二进制文件(BINARY)。关键技术This program may crash your system or run poorly depending on your
hardware. The program and code contained in this archive was scanned
for virii and has passed all test before it was put online. If you
use this code in project of your own, send a shout out to the author!
- 2022-05-08 08:33:51下载
- 积分:1
-
科学函数计算器^
科学函数计算器^-scientific calculator function ^
- 2022-07-14 20:05:05下载
- 积分:1
-
ACM题解,对大学生等很实用的,学习这个对于自己的提高的帮助那是很大很大很大地,怕丢,放上来...
ACM题解,对大学生等很实用的,学习这个对于自己的提高的帮助那是很大很大很大地,怕丢,放上来-ACM problem solutions, university students, such as practical, learning this for their own help improve it is a great great great, the fear of losing,放上来
- 2022-01-22 02:11:59下载
- 积分:1
-
把华氏温度与摄氏温度的互相转换。。。随便输入一个华氏温度值或是摄氏温度值。。该程序都可以轻松得将其转化了相应的摄氏或华氏温度...
把华氏温度与摄氏温度的互相转换。。。随便输入一个华氏温度值或是摄氏温度值。。该程序都可以轻松得将其转化了相应的摄氏或华氏温度-put Fahrenheit temperature and Celsius temperature interchangeable. . . The importation of a casual Fahrenheit or Celsius temperature temperature. . The program can quickly and easily be translated into the corresponding Celsius or Fahrenheit temperature
- 2022-06-20 20:53:54下载
- 积分:1
-
完整的OFDM仿真程序
基于matlab的ofdm系统的仿真程序,各种算法都有,这是从网站上下载出来的,可以直接运行,所以和广大网友一起分享
- 2023-08-17 02:20:02下载
- 积分:1