
CH32V003
Reference Manual
V1.3
130
[6:4]
OC3M
RW Compare the capture channel 3 mode setting field.
0
3
OC3PE
RW Compare Capture Register 3 preload enable bit.
0
2
OC3FE
RW Compare capture channel 3 fast enable bit.
0
[1:0]
CC3S
RW Compare capture channel 3 input selection fields.
0
Capture mode (pin direction is input).
Bit
Name
Access
Description
Reset
value
[15:12] IC4F
RW Input capture filter 4 configuration field.
0
[11:10] IC4PSC
RW
Compare the capture channel 4 prescaler configuration
field.
0
[9:8]
CC4S
RW Compare capture channel 4 input selection fields.
0
[7:4]
IC3F
RW Input capture filter 3 configuration field.
0
[3:2]
IC3PSC
RW
Compare the capture channel 3 prescaler configuration
field.
0
[1:0]
CC3S
RW Compare capture channel 3 input selection fields.
0
11.4.9 Compare/Capture Enable Register (TIM2_CCER)
Offset address: 0x20
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved CC4P CC4E Reserved CC3P CC3E Reserved CC2P CC2E Reserved CC1P CC1E
Bit
Name
Access
Description
Reset
value
[15:14] Reserved
RO Reserved
0
13
CC4P
RW
Compare the capture channel 4 output polarity setting
bit.
0
12
CC4E
RW Compare capture channel 4 output enable bit.
0
[11:10] Reserved
RO Reserved
0
9
CC3P
RW
Compare the capture channel 3 output polarity setting
bit.
0
8
CC3E
RW Compare capture channel 3 output enable bit.
0
[7:6]
Reserved
RO Reserved
0
5
CC2P
RW
Compare the capture channel 2 output polarity setting
bit.
0
4
CC2E
RW Compare capture channel 2 output enable bit.
0
[3:2]
Reserved
RO Reserved
0
1
CC1P
RW
Compare the capture channel 1 output polarity setting
bit.
0
0
CC1E
RW Compare capture channel 1 output enable bit.
0
11.4.10 Counter for general-purpose timer (TIM2_CNT)
Offset address: 0x24
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CNT[15:0]
Bit
Name
Access
Description
Reset
value
[15:0] CNT
RW The real-time value of the timer's counter.
0