GD32A50x User Manual
453
11
CH2NP
Channel 2 complementary capture/compare polarity
Refer to CH0NP description.
10
Reserved
Must be kept at reset value.
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 capture/compare polarity
Refer to CH0NP description.
6
Reserved
Must be kept at reset value.
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 complementary is configured in output mode, this bit must be kept
at reset value.
When CH0 is configured in input mode, in conjunction with CH0P, this bit is used to
define the polatity of CH0.
This bit cannot be modified when PROT[1:0] bit-field in TIMERx_CCHP register is
11 or 10.
2
Reserved
Must be kept at reset value.
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 channel 0 input
signal polarity.
[CH0NP, CH0P] will select the active trigger or capture polarity for CI0FE0 or
CI1FE0.
00: CIxFE0 rising edge is the active signal for capture or trigger operation in slave
mode. And CIxFE0 will not be inverted.
01: CIxFE0 falling edge is the active signal for capture or trigger operation in slave
mode. And CIxFE0 will be inverted.
10: Reserved.
11: Noninverted/both CIxFE0’s edges.
This bit cannot be modified when PROT[1:0] bit-field in TIMERx_CCHP register is