检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机工程与设计》2009年第19期4371-4373,共3页Computer Engineering and Design
摘 要:针对键盘扫描控制芯片CH452和实时嵌入式系统的特点,提出了一种实现CH452键盘驱动的方法。在键盘中断服务程序中启动定时器中断,通过定时器中断服务程序产生读取CH452按键代码所用到的同步串行通信的时钟信号,同时完成数据信号的接收与发送。在由S3C2410和Windows CE.NET构成的实时嵌入式系统中用该方法实现了CH452键盘驱动。按键测试的结果和由示波器抓拍到的波形都表明,该方法能够满足系统对按键响应实时性和可靠性的要求。In view of the characteristics of RTOS and CH452, a keyboard-scanning controller, a method to realize the keyboard driver of CH452 is put forward. The keystroke codes from CH452 are read through synchronous serial communication whose clock signals are produced and whose data signals are received or sent in the ISR of timer interruption which is set in the keyboard ISR. Using this method, the CH452 keyboard driver is realized in the RTOS made up ofS3C2410 and Windows CE. NET. Both the press-key test results and the waveforms captured by. oscilloscope show that the keystroke responses are real-time and reliable according to the system requirements.
关 键 词:WINDOWSCE.NET CH452 定时器中断 流接口驱动 键盘驱动
分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28