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 #367 background imageLoading...
Page #367 background image
UM1581
Real-time clock (RTC)
DocID023800 Rev 1
367/584
19.2.20.6 RTC_ExitInitMode
Function Name
void RTC_ExitInitMode ( void )
Function Description
Exits the RTC Initialization mode.
Parameters
ï‚· None.
Return values
ï‚· None.
Notes
ï‚· When the initialization sequence is complete, the calendar
restarts counting after 4 RTCCLK cycles.
ï‚· The RTC Initialization mode is write protected, use the
RTC_WriteProtectionCmd(DISABLE) before calling this
function.
19.2.20.7 RTC_WaitForSynchro
Function Name
ErrorStatus RTC_WaitForSynchro ( void )
Function Description
Waits until the RTC Time and Date registers (RTC_TR and
RTC_DR) are synchronized with RTC APB clock.
Parameters
ï‚· None.
Return values
ï‚· An ErrorStatus enumeration value:
 SUCCESS: RTC registers are synchronised
 ERROR: RTC registers are not synchronised
Notes
ï‚· The RTC Resynchronization mode is write protected, use the
RTC_WriteProtectionCmd(DISABLE) before calling this
function.
ï‚· To read the calendar through the shadow registers after
Calendar initialization, calendar update or after wakeup from
low power modes the software must first clear the RSF flag.
The software must then wait until it is set again before reading
the calendar, which means that the calendar registers have
been correctly copied into the RTC_TR and RTC_DR shadow
registers.

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