ST STM32F31xx User Manual page 319

Table of Contents

Advertisement

UM1581
Return values
Notes
18.2.6.7
RCC_LSEDriveConfig
Function Name
Function Description
Parameters
Return values
Notes
18.2.6.8
RCC_LSICmd
Function Name
Function Description
Parameters
Return values
None.
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.
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 :
capability.
RCC_LSEDrive_MediumLow :
low drive capability.
RCC_LSEDrive_MediumHigh :
high drive capability.
RCC_LSEDrive_High :
capability.
None.
None.
void RCC_LSICmd (
Enables or disables the Internal Low Speed oscillator (LSI).
NewState : new state of the LSI. This parameter can be:
ENABLE or DISABLE.
None.
DocID023800 Rev 1
Reset and clock control (RCC)
LSE oscillator low drive
LSE oscillator medium
LSE oscillator high drive
FunctionalState
NewState)
LSE oscillator medium
319/584

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F31xx and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f30xx

Table of Contents