没有合适的资源?快使用搜索试试~ 我知道了~
10. 按键控制实验.rar
共117个文件
h:34个
c:33个
d:12个
需积分: 14 2 下载量 9 浏览量
2019-08-03
18:16:00
上传
评论
收藏 1.69MB RAR 举报
温馨提示
STM32按键控制程序 按键是一种电子开关,使用时轻轻按开关按钮就可使开关接通,当松开 手时,开关断开。由于机械点的弹性作用,按键开关在闭合时不会马上稳定的接通,在 断开时也不会一下子断开,因而在闭合和断开的瞬间均伴随着一连串的 抖动。抖动时间的长短由按键的机械特性决定的,一般为 5ms 到 10ms 。按键稳定闭合时间的长短则由操作人员的按键动作决定的,一般为零 点几秒至数秒。按键抖动会引起按键被误读多次。为了确保 CPU 对按键 的一次闭合仅作一次处理,必须进行消抖。 按键消抖有两种方式,一种是硬件消抖,另一种是软件消抖。为了使 电路更加简单,通常采用软件消抖。我们开发板也是采用软件消抖,一 般来说一个简单的按键消抖就是先读取按键的状态,如果得到按键按下 之后,延时10ms,再次读取按键的状态,如果按键还是按下状态,那么 说明按键已经按下。其中延时10ms就是软件消抖处理,至于硬件消抖, 大家可以百度了解下,网上都有非常详细的介绍。
资源推荐
资源详情
资源评论
收起资源包目录
10. 按键控制实验.rar (117个子文件)
Template.uvguix.Administrator 71KB
Template.axf 243KB
keilkilll.bat 399B
stm32f10x_tim.c 107KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
stm32f10x_cec.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
stm32f10x_it.c 4KB
stm32f10x_crc.c 3KB
key.c 2KB
SysTick.c 1KB
led.c 763B
main.c 600B
beep.c 508B
smg.c 453B
system.c 29B
stm32f10x_rcc.crf 348KB
stm32f10x_gpio.crf 345KB
key.crf 343KB
main.crf 343KB
system_stm32f10x.crf 342KB
systick.crf 342KB
led.crf 342KB
misc.crf 341KB
system.crf 341KB
stm32f10x_it.crf 341KB
core_cm3.crf 4KB
stm32f10x_gpio.d 2KB
stm32f10x_rcc.d 2KB
system_stm32f10x.d 2KB
stm32f10x_it.d 2KB
systick.d 2KB
main.d 2KB
misc.d 2KB
system.d 2KB
key.d 2KB
led.d 2KB
core_cm3.d 110B
startup_stm32f10x_hd.d 70B
Template.uvguix.dell 90KB
Template_Target 1.dep 26KB
stm32f10x.h 619KB
core_cm3.h 84KB
stm32f10x_tim.h 51KB
stm32f10x_rcc.h 30KB
stm32f10x_i2c.h 29KB
stm32f10x_can.h 27KB
stm32f10x_fsmc.h 26KB
stm32f10x_flash.h 25KB
stm32f10x_sdio.h 21KB
stm32f10x_adc.h 21KB
stm32f10x_dma.h 20KB
stm32f10x_gpio.h 20KB
stm32f10x_spi.h 17KB
stm32f10x_usart.h 16KB
stm32f10x_dac.h 15KB
misc.h 9KB
stm32f10x_bkp.h 7KB
stm32f10x_exti.h 7KB
stm32f10x_cec.h 6KB
stm32f10x_pwr.h 4KB
stm32f10x_rtc.h 4KB
stm32f10x_iwdg.h 4KB
stm32f10x_dbgmcu.h 4KB
stm32f10x_conf.h 3KB
stm32f10x_wwdg.h 3KB
stm32f10x_crc.h 2KB
stm32f10x_it.h 2KB
system_stm32f10x.h 2KB
system.h 2KB
key.h 941B
led.h 382B
smg.h 328B
beep.h 260B
SysTick.h 160B
Template.hex 5KB
Template.htm 31KB
Template.build_log.htm 2KB
Template.lnp 536B
startup_stm32f10x_hd.lst 51KB
共 117 条
- 1
- 2
资源评论
pelican993
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功