文件名称:Modbus_ASCII
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- jack*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
44B0的串口接收发送程序 **** 现在共享这样的代码有些过时了,但这是我参考很多例子才编写出来的。集合了很多优点:采用环形缓冲机制;读数据时不必关接收中断(没有几个人能实现的),所以不会存在数据丢失的可能;以数据帧为单位接收发送;能够缓冲几千个数据帧(由fr a meLen定义)。注:本来是为Modbus协议而编写的,后来简化了校验和Modbus规范。-44B0 receiving this procedure**** now sharing some of the outdated code, But this is only reference to many examples of the preparation. Set a lot of advantages : Ring buffer mechanism; Reading of data without interruption to receive clearance (Few people realize), so there is no loss of data possible; Data fr a mes sent to the receiving unit; to the thousands of buffer data fr a me (from fr a meLen definition). Note : Originally, it was to Modbus prepared, but later simplified calibration and Modbus norms.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Modbus_ASCII.c
Modbus_ASCII.h
Modbus_ASCII.h