首页 | 本学科首页   官方微博 | 高级检索  
     

基于嵌入式Linux系统的键盘驱动设计
引用本文:徐德龙,余瑾. 基于嵌入式Linux系统的键盘驱动设计[J]. 单片机与嵌入式系统应用, 2013, 13(2): 21-23
作者姓名:徐德龙  余瑾
作者单位:北京邮电大学,北京,100876
摘    要:摘要:为了适应嵌入式设备外设的多样性,本文以特殊矩阵键盘为例,设计了一套完整的驱动控制模块。硬件电路设计采用外扩3片SN74HCl64芯片的方式,节省了GPIO引脚的使用,大大提高了利用效率。同时,在此基础上引出了Linux内核中input子系统的特性和工作机制,呈现了较为完整的输入事件由内核空间传递到用户空间进程的过程。实验结果表明,设计的驱动模块具有良好的实时性和准确性。

关 键 词:SN74HC164  矩阵键盘  驱动控制模块  Linux内核  input子系统

Keyboard Driver Design Based on Embedded Linux
Xu Delong , Yu Jin. Keyboard Driver Design Based on Embedded Linux[J]. Microcontrollers & Embedded Systems, 2013, 13(2): 21-23
Authors:Xu Delong    Yu Jin
Affiliation:(Beijing University of Posts and Telecommunications, Beijin 100876, China)
Abstract:In order to adapt the diversity of embedded device peripheral, this paper takes special matrix keyboard as an example, and a complete set of drive control module is designed. Hardware circuit design takes 3 expanding SN74HC164 chips to save the GPIO pins, and it greatly improves the utilization efficiency. Meanwhile, on the basis it leads to the characteristics and working mechanism of input subsystem in Linux kernel, presenting a complete process of input events from kernel space to user space. The experimental results show that, the driving module has good performance in real-time and accuracy.
Keywords:SN74 HC164  matrix keyboard  driver control module  Linux kernel  input subsystem
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号