登录
首页 » c » STM32定时器

STM32定时器

于 2023-05-02 发布 文件大小:5.11 MB
0 66
下载积分: 2 下载次数: 1

代码说明:

有助于学习STM32,提高自学能力,提高编写能力和水平,例如:我们用到TIM5_CH1来捕获高电平脉宽,也就是要先设置输入捕获为上升沿检测,记录发生上升沿的时候TIM5_CNT的值。然后配置捕获信号为下降沿捕获,当下降沿到来时,发生捕获,并记录此时的TIM5_CNT值。这样,前后两次TIM5_CNT之差,就是高电平的脉宽,同时TIM5的计数频率我们是知道的,从而可以计算出高电平脉宽的准确时间。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • GetCRC32(VC)
    介绍Hash算法,VC源代码,着是一个精点的酸法。(Hash algorithm introduced, VC source code, with a fine point acid.)
    2008-01-18 15:38:58下载
    积分:1
  • property
    vc++属性对话框的一个小程序,希望对新手有所帮助(vc++ Properties dialog box, a small procedure, and they hope to help novice)
    2007-10-29 20:57:18下载
    积分:1
  • CFD3DTS
    CF人物透视+线条透视 CF非常稳定外挂辅助(CF CF person perspective+ lines of perspective is very stable external aid)
    2014-10-26 08:59:08下载
    积分:1
  • FrequencyFilt
    根据频率的不同,设置不同的滤波器,包括低通、高通、带通等(Depending on the frequency set different filters, including low pass, high pass, band pass, etc.)
    2013-12-30 07:23:00下载
    积分:1
  • FOC
    台达的东东哦。。绝对真实,不过是汇编的,喜欢的筒子可以看看(Delta stuff, oh. . Absolutely true, but a compilation of favorite cheese can look)
    2014-08-27 10:02:51下载
    积分:1
  • configfile
    用于NBIOT模组M5310-A和M5310生成配置文件,用于使用AT指令登录OneNET平台(Generate configuration files for NBIOT modules M5310-A and M5310 to log on to OneNET platform using AT instructions)
    2020-06-20 14:00:02下载
    积分:1
  • thinger.io
    IoT library for ESP8266
    2019-01-28 00:05:48下载
    积分:1
  • AnnotatedImageV2_src
    该程序为替代GDI的不足而写的绘图程序,可以结合GDI实现很好的绘图功能。(The program as an alternative of the lack of GDI drawing program written, you can realize a very good combination of GDI drawing functions.)
    2007-11-06 10:13:19下载
    积分:1
  • demo
    NiosII的C代码,包括网卡,lcd,usb,串口,按键.(NiosII C code, including network cards, lcd, usb, serial, key.)
    2013-07-19 11:17:29下载
    积分:1
  • ClipboardChangedControl
    说明:  剪贴板监控,监控应用程序的剪贴板操作,会对剪贴板内的变化做出响应(clipboard monitoring and control applications in the clipboard operations, the clipboard will respond to changes)
    2006-02-17 10:27:03下载
    积分:1
  • 696518资源总数
  • 105918会员总数
  • 20今日下载