32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52342/HT32F52352
Capture Counter Value Transferred to CHxCCR
When the channel is used as a capture input, the counter value is captured into the Channel
Capture/Compare Register (CHxCCR) when an effective input signal transition occurs. Once the
capture event occurs, the CHxCCIF flag in the INTSR register is set accordingly. If the CHxCCIF
bit is already set, i.e., the flag has not yet been cleared by software, and another capture event on
this channel occurs, the corresponding channel Over-Capture flag, named CHxOCF, will be set.
f
CLKIN
GT_CH0
(TI0)
25
26
CNTR
CHxCCR
0
CHxCCIF
CHxOCF
Figure 48. Input Capture Mode
Rev. 1.30
27
28
29
30
26
242 of 656
31
32
33
34
32
September 28, 2018
35
Need help?
Do you have a question about the HT32F52342 and is the answer not in the manual?