登录
首页 » c » STM32定时器

STM32定时器

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

代码说明:

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

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

发表评论

0 个回复

  • socketClinet
    网络编程,实现TCP连接的客户端程序,不同的客户端发出请求与服务器建立连接。(Network programming, client TCP connection, different client makes a request to establish a connection with the server.)
    2014-05-20 20:35:29下载
    积分:1
  • Sensorless DC motor control, and it can be used to vehicle seat control without...
    Sensorless DC motor control, and it can be used to vehicle seat control without hall sensor.
    2022-03-20 23:31:27下载
    积分:1
  • matlab-WORD
    说明:  这是一份介绍MATLAB的WORD版教程,里面有具体的实例,对于初学者很有用,欢迎大家下载学习。(This is a description of the WORD version of MATLAB tutorial, there are specific examples useful for beginners, are welcome to download the study.)
    2011-04-14 23:27:07下载
    积分:1
  • gsi16
    徕卡1200数据传输很好用的格式文件,供大家参考使用 (Excellent Leica 1200 data transmission format used for your reference to use)
    2010-03-12 11:45:04下载
    积分:1
  • 超声波
    说明:  使用超声波模块测距,测距范围 10cm--1..2m(Using ultrasonic module to measure distance, ranging range is 10cm-1.2m.)
    2020-06-18 10:00:01下载
    积分:1
  • VC-code
    LBM 初学者的资料,模拟的各个部分都有很详细的分析(this is the materials for the freshman of LBM study,it is good tool)
    2015-04-14 15:00:46下载
    积分:1
  • routing
    详细介绍了可穿戴无线传感器网络,给初学者一个良好的认知(The wearable wireless sensor network is introduced in detail)
    2020-06-30 07:40:02下载
    积分:1
  • BookStore
    书店管理,在vc++6.0的开发环境,主要有添加,删除,修改,查询书籍等功能。(BookStore management)
    2012-04-14 22:19:36下载
    积分:1
  • bcb6cgisample
    bc++build 6.0 最简CGI程序演示(bc++build 6.0 cgi example)
    2020-06-18 07:00:02下载
    积分:1
  • wpf 销售统计报表图示例源码 UI设计不错
    wpf 销售统计报表图示例源码 UI设计不错
    2014-02-09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载