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
385/584
19.2.31.2 RTC_GetTimeStamp
Function Name
void RTC_GetTimeStamp ( uint32_t RTC_Format,
RTC_TimeTypeDef * RTC_StampTimeStruct,
RTC_DateTypeDef * RTC_StampDateStruct)
Function Description
Gets the RTC TimeStamp value and masks.
Parameters
RTC_Format : specifies the format of the output parameters.
This parameter can be one of the following values:
RTC_Format_BIN : Binary data format
RTC_Format_BCD : BCD data format
RTC_StampTimeStruct : pointer to a RTC_TimeTypeDef
structure that will contains the TimeStamp time values.
RTC_StampDateStruct : pointer to a RTC_DateTypeDef
structure that will contains the TimeStamp date values.
Return values
None.
Notes
None.
19.2.31.3 RTC_GetTimeStampSubSecond
Function Name
uint32_t RTC_GetTimeStampSubSecond ( void )
Function Description
Gets the RTC timestamp Subseconds value.
Parameters
None.
Return values
RTC current timestamp Subseconds value.
Notes
None.
19.2.32 Tamper configuration functions
19.2.32.1 RTC_TamperTriggerConfig
Function Name
void RTC_TamperTriggerConfig ( uint32_t RTC_Tamper,

Table of Contents

Related product manuals