摘 要:Windows CE.NET 4.2是面向移动计算和嵌入式应用的嵌入式操作系统,特别为有限的硬件资源设计了多线程、多任务和完全优先的操作系统环境,并具有强大通信能力,RS 232串行通信是Windows CE.NET 4.2支持的最基本的通信方式。
介绍了在Windows CE.NET 4.2下实现RS 232串口通信的方法和过程,包括如何打开、配置、读写、关闭串口和使用多线程来实现类似的异步串口通信,深入讨论了正确实现通信的几个关键问题。关键词:Windows CE;串行通信;多线程;嵌入式操作系统
Serial Communication of PC and Single Chip Computer in Windows CE.NET 4.2
ZHOU Chengpeng, XU Yajuan, YIN Xiaogong
(School of Electrical Engineering, Wuhan University,Wuhan,43007 2,China)
Abstract:Windows CE.NET 4.2 is an operation system for mob ile computing and embedded application It designs a multithread, multitask and full priority operating system environment for limited resources specially, andit enables powerful communicate ability RS 232 serial communication is the mo st basic communication mode supported by Windows CE.NET 4.2. This paper intro duces the method and process of RS 232 serial communication in Windows CE.NET 4.2 including how to open, configure, read, write and close the port, and how torealize asynchronous serial port communication by means of multithread, and dis cusses several key techniques to realize communication rightly
Keywords:Windows CE;serial communication;multithread; em bedded operating system
在工业控制中,常需要将单片机采集到的数据传送给PC机处理、显示,并且根据处理结果给单片机发送控制命令。串行通信虽然传送速度相对较慢,但是传送成本低,对实现监视和控制,具有足够的带宽,并且没有过于复杂的编解码,实现自定义的协议也不复杂,因而在工业自动化、通信和军事等领域的应用十分广泛。随着Windows CE嵌入式操作系统在工业控制中的广泛应用,设计和实现Windows CE下PC与单片机的串行通信具有重要的意义。
1Windows CE.NET 4.2简介
Windows CE 是一个面向移动计算和嵌入式应用的操作系统,其突出优点是模块化、可定制性、完备性、实时性、通信能力强大和基于Win32应用程序编程接口。Windows CE.N ET 4.2是为嵌入式市场重新设计的Windows CE 3.0的后继产品,为快速建立下一代智能移动和小内存占用的设备提供了一个健壮的实时操作系统。他包括创建一个基于定制设备的Wi ndows CE所需的一切。
正文:http://www.qqread.com/dotnet/j347929.html相关专题
- Windows操作系统安装 (15669篇文章)
- Windows权限设置 (10273篇文章)
- Windows操作系统安全集 (18739篇文章)
- .NET移动与嵌入式技术 (5974篇文章)
- .NET开发手册 (5673篇文章)
- 热门通信技术专区 (2017篇文章)
- 通信技术专题 (2017篇文章)
- Windows频道 (9846篇文章)
- WPF的Attached属性 (0次浏览)
- WPF,将颠覆的设计世界? (0次浏览)
- Windows是否已经变成了一个怪物? (0次浏览)
- Windows2008用RODC保证分支机构安全 (0次浏览)
- Windows2008的NLB配置攻略 (0次浏览)
- Windows SharePoint Services 和 SharePoint P (0次浏览)
- Windows Forms中实现统一的数据验证(一) (0次浏览)
- Windows API一日一练:DrawText函数 (0次浏览)
- Win2008初次体验的几个心得 (0次浏览)
- WEB应用数据库访问的优化 (0次浏览)



