| 数据搜索系统,热门电子元器件搜索 |
|
RM0312 数据表(PDF) 105 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 数据表(HTML) 105 Page - STMicroelectronics |
|
105 / 275 page ![]() DocID022352 Rev 3 105/275 RM0312 16-bit general purpose timer (TIM2/TIM3) 170 17 16-bit general purpose timer (TIM2/TIM3) 17.1 Introduction This chapter describes TIM2 and TIM3 which are identical timers and referred to as TIMx. Each general purpose timer (TIMx) has a 16-bit up-down auto-reload counter driven by a programmable prescaler. In this section, the index i, may be 1 or 2 referring to the two capture/compare channels. The timers may be used for a variety of purposes, including: • Time base generation • Measuring the pulse lengths of input signals (input capture) • Generating output waveforms (output compare, PWM and One Pulse Mode) • Interrupt capability on various events (capture, compare, overflow, break, trigger) • Synchronization with other timers or external signals (external clock, reset, trigger and enable) These timers are ideally suited for a wide range of control applications, including those requiring center-aligned PWM capability. The timer clock can be sourced from internal clocks or from an external source selectable through a configuration register. 17.2 TIMx main features TIMx features include: • 16-bit up, down, up/down counter auto-reload counter. • 3-bit programmable prescaler allowing the counter clock frequency to be divided “on the fly” by any power of 2 between 1 and 128. • Synchronization circuit to control the timer with external signals and to interconnect several timers. • 2 independent channels that can alternately be configured as: – Input capture – Output compare – PWM generation (edge and center-aligned mode) – One Pulse Mode output • Break input to put the timer output signals in reset state or in a known state. • Interrupt generation on the following events: – Update: counter overflow/underflow, counter initialization (by software or internal/external trigger) – Trigger event (counter start, stop, initialization or count by internal/external trigger) – Input capture – Output compare – Break input |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |