DocID025202 Rev 7
634/1080
RM0365
General-purpose timers (TIM15/TIM16/TIM17)
692
Figure 254. Output stage of capture/compare channel (channel 1)
Figure 255. Output stage of capture/compare channel (channel 2 for TIM15)
The capture/compare block is made of one preload register and one shadow register. Write
and read always access the preload register.
In capture mode, captures are actually done in the shadow register, which is copied into the
preload register.
In compare mode, the content of the preload register is copied into the shadow register
which is compared to the counter.
069
2XWSXW
PRGH
FRQWUROOHU
&17!&&5
&17 &&5
7,0B&&05
2&0>@
2&5()
2&&(
'HDGWLPH
JHQHUDWRU
2&B'7
2&1B'7
'7*>@
7,0B%'75
µ¶
µ¶
&&(
7,0B&&(5
&&1(
&&3
7,0B&&(5
&&13
7,0B&&(5
2&
2XWSXW
HQDEOH
FLUFXLW
2&1
&&( 7,0B&&(5
&&1(
266,
7,0B%'75
02(
2665
[
[
2XWSXW
VHOHFWRU
2&5()
2&5()&
7RWKHPDVWHUPRGH
FRQWUROOHU
2XWSXW
HQDEOH
FLUFXLW
069
2XWSXW
PRGH
FRQWUROOHU
&17!&&5
&17 &&5
7,0B&&05
2&0>@
&&3
7,0B&&(5
2XWSXW
HQDEOH
FLUFXLW
2&
&&( 7,0B&&(5
7RWKHPDVWHU
PRGHFRQWUROOHU
2&5()
2XWSXW
VHOHFWRU
2&5()
2&&(
&&(
7,0B&&(5
2&5()&
µ¶