
Rev. 1.00
336 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
16 Motor Control T
imer (MCTM)
16 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 star 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.