
Rev. 1.00
327 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
15 Motor Control T
imer (MCTM)
15 Motor Control T
imer (MCTM)
Bits
Field
Descriptions
[10: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 start of counter is controlled.
111
STIED
The rising edge of the selected trigger signal STI will
be the counter clock.
[0]
TSE
Timer Synchronisation Enable
0: No action
1: Master timer (current timer) will generate a delay to synchronise its slave timer
through the MTO signal.