Advanced Timer TIM1&TIM8

First acquaintance with stm32 advanced timer:

      (1) Advanced control timers (TIM1 and TIM8) and general-purpose timers introduce external pins on the basis of basic timers, which can realize input capture and output comparison functions.

      (2) Compared with general-purpose timers, advanced control timers add programmable dead zone complementary output, repeat counter, and brake (circuit breaker) functions, all of which are aimed at industrial motor control.

      (3) The advanced control timer time base unit includes a 16-bit automatic reload register ARR, a 16-bit counter CNT, which can count up/down, a 16-bit programmable prescaler PSC, and a prescaler clock source There are many options, including internal clock, external clock. There is also an 8-bit repeating counter RCR, which allows up to 40-bit programmable timing.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325061587&siteId=291194637