摘要
键盘与显示是单片机应用系统常备的输入输出设备。提出了一种在CPLD中进行键盘列扫描和VFD栅极扫描,并通过CPLD将键盘行输入数据读入CPU和将VFD阳极数据送到VFD的设计思想;在键盘扫描设计中,出于实际应用和提高效率,采用中断和对比键扫描值的方式以消除抖动。
The keyboard & display is common I/O parts of SCM application system. A method of carrying on keyboard's row scanning and VFD grid scanning in CPLD,and reading the keyboard's line data into CPU and writing the VFD's filament data to VFD is presented in this paper. In the design of keyboard scanning,to the concern of practical application and improving efficiency, we adopt the way of interrupt and comparing the scanning value to avoid vibrating.
出处
《机械工程与自动化》
2006年第1期99-101,104,共4页
Mechanical Engineering & Automation