[美]Joe Campbell 著 徐国定 廖卫东 张庆 译 吴洪来 赵军 审校 清华大学出版社 第一部分 串行通信基础 第l章 ASCII字符集 第2章 异步通信技术基础 第3章 错误及错误检测 第4章 信息传输 第5章 调制解调器及其控制 第6章 UART:一个概念上的模型 第7章 实际的UART 第8章 baseline灵巧型调制解调器 第9章 智能调制解调器命令 第10章 协议调制解调器 第ll章 传真机 第二部分 用C语言编写异步通信程序 第12章 设计一个基本的串行I/O库 第13章 程序的可移植性 第14章 波特率和数据格式函数 第15章 RS—232输入控制 第16章 流控制和SIO管理 第17章 格式输出 第18章 格式输入 第19章 中断I/O导论 第20章 中断子处理程序 第2l章 灵巧型调制解调器程序设计 第22章 XMODEM文件传送 第23章 循环冗余校验CRC计算 第24章 Group3传真图象的编码和解码
上传时间: 2015-07-05
上传用户:asdfasdfd
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-11-28
上传用户:宋桃子
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
本人把这次课程设计作为培养实践能力的初次练兵,以数字通信中的编码器、译码器及锁存器为核心设计了八路抢答器。
标签: 实践
上传时间: 2015-10-27
上传用户:leehom61
本方案是利用8255芯片,用汇编语言编写的4人抢答器代码
上传时间: 2015-11-02
上传用户:1079836864
ad转换的程序,c8051f021老程序,18B20测温00,抢答器程序,pwm_pac.c。
上传时间: 2015-12-19
上传用户:水口鸿胜电器
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
PLC制作,实用抢答器。和电视台综艺节目上用是功能一致
标签: PLC
上传时间: 2013-12-03
上传用户:dengzb84
许多比赛中,为了准确 、公正、直观判断出第一抢答者,通常设计一台抢答器。通过抢答器的数显、灯光和音响等手段指示第一抢答者。同时,还可以设置定时、记分、犯规以及奖惩等多功能
标签:
上传时间: 2013-12-31
上传用户:waizhang
用游标的方法实现对称差的计算,即 (A-B)+(B-A)
上传时间: 2016-05-23
上传用户:远远ssad