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 #368 background imageLoading...
Page #368 background image
Real-time clock (RTC)
UM1581
368/584
DocID023800 Rev 1
19.2.20.8 RTC_RefClockCmd
Function Name
ErrorStatus RTC_RefClockCmd ( FunctionalState NewState)
Function Description
Enables or disables the RTC reference clock detection.
Parameters
ï‚· NewState : new state of the RTC reference clock. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· An ErrorStatus enumeration value:
 SUCCESS: RTC reference clock detection is enabled
 ERROR: RTC reference clock detection is disabled
Notes
ï‚· None.
19.2.20.9 RTC_BypassShadowCmd
Function Name
void RTC_BypassShadowCmd ( FunctionalState NewState)
Function Description
Enables or Disables the Bypass Shadow feature.
Parameters
ï‚· NewState : new state of the Bypass Shadow feature. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· When the Bypass Shadow is enabled the calendar value are
taken directly from the Calendar counter.
19.2.21 Backup Data Registers configuration functions
19.2.21.1 RTC_WriteBackupRegister
Function Name
void RTC_WriteBackupRegister ( uint32_t RTC_BKP_DR,
uint32_t Data)
Function Description
Writes a data in a specified RTC Backup data register.
Parameters
ï‚· RTC_BKP_DR : RTC Backup data Register number. This
parameter can be: RTC_BKP_DRx where x can be from 0 to
19 to specify the register.

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