在嵌入式系统中,键盘是重要的人机交互设备。对基于东南大学自主研发的SEP5010芯片和WinCE5.0操作系统的矩阵键盘驱动的研究与设计,正是为了解决基于此平台的手持导航设备的键盘驱动问题。根据平台上键盘布局的特殊性(非标准矩阵键盘),从驱动的工作原理、键盘中断处理程序的设计及键盘键值扫描算法的实现等方面,对WinCE5.0操作系统下的矩阵键盘驱动进行研究与设计,用户可根据需要决定各键的扫描码。目前该键盘驱动方案已经成功应用于该款手持导航设备。
The keyboard is an important interactive device in embedded system. All, the researches and designs described in this paper is to solve the problem of a handled navigation device's keyboard, based on the platform composed of SEP5010 microchip, which is independently researched and developed by the Southeast University,and WinCE5. 0 operating system. The following mainly describes the working principle of the driver, keyboard interrupt handling procedures and scanning algorithm to obtain the key values according to the special layout of the keyboard (non - standard matrix keyboard) on handled navigation device. Users may decide scan codes of the keys according to what they need. Presently, this keyboard driver has been applied to the handheld navigation device.