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

单片机系统中PS/2键盘驱动程序的设计
引用本文:郑炜,须文波,胡晋.单片机系统中PS/2键盘驱动程序的设计[J].江南大学学报(自然科学版),2006,5(3):281-285.
作者姓名:郑炜  须文波  胡晋
作者单位:江南大学,信息工程学院,江苏,无锡,214122
摘    要:介绍了PS/2协议及PS/2标准键盘的第2套扫描码和命令集,给出了在单片机系统中支持PS/2键盘的硬件连接方式以及利用Keil C51语言实现的驱动程序设计和部分代码.驱动程序在单片机系统中实现了对PS/2标准104键盘的支持;该程序在AT89C51单片机上运行通过,同时还可以方便地移植到其他单片机或嵌入式系统中.

关 键 词:PS/2协议  PS/2键盘  单片机  驱动程序
文章编号:1671-7147(2006)03-0281-05
收稿时间:2004-12-14
修稿时间:2005-03-09

Design of PS/2 Keyboard Driver in MCU System
ZHENG Wei,XU Wen-bo,HU Jin.Design of PS/2 Keyboard Driver in MCU System[J].Journal of Southern Yangtze University:Natural Science Edition,2006,5(3):281-285.
Authors:ZHENG Wei  XU Wen-bo  HU Jin
Institution:School of Information Technology, Southern Yangtze University,Wuxi 214122, China
Abstract:The PS/2 protocol is analyzed in the paper.The standard scan code set 2 and command set of PS/2 keyboard are also introduced.Besides,the hardware connection of PS/2 keyboard to MCU,and it's driver programmed by Keil C51 language are given.the driver realize the support of the PS/2 standard 104 keyboard in MCU system.The driver can be used in other MCU system or embedded system easily.It is benificial to use PS/2 keyboard in the MCU application system or embedded application system.
Keywords:PS/2 protocol  PS/2 keyboard  MCU  driver program
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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