Repetition Counter; Figure 89. Counter Timing Diagram, Update Event With Arpe=1 (Counter Underflow); Figure 90. Counter Timing Diagram, Update Event With Arpe=1 (Counter Overflow) - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

Advanced-control timers (TIM1&TIM8)

Figure 89. Counter timing diagram, update event with ARPE=1 (counter underflow)

Figure 90. Counter timing diagram, Update event with ARPE=1 (counter overflow)

14.3.3

Repetition counter

Section 14.3.1: Time-base unit
respect to the counter overflows/underflows. It is actually generated only when the repetition
counter has reached zero. This can be useful when generating PWM signals.
This means that data are transferred from the preload registers to the shadow registers
(TIMx_ARR auto-reload register, TIMx_PSC prescaler register, but also TIMx_CCRx
capture/compare registers in compare mode) every N+1 counter overflows or underflows,
where N is the value in the TIMx_RCR repetition counter register.
365/1422
CK_PSC
CEN
Timer clock = CK_CNT
Counter register
Counter underflow
Update event (UEV)
Update interrupt flag (UIF)
Auto-reload preload register
Write a new value in TIMx_ARR
Auto-reload active register
CK_PSC
CEN
Timer clock = CK_CNT
Counter register
Counter overflow
Update event (UEV)
Update interrupt flag (UIF)
Auto-reload preload register
Write a new value in TIMx_ARR
Auto-reload active register
describes how the update event (UEV) is generated with
Doc ID 018909 Rev 4
06
05 04 03 02 01
00
01 02 03 04 05 06 07
FD
FD
F7
F8 F9 FA FB FC
36
35 34 33 32 31 30 2F
FD
FD
RM0090
36
36
36
36

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F40 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF