GD32VF103 User Manual
271
10
CH2NEN
Channel 2 complementary output enable
Refer to CH0NEN description
9
CH2P
Channel 2 capture/compare function polarity
Refer to CH0P description
8
CH2EN
Channel 2 capture/compare function enable
Refer to CH0EN description
7
CH1NP
Channel 1 complementary output polarity
Refer to CH0NP description
6
CH1NEN
Channel 1 complementary output enable
Refer to CH0NEN description
5
CH1P
Channel 1 capture/compare function polarity
Refer to CH0P description
4
CH1EN
Channel 1 capture/compare function enable
Refer to CH0EN description
3
CH0NP
Channel 0 complementary output polarity
When channel 0 is configured in output mode, this bit specifies the complementary
output signal polarity.
0: Channel 0 active high
1: Channel 0 active low
This bit cannot be modified when PROT [1:0] bit-filed in TIMERx_CCHP register is
11 or 10 and CH0MS [1:0] bit-filed in TIMERx_CHCTL0 register is 00.
2
CH0NEN
Channel 0 complementary output enable
When channel 0 is configured in output mode, setting this bit enables the
complementary output in channel0.
0: Channel 0 complementary output disabled
1: Channel 0 complementary output enabled
1
CH0P
Channel 0 capture/compare function polarity
When channel 0 is configured in output mode, this bit specifies the output signal
polarity.
0: Channel 0 active high
1: Channel 0 active low
When channel 0 is configured in input mode, this bit specifies the CI0 signal polarity.
0: CI0 is non-inverted. Input capture is done on a rising edge of CI0. When used as
extern trigger, CI0 is non-inverted.
1: CI0 is inverted. Input capture is done on a falling edge of CI0. When used as
extern trigger, CI0 is inverted.
This bit cannot be modified when PROT [1:0] bit-filed in TIMERx_CCHP register is
11 or 10.
0
CH0EN
Channel 0 capture/compare function enable