针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
上传时间: 2013-10-10
上传用户:asdfasdfd
TKS仿真器B系列快速入门
上传时间: 2013-10-31
上传用户:aix008
Flex词法/语法分析器源码
上传时间: 2014-01-24
上传用户:ANRAN
生成C++的词法/语法分析的Flex语法分析器
上传时间: 2015-01-03
上传用户:kbnswdifs
GNU的词法/语法分析器生成源码
上传时间: 2015-01-03
上传用户:wxhwjf
生成C++词法/语法分析的GNU语法分析器
上传时间: 2015-01-03
上传用户:z754970244
Berkeley的YACC词法/语法分析器
上传时间: 2014-12-05
上传用户:luke5347
Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历
上传时间: 2013-12-23
上传用户:ANRAN
本工具提供一个词法分析器和语法分析器的集成开发环境,同时提供与其他C程序编译器连接的接口,使用相当方便
上传时间: 2013-12-20
上传用户:王小奇
伯克利的语法分析器的创建工具
上传时间: 2013-12-14
上传用户:q123321