文件名称: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 |
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。