EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #329 background imageLoading...
Page #329 background image
UM1581
Reset and clock control (RCC)
DocID023800 Rev 1
329/584
18.2.8.6 RCC_RTCCLKConfig
Function Name
void RCC_RTCCLKConfig ( uint32_t RCC_RTCCLKSource)
Function Description
Configures the RTC clock (RTCCLK).
Parameters
ï‚· RCC_RTCCLKSource : specifies the RTC clock source.
This parameter can be one of the following values:
 RCC_RTCCLKSource_LSE : LSE selected as RTC
clock
 RCC_RTCCLKSource_LSI : LSI selected as RTC clock
 RCC_RTCCLKSource_HSE_Div32 : HSE divided by
32 selected as RTC clock
Return values
ï‚· None.
Notes
ï‚· As the RTC clock configuration bits are 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 RTC clock source (to be done once after reset).
ï‚· Once the RTC clock is configured it can't be changed unless
the RTC is reset using RCC_BackupResetCmd function, or
by a Power On Reset (POR)
ï‚· If the LSE or LSI is used as RTC clock source, the RTC
continues to work in STOP and STANDBY modes, and can
be used as wakeup source. However, when the HSE clock is
used as RTC clock source, the RTC cannot be used in STOP
and STANDBY modes.
ï‚· The maximum input clock frequency for RTC is 2MHz (when
using HSE as RTC clock source).
18.2.8.7 RCC_I2SCLKConfig
Function Name
void RCC_I2SCLKConfig ( uint32_t RCC_I2SCLKSource)
Function Description
Configures the I2S clock source (I2SCLK).
Parameters
ï‚· RCC_I2SCLKSource : specifies the I2S clock source. This
parameter can be one of the following values:
 RCC_I2S2CLKSource_SYSCLK : SYSCLK clock used
as I2S clock source
 RCC_I2S2CLKSource_Ext : External clock mapped on
the I2S_CKIN pin used as I2S clock source
Return values
ï‚· None.
Notes
ï‚· This function must be called before enabling the SPI2 and
SPI3 clocks.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals