文件名称:51uart
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- liang*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
串口调试程序
1. 发送过程:在发送时必须保证TI=1:即发送缓冲器为空,否则将导致数据发不出去,如果想强制发送可以用:TI=1.具体发送数据:利用printf(“akjdfaklfj”) 函数直接发送即可。
2. 接收过程:在接收时多选用中断方式,这样可以节约CPU的时间,提高效率,
-1 serial port debugger. Send process: to be sent to ensure that TI = 1: that is, send buffer is empty, otherwise they would be unable to lead to the data, if you want to send can be mandatory: TI = 1. Specific send data: Using printf ( akjdfaklfj ) function can be sent directly. 2. Receiving process: when in the receiving mode selection interruption, thus saving CPU time, improve efficiency,
1. 发送过程:在发送时必须保证TI=1:即发送缓冲器为空,否则将导致数据发不出去,如果想强制发送可以用:TI=1.具体发送数据:利用printf(“akjdfaklfj”) 函数直接发送即可。
2. 接收过程:在接收时多选用中断方式,这样可以节约CPU的时间,提高效率,
-1 serial port debugger. Send process: to be sent to ensure that TI = 1: that is, send buffer is empty, otherwise they would be unable to lead to the data, if you want to send can be mandatory: TI = 1. Specific send data: Using printf ( akjdfaklfj ) function can be sent directly. 2. Receiving process: when in the receiving mode selection interruption, thus saving CPU time, improve efficiency,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
51uart.txt