
CH32V003
Reference Manual
V1.3
23
3.4.8 APB1 Peripheral clock enable register (RCC_APB1PCENR)
Offset address: 0x1C
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
PWR
EN
Reserved
I2C1
EN
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
WW
DG
EN
Reserved
TIM2
EN
Bit
Name
Access
Description
Reset
value
[31:29] Reserved
RO Reserved
0
28
PWREN
RW
Power interface module clock enable bit.
1: Module clock is on; 0: Module clock is off.
0
[27:22] Reserved
RO Reserved
0
21
I2C1EN
RW
I2C 1 interface clock enable bit.
1: Module clock is on; 0: Module clock is off.
0
[20:12] Reserved
RO Reserved
0
11
WWDGEN
RW
Window watchdog clock enable bit.
1: Module clock is on; 0: Module clock is off.
0
[10:1] Reserved
RO Reserved
0
0
TIM2EN
RW
Timer 2 module clock enable bit.
1: Module clock is on; 0: Module clock is off.
0
Note: When the peripheral clock is not enabled, the software cannot read out the peripheral register value and
the value returned is always 0.
3.4.9 Control/Status register (RCC_RSTSCKR)
Offset address: 0x24
31
30
29
28
27
26
25
24
23
22
21
20 19 18
17
16
LPW
R
RSTF
WW
DG
RSTF
IWD
G
RSTF
SFT
RSTF
POR
RSTF
PIN
RSTF
Reser
ved
RMV
F
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
LSI
RDY LSION
Bit
Name
Access
Description
Reset
value
31
LPWRRSTF
RO
Low-power reset flag.
1: Occurrence of low-power resets.
0: No low-power reset occurs.
Set to 1 by hardware when a low-power management reset
occurs; cleared by software writing of the RMVF bit.
0
30
WWDGRSTF
RO
Window watchdog reset flag.
1: Occurrence of a window watchdog reset.
0: No window watchdog reset occurs.
Set to 1 by hardware when a window watchdog reset
occurs; cleared by software writing of the RMVF bit.
0
29
IWDGRSTF
RO
Independent watchdog reset flag.
1: Occurrence of an independent watchdog reset.
0: No independent watchdog reset occurs.
Set to 1 by hardware when an independent watchdog reset
0