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 #365 background imageLoading...
Page #365 background image
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

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