文件名称:auto_baud_RATE
- 所属分类:
- 汇编语言
- 资源属性:
- [PDF]
- 上传时间:
- 2014-04-19
- 文件大小:
- 167kb
- 下载次数:
- 0次
- 提 供 者:
- Bagus*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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 | ||
........\crystals.zip | ||
........\Paul's 8051 Code Library | Auto Baud Detection.pdf | |
autobaud |