![GigaDevice Semiconductor GD32E23 Series Скачать руководство пользователя страница 378](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794378.webp)
GD32E23x User Manual
378
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 is configured in output mode, this bit specifies the complementary
output signal polarity.
0: Channel 0 complementary output high level is active level
1: Channel 0 complementary output low level is active level
When channel 0 is configured in input mode, together with CH0P, this bit is used to
define the polarity of CI0.
This bit cannot be modified when PROT [1:0] bit-filed in TIMERx_CCHP register is
11 or 10.
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 high level is active level
1: Channel 0 low level is active level
When channel 0 is configured in input mode, this bit specifies the CI0 signal
polarity.
[CH0NP, CH0P] will select the active trigger or capture polarity for CI0FE0 or
CI1FE0.
[CH0NP==0, CH0P==0]: CIxFE0’s rising edge is the active signal for capture or
trigger operation in slave mode. And CIxFE0 will not be inverted.
[CH0NP==0, CH0P==1]: CIxFE0’s falling edge is the active signal for capture or
trigger operation in slave mode. And CIxFE0 will be inverted.
[CH0NP==1, CH0P==0]: Reserved.
[CH0NP==1, CH0P==1]: CIxFE0’s falling and rising edge are both the active signal
for capture or trigger operation in slave mode. And CIxFE0 will be not 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
When channel 0 is configured in output mode, setting this bit enables CH0_O signal
in active state. When channel 0 is configured in input mode, setting this bit enables
the capture event in channel0.