
Rev. 1.00
270 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)
Bits
Field
Descriptions
[11:8]
SMSEL
Slave Mode Selection
SMSEL [2:0]
Mode
Descriptions
000
Disable mode The prescaler is clocked directly by the internal clock.
001
—
Reserved
010
—
Reserved
011
—
Reserved
100
Restart Mode
The counter value restarts from 0 or the CRR shadow
register value depending upon the counter mode on
the rising edge of the STI signal. The registers will
also be updated.
101
Pause Mode
The counter starts to count when the selected trigger
input STI is high. The counter stops counting on the
instant, not being reset, when the STI signal changes
its state to a low level. Both the counter start and stop
control are determined by the STI signal.
110
Trigger Mode
The counter starts to count from the original value in
the counter on the rising edge of the selected trigger
input STI. Only the counter start control is determined
by the STI signal.
111
STIED
The rising edge of the selected trigger signal STI will
clock the counter.
[0]
TSE
Timer Synchronization Enable
0: No action
1: Master timer (current timer) will generate a delay to synchronize its slave timer
through the MTO signal