▍1. Linux串口编程
Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程
Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程Linux串口编程
从事Profibus的开发人员可以利用改源代码理解profibus协议。添加除通讯以外的代码,很快可以开发出自己的智能节点(engaged in the development staff can use the source code to understand change Profibus agreement. Add except communications code, we will soon be able to develop their own intelligent nodes)
辅助通讯规约测试的程序,支持串口103规约,可以模拟四方、南瑞等厂家的保护装置,通过修改配置文件,可以对应保护的点号及实际值。(Auxiliary communication protocol testing procedures, supporting serial 103 of the Statute, can simulate the Quartet, NARI and other manufacturers of protective devices, by modifying the configuration file, you can protect the dot and the corresponding actual values.)
基于F28335的SCI串口通信程序。本程序的特点是代码简单、高效。本代码共包含三个工程文件:1、基本通信(实现了最基本的通过SCI协议通讯的功能。上位机下发一个字符或字符串,下位机原样返回该字符或字符串);2、SCI通信FIFO版(在1的基础之上启用了FIFO缓存接收或发送的数据);3、SCI通信FIFO与中断版(通过启用FIFO功能减少对CPU资源的占用,且数据的发送与接收处理均在中断中完成)。此三个程序基本验证了F28335的SCI模块所有功能。(F28335 of SCI-based serial communication program. Features of this program is the code simple and efficient. This code contains a total of three project files: 1, the basic communication (via SCI achieve the most basic functions of communication protocols issued the PC or a character string as the next crew to return to the character or string.) 2, SCI communication FIFO version (on the basis of a FIFO buffer above the receive or transmit data enabled) 3, SCI communication FIFO and interrupt version (FIFO function by enabling reduce the occupancy of CPU resources, and sending and receiving data are processed in interrupt completed). The three basic procedures to verify the F28335 all functions of SCI module.)
proteus仿真实现485串行通讯,自动收发(proteus simulation 485 serial communications, automatically sending and receiving)
说明: 把串口读写函数写成动态链接库,方便在不同工程之间移植。代码测试已经通过,方便大家学习使用(The serial port read-write function is written as dynamic link library, which is convenient to transplant between different projects. Code test has passed, easy to learn to use)
这个是非常流行的串口调试工具的VC++源代码,对于需要深入了解串口通信的朋友非常有帮助,需要的朋友可以看看。(This is a very popular tool for serial debug VC++ source code, the need for deeper understanding of serial communication very helpful friend, a friend in need can take a look at.)
串口驱动程序,可替换NT下的串口驱动程序 (Serial dirver which can replace serial driver in NT)
vs2010 c++ MFC实现串口通信(vs2010 c++ MFC serial communications)
C#串口调试工具,完整VS2008源代码。 1、自动检测系统串口数量,支持USB转串口设备即插即用,自动添加到下拉列表框。 2、修改端口设置后自动打开串口,可发送字符或十六进制数据,并可定时循环发送。 3、支持自定义帧格式,且可自动加入校验,可选校验超过四种以上。 4、接收分别以字符和十六进制显示,完美支持中文显示和回车换行。(C# serial debugging tools, complete source code VS2008. 1, the automatic detection system serial number, supports USB serial devices simultaneously, automatically added to the drop-down list box. 2, modify the port settings automatically open the serial port to send character or hexadecimal data, and timing loop sent. 3, support for custom frame format, and can be automatically added to the check, optional check more than four kinds or more. 4, respectively, received characters and hexadecimal display, the perfect support Chinese display and carriage return line.)
实现对电能质量芯片ATT7022的控制,读取芯片的串口信息。(Realization of power quality control chip ATT7022, read the chip serial information.)
1.实现了对串口2的操作。 2.利用DMA+空闲中断+串口,完成了对变帧长数据的接收与发送。(1. To achieve the serial port 2 operation. 2. Using DMA+ idle interrupt+ serial port, completed the variable frame data reception and transmission.)
索佳、拓普康全站仪串口通信控制指令,通过软件控制仪器实现联机通信与自动测量。(Total Station Control Command)
利用串口通过zmodem协议在iap下更新APP程序。(Zmodem protocol updates through the use of serial APP program in iap.)
电能计量芯片AT7022编程范例,可在编程时直接调用(Energy Metering IC AT7022 programming paradigm can be called directly when programming)
说明: 压力传感器xgzp6867iic读取程序(Pressure sensor xgzp6867iic reading program)
说明: C# 串口数据传送源代码(代码简单,适合新手)。(C # serial data transmission source code (simple code, suitable for novices).)