Figure 214. Capture/Compare Channel 1 Main Circuit; Figure 215. Output Stage Of Capture/Compare Channel (Channel 1) - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0453
Input mode
CC1S[1]
CC1S[0]
IC1PS
CC1E
CC1G
TIMx_EGR
TIMx_SMCR
OCREF_CLR
ETRF
ocref_clr_int
CNT > CCR1
CNT = CCR1
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.

Figure 214. Capture/Compare channel 1 main circuit

APB Bus
MCU-peripheral interface
Capture/compare preload register
Capture
compare shadow register

Figure 215. Output stage of Capture/Compare channel (channel 1)

OCCS
0
1
OC1REF
Output
mode
controller
OC2REF
OC1CE
OC1M[3:0]
TIMx_CCMR1
16/32-bit
Compare
transfer
Comparator
Counter
To the master
mode controller
OC1REFC
'0'
0
Output
1
selector
CC1E
TIMx_CCER
RM0453 Rev 5
General-purpose timer (TIM2)
Output mode
CC1S[1]
CC1S[0]
OC1PE
UEV
(from time
base unit)
CNT>CCR1
CNT=CCR1
0
Output
enable
1
circuit
CC1P
CC1E TIMx_CCER
TIMx_CCER
OC1PE
TIMx_CCMR1
MSv63030V1
OC1
MS33145V5
841/1450
892

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents