
Rev. 1.00
311 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
16 Motor Control T
imer (MCTM)
Digital Filter (N=2)
No Filtered
J
Q
CK
K
Filtered
TI0
f
SYSTEM
D
Q
CK
D
Q
CK
D
Q
CK
f
sampling
Figure 111. TI0 Digital Filter Diagram with N = 2
Output Stage
The MCTM supports complementary outputs for channels 0, 1 and 2 with dead time insertion. The
MCTM channel 3 output function is almost the same as that of GPTM channel 3 except for the
break function.
The channel outputs, CHxO and CHxNO, are referenced to the CHxOREF signal. These channel
outputs generate a wide variety of wide waveforms according to the configuration values of
corresponding control bits, as shown by the dashed box in the diagram.
Output Mode
Controller
CNTR
CHxCCR
CHxOM
CHxOREF
DTG
CHDTG
0
CHxO_DT
CHxNO_DT
CHxNE
CHxE
CHxP
CHxNP
Output Enable
Controller
Output Enable
Controller
CHxE
CHxNE
CHMOE
CHMOE
CHOSSI
CHOSSR
CHOSSI
CHOSSR
CHxOIS
CHxOISN
CHxO
CHxNO
x = 0 ~ 2
Output Mode
Controller
CH3OM
CH3P
Output Enable
Controller
CH3E
CHMOE
CH3OIS
CH3O
CH3CCR
CNTR
x0
0x
01
11
11
10
CH3OCREF
f
CLKIN
f
DTS
CH3CMP Event
CHxCMP Event
f
CLKIN
x = 0 ~ 2
MT_BRK
CKFAIL
BKE
Break Event
(BEV)
f
sample
Filter
BKF
BKP
BRKG
BRKIF
BRKIE
Break Interrupt
(NVIC)
Delay
line
Figure 112. Output Stage Block Diagram