文件名称:43iprj

介绍说明--下载内容均来自于网络,请自行研究使用

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
(系统自动生成,下载前可以参看下载内容)

下载文件列表

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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org