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

单片机实现PS/2键盘的接口设计及模块化编程
引用本文:钱建海.单片机实现PS/2键盘的接口设计及模块化编程[J].数字社区&智能家居,2007,3(14):409-410.
作者姓名:钱建海
作者单位:中国石化集团,杭州炼油厂,浙江,杭州,310006
摘    要:针对标准的PS/2接口,用单片机实现了键盘功能,本文分析了PS/2键盘的接口和通讯协议,介绍了单片机实现PS/2键盘的接口设计,并以AT89C52为例,配合PC机标准PS/2键盘接口,模块化编程实现了对键盘各个按键的扫描以及与PC机的通信.

关 键 词:PS/2接口  双向同步协议  模块化编程
文章编号:1009-3044(2007)14-30409-02
修稿时间:2007年6月23日

The Interface and Modularization Process Technique of PS/2 Keyboard of MCU Application
QIAN Jian-hai.The Interface and Modularization Process Technique of PS/2 Keyboard of MCU Application[J].Digital Community & Smart Home,2007,3(14):409-410.
Authors:QIAN Jian-hai
Abstract:This paper describes the interface and protocol used by PS/2 keyboard and how to design the PS/2 keyboard with MCU.In this article,the skill of keyboard design with AT89C52 is introduced.Accordingly,the modularization software implementation is given for PS/2 communication to PC and scanning all keys.
Keywords:PS/2 interface  Bidirectional synchronous serial protocol  modularization process
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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