Reset and clock control (RCC)
ï‚· As the LSE is in the Backup domain and write access is
denied to this domain after reset, you have to enable write
access using PWR_BackupAccessCmd(ENABLE) function
before to configure the LSE (to be done once after reset).
ï‚· After enabling the LSE (RCC_LSE_ON or
RCC_LSE_Bypass), the application software should wait on
LSERDY flag to be set indicating that LSE clock is stable and
can be used to clock the RTC.
18.2.6.7 RCC_LSEDriveConfig
void RCC_LSEDriveConfig ( uint32_t RCC_LSEDrive)
Configures the External Low Speed oscillator (LSE) drive
capability.
ï‚· RCC_LSEDrive : specifies the new state of the LSE drive
capability. This parameter can be one of the following values:
ï€ RCC_LSEDrive_Low : LSE oscillator low drive
capability.
ï€ RCC_LSEDrive_MediumLow : LSE oscillator medium
low drive capability.
ï€ RCC_LSEDrive_MediumHigh : LSE oscillator medium
high drive capability.
ï€ RCC_LSEDrive_High : LSE oscillator high drive
capability.
18.2.6.8 RCC_LSICmd
void RCC_LSICmd ( FunctionalState NewState)
Enables or disables the Internal Low Speed oscillator (LSI).
ï‚· NewState : new state of the LSI. This parameter can be:
ENABLE or DISABLE.