登录
首页 » c » 嵌入式单片机 利用无符号类型巧妙设计定时函数

嵌入式单片机 利用无符号类型巧妙设计定时函数

于 2022-03-23 发布 文件大小:2.17 kB
0 87
下载积分: 2 下载次数: 1

代码说明:

开启一个1ms定时器中断(此定时器可与其他模块共享),使用无符号数据类型循环计时,巧妙的按需求设计定时模块

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

发表评论

0 个回复

  • uCOS-II-V2.9-source-code
    嵌入式系统ucos II 2.9版源代码(embed system os ucos II 2.9 source code)
    2012-04-14 18:04:12下载
    积分:1
  • 一个不大成熟的学籍管理系统,有界面,有注释,但还不大成熟,希望高手指点一下。...
    一个不大成熟的学籍管理系统,有界面,有注释,但还不大成熟,希望高手指点一下。-a little mature unsuccessful management system, interface, Notes, but not yet big mature, master guiding about hope.
    2022-12-12 00:05:04下载
    积分:1
  • 乾勤TC275开发板例程BaseFramework_TC27xB_GPIO
    乾勤TC275开发板例程,General Purpose I/O Ports(GPIO)模块例程(Qianqin TC275 DEMO,General Purpose I/O Ports(GPIO))
    2020-06-20 06:40:02下载
    积分:1
  • test_5110PGPRMC
    gps解析+nokia5110显示,GPRMC,GPGAA(gps resolve+nokia5110 display, GPRMC, GPGAA)
    2014-07-18 12:14:26下载
    积分:1
  • 算法主要用于雷达测距,含FFT和CZT算法 FMCW Radar
    说明:  算法主要用于雷达测距,含FFT 和 CZT算法,联合估计频率值(Radar signal processing)
    2020-08-26 21:48:14下载
    积分:1
  • VIENNA_model
    整流器稳定输出电压,使输入电流正弦化。单位功率因数(The rectifier stabilizes the output voltage and makes the input current sinusoidal. Unit power factor)
    2021-03-09 15:19:28下载
    积分:1
  • 实现了ZYNQ的PL端的扩展串口功能
    这个代码实现了ZYNQ的PL端的扩展串口功能,且可用于LINUX系统中,485/232都可使用,后续会继续更新(This code implements the extended serial port function of the PL end of ZYNQ, and can be used in LINUX system, 485/232 can be used, and will continue to be updated later.)
    2020-06-24 02:00:02下载
    积分:1
  • MNTH_TSP
    1. 本程序使用模拟退火算法解决TSP问题 a) 初始温度确定方法 选取任意状态为初始状态。以1为起始温度,不断升温,直到模拟所得接受概率大于90 ; b) 温度下降 温度下降系数为 0.95; c) 每一温度迭代 选取固定迭代次数 100 * n; d) 终止条件 温度下降次数到达 800,或某一温度下解不发生改变; 2. 本机运行及编译环境 win7 旗舰版 SP1 MINGW g++ 4.8.1 (Simulated Annealing Traveling Salesman Problem 1. This program uses the simulated annealing algorithm to solve TSP problem a) determining the initial temperature method Select any state to the initial state. 1 as the starting temperature, heats up, until the resulting analog acceptance probability greater than 90 b) the temperature drops Temperature drop coefficient of 0.95 c) Each iteration temperature Select a fixed number of iterations 100* n d) the termination condition The temperature drops to reach the number of 800, or at a temperature solution does not change 2. Run the machine and compiler environment win7 Ultimate SP1 MINGW g++ 4.8.1)
    2016-05-06 07:54:19下载
    积分:1
  • Qt下基于M/V模型的重写QAbstractTableModel类的测试
    Qt下基于M/V模型的重写QAbstractTableModel类的测试,针对中文乱码进行修改,欢迎下载
    2022-07-17 07:23:13下载
    积分:1
  • test
    雨雪天气模拟系统,可实现雨雪天气的切换和天气的模拟(Rain and snow weather simulation system can realize switching of rain and snow weather and weather simulation)
    2020-06-22 02:40:01下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载