This is an old revision of the document!


Timer 2..5

The STM32F429ZI offers several general purpouse timers. Timer 2 and 5 are 32 bit timers, while timer 3 and 4 are 16 bit timers. They may be used for measuring time (basic timer), measuring input pulse length (input capturing) or generating waveforms (output compare / PWM). The timers are fully independent and can be synchronized together.




  • 16-bit / 32-bit up, down, up/down auto-reload counter.
  • Prescaler (16 bit) to adjust counting clock, even during runtime.
  • 4 independent channels for:
    • Input capture
    • Output compare
    • PWM generation (edge- and center-aligned)
    • One-pulse output
  • Synchronization / control through external signals.
  • Interrupt / DMA generation.




Configuration Registers
CR1Control Register 1
PSCPrescaler register
ARRAuto reload register
DIERDMA / Interrupt enable register
Data Registers
CNTCounting register

Upcounting

Downcounting

Up/Down counting







CR1




CR2




PSC




ARR




DIER




CCMR1/2







SMCR




CCER




EGR




SR




CNT




CCRx







  • stm32/peripherals/timer_2..5.1453790093.txt.gz
  • Last modified: 2016/01/26 06:34
  • by feur