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...
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

Related product manuals