文件名称:auto_baud_RATE
-
所属分类:
- 标签属性:
- 上传时间:2014-04-19
-
文件大小:166.99kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
we ll start timer #1 in 16 bit mode at the transition between the
start bit and the LSB and stop it between the MBS and stop bit.
That will give approx the number of cpu cycles for 8 bits. Divide
by 8 for one bit and by 16 since the built-in UART takes 16 timer
overflows for each bit. We need to be careful about roundoff during
division and the result has to be inverted since timer #1 counts up. Of
course, timer #1 gets used in 8-bit auto reload mode for generating the
built-in UART s baud rate once we know what the reload value should be.- we ll start timer #1 in 16 bit mode at the transition between the
start bit and the LSB and stop it between the MBS and stop bit.
That will give approx the number of cpu cycles for 8 bits. Divide
by 8 for one bit and by 16 since the built-in UART takes 16 timer
overflows for each bit. We need to be careful about roundoff during
division and the result has to be inverted since timer #1 counts up. Of
course, timer #1 gets used in 8-bit auto reload mode for generating the
built-in UART s baud rate once we know what the reload value should be.
start bit and the LSB and stop it between the MBS and stop bit.
That will give approx the number of cpu cycles for 8 bits. Divide
by 8 for one bit and by 16 since the built-in UART takes 16 timer
overflows for each bit. We need to be careful about roundoff during
division and the result has to be inverted since timer #1 counts up. Of
course, timer #1 gets used in 8-bit auto reload mode for generating the
built-in UART s baud rate once we know what the reload value should be.- we ll start timer #1 in 16 bit mode at the transition between the
start bit and the LSB and stop it between the MBS and stop bit.
That will give approx the number of cpu cycles for 8 bits. Divide
by 8 for one bit and by 16 since the built-in UART takes 16 timer
overflows for each bit. We need to be careful about roundoff during
division and the result has to be inverted since timer #1 counts up. Of
course, timer #1 gets used in 8-bit auto reload mode for generating the
built-in UART s baud rate once we know what the reload value should be.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
autobaud/autobaud.zip | ||
autobaud/crystals.zip | ||
autobaud/Paul's 8051 Code Library | Auto Baud Detection.pdf | |
autobaud |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.