128
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit Field
Name
Description
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_BDCTRL.LSEEN, RCC_BDCTRL.LSEBP, RCC_BDCTRL.RTCSEL and RCC_BDCTRL.RTCEN
bits are in the backup domain. Therefore, these bits are write-protected after reset and can only be changed after the
PWR_CTRL.DBKP bit is set. These bits can only be cleared by a backup domain reset. Any internal or external reset
will not affect these bits.
6.3.11
Clock Control/Status Register (RCC_CTRLSTS)
Address offset: 0x24
Reset value: 0x0C000003
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.
Cleared by software by writing to the RMRSTF bit.
0: No windowed watchdog reset occurred
1: Window watchdog reset occurred
29
IWDGRSTF
Independent watchdog reset flag
Set by hardware when an independent watchdog reset occurs
Cleared by software by writing to the RMRSTF bit.
0: No independent watchdog reset occurred
1: Independent watchdog reset occurred
28
SFTRSTF
Software reset flag
Set by hardware when a software reset occurs.