Rev. 1.00 8 of 477 April 27, 2023
32-Bit Arm® Cortex®-M0+ Li-Battery Protection MCU
HT32F61641
Table of Contents
Channel 1 Capture/Compare Register – CH1CCR ...................................................................... 235
Channel 2 Capture/Compare Register – CH2CCR ...................................................................... 236
Channel 3 Capture/Compare Register – CH3CCR ...................................................................... 237
Channel 0 Asymmetric Compare Register – CH0ACR ................................................................. 238
Channel 1 Asymmetric Compare Register – CH1ACR ................................................................. 238
Channel 2 Asymmetric Compare Register – CH2ACR ................................................................. 239
Channel 3 Asymmetric Compare Register – CH3ACR ................................................................. 239
14 Pulse-Width-Modulation Timer (PWM) ............................................................ 240
Introduction ........................................................................................................................ 240
Features ............................................................................................................................. 241
Functional Descriptions ..................................................................................................... 241
Counter Mode ............................................................................................................................... 241
Clock Controller ............................................................................................................................ 244
Trigger Controller .......................................................................................................................... 245
Slave Controller ............................................................................................................................ 246
Restart Mode ................................................................................................................................ 246
Pause Mode .................................................................................................................................. 247
Trigger Mode................................................................................................................................. 247
Master Controller .......................................................................................................................... 248
Channel Controller ........................................................................................................................ 249
Output Stage ................................................................................................................................. 249
Update Management .................................................................................................................... 253
Single Pulse Mode ........................................................................................................................ 254
Asymmetric PWM Mode ............................................................................................................... 256
Timer Interconnection ................................................................................................................... 256
Trigger Peripherals Start ............................................................................................................... 258
Register Map ..................................................................................................................... 259
Register Descriptions ......................................................................................................... 260
Timer Counter Conguration Register – CNTCFR ....................................................................... 260
Timer Mode Conguration Register – MDCFR ............................................................................. 261
Timer Trigger Conguration Register – TRCFR ............................................................................ 263
Timer Control Register – CTR ...................................................................................................... 264
Channel 0 Output Conguration Register – CH0OCFR ............................................................... 265
Channel 1 Output Conguration Register – CH1OCFR ............................................................... 267
Channel 2 Output Conguration Register – CH2OCFR ............................................................... 269
Channel 3 Output Conguration Register – CH3OCFR ............................................................... 271
Channel Control Register – CHCTR ............................................................................................. 273
Channel Polarity Conguration Register – CHPOLR .................................................................... 274
Timer PDMA/Interrupt Control Register – DICTR ......................................................................... 275
Timer Event Generator Register – EVGR ..................................................................................... 276
Timer Interrupt Status Register – INTSR ...................................................................................... 277
Timer Counter Register – CNTR................................................................................................... 278
Timer Prescaler Register – PSCR ................................................................................................ 279
Timer Counter-Reload Register – CRR ........................................................................................ 280