期刊文献+

基于CPLD的矩阵键盘扫描模块设计 被引量:10

Design of matrix keyboard scanning module based on CPLD
在线阅读 下载PDF
导出
摘要 为了在不增加CPU工作负担的前提下,实现标准键盘和矩阵键盘双键盘同时工作,提出了一种基于复杂可编逻辑器件(CPLD)的矩阵键盘扫描方案,实现了在矩阵键盘状态控制下CPLD自动完成键盘扫描、编码、输出的功能,CPU通过定时器中断服务程序定时查询矩阵键盘状态,并将按键值直接送入键盘缓冲区,供其他程序使用。给出了CPLD部分模块的VHDL语言实现和仿真波形。在矩阵键盘的扫描、编码、输出完全不需CPU控制的前提下,实现标准键盘和矩阵键盘双键盘同时使用。 In order to have the advantages of using standard keyboard and the matrix keyboard simultaneously and reducing the CPU workloads, a new keyboard scanning method based on CPLD is proposed, under the control of the keyboard states, the function of the matrix keyboard automatically scan code and output based on CPLD are implemented, CPU checks the matrix keyboard status through the timer interrupt service routine and sends the key value into the keyboard buffer directly for other program using. All of modules in the design are programmed and simulated by VHDL language. This design has the advantages of using standard keyboard and the matrix keyboard simultaneously and reducing the CPU workloads on the premise of keyboard scanning, coding and output without CPU control.
作者 郑采君
出处 《电子设计工程》 2010年第10期169-175,共7页 Electronic Design Engineering
关键词 键盘扫描 VHDL CPLD 功能仿真 keyboard scanning VHDL CPLD function simulation
  • 相关文献

参考文献5

二级参考文献9

共引文献61

同被引文献58

引证文献10

二级引证文献31

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部