
Rev. 1.00
20 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
List of Figures
Figure 40. Up-counting Example .......................................................................................................... 225
Figure 41. Down-counting Example ...................................................................................................... 225
Figure 42. Center-aligned Counting Example ....................................................................................... 226
Figure 43. GPTM Clock Source Selection ............................................................................................ 227
Figure 44. Trigger Controller Block ....................................................................................................... 228
Figure 45. Slave Controller Diagram .................................................................................................... 229
Figure 46. GPTM in Restart Mode ........................................................................................................ 229
Figure 47. GPTM in Pause Mode ......................................................................................................... 230
Figure 48. GPTM in Trigger Mode ........................................................................................................ 230
Figure 49. Master GPTMn and Slave GPTMm/TMm Connection ........................................................ 231
Figure 50. MTO Selection ..................................................................................................................... 231
Figure 51. Capture/Compare Block Diagram ........................................................................................ 232
Figure 52. Input Capture Mode ............................................................................................................. 233
Figure 53. PWM Pulse Width Measurement Example .......................................................................... 234
Figure 54. Channel 0 and Channel 1 Input Stages ............................................................................... 234
Figure 55. Channel 2 and Channel 3 Input Stages ............................................................................... 235
Figure 56. TI0 Digital Filter Diagram with N = 2 .................................................................................... 235
Figure 57. Input Stage and Quadrature Decoder Block Diagram ......................................................... 236
Figure 58. Both TI0 and TI1 Quadrature Decoder Counting ................................................................. 237
Figure 59. Output Stage Block Diagram ............................................................................................... 237
Figure 60. Toggle Mode Channel Output Reference Signal (CHxPRE = 0) ......................................... 238
Figure 61. Toggle Mode Channel Output Reference Signal (CHxPRE = 1) ......................................... 239
Figure 62. PWM Mode Channel Output Reference Signal and Counter in Up-counting Mode ............ 239
Figure 63. PWM Mode Channel Output Reference Signal and Counter in Down-counting Mode ....... 240
Figure 64. PWM Mode Channel Output Reference Signal and Counter in Centre-aligned Mode ........ 240
Figure 65. Update Event Setting Diagram ............................................................................................ 241
Figure 66. Single Pulse Mode ............................................................................................................... 242
Figure 67. Immediate Active Mode Minimum Delay ............................................................................. 243
Figure 68. Asymmetric PWM Mode versus Center-Aligned Counting Mode ........................................ 244
Figure 69. Pausing PWM0 Using the GPTM CH0OREF Signal ........................................................... 245
Figure 70. Triggering PWM0 with GPTM Update Event ....................................................................... 245
Figure 71. Trigger GPTM and PWM0 with the GPTM CH0 Input ......................................................... 246
Figure 72. GPTM PDMA Mapping Diagram .......................................................................................... 247
Figure 73. MCTM Block Diagram ......................................................................................................... 285
Figure 74. Up-Counting Example ......................................................................................................... 287
Figure 75. Down-Counting Example ..................................................................................................... 288
Figure 76. Center-Aligned Counting Example ...................................................................................... 289
Figure 77. Update Event 1 Dependent Repetition Mechanism Example .............................................. 290
Figure 78. MCTM Clock Source Selection ............................................................................................ 291
Figure 79. Trigger Controller Block ....................................................................................................... 292
Figure 80. Slave Controller Diagram .................................................................................................... 293