
Rev. 1.00
204 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
13 General-Purpose T
imer (GPTM)
13 General-Purpose T
imer (GPTM)
Up-counting
Down-counting
CRR = 5
CHxCCR = 3
CMSEL = 0x1
CHxCCIF
CHxCCR = 4
CHxCCIF
CHxCCR >= 5
CHxCCR = 0
CHxCCIF
CHxCCIF
100%
0%
0
1
2
3
4
5
4
3
2
1
0
1
Figure 55. PWM Mode Channel Output Reference Signal and Counter in Centre-aligned Mode