General-purpose timers (TIM2 and TIM3)
Figure 122
●
TIMx_ARR=8,
●
PWM mode is the PWM mode 1,
●
The flag is set when the counter counts down corresponding to the center-aligned
mode 1 selected for CMS=01 in TIMx_CR1 register.
Figure 122. Center-aligned PWM waveforms (ARR=8)
Counter register
CCRx = 4
CCRx = 7
CCRx = 8
CCRx > 8
CCRx = 0
314/742
shows some center-aligned PWM waveforms in an example where:
0
1
2
OCxREF
CMS=01
CCxIF
CMS=10
CMS=11
OCxREF
CMS=10 or 11
CCxIF
'1'
OCxREF
CMS=01
CCxIF
CMS=10
CMS=11
'1'
OCxREF
CMS=01
CCxIF
CMS=10
CMS=11
'0'
OCxREF
CMS=01
CCxIF
CMS=10
CMS=11
Doc ID 018940 Rev 1
3
4
5
6
7
8
7
6
5
4
3
2
RM0091
1
0
1
ai14681b
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers