
Rev. 1.00
380 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
16 Single-Channel T
imer (SCTM)
Timer Mode Configuration Register – MDCFR
This register specifies the SCTM slave mode selection.
Offset:
0x004
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
Reserved
SMSEL
Type/Reset
RW 0 RW 0 RW 0
7
6
5
4
3
2
1
0
Reserved
Type/Reset
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.
100
Restart Mode The counter value restarts from 0 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.
Others
Reserved
—