Stm32-difference between advanced timer, general timer, and basic Timer

Source: Internet
Author: User

Stm32

-- Advanced timer, general timer,Differences between basic timers

 

The tim1 and tim8 timer functions include [enhanced ]:

● Automatically load counters up, down, and up/down with 16 bits
● 16-bit programmable (can be modified in real time) pre-divider. The frequency division coefficient of the counter clock frequency is 1 ~ Any value between 65535
● Up to four independent channels:-input capture-output comparison-PWM generation (edge or intermediate alignment mode)-single pulse mode output
● Programmable complementary output of Dead Zone Time
● Use an external signal to control the Synchronization Circuit of timer and timer Interconnection
● Allows repeated counters of the timer register to be updated after a specified number of counter cycles
● The brake input signal can be used to set the timer output signal to the reset or known status.
● Interrupt/DMA:-Update: counters overflow up/down, counters initialization (triggered by software or internal/external) -trigger event (counter start, stop, initialization, or internal/external trigger count)-input capture-output comparison-Brake signal input

● Support incremental (orthogonal) encoders and Hall sensor circuits for positioning
● Trigger input as an external clock or periodic current management

Common timx (tim2, tim3, tim4, and tim5) timer functions include ]:

● Automatically load counters up, down, and up/down with 16 bits
● 16-bit programmable (can be modified in real time) pre-divider. The frequency division coefficient of the counter clock frequency is 1 ~ Any value between 65536
● Four independent channels: Input capture-output comparison-PWM generation (edge or intermediate alignment mode)-single pulse mode output
● Use an external signal to control the Synchronization Circuit of the timer and timer Interconnection
● Interrupt/DMA:-Update: counters overflow up/down, counters initialization (triggered by software or internal/external) -trigger event (counter start, stop, initialization, or internal/external trigger count)-input capture-output comparison
● Support incremental (orthogonal) encoders and Hall sensor circuits for positioning
● Trigger input as an external clock or periodic current management

Tim6 and tim7 timers have the following functions ]: 

● 16-bit automatic reloadAccumulate counter
● 16-bit programmable (Real-Time modifiable) pre-divider, which is used to calculate the input clock by a factor of 1 ~ Any value between 65536
● Trigger the DAC Synchronization CircuitNote: This is a unique function of tim6/7.
● Interrupt/DMA requests are generated during update events (Counter Overflow ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.