摘要
设计了一种基于TCA9535芯片的Android系统外扩键盘模块。该模块采用矩阵式键盘设计,通过I2C总线与主控芯片相连,利用按键产生的中断对键盘进行扫描,并完成键值的上报。详细介绍了Android系统的键盘驱动开发流程和键值处理的一些经验,实测证明达到了实用化的要求。这种总线方式的键盘模块设计最大限度地利用了主控芯片资源,具有良好的可移植性和可扩展性,有一定的应用参考价值。
An extern keyboard module of Android system is designed using TCA9535. The module is designed using matrix keyboard and is connected with the main control chip through the I^C bus. The main control chip will use the interrupt generated by pressing any key to scan the keyboard and report the key value to system. The driver development of keyboard in Android system and the experience of dealing with key value are supplied. The results of experiment show that this design can modify the requirement of applications. The design of keyboard module based on bus mode maximizes the use of the main control chip's resources and it has good portability and scalability. It also has a certain reference value for other applications.
出处
《电子技术应用》
北大核心
2013年第9期15-17,20,共4页
Application of Electronic Technique
基金
国家发展改革委
工业和信息化部电子信息产业振兴和技术改造项目资助
发改投资([2010]2270)