RTC_IT_TAMP3 : Tamper3 event interrupt
19.2.25 Time and Date configuration functions
19.2.25.1 RTC_SetTime
ErrorStatus RTC_SetTime ( uint32_t RTC_Format,
RTC_TimeTypeDef * RTC_TimeStruct)
Set the RTC current time.
RTC_Format : specifies the format of the entered
parameters. This parameter can be one of the following
values:
RTC_Format_BIN : Binary data format
RTC_Format_BCD : BCD data format
RTC_TimeStruct : pointer to a RTC_TimeTypeDef structure
that contains the time configuration information for the RTC.
An ErrorStatus enumeration value:
SUCCESS: RTC Time register is configured
ERROR: RTC Time register is not configured
19.2.25.2 RTC_TimeStructInit
void RTC_TimeStructInit ( RTC_TimeTypeDef *
RTC_TimeStruct)
Fills each RTC_TimeStruct member with its default value (Time =
00h:00min:00sec).
RTC_TimeStruct : pointer to a RTC_TimeTypeDef structure
which will be initialized.