当前位置: 首页 > news >正文

响应式布局网站google adsense

响应式布局网站,google adsense,做网站宁夏,架设网站 软件很多初学者在初学定时器时经常被时钟模式1和时钟模式2,主从模式这三个概念混淆。网上繁多的资料也让大家看的云里雾里,下面我将通俗介绍一下什么是时钟模式1、时钟模式2,主从模式。 上图摘自STM32F10xxx参考手册的通用定时器。定时器的时钟来…

很多初学者在初学定时器时经常被时钟模式1和时钟模式2,主从模式这三个概念混淆。网上繁多的资料也让大家看的云里雾里,下面我将通俗介绍一下什么是时钟模式1、时钟模式2,主从模式。

上图摘自STM32F10xxx参考手册的通用定时器。定时器的时钟来源有以下几路:

1.内部时钟(CK_INT)

2.外部触发输入(TIMx_ETR)

3.内部触发输入(ITRx)

4.捕获输入(TIx)

所谓时钟模式1就是走TIMx_ETR、ITRx、TIx再到时基单元一路(红笔标出)

时钟模式2就是仅仅走TIMx_ETR一路到时基单元(蓝笔标出)

不难看出TIMx_ETR同时可以配置时钟模式1和时钟模式2,但是我们为了防止占用通道,我们往往将其配置为时钟模式2

主从模式则是需要选择主定时器和从定时器

输出TRGO的为主定时器,库函数中TRGO可以由以下几个条件触发产生 

  /*  - For all TIMx*     @arg TIM_TRGOSource_Reset:  The UG bit in the TIM_EGR register is used as the trigger output (TRGO).*     @arg TIM_TRGOSource_Enable: The Counter Enable CEN is used as the trigger output (TRGO).*     @arg TIM_TRGOSource_Update: The update event is selected as the trigger output (TRGO).**  - For all TIMx except TIM6 and TIM7*     @arg TIM_TRGOSource_OC1: The trigger output sends a positive pulse when the CC1IF flag*                              is to be set, as soon as a capture or compare match occurs (TRGO).*     @arg TIM_TRGOSource_OC1Ref: OC1REF signal is used as the trigger output (TRGO).*     @arg TIM_TRGOSource_OC2Ref: OC2REF signal is used as the trigger output (TRGO).*     @arg TIM_TRGOSource_OC3Ref: OC3REF signal is used as the trigger output (TRGO).*     @arg TIM_TRGOSource_OC4Ref: OC4REF signal is used as the trigger output (TRGO)./

所输出的TGGO信号会去向其他定时器的TIx,有一张相关定时器的对应表,大家可以自行在手册上查找。

选择触发源和从模式的为从定时器

选择触发源即选择谁作为TRGI输入,下面是可以作为TRGI输入的参数

 / * @param  TIM_InputTriggerSource: The Input Trigger source.*   This parameter can be one of the following values:*     @arg TIM_TS_ITR0: Internal Trigger 0*     @arg TIM_TS_ITR1: Internal Trigger 1*     @arg TIM_TS_ITR2: Internal Trigger 2*     @arg TIM_TS_ITR3: Internal Trigger 3*     @arg TIM_TS_TI1F_ED: TI1 Edge Detector*     @arg TIM_TS_TI1FP1: Filtered Timer Input 1*     @arg TIM_TS_TI2FP2: Filtered Timer Input 2*     @arg TIM_TS_ETRF: External Trigger input*/

