文件名称:Keyboard
介绍说明--下载内容来自于网络,使用问题请自行百度
设计采用P3口作为扫描键盘接口,P1.0口作为输出,P1口低4位接4X4矩阵键盘的列,高4位接行。
CPU工作在查询方式下并开放中断,且将定时器T1设为最高优先级。当程序扫描到按键时调用延时防抖后再次扫描并判断键值,并转入相应的按键处理子程序,在子程序中向定时器装入初值并启动其工作,当定时器溢出时向CPU申请中断,CPU响应中断后转入中断子程序,输出预定频率的方波并送到音频放大模块进行放大输出。
-Design uses a scanning keyboard interface port P3, P1.0 port as output, P1 port access 4X4 low 4 matrix keyboard out, the high four connected lines. CPU operating mode and open the query interrupt, and set the timer T1 the highest priority. When the scan delay to the call button again after the scan and determine the anti-shake key, and transferred to the corresponding key processing subroutine, the subroutine is loaded to the timer and start the initial work, when the timer overflows apply to the CPU interrupt, CPU interrupt to the interrupt subroutine, after the output frequency to and intended to amplify the audio amplifier module output.
CPU工作在查询方式下并开放中断,且将定时器T1设为最高优先级。当程序扫描到按键时调用延时防抖后再次扫描并判断键值,并转入相应的按键处理子程序,在子程序中向定时器装入初值并启动其工作,当定时器溢出时向CPU申请中断,CPU响应中断后转入中断子程序,输出预定频率的方波并送到音频放大模块进行放大输出。
-Design uses a scanning keyboard interface port P3, P1.0 port as output, P1 port access 4X4 low 4 matrix keyboard out, the high four connected lines. CPU operating mode and open the query interrupt, and set the timer T1 the highest priority. When the scan delay to the call button again after the scan and determine the anti-shake key, and transferred to the corresponding key processing subroutine, the subroutine is loaded to the timer and start the initial work, when the timer overflows apply to the CPU interrupt, CPU interrupt to the interrupt subroutine, after the output frequency to and intended to amplify the audio amplifier module output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Keyboard/
Keyboard/000/
Keyboard/000/dzq
Keyboard/000/dzq.LST
Keyboard/000/dzq.M51
Keyboard/000/dzq.OBJ
Keyboard/000/dzq.c
Keyboard/000/dzq.hex
Keyboard/000/dzq.lnp
Keyboard/000/dzq.plg
Keyboard/000/dzq.uvopt
Keyboard/000/dzq.uvproj
Keyboard/000/dzq_uvopt.bak
Keyboard/000/dzq_uvproj.bak
Keyboard/000.txt
Keyboard/123.txt
Keyboard/123456.png
Keyboard/14.png
Keyboard/159.png
Keyboard/20110606-截图 1.png
Keyboard/2468.png
Keyboard/456876.png
Keyboard/53343.png
Keyboard/56465.png
Keyboard/753.png
Keyboard/Last Loaded dzq.DBK
Keyboard/dzq.DSN
Keyboard/dzq.PWI
Keyboard/未命名文件.png
Keyboard/000/
Keyboard/000/dzq
Keyboard/000/dzq.LST
Keyboard/000/dzq.M51
Keyboard/000/dzq.OBJ
Keyboard/000/dzq.c
Keyboard/000/dzq.hex
Keyboard/000/dzq.lnp
Keyboard/000/dzq.plg
Keyboard/000/dzq.uvopt
Keyboard/000/dzq.uvproj
Keyboard/000/dzq_uvopt.bak
Keyboard/000/dzq_uvproj.bak
Keyboard/000.txt
Keyboard/123.txt
Keyboard/123456.png
Keyboard/14.png
Keyboard/159.png
Keyboard/20110606-截图 1.png
Keyboard/2468.png
Keyboard/456876.png
Keyboard/53343.png
Keyboard/56465.png
Keyboard/753.png
Keyboard/Last Loaded dzq.DBK
Keyboard/dzq.DSN
Keyboard/dzq.PWI
Keyboard/未命名文件.png
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.