GD32A50x User Manual
397
MCH3CAPFLT[3:0]
MCH3CAPPSC[1:0]
MCH2CAPFLT[3:0]
MCH2CAPPSC[1:0]
rw
rw
rw
rw
rw
rw
Output compare mode:
Bits
Fields
Descriptions
31
MCH3MS[2]
Multi mode channel 1 I/O mode selection
Refer to MCH3MS[1:0]description.
30
MCH2MS[2]
Multi mode channel 0 I/O mode selection
Refer to MCH2MS[1:0] description.
29:16
Reserved
Must be kept at reset value.
15
MCH3COMCEN
Multi mode channel 3 output compare clear enable
Refer to MCH2COMCEN description
14:12
MCH3COMCTL[2:0] Multi mode channel 3 compare output control
Refer to MCH2COMCTL description
11
MCH3COMSEN
Multi mode channel 3 output compare shadow enable
Refer to MCH2COMSEN description
10
Reserved
Must be kept at reset value.
9:8
MCH3MS[1:0]
Multi mode channel 3 I/O mode selection
This bit-field specifies the direction of the channel and the input signal selection.
This bit-field is writable only when the channel is not active (MCH3EN bit in
TIMERx_CHCTL2 register is reset).
000: Multi mode channel 3 is programmed as output.
01: Multi mode channel 3 is programmed as input, MIS3 is connected to MCI3FEM3.
010: Multi mode channel 3 is programmed as input, MIS3 is connected to
MCI2FEM3.
011: Multi mode channel 3 is programmed as input, MIS3 is connected to ITS, this
mode is working only if an internal trigger input is selected (through TRGS bits in
TIMERx_SMCFG register).
100: Multi mode channel 3 is programmed as input, MIS3 is connected to CI3FEM3.
101~111: Reserved.
7
MCH2COMCEN
Multi mode channel 2 output compare clear enable.
When this bit is set, if the ETIFP signal is detected as high level, the MO2CPRE
signal will be cleared.
0: Multi mode channel 2 output compare clear disabled
1: Multi mode channel 2 output compare clear enabled
6:4
MCH2COMCTL[2:0] Multi mode channel 2 compare output control
When multi mode channel 2 is configured in output mode, and the MCH2MSEL[1:0]
= 2b’00, this bit-field controls the behavior of MO2CPRE which drives MCH2_O.
The active level of MO2CPRE is high, while the active level of MCH2_O depends
on MCH2FP[1:0] bits.