crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送方和接收方约定一个生成多项式G(x),设该生成多项式 的最高次幂为r。 (3) 在数据块的末尾添加r个0,则其相对应的多项式为M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),获得商Q(x)和余式R(x),则 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2运算,T(x)所对应的数据是在原数 据块的末尾加上余式所对应的数据得到的。 (6) 发送T(x)所对应的数据。 (7) 设接收端接收到的数据对应的多项式为T’(x),将T’(x)除以G(x) ,若余式为0,则认为没有错误,否则认为有错
上传时间: 2014-01-16
上传用户:hphh
在TI的TMSF2812平台上,完成了FFT的电能质量分析,使用AD73360AR数模转换芯片,提供有FLASH,显示,通讯接口的源程序
上传时间: 2015-10-23
上传用户:星仔
flash、定时器等应用。其中包括数据采集试验时自编两个程序,分别为应用片内AD模块实现多通道采集和与ADS8364模数转换芯片的接口控制程序。
上传时间: 2013-12-18
上传用户:baiom
The MAX504/MAX515 are low-power, voltage-output, 10-bit digital-to-analog converters (DACs) specified for single +5V power-supply operation.用于DA转换芯片选型
标签: digital-to-analog voltage-output converters MAX
上传时间: 2015-11-26
上传用户:541657925
本程序采用AT89C51单片机,ADC0809模数转换芯片进行模数转换,最终由数码管显示“0809**”。
上传时间: 2014-12-02
上传用户:jhksyghr
自己调的tlv5618的程序,tlv是ad公司的12位d/a转换芯片。
上传时间: 2015-12-07
上传用户:sk5201314
CS5530~5的资料,绝好的ad转换芯片,喜欢的可以下载看看那
上传时间: 2014-01-10
上传用户:h886166
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
单片机通过RS232访问U盘,接口转换使用转换芯片CH375
上传时间: 2016-02-05
上传用户:253189838
5988-8477EN2051的白皮书.现在的有线光学鼠标中一般都有2块集成电路,一块是CMOS/DSP芯片,比如像安捷伦2051,一块是USB/PS2的接口转换芯片
上传时间: 2016-05-13
上传用户:leehom61