摘要
针对人机界面按键需求多、资源要求少,模块化,方便移植等问题,提出了将一款支持I2C总线数据格式、提供键盘中断信号的键盘扫描管理芯片ZLG7290应用于ARM Linux系统中。按键通过I2C总线主机通信的方式,克服了传统方法的不足,节约了硬件资源。研究结果表明,该方案便捷、灵活地解决了上述矛盾,稳定、可靠,具有实际应用推广价值。
Aiming at the man-machine interface for the key demand, resource requirements of small, modular, easy to transplant and other issues, a support for I^2C-bus data format was taken to provide keyboard interrupt management chip ZLG7290 keyboard scanning used in ARM Linux system. The communication with host computer was realized by I^2C bus, the lack of troditional method was overcomed, the hardware resource was saved. The research results indicate that the program convenient and flexible solves the above contradiction, it is stable, reliable, and it has practical application value.
出处
《机电工程》
CAS
2011年第10期1253-1256,共4页
Journal of Mechanical & Electrical Engineering