GD32W51x User Manual
576
Complementary channel protection register (TIMERx_CCHP)
Address offset: 0x44
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
POEN
OAEN
BRKP
BRKEN
ROS
IOS
PROT[1:0]
DTCFG[7:0]
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value
15
POEN
Primary output enable
This bit s set by softw are or automatically by hardw are depending on the OAEN bit.
It is cleared asynchronously by hardw are as soon as the break input is active. When
one of channels is configured in output mode, setting this bit enables the channel
outputs (CHx_O and CHx_ON) if the corresponding enable bits (CHxEN, CHx NEN
in TIMERx_CHCTL2 register) have been set.
0: Channel outputs are disabled or forced to idle state.
1: Channel outputs are enabled.
14
OAEN
Output automatic enable
This bit specifies w hether the POEN bit can be set automatically by hardw are.
0: POEN can be not set by hardw are.
1: POEN can be set by hardw are automatically at the next update event, if the break
input is not active.
This bit can be modified only w hen PROT [1:0] bit-filed in TIMERx_CCHP register
is 00.
13
BRKP
Break polarity
This bit specifies the polarity of the BRKIN input signal.
0: BRKIN input active low
1; BRKIN input active high
12
BRKEN
Break enable
This bit can be set to enable the BRKIN and CCS clock failure event inputs.
0: Break inputs disabled
1; Break inputs enabled
This bit can be modified only w hen PROT [1:0] bit-filed in TIMERx_CCHP register
is 00.
11
ROS
Run mode off -state configure