
Rev. 1.00
258 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
14 Pulse W
idth Modulator (PWM)
14 Pulse W
idth Modulator (PWM)
Counter Value
CRR
CHxOM=0x3, CHxPRE=1
CHxCR
CHxCR
(New value 1)
CHxCR
(New value 2)
Time
(Output toggle, preload enable)
CHxCR
(New value 3)
Update CHxCR
value
(1)
(2)
(3)
TME
CHxOREF
UEV
(Update Event)
Figure 78. Toggle Mode Channel Output Reference Signal (CHxPRE = 1)
Counter Value
CRR
CHxCR
CHxOREF
CHxOM = 0x6
CHxCIF
CHxOREF
Counter Value
100%
0%
CHxOM = 0x7
CHxCR
CRR
CHxOREF
CHxCIF
CHxCIF
CHxOREF
CHxCR = 0x0000
CRR
Counter Value
Figure 79. PWM Mode Channel Output Reference Signal and Counter in Up-counting Mode