Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
79
/
631
Bit Field
Name
Description
Set or cleared by software.
0: Disable LSE clock detector
1: If LSE is ready, enable LSE clock detector
2
LSEBP
External low-speed oscillator bypass
In debug mode, set and cleared by software to bypass oscillator. This bit can only
be written when the external low-speed oscillator is disabled.
0: LSE oscillator not bypassed
1: LSE oscillator bypassed
1
LSERD
External low-speed clock oscillator ready
Set and cleared by hardware to indicate if the LSE oscillator is ready. After the
LSEEN bit is cleared, LSERD goes low after 6 cycles of the LSE clock.
0: External low-speed oscillator not ready
1: External low-speed oscillator ready
0
LSEEN
External low-speed clock oscillator enable
Set and cleared by software.
0: Disable the external low-speed oscillator
1: Enable the external low-speed oscillator.
Note: The RCC_LDCTRL.LSEEN, RCC_LDCTRL.LSEBP, RCC_LDCTRL.RTCSEL and RCC_LDCTRL.RTCEN bits
are in the low power domain. Therefore, these bits are write-protected after reset and can only be changed after the
PWR_CTRL1.DRBP bit is set. These bits can only be cleared by a low-power domain reset. Any internal or external
reset will not affect these bits.
Clock Control/Status Register (RCC_CTRLSTS)
Address offset: 0x24
Reset value: 0x0C00246C
Bit Field
Name
Description
31
LPWRRSTF
Low power reset flag
Set by hardware when a low-power management reset occurs.
Cleared by software by writing to the RMRSTF bit.
0: No low-power management reset occurred
1: A low-power management reset occurred
30
WWDGRSTF
Window watchdog reset flag
Set by hardware when a window watchdog reset occurs.