电子发烧友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. 1ATmega8芯片中文手册
  2. 2.45 MB   |  3次下载  |  1 积分
  3. 2VGA 转 HDMI 输出的音视频采集卡LCC385数据手册
  4. 0.34 MB   |  2次下载  |  免费
  5. 3全志A527系列规格书YNH-830-V1
  6. 2.39 MB  |  2次下载  |  免费
  7. 4带有集成场效应晶体管(FET) 的3.1V至5.5V输入,3A输出同步降压稳压器TPS51312数据表
  8. 1.28MB   |  2次下载  |  免费
  9. 5光伏太阳能电池板可编程最大功率点跟踪控制器SM72442数据表
  10. 373.53KB   |  2次下载  |  免费
  11. 6传感芯片选型指南
  12. 3.60 MB   |  2次下载  |  免费
  13. 7快速动态响应低噪声 3A LDO稳压器PCD3942 数据手册
  14. 0.85 MB   |  1次下载  |  免费
  15. 8照明-电源-POE-GEVB评估套件数据手册
  16. 4.40 MB  |  1次下载  |  免费

本月

  1. 1DC-DC电路(Buck)的设计与仿真
  2. 0.60 MB   |  23次下载  |  2 积分
  3. 2UHD智能显示SoC VS680产品简介
  4. 0.46 MB   |  11次下载  |  免费
  5. 3ES9038PRO解码芯片的电路原理图介绍
  6. 0.25 MB   |  11次下载  |  5 积分
  7. 4采用 Impedance Track™ 技术的宽量程电量监测计BQ34Z100-G1数据表
  8. 2.7MB   |  7次下载  |  免费
  9. 5东芝BiCD集成电路硅单片TB67S109AFNAG数据手册
  10. 1.93 MB   |  6次下载  |  免费
  11. 6电池管理系统(BMS)软硬件介绍
  12. 0.23 MB   |  6次下载  |  2 积分
  13. 716A 输出电流,高可靠、高效率 同步降压转换器PCD3201产品手册
  14. 0.47 MB   |  6次下载  |  免费
  15. 8TDK电容器产品指南
  16. 11.88 MB   |  6次下载  |  1 积分

总榜

  1. 1matlab软件下载入口
  2. 未知  |  935085次下载  |  免费
  3. 2开源硬件-PMP21529.1-4 开关降压/升压双向直流/直流转换器 PCB layout 设计
  4. 1.48MB  |  420049次下载  |  免费
  5. 3Altium DXP2002下载入口
  6. 未知  |  233067次下载  |  免费
  7. 4电路仿真软件multisim 10.0免费下载
  8. 340992  |  191315次下载  |  免费
  9. 5十天学会AVR单片机与C语言视频教程 下载
  10. 158M  |  183316次下载  |  免费
  11. 6labview8.5下载
  12. 未知  |  81567次下载  |  免费
  13. 7Keil工具MDK-Arm免费下载
  14. 0.02 MB  |  73786次下载  |  免费
  15. 8NI LabVIEW中实现3D视觉的工具和技术
  16. 未知  |  70088次下载  |  免费