
CH32V003
Reference Manual
V1.3
24
occurs; cleared by software writing of the RMVF bit.
28
SFTRSTF
RO
Software reset flag.
1: Software reset occurs.
0: No software reset occurs.
Set to 1 by hardware when a software reset occurs;
software write RMVF bit cleared.
0
27
PORRSTF
RO
Power-up/power-down reset flag.
1: Power-up/power-down reset occurs.
0: No power-up/power-down reset occurs.
Set to 1 by hardware when power-up/power-down reset
occurs; cleared by software writing of RMVF bit.
1
26
PINRSTF
RO
External manual reset (NRST pin) flag.
1: Occurrence of NRST pin reset.
0: No NRST pin reset occurs.
Set to 1 by hardware when NRST pin reset occurs; cleared
by software writing of RMVF bit.
0
25
Reserved
RO Reserved
0
24
RMVF
RW
Clear reset flag control.
1: Clear the reset flag.
0: No effect.
0
[23:2] Reserved
RO Reserved
。
0
1
LSIRDY
RO
Internal Low Speed Clock (LSI) Stable Ready flag bit (set
by hardware).
1: Stable internal low-speed clock (128KHz).
0: The internal low-speed clock (128KHz) is not stable.
Note: After the LSION bit is cleared to 0, the bit requires 3
LSI cycles to clear 0.
0
0
LSION
RW
Internal low-speed clock (LSI) enable control bit.
1: Enable the LSI (128KHz) oscillator.
0: Disable the LSI (128KHz) oscillator.
0
Note: Except for the reset flag which can only be cleared by power-on reset, others are cleared by system Reset.