| Zakładka z wyszukiwarką danych komponentów |
|
STM32L031X4 Arkusz danych(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32L031X4 Arkusz danych(HTML) 29 Page - STMicroelectronics |
|
29 / 118 page ![]() DocID027063 Rev 4 29/118 STM32L031x4/6 Functional overview 33 3.14.1 General-purpose timers (TIM2, TIM21 and TIM22) There are three synchronizable general-purpose timers embedded in the STM32L031x4/6 devices (see Table 9 for differences). TIM2 TIM2 is based on 16-bit auto-reload up/down counter. It includes a 16-bit prescaler. It features four independent channels each for input capture/output compare, PWM or one- pulse mode output. The TIM2 general-purpose timers can work together or with the TIM21 and TIM22 general- purpose timers via the Timer Link feature for synchronization or event chaining. Their counter can be frozen in debug mode. Any of the general-purpose timers can be used to generate PWM outputs. TIM2 has independent DMA request generation. This timer is capable of handling quadrature (incremental) encoder signals and the digital outputs from 1 to 3 hall-effect sensors. TIM21 and TIM22 TIM21 and TIM22 are based on a 16-bit auto-reload up/down counter. They include a 16-bit prescaler. They have two independent channels for input capture/output compare, PWM or one-pulse mode output. They can work together and be synchronized with the TIM2, full- featured general-purpose timers. They can also be used as simple time bases and be clocked by the LSE clock source (32.768 kHz) to provide time bases independent from the main CPU clock. 3.14.2 Low-power Timer (LPTIM) The low-power timer has an independent clock and is running also in Stop mode if it is clocked by LSE, LSI or an external clock. It is able to wakeup the devices from Stop mode. This low-power timer supports the following features: 16-bit up counter with 16-bit autoreload register 16-bit compare register Configurable output: pulse, PWM Continuous / one shot mode Selectable software / hardware input trigger Selectable clock source – Internal clock source: LSE, LSI, HSI or APB clock – External clock source over LPTIM input (working even with no internal clock source running, used by the Pulse Counter Application) Programmable digital glitch filter Encoder mode 3.14.3 SysTick timer This timer is dedicated to the OS, but could also be used as a standard downcounter. It is based on a 24-bit downcounter with autoreload capability and a programmable clock source. It features a maskable system interrupt generation when the counter reaches ‘0’. |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |