GD32A50x User Manual
395
0: Multi mode channel 0 output compare shadow disabled
1: Multi mode channel 0 output compare shadow enabled
The PWM mode can be used without verifying the shadow register only in single
pulse mode (when SPM=1).
This bit cannot be modified when PROT[1:0] bit-field in TIMERx_CCHP register is
11 and MCH0MS bit-field is 00.
2
Reserved
Must be kept at reset value.
1:0
MCH0MS[1:0]
Multi mode channel 0 I/O mode selection
This bit-field specifies the work mode of the channel and the input signal selection.
This bit-field is writable only when the channel is not active (MCH0EN bit in
TIMERx_CHCTL2 register is reset).
000: Multi mode channel 0 is programmed as output.
001: Multi mode channel 0 is programmed as input, MIS0 is connected to
MCI0FEM0.
010: Multi mode channel 0 is programmed as input, MIS0 is connected to
MCI1FEM0.
011: Multi mode channel 0 is programmed as input, MIS0 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 0 is programmed as input, MIS0 is connected to CI0FEM0.
101~111: Reserved.
Input capture mode:
Bits
Fields
Descriptions
31
MCH1MS[2]
Multi mode channel 1 I/O mode selection
Refer to MCH1MS[1:0]description.
30
MCH0MS[2]
Multi mode channel 0 I/O mode selection
Refer to MCH0MS[1:0] description.
29:16
Reserved
Must be kept at reset value.
15:12
MCH1CAPFLT[3:0]
Multi mode channel 1 input capture filter control.
Refer to MCH0CAPFLT description.
11:10
MCH1CAPPSC[1:0] Multi mode channel 1 input capture prescaler.
Refer to MCH0CAPPSC description.
9:8
MCH1MS[1:0]
Multi mode channel 1 I/O mode selection.
Same as output compare mode.
7:4
MCH0CAPFLT[3:0]
Multi mode channel 0 input capture filter control.
The MCI0 input signal can be filtered by digital filter and this bit-field configure the
filtering capability.
Basic principle of digital filter: continuously sample the MCI0 input signal according
to f
SAMP
and record the number of times of the same level of the signal. After