autobaud

所属分类:单片机开发
开发工具:C/C++
文件大小:1KB
下载次数:22
上传日期:2009-10-18 00:09:24
上 传 者songqiubin
说明:  C8051检测用户设定的波特率,然后初始化自己的波特率。
(This code attempts to automatically detect the user s baud rate and initialize the 8051 s built-in uart. More specifically, these steps are taken: 1.If the code was assembled with the correct baud rate, skip to step 5. 2.If we have previously detected the baud rate, skip to step 5. 3.Wait for the user to press Enter (aka Carriage Return) and count how long it takes for the bits to arrive. 4.Calculate the required timer1 reload value for the user s baud rate. 5.Store the result so that we can (hopefully) skip having to detect the baud rate if this code is called again. 6.Initialize the various special function registers. )

文件列表:
autobaud.asm (3568, 1996-06-12)

近期下载者

相关文件


收藏者