电子发烧友App

硬声App

0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示
电子发烧友网>电子资料下载>电源技术>使用定时器和计数器创建高效的基于MCU的设计

使用定时器和计数器创建高效的基于MCU的设计

2017-05-28 | rar | 0.32 MB | 次下载 | 免费

资料介绍

使用定时器和计数器创建高效的基于MCU的设计
 
  定时器和计数器可能是MCU设计中最普遍的外围设备。任何应用程序都可以使用定时器或计数器来提高性能,降低功耗,或者简化设计,用简单的定时器或计数器中断替换重复或循环的CPU操作。您可能没有使用一些最近的计时器/计数器单位,但是,一些先进的功能现在可以提高您的设计更。本文将快速回顾一些新的定时器/计数器功能,您可以使用,以改善您的设计与说明性的例子,从流行的MCU家庭,特别强调功能的自主操作和电机控制
 
  使用定时器和计数器创建高效的基于MCU的设计
 
  Timer and counter modes: from simple to advanced
 
  Timers and counters started out with some very simple modes of operation to replace common-program loops for counting external events, for timing internal and external operations and for collecting various statistics on key MCU operations. Some of the most familiar counting modes are illustrated by the features in the Maxim MAXQ612 MCU and some examples are shown in Figure 1 below. The table at the bottom of the figure shows three common autonomous operation modes for Timer B, the MAXQ612 timer/counter block: Auto-reload, capture, and pp/down counting. The figure in the upper right shows the block diagram for the auto-reload mode. The clock input for Timer B can come from a clock prescaler that can divide the system clock with eight different settings, or from an external pin. A control bit, TRB, enables or disables Timer B operation. The timer-value register (TVB) counts up when clocked and when it reaches the value stored in the Timer B reload register (TBR) and interrupt is generated and TVB is reset to zero. This provides a simple method for creating delays without using up valuable CPU cycles to create a delay. An external pin can be used to optionally reset TVB to zero as well, making this mode useful for creating a timeout if an expected input does not show up in the expected amount of time.
 
下载该资料的人也在下载 下载该资料的人还在阅读
更多 >

评论

查看更多

下载排行

本周

  1. 1NB-IoT芯片厂商的资料说明
  2. 0.31 MB   |  22次下载  |  1 积分
  3. 2智慧监狱建设的核心终端—智慧监仓屏
  4. 0.25 MB   |  2次下载  |  免费
  5. 3PC318C016M/D 200V半桥栅极驱动器技术手册
  6. 0.77 MB   |  2次下载  |  免费
  7. 4H110主板CPU PWM芯片ISL95858HRZ-T核心供电电路图资料
  8. 0.63 MB   |  2次下载  |  1 积分
  9. 55.0SMDJ200A单向TVS瞬态抑制二极管规格书
  10. 0.88 MB   |  1次下载  |  免费
  11. 6PC6521 单相BLDC风扇水泵驱动器技术手册
  12. 0.89 MB   |  1次下载  |  免费
  13. 7GA-H81M-DS2的CPU PWM芯片ISL95812HRZ-T电路图资料
  14. 0.96 MB   |  1次下载  |  1 积分
  15. 8技嘉H110主板IT8628E_BX IO电路图资料
  16. 2.61 MB   |  1次下载  |  1 积分

本月

  1. 1元宇宙深度解析—未来的未来-风口还是泡沫
  2. 6.40 MB  |  241次下载  |  免费
  3. 2元宇宙底层硬件系列报告
  4. 13.42 MB  |  184次下载  |  免费
  5. 32022 年展望報告 – 半導體產業
  6. 1.43 MB  |  136次下载  |  免费
  7. 4晶振与滤波器应用电路《电子工程师必备:元器件应用宝典》
  8. 1.57 MB  |  90次下载  |  免费
  9. 5汽车电子行业深度解析:智能化与电动化方兴未艾
  10. 6.47 MB  |  71次下载  |  免费
  11. 6中国DPU行业白皮书
  12. 23.80 MB  |  37次下载  |  免费
  13. 7晶科鑫代理线-微盟电子2021年度产品目录选型手册
  14. 14.75 MB  |  27次下载  |  免费
  15. 8NB-IoT芯片厂商的资料说明
  16. 0.31 MB   |  22次下载  |  1 积分

总榜

  1. 1matlab软件下载入口
  2. 未知  |  935137次下载  |  10 积分
  3. 2开源硬件-PMP21529.1-4 开关降压/升压双向直流/直流转换器 PCB layout 设计
  4. 1.48MB  |  420064次下载  |  10 积分
  5. 3Altium DXP2002下载入口
  6. 未知  |  233089次下载  |  10 积分
  7. 4电路仿真软件multisim 10.0免费下载
  8. 340992  |  191425次下载  |  10 积分
  9. 5十天学会AVR单片机与C语言视频教程 下载
  10. 158M  |  183353次下载  |  10 积分
  11. 6labview8.5下载
  12. 未知  |  81602次下载  |  10 积分
  13. 7Keil工具MDK-Arm免费下载
  14. 0.02 MB  |  73822次下载  |  10 积分
  15. 8LabVIEW 8.6下载
  16. 未知  |  65991次下载  |  10 积分