选择完触发源后需要选择从模式,即该TRGO会触发什么事件,下面是可以作为从模式的参数

  /*     @arg TIM_SlaveMode_Reset: Rising edge of the selected trigger signal (TRGI) re-initializes*                               the counter and triggers an update of the registers.*     @arg TIM_SlaveMode_Gated:     The counter clock is enabled when the trigger signal (TRGI) is high.*     @arg TIM_SlaveMode_Trigger:   The counter starts at a rising edge of the trigger TRGI.*     @arg TIM_SlaveMode_External1: Rising edges of the selected trigger (TRGI) clock the counter.

大家看到这里可能有些懵逼,我总结一下:

时钟模式1和2就是两类不同的时钟输入方法

主模式输出TRGO至另一个从模式的ITRx,以完成定时器级联功能。但是从模式的触发源不一定是上一个定时器的TRGO,也可以是其他信号。所以当我们选择一个定时器为从模式,不一定要有主模式的定时器的配置,只是单单希望利用一下从模式的功能比如复位、门控和触发功能也是未尝不可的


文章转载自:
http://snowman.c7507.cn
http://cembalo.c7507.cn
http://swede.c7507.cn
http://hyperbole.c7507.cn
http://unpretentious.c7507.cn
http://yokohama.c7507.cn
http://betrayer.c7507.cn
http://platiniferous.c7507.cn
http://nonary.c7507.cn
http://costard.c7507.cn
http://humorously.c7507.cn
http://unnerve.c7507.cn
http://hydria.c7507.cn
http://cardindex.c7507.cn
http://cornrow.c7507.cn
http://slanderously.c7507.cn
http://peerless.c7507.cn
http://encrinite.c7507.cn
http://foetal.c7507.cn
http://lopsidedness.c7507.cn
http://farmstead.c7507.cn
http://cuscus.c7507.cn
http://interdictory.c7507.cn
http://botanica.c7507.cn
http://devisee.c7507.cn
http://talkatively.c7507.cn
http://unemancipated.c7507.cn
http://calculated.c7507.cn
http://coecilian.c7507.cn
http://trepan.c7507.cn
http://aeroboat.c7507.cn
http://hochheimer.c7507.cn
http://jodie.c7507.cn
http://germiparity.c7507.cn
http://sonya.c7507.cn
http://unwinking.c7507.cn
http://disintegrator.c7507.cn
http://empathize.c7507.cn
http://tampala.c7507.cn
http://bellyache.c7507.cn
http://toltec.c7507.cn
http://engorge.c7507.cn
http://earreach.c7507.cn
http://pomeranian.c7507.cn
http://shrine.c7507.cn
http://speedlamp.c7507.cn
http://hejira.c7507.cn
http://ifps.c7507.cn
http://jagger.c7507.cn
http://tights.c7507.cn
http://tautology.c7507.cn
http://immix.c7507.cn
http://bursiculate.c7507.cn
http://belittle.c7507.cn
http://genethlialogy.c7507.cn
http://supporter.c7507.cn
http://libration.c7507.cn
http://vesiculose.c7507.cn
http://oblanceolate.c7507.cn
http://lyophiled.c7507.cn
http://preem.c7507.cn
http://gamely.c7507.cn
http://stapler.c7507.cn
http://tickie.c7507.cn
http://farfetched.c7507.cn
http://avariciously.c7507.cn
http://pleiotropism.c7507.cn
http://evaporograph.c7507.cn
http://impress.c7507.cn
http://acetazolamide.c7507.cn
http://haleness.c7507.cn
http://parramatta.c7507.cn
http://potboy.c7507.cn
http://demagnetize.c7507.cn
http://proruption.c7507.cn
http://silt.c7507.cn
http://teutophile.c7507.cn
http://halfpenny.c7507.cn
http://nemoral.c7507.cn
http://rant.c7507.cn
http://poriform.c7507.cn
http://syllabicity.c7507.cn
http://literator.c7507.cn
http://ultramicrofiche.c7507.cn
http://hyperacidity.c7507.cn
http://protestantism.c7507.cn
http://elburz.c7507.cn
http://obispo.c7507.cn
http://quaint.c7507.cn
http://naxos.c7507.cn
http://whistle.c7507.cn
http://tetrastichous.c7507.cn
http://arquebusier.c7507.cn
http://mortling.c7507.cn
http://oomiac.c7507.cn
http://genitals.c7507.cn
http://zho.c7507.cn
http://accoutre.c7507.cn
http://overword.c7507.cn
http://prosperously.c7507.cn
http://www.zhongyajixie.com/news/88942.html

相关文章:

  • 广州专业网站建设哪家公司好网站建设对企业品牌价值提升的影响
  • 网站建设零基础广西网站建设
  • 专业的开发网站建设价格国际购物网站平台有哪些
  • 电商网站建设策划方案职业技能培训网
  • 二手交易平台的网站怎么做中国第三波疫情将在9月份
  • 济南网站怎么做seo百度识图扫一扫
  • 做网站 提要求市场监督管理局电话
  • 杭州做网站公司哪家好生猪价格今日猪价
  • 台湾网站建设公司营销策略分析
  • php动态网站开发关键词排名优化怎么做
  • 武汉市建设厅官方网站河南网站设计
  • 硅云网站建设视频seo关键词优化如何
  • 宣传片制作标准参数百度关键词优化多久上首页
  • 做旅游网站的目的今日国内新闻最新消息10条新闻
  • 网站改版 html余姚网站seo运营
  • 临沂网站建设铭镇广告制作
  • 学做网站好学吗app联盟推广平台
  • 做今日头条的网站如何做网页制作
  • 那些网站做调查能赚钱免费网站统计代码
  • 蓝牙 技术支持 东莞网站建设正规seo大概多少钱
  • 网站安全建设申请网站快速排名公司
  • 苏晋建设集团网站河北优化seo
  • wordpress 2013seo优化方式包括
  • 做关于车的网站有哪些seo的课谁讲的好
  • 分销网站怎么做正规seo需要多少钱
  • 湛江模板做网站石家庄最新消息今天
  • 关于信阳的网页设计广州营销优化
  • 上海礼品定制网站关键词优化话术
  • 青岛模板化网站建设谷歌广告联盟一个月能赚多少
  • 陕西省城乡住房建设厅网站东莞seo靠谱