GD32A50x User Manual
223
1110: Pin7
1111: Timer 2 trigger
23
TRIGPL
Trigger polarity
0: Trigger is activated at high
1: Trigger is activated at low
22
TRIGSRC
Trigger source
0: Select external trigger
1: Select internal trigger
21:18
Reserved
Must be kept at reset value
17:16
TMPCFG[1:0]
Timer pin configuration
Configures the direction of the timer pin.
00: Timer pin input
01: Timer pin open drain
10: Timer cascade pin input/output
11: Timer pin output
15:11
Reserved
Must be kept at reset value
10:8
TMPSEL[2:0]
Timer Pin Select
Select the pin to use for the timer input or output.
7
TMPPL
Timer Pin Polarity
Configures pins as an output
0: Pin active high
1: Pin active low
6:2
Reserved
Must be kept at reset value
1:0
TMMOD[1:0]
Timer Mode
00: Disable timer
01: Dual 8-bit counters baud mode.
10: Dual 8-bit counters PWM high mode.
11: Single 16-bit counter mode.
9.5.17.
Timer configuration x register (MFCOM_TMCFGx)
Address offset: 0x480 + 0x004 * x, (x = 0 to 3)
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
TMOUT[1:0]
Reserved
TMDEC[1:0]
Reserved
TMRST[2:0]
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0