文件名称:51uart
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.38kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
串口调试程序
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.