281
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Figure 11-17 Capture/compare channel 1 main circuit
S
R
From time base unit
Read CCDAT1H
TIM1_EVTGEN.CC1GN
Read in
progress
Input
mode
S
R
Read CCDAT1L
Output
mode
CC1SEL[1]
CC1SEL[0]
UEV
Write in
progress
APB Bus
MCU Peripheral interface
Capture/
compare
preload register
Capture/
compare
shadow register
Counter
16 bit
transfer
High 8-bits
Low 8-bits
CC1SEL[1] CC1SEL[0]
IC1PSC
CC1EN
TIM1_CCMOD1.OC1PEN
Comparator
Write CCDAT1H
Write CCDAT1L
CNT>CCDAT1
CNT=CCDAT1