文件名称:cc
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 卢**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
按键中断处理函数
由于本系统包含的按键不多,使用频率不高,系统采用中断扫描工作方式,
当有键按下的时候会先进入相应的中断,然后再执行扫描判断是哪个按键被按
武汉理工大学硕士学位论文
下,即只有当有键按下时才执行扫描任务,这样可以提高CPU的效率,避免空
扫描-Key interrupt handler
Since the system contains few buttons, using the frequency is not high, the system uses interrupt scanning mode,
When a key is pressed when the corresponding interrupt will be the first to enter, and then perform a scan to determine which button is pressed
Master s degree thesis, Wuhan University of Technology
, Ie only when a key is pressed when the scanning process, so you can improve CPU efficiency, to avoid air
Scanning
由于本系统包含的按键不多,使用频率不高,系统采用中断扫描工作方式,
当有键按下的时候会先进入相应的中断,然后再执行扫描判断是哪个按键被按
武汉理工大学硕士学位论文
下,即只有当有键按下时才执行扫描任务,这样可以提高CPU的效率,避免空
扫描-Key interrupt handler
Since the system contains few buttons, using the frequency is not high, the system uses interrupt scanning mode,
When a key is pressed when the corresponding interrupt will be the first to enter, and then perform a scan to determine which button is pressed
Master s degree thesis, Wuhan University of Technology
, Ie only when a key is pressed when the scanning process, so you can improve CPU efficiency, to avoid air
Scanning
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cc.txt