GD32VF103 User Manual
275
Reset value: 0x0000
This register can be accessed by half-word (16-bit) or word (32-bit)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CH3VAL[15:0]
rw
Bits
Fields
Descriptions
15:0
CH3VAL[15:0]
Capture or compare value of channel 3
When channel3 is configured in input mode, this bit-filed indicates the counter value
corresponding to the last capture event. And this bit-filed is read-only.
When channel 3 is configured in output mode, this bit-filed contains value to be
compared to the counter. When the corresponding shadow register is enabled, the
shadow register updates every update event.
Complementary channel protection register (TIMERx_CCHP)
Address offset: 0x44
Reset value: 0x0000
This register can be accessed by half-word (16-bit) or word (32-bit)
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
15
POEN
Primary output enable
This bit s set by software or automatically by hardware depending on the OAEN bit.
It is cleared asynchronously by hardware 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, CHxNEN
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 whether the POEN bit can be set automatically by hardware.
0: POEN can be not set by hardware.
1: POEN can be set by hardware automatically at the next update event, if the break
input is not active.
This bit can be modified only when PROT [1:0] bit-filed in TIMERx_CCHP register
is 00.
13
BRKP
Break polarity