EasyManua.ls Logo

ST STM32F31xx

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
Loading...
UM1581
Real-time clock (RTC)
DocID023800 Rev 1
365/584
RTC_TamperPinsPrechargeDuration()
RTC_TimeStampOnTamperDetectionCmd()
RTC_TamperPullUpCmd()
19.2.20 Initialization and Configuration functions
19.2.20.1 RTC_DeInit
Function Name
ErrorStatus RTC_DeInit ( void )
Function Description
Deinitializes the RTC registers to their default reset values.
Parameters
None.
Return values
An ErrorStatus enumeration value:
SUCCESS: RTC registers are deinitialized
ERROR: RTC registers are not deinitialized
Notes
This function doesn't reset the RTC Clock source and RTC
Backup Data registers.
19.2.20.2 RTC_Init
Function Name
ErrorStatus RTC_Init ( RTC_InitTypeDef * RTC_InitStruct)
Function Description
Initializes the RTC registers according to the specified parameters
in RTC_InitStruct.
Parameters
RTC_InitStruct : pointer to a RTC_InitTypeDef structure that
contains the configuration information for the RTC peripheral.
Return values
An ErrorStatus enumeration value:
SUCCESS: RTC registers are initialized
ERROR: RTC registers are not initialized
Notes
The RTC Prescaler register is write protected and can be
written in initialization mode only.
19.2.20.3 RTC_StructInit

Table of Contents

Related product manuals