摘要
PS/2接口在PC与工业控制中有广泛的应用,在其它领域对PS/2技术的扩展研究有很实用价值,在嵌入式系统中有良好的应用前景。PS/2键盘接口采用标准PS/2协议通信,针对扩展键盘接口,本文介绍了其物理接口及通信协议,并对其工作时序和部分命令字进行了说明,给出了PS/2键盘与单片机的接口电路及扩展方案,并提供相应的软件流程,该键盘扩展接口技术已得到成功应用。
PS / 2 interface in the PC and industrial control in a wide range of applications in other areas of the PS / 2, an extension of research have very practical value,PS/2 Keyboard Interface has a promising application. In order to expand its Interface,this paper has introduced PS/2 keyboard physical Interface and its communication protocol,especially illustrated its work timing and some commands in detail. In application, the circuit of expand interface and communication scheme between PS/2 interface and single chip computer are provided, Along with some procedure about software communication. This expand interface technology is used on apparatus of controlling system successful.
出处
《国外电子测量技术》
2008年第9期72-74,76,共4页
Foreign Electronic Measurement Technology
关键词
PS/2
键盘接口
通信协议
单片机
PS/2
keyboard interface
communication protocol
single chip computer