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