
Rev. 1.00
17 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
List of Figures
List of Figures
Figure 40. Master GPTMn and Slave GPTMm / MCTMm Connection ................................................. 193
Figure 41. MTO Selection ..................................................................................................................... 193
Figure 42. Capture / Compare Block Diagram ...................................................................................... 194
Figure 43. Input Capture Mode ............................................................................................................. 195
Figure 44. PWM Pulse Width Measurement Example .......................................................................... 196
Figure 45. Channel 0 and Channel 1 Input Stages ............................................................................... 197
Figure 46. Channel 2 and Channel 3 Input Stages ............................................................................... 198
Figure 47. TI0 Digital Filter Diagram with N = 2 .................................................................................... 198
Figure 48. Input Stage and Quadrature Decoder Block Diagram ......................................................... 199
Figure 49. Both TI0 and TI1 Quadrature Decoder Counting ................................................................. 200
Figure 50. Output Stage Block Diagram ............................................................................................... 201
Figure 51. Toggle Mode Channel Output Reference Signal – CHxPRE = 0 ......................................... 202
Figure 52. Toggle Mode Channel Output Reference Signal – CHxPRE = 1 ......................................... 202
Figure 53. PWM Mode Channel Output Reference Signal and Counter in Up-counting Mode ............ 203
Figure 54. PWM Mode Channel Output Reference Signal and Counter in Down-counting Mode ....... 203
Figure 55. PWM Mode Channel Output Reference Signal and Counter in Centre-aligned Mode ........ 204
Figure 56. Update Event Setting Diagram ............................................................................................ 205
Figure 57. Single Pulse Mode ............................................................................................................... 206
Figure 58. Immediate Active Mode Minimum Delay ............................................................................. 207
Figure 59. Asymmetric PWM Mode versus Center-aligned Counting Mode ......................................... 208
Figure 60. Pausing MCTM using the GPTM CH0OREF Signal ............................................................ 209
Figure 61. Triggering MCTM with GPTM Update Event ....................................................................... 210
Figure 62. Trigger GPTM and MCTM with the GPTM CH0 Input ..........................................................211
Figure 63. PWM Block Diagram ........................................................................................................... 247
Figure 64. Up-counting Example .......................................................................................................... 248
Figure 65. Down-counting Example ...................................................................................................... 249
Figure 66. Center-aligned Counting Example ....................................................................................... 250
Figure 67. PWM Clock Selection Source .............................................................................................. 251
Figure 68. Trigger Control Block ........................................................................................................... 252
Figure 69. Slave Controller Diagram .................................................................................................... 253
Figure 70. PWM in Restart Mode ......................................................................................................... 253
Figure 71. PWM in Pause Mode ........................................................................................................... 254
Figure 72. PWM in Trigger Mode .......................................................................................................... 254
Figure 73. Master PWMn and Slave PWMm / TMm Connection .......................................................... 255
Figure 74. MTO Selection ..................................................................................................................... 255
Figure 75. Compare Block Diagram ..................................................................................................... 256
Figure 76. Output Stage Block Diagram ............................................................................................... 256
Figure 77. Toggle Mode Channel Output Reference Signal (CHxPRE = 0) ......................................... 257
Figure 78. Toggle Mode Channel Output Reference Signal (CHxPRE = 1) ......................................... 258
Figure 79. PWM Mode Channel Output Reference Signal and Counter in Up-counting Mode ............ 258
Figure 80. PWM Mode Channel Output Reference Signal and Counter in Down-counting Mode ....... 259