-
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
-
COMDLL
说明: 把串口读写函数写成动态链接库,方便在不同工程之间移植。代码测试已经通过,方便大家学习使用(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)
- 2021-04-25 13:43:20下载
- 积分:1
-
Com_N
本程序调用了微软自带的mscomm控件,实现com口的数据接收,读者可自行添加发送数据功能。内附mscomm.ocx控件及其注册方法,本程序是用的静态链接库,为的是能在没有vc库的机器上也可以运行,所以个头大了点。(Microsoft's own mscomm controls, I realize com data reception, readers can add their own functions to send data. Enclosing mscomm.ocx control and registration method, the procedure is used in the static link library, for the in the absence of vc for the machine can also run, giving the larger point.)
- 2005-07-31 09:50:35下载
- 积分:1
-
STK
说明: STK是由美国Analytical Graphics公司开发的一款在航天领域处于领先地位的商业分析软件。STK支持航天任务的全过程,包括设计、测试、发射、运行和任务应用(STK is a leading commercial analysis software developed by Analytical Graphics Inc. in the aerospace field. STK supports the whole process of space mission, including design, test, launch, operation and mission application.)
- 2020-09-21 16:07:50下载
- 积分:1
-
MAX232
利用max232,实现51单片机和电脑的通信,使得电脑发一个数据在单片机上用流水灯显示。(Use max232, achieving 51 SCM and PC communications, making the computer sends a data on a single chip with a water light show.)
- 2013-08-30 15:46:26下载
- 积分:1
-
STM8S_v_uart
STM8 虚拟串口 全双工,自己写的共享一下(STM8 virtual serial port full-duplex, write your own to share about)
- 2014-09-14 19:56:47下载
- 积分:1
-
MyserialPort_display_2
说明: qt串口助手,能接收和发送数据,能对接收的数据绘出曲线(QT serial port assistant, can receive and send data, can draw curves for received data)
- 2019-05-08 22:55:48下载
- 积分:1
-
CSharpSerial-programming-steps-detailed
用C#语言编写串口通信程序详解,有代码有步骤(c#Serial programming steps detailed)
- 2012-04-18 10:36:49下载
- 积分:1
-
ATT7022
电能计量芯片AT7022编程范例,可在编程时直接调用(Energy Metering IC AT7022 programming paradigm can be called directly when programming)
- 2021-01-29 17:08:34下载
- 积分:1
-
ModbusClient
Modbus TCP/IP协议client端源代码(Modbus TCP/IP protocal test)
- 2009-06-10 23:02:44下载
- 积分:1