首页 | 本学科首页   官方微博 | 高级检索  
     

基于Win32 API函数和多线程技术的串行通信编程
引用本文:颜波,谢存禧,张铁.基于Win32 API函数和多线程技术的串行通信编程[J].计算机工程与应用,2002,38(18):136-136,181.
作者姓名:颜波  谢存禧  张铁
作者单位:华南理工大学机电工程系,广州,510640
基金项目:中国科学院机器人学开放研究实验室基金项目(编号:RL199904),广东省自然科学基金项目(编号:000478)资助
摘    要:运用Win32API函数和多线程技术,对磁悬浮伺服装置控制系统中PC机与单片机间串行通信进行编程。介绍了开关串口、初始化串口、设置缓冲区、读写串口、重叠I/O操作、监视通信事件等与串行通信编程密切相关的API函数及其参数设置。

关 键 词:串行通信  Win32API函数  多线程
文章编号:1002-8331-(2002)18-0136-02

Serial Communication Programming Based on Win32 API Function and Multithread Technology
Yan Bo,Xie Cunxi,Zhang Tie.Serial Communication Programming Based on Win32 API Function and Multithread Technology[J].Computer Engineering and Applications,2002,38(18):136-136,181.
Authors:Yan Bo  Xie Cunxi  Zhang Tie
Abstract:Win32API function and Multithread technology are adopted to program Serial communication between PC and micro controller unit in the control system of magnetic levitation servo device.API functions and their parameters setting such as opening and closing serial port,setting buffer area,reading and writing serial port,overlapped I /O opera-tion,watching communication event ,which are relevant closely to serial communication programming,are introduced.
Keywords:Serial communication  Win32API  function  Multithread  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号