-
winAPI_Sport_comm
实现串行通讯的相关API函数
API函数不仅提供了打开和读写通讯端口的操作方法,还提供了名目繁多的函数以支持对串行通讯的各种操作。
函数名 作用
CreateFile 打开串口
GetCommState 检测串口设置
SetCommState 设置串口
BuilderCommDCB 用字符串中的值来填充设备控制块
GetCommTimeouts 检测通信超时设置
SetCommTimeouts 设置通信超时参数
SetCommMask 设定被监控事件
WaitCommEvent 等待被监控事件发生
WaitForMultipleObjects 等待多个被监测对象的结果
WriteFile 发送数据
ReadFile 接收数据
GetOverlappedResult 返回最后重叠(异步)操作结果
PurgeComm 清空串口缓冲区,退出所有相关操作
ClearCommError 更新串口状态结构体,并清除所有串口硬件错误
CloseHandle 关闭串行口()
- 2007-08-02 11:52:20下载
- 积分:1
-
intpoduces
文件中介绍了cdma2000-1X系统及其结构,基站,组网等技术,适合有志于这方面学习人员阅读(The paper introduces the cdma2000-1X system and its structure, base station, networking technology, etc., which is suitable for those who are interested in reading in this field.)
- 2018-09-17 21:03:05下载
- 积分:1
-
rs232_C++
利用C++语言进行编程,以验证微型计算机原理课程、微机接口技术课程中关于串口通信。(The use of C++ Language programming, to verify the principle of micro-computer courses, computer interface technology courses on serial communication.)
- 2007-12-17 22:11:53下载
- 积分:1
-
CAN基本知识
说明: CAN基础知识教程,CAN总线的基础教程(CAN BUS basics tutorial)
- 2020-06-19 08:40:01下载
- 积分:1
-
OPCCOMclien
通过读取PLC的opcserver中的数据并将数据上传至服务器,通过串口发给GPRS模块(By reading the PLC opcserver data and upload the data to the server, through the serial port to the GPRS module)
- 2020-07-01 10:40:02下载
- 积分:1
-
YZAK718
一个新的通信协议,一线通协议模版软件,希望对大家开发有用()
- 2020-10-08 18:07:35下载
- 积分:1
-
CHP500B
串口通信,采用CRC16 算法,用mscomm控件实现对chp500电源的信息采集,可以设置电源的电压和频率,word文件的是通讯协议,上位机发送和下位机返回,串口通讯看懂了通讯协议就没什么问题的啦。(Serial communication using the CRC16 algorithm, mscomm realize chp500 power control information collection, you can set the voltage and frequency, word document is the communication protocol, host computer to send and return lower machine, serial communication protocol is very important to you)
- 2010-05-31 08:37:37下载
- 积分:1
-
SerialPortTest
学习C++,先学串口编程,本程序就是以串口作为编程对象,进行针对串口的数据接收与发送,内含丰富的注释,纯个人理解!(To learn C++ learn first serial programming, the program is as a programming object to the serial port for serial data reception and transmission, contains a wealth of comments, pure personal understanding!)
- 2013-04-28 10:18:11下载
- 积分:1
-
UART
瑞萨单品机9222,串口通信历程及寄存器介绍(nec 9222 MCU,uart communication and register s introduce)
- 2015-07-30 14:08:36下载
- 积分:1
-
CserialPort类源码
VC++简单而强大的多线程串口编程工具,该CSerialPort类封装了串口通信的基本 数据和方法(VC simple and powerful multithreaded serial programming tools, the CSerialPort type of serial communications package of basic data and methods)
- 2020-06-26 07:20:01下载
- 积分:1