文件名称:43iprj
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 46kb
- 下载次数:
- 0次
- 提 供 者:
- shuang*******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
keil C51非阻塞式串口通信
本程序适用于学习交流,对读入一个字节(不带回车)读入一个字符串带回车,发送字符串函数测试成功。
本程序可以连续收发字符串,而不会发生字符串输出错误的问题。并添加了字符串比对函数(大小写不敏感),
输入So2,自动回复success,比对成功。
所以本程序使用中断,非堵塞方式发送接受,缺点是占用一些内存,缓冲区大小可自由配置。
如果发现BUG请发送邮件到:我的邮箱:bjzll520@foxmail.com
本程序改编自BLOG:http://lovelytime.21ic.org的程序,修正了其几处BUG。
.串口收发例程在网上有但不多,堵塞式收发,占用CPU时间太多,本程序用中断收发,需要时读缓冲区获得数据,
本程序免费使用自由修改!-keil C51 non-blocking serial communication
This procedure applies to learning exchanges, read one byte (not back to the car) back to the car read into a string, send the string function test was successful.
This program can send and receive continuous string, the string output error does not occur the problem. And add a string comparison function (not case-sensitive),
Enter So2, automated response success, than to the success.
Therefore, this program uses interrupts, and sending and receiving non-blocking mode, the disadvantage is occupied by some memory, buffer size can be freely configured.
If you find BUG please send mail to: my email: bjzll520@foxmail.com
This procedure is adapted from BLOG: http://lovelytime.21ic.org program, amended its several BUG.
. Serial transceivers are online but not routine, block-style transceiver, taking too much CPU time, send and receive interrupt this program with the need to read the buffer when the data obtained
Free to modify t
本程序适用于学习交流,对读入一个字节(不带回车)读入一个字符串带回车,发送字符串函数测试成功。
本程序可以连续收发字符串,而不会发生字符串输出错误的问题。并添加了字符串比对函数(大小写不敏感),
输入So2,自动回复success,比对成功。
所以本程序使用中断,非堵塞方式发送接受,缺点是占用一些内存,缓冲区大小可自由配置。
如果发现BUG请发送邮件到:我的邮箱:bjzll520@foxmail.com
本程序改编自BLOG:http://lovelytime.21ic.org的程序,修正了其几处BUG。
.串口收发例程在网上有但不多,堵塞式收发,占用CPU时间太多,本程序用中断收发,需要时读缓冲区获得数据,
本程序免费使用自由修改!-keil C51 non-blocking serial communication
This procedure applies to learning exchanges, read one byte (not back to the car) back to the car read into a string, send the string function test was successful.
This program can send and receive continuous string, the string output error does not occur the problem. And add a string comparison function (not case-sensitive),
Enter So2, automated response success, than to the success.
Therefore, this program uses interrupts, and sending and receiving non-blocking mode, the disadvantage is occupied by some memory, buffer size can be freely configured.
If you find BUG please send mail to: my email: bjzll520@foxmail.com
This procedure is adapted from BLOG: http://lovelytime.21ic.org program, amended its several BUG.
. Serial transceivers are online but not routine, block-style transceiver, taking too much CPU time, send and receive interrupt this program with the need to read the buffer when the data obtained
Free to modify t
(系统自动生成,下载前可以参看下载内容)
下载文件列表
43iprj\43i
......\43i.c
......\43i.h
......\43i.hex
......\43i.lnp
......\43i.LST
......\43i.M51
......\43i.OBJ
......\43i.Opt
......\43i.plg
......\43i.Uv2
......\43i_Opt.Bak
......\43i_Uv2.Bak
......\629788290\testc.c
......\629788290.rar
......\main.c
......\main.LST
......\main.OBJ
......\STARTUP.A51
......\STARTUP.LST
......\STARTUP.OBJ
......\string.txt
......\uart.c
......\uart.h
......\uart.LST
......\uart.OBJ
......\629788290
43iprj
......\43i.c
......\43i.h
......\43i.hex
......\43i.lnp
......\43i.LST
......\43i.M51
......\43i.OBJ
......\43i.Opt
......\43i.plg
......\43i.Uv2
......\43i_Opt.Bak
......\43i_Uv2.Bak
......\629788290\testc.c
......\629788290.rar
......\main.c
......\main.LST
......\main.OBJ
......\STARTUP.A51
......\STARTUP.LST
......\STARTUP.OBJ
......\string.txt
......\uart.c
......\uart.h
......\uart.LST
......\uart.OBJ
......\629788290
43iprj