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

I~2C总线的软件模拟在KeilC51中的实现
引用本文:孙刚,冯国雨,朱孟忠.I~2C总线的软件模拟在KeilC51中的实现[J].电脑编程技巧与维护,2009(Z1):110-111.
作者姓名:孙刚  冯国雨  朱孟忠
作者单位:空军航空大学电工电子教研室;空军航空大学航空理论系机载设备教研室;
摘    要:I2C总线是飞利浦公司总线提出的串行通信接口规范,它使用两条线:串行数据线(SDA)和串行时钟线(SCL),即可实现总线上器件之间传送信息。因此,I2C总线占用的空间非常小,减少了芯片管脚的数量,降低了互联成本。但目前应用很广的MCS51系列和AT89系列的单片机都不具有这种总线的接口,很大程度上限制了它们的应用范围。本文介绍了I2C总线的协议,并给出了在KeilC51uVision2中的实现方法,方便了不具备I2C总线功能的单片机的应用。

关 键 词:I2C  KeiC51  软件模拟

The Implement of I~2C Bus Software Simulation in Keil C51
SUN Gang,FENG GuoYu,ZHU Mengzhong.The Implement of I~2C Bus Software Simulation in Keil C51[J].Computer Programming Skills & Maintenance,2009(Z1):110-111.
Authors:SUN Gang  FENG GuoYu  ZHU Mengzhong
Affiliation:SUN Gang1,FENG GuoYu2,ZHU Mengzhong1(1.Department of Electronics,Aviation University of Air Force,Changchun 130022,2. Department of Aviation Theory,Changchun 130022 )
Abstract:I2C bus is raised by Philips semiconductors company,which is a serial communication rule,it makes ICs on the bus transmit information through 2 lines:serial data ( SDA ) and serial clock(SCL),so the space I2C occupied is very little, this can largely reduce the pins of ICs and the cost of connecting ICs. But at present the widely-used microprocessors MCS51 series and AT89 series do not have I2C interface, this largely confines the application area of them. This paper introduces the rule of I2C bus and the i...
Keywords:I2C  KeiC51  software simulation  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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