摘要
本文介绍了MV05芯片的特性和PWM模块各个寄存器的用途,概述了VC++的基本知识和在VC++6.0中使用MSComm控件开发串口通信程序的方法。针对PWM模块的特点给出了PC机与MV05的通信协议、数据包格式、以及PWM用户自定义模式下的编程代码和软件界面图。
The characteristics of the chip-MV05 and the function of its PWM module's registers are presented.The basic VC ++ principle and the method of develop serial communication procedure using MSComm controls under the environment of VC ++ are summarized .The communication protocol between computer and MV05 according to the feature of the PWM module,the format of the data packet,the code and the GUI of the PWM user definition mode are also provided.
出处
《微计算机信息》
2009年第5期272-273,251,共3页
Control & Automation
基金
基金申请人:胡越黎冉峰
项目名称:集成电路设计专项项目
基金颁发部门:上海市科委(077062008